CollectionEntryLike
katanakit-js / CollectionEntryLike
Interface: CollectionEntryLike<TData>
Section titled “Interface: CollectionEntryLike<TData>”Defined in: types/adapters/astro.ts:8
Minimal shape of an Astro content collection entry.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TData |
unknown |
Indexable
Section titled “Indexable”[key: string]: unknownProperties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
data? |
TData |
types/adapters/astro.ts:11 |
id |
string |
types/adapters/astro.ts:9 |
slug? |
string |
types/adapters/astro.ts:10 |