Type Aliases
Type Alias: CollectionItem<TContent>
Collection item from the public API
type CollectionItem<TContent> = object & TContent;
Collection item from the public API
Content fields are merged directly into the root object using underscore-prefixed system fields to avoid collisions.
Type Declaration
| Name | Type | Description |
|---|---|---|
_publishedAt | string | Publication timestamp |
_sortOrder | number | Sort order position |
_updatedAt | string | Last update timestamp |
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContent | Record<string, unknown> | Type of the collection item content fields |

