Skip to content

Commit d13f782

Browse files
committed
Add a Cursor type
1 parent 272d107 commit d13f782

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

schema/schema.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export const JSONRPC_VERSION = "2.0";
1212
*/
1313
export type ProgressToken = string | number;
1414

15+
/**
16+
* An opaque token used to represent a cursor for pagination.
17+
*/
18+
export type Cursor = string;
19+
1520
export interface Request {
1621
method: string;
1722
params?: {

0 commit comments

Comments
 (0)