mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-21 07:22:53 +08:00
17 lines
333 B
TypeScript
17 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;
|
|
}
|