?
Store.list
Lists objects in a store by prefix, with a cursor for paging.
Store.list(options?) → Promise<{ files, cursor }>
Lists objects under a key prefix, returning each file's metadata and a cursor to page through a large store. Key files by a prefix you can list on, for example reports/ or {userId}/, so you can enumerate one user's files without scanning the whole store.
Parameters
options
object
{ prefix, limit } — filter by key prefix and cap the page size.
List one prefix
const { files, cursor } = await Uploads.list({ prefix: 'reports/', limit: 100 });