voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
23 lines (14 loc) • 1.14 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/storage](./storage.md) > [ListResult](./storage.listresult.md)
## ListResult interface
Result returned by list().
<b>Signature:</b>
```typescript
export interface ListResult
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [items](./storage.listresult.items.md) | [StorageReference](./storage.storagereference.md)<!-- -->\[\] | Objects in this directory. You can call getMetadata() and getDownloadUrl() on them. |
| [nextPageToken?](./storage.listresult.nextpagetoken.md) | string | <i>(Optional)</i> If set, there might be more results for this list. Use this token to resume the list. |
| [prefixes](./storage.listresult.prefixes.md) | [StorageReference](./storage.storagereference.md)<!-- -->\[\] | 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. |