StorageListResult
@firecms/core / StorageListResult
Interface: StorageListResult
Section titled “Interface: StorageListResult”Defined in: types/storage.ts:130
Result returned by list().
Properties
Section titled “Properties”items:
StorageReference[]
Defined in: types/storage.ts:144
Objects in this directory. You can call getMetadata() and getDownloadUrl() on them.
nextPageToken?
Section titled “nextPageToken?”
optionalnextPageToken:string
Defined in: types/storage.ts:148
If set, there might be more results for this list. Use this token to resume the list.
prefixes
Section titled “prefixes”prefixes:
StorageReference[]
Defined in: types/storage.ts:139
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.