Skip to main content

Type alias: CollectionItemAdapter<T, M>

Ƭ CollectionItemAdapter<T, M>: (data: T | undefined) => Partial<Item<T, M>>

Type parameters

NameType
TT
Mextends ItemMeta

Type declaration

▸ (data): Partial<Item<T, M>>

Parameters
NameType
dataT | undefined
Returns

Partial<Item<T, M>>

Defined in

onekijs/packages/onekijs-framework/src/collection/typings.ts:77