From 28e67616f02ae144f23866241b99ca8738a52088 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 21 Nov 2022 12:00:31 +0100 Subject: [PATCH] fix: make cursor docs more generic --- packages/access-client/src/capabilities/store.js | 5 ++--- packages/access-client/src/capabilities/upload.js | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/access-client/src/capabilities/store.js b/packages/access-client/src/capabilities/store.js index c004daedf..08d00550f 100644 --- a/packages/access-client/src/capabilities/store.js +++ b/packages/access-client/src/capabilities/store.js @@ -142,9 +142,8 @@ export const list = base.derive({ with: URI.match({ protocol: 'did:' }), nb: { /** - * Item where a previous list operation stopped, inclusive of the previous - * result set. Use this value to start a new operation, in order to paginate - * list. + * A pointer that can be moved back and forth on the list. + * It can be used to paginate a list for instance. */ cursor: Schema.string().optional(), /** diff --git a/packages/access-client/src/capabilities/upload.js b/packages/access-client/src/capabilities/upload.js index 9af1c5368..a14480b10 100644 --- a/packages/access-client/src/capabilities/upload.js +++ b/packages/access-client/src/capabilities/upload.js @@ -142,9 +142,8 @@ export const list = base.derive({ with: URI.match({ protocol: 'did:' }), nb: { /** - * Item where a previous list operation stopped, inclusive of the previous - * result set. Use this value to start a new operation, in order to paginate - * list. + * A pointer that can be moved back and forth on the list. + * It can be used to paginate a list for instance. */ cursor: Schema.string().optional(), /**