Interfaces
Interface: CollectionListResponse<T>
Response from listing collection items, includes collection type metadata.
Response from listing collection items, includes collection type metadata.
For non-singleton collections, data is an array and pagination is present.
For singleton collections (collectionType.isSingleton === true), data is
a single item and pagination is omitted.
Type Parameters
| Type Parameter | Description |
|---|---|
T | Type of items in the collection |
Properties
| Property | Type | Description |
|---|---|---|
collectionType | CollectionTypeMeta | Collection type metadata |
data | T | T | Array of collection items, or a single item for singletons |
pagination? | PaginationMeta | Pagination metadata (omitted for singleton collections) |

