TentoCMS
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 ParameterDescription
TType of items in the collection

Properties

PropertyTypeDescription
collectionTypeCollectionTypeMetaCollection type metadata
dataT | TArray of collection items, or a single item for singletons
pagination?PaginationMetaPagination metadata (omitted for singleton collections)
Copyright © 2026