Skip to content

Commit

Permalink
Update shared-libs/cht-datasource/src/libs/core.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Kuestersteffen <[email protected]>
  • Loading branch information
sugat009 and jkuester authored Aug 8, 2024
1 parent 1057fe4 commit 88f39d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion shared-libs/cht-datasource/src/libs/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export abstract class AbstractDataContext implements DataContext {
readonly bind = <T>(fn: (ctx: DataContext) => T): T => fn(this);
}

/** @internal */
/**
* Represents a page of results. The `data` array contains the results for this page. The `cursor` field contains a
* key that can be used to fetch the next page of results. If no `cursor` value is returned, there are no additional
* results available. (Note that no assumptions should be made about the _contents_ of the cursor string.)
* @typeParam T the type of the data in the page
*/
export interface Page<T> {
readonly data: T[];
readonly cursor: string;
Expand Down

0 comments on commit 88f39d7

Please sign in to comment.