mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-22 07:52:59 +08:00
18 lines
333 B
TypeScript
18 lines
333 B
TypeScript
|
export interface IPageInfo {
|
||
|
endCursor?: string;
|
||
|
hasNextPage?: boolean;
|
||
|
hasPreviousPage?: boolean;
|
||
|
startCursor?: string;
|
||
|
}
|
||
|
|
||
|
export interface IPagination<T> {
|
||
|
items?: T[];
|
||
|
totalCount?: number;
|
||
|
pageInfo?: IPageInfo;
|
||
|
}
|
||
|
|
||
|
export interface IPaginationMeta {
|
||
|
totalCount?: number;
|
||
|
pageInfo?: IPageInfo;
|
||
|
}
|