Skip to main content
Version: 3.0.0-beta

Interface: StorageListResult

Result returned by list().

Properties​

items​

items: StorageReference[]

Objects in this directory. You can call getMetadata() and getDownloadUrl() on them.

Defined in​

packages/firecms_core/src/types/storage.ts:144


nextPageToken?​

optional nextPageToken: string

If set, there might be more results for this list. Use this token to resume the list.

Defined in​

packages/firecms_core/src/types/storage.ts:148


prefixes​

prefixes: StorageReference[]

References to prefixes (sub-folders). You can call list() on them to get its contents.

Folders are implicit based on '/' in the object paths. For example, if a bucket has two objects '/a/b/1' and '/a/b/2', list('/a') will return '/a/b' as a prefix.

Defined in​

packages/firecms_core/src/types/storage.ts:139

Sign up to our newsletter to get the latest news and updates. No spam!