Interface CursorPaginatedCollection<T, TPlain>

interface CursorPaginatedCollection<T, TPlain> {
    items: T[];
    limit: number;
    pages?: {
        next?: string;
        prev?: string;
    };
    sys: {
        type: "Array";
    };
    toPlainObject(): CursorPaginatedCollectionProp<TPlain>;
}

Type Parameters

  • T
  • TPlain

Hierarchy (view full)

Properties

Methods

Properties

items: T[]
limit: number
pages?: {
    next?: string;
    prev?: string;
}
sys: {
    type: "Array";
}

Methods