diff --git a/README.md b/README.md index 7d6c3525..e5f7f7d5 100644 --- a/README.md +++ b/README.md @@ -383,7 +383,7 @@ const memberships = await akord.membership.listAll(vaultId); - `vaultId` (`string`, required) - `listOptions` ([`ListOptions`](https://github.com/Akord-com/akord-js/blob/ab9bb814fa9cf73d9ed01052738c8b84a86040b2/src/types/list-options.ts#L1), optional) -- returns `Promise>` - Promise with paginated memberships within given vault +- returns `Promise<{ items, nextToken }>` - Promise with paginated memberships within given vault
example @@ -486,7 +486,7 @@ const memos = await akord.memo.listAll(vaultId); - `vaultId` (`string`, required) - `listOptions` ([`ListOptions`](https://github.com/Akord-com/akord-js/blob/ab9bb814fa9cf73d9ed01052738c8b84a86040b2/src/types/list-options.ts#L1), optional) -- returns `Promise>` - Promise with paginated memos within given vault +- returns `Promise<{ items, nextToken }>` - Promise with paginated memos within given vault
example @@ -663,7 +663,7 @@ const stacks = await akord.stack.listAll(vaultId); - `vaultId` (`string`, required) - `listOptions` ([`ListOptions`](https://github.com/Akord-com/akord-js/blob/ab9bb814fa9cf73d9ed01052738c8b84a86040b2/src/types/list-options.ts#L1), optional) -- returns `Promise>` - Promise with paginated stacks within given vault +- returns `Promise<{ items, nextToken }>` - Promise with paginated stacks within given vault
example @@ -862,7 +862,7 @@ const folders = await akord.folder.listAll(vaultId); - `vaultId` (`string`, required) - `listOptions` ([`ListOptions`](https://github.com/Akord-com/akord-js/blob/ab9bb814fa9cf73d9ed01052738c8b84a86040b2/src/types/list-options.ts#L1), optional) -- returns `Promise>` - Promise with paginated folders within given vault +- returns `Promise<{ items, nextToken }>` - Promise with paginated folders within given vault
example @@ -1016,7 +1016,7 @@ const notes = await akord.note.listAll(vaultId); - `vaultId` (`string`, required) - `listOptions` ([`ListOptions`](https://github.com/Akord-com/akord-js/blob/ab9bb814fa9cf73d9ed01052738c8b84a86040b2/src/types/list-options.ts#L1), optional) -- returns `Promise>` - Promise with paginated notes within given vault +- returns `Promise<{ items, nextToken }>` - Promise with paginated notes within given vault
example