Type alias: CollectionItemAdapter<T, M>
Ƭ CollectionItemAdapter<T
, M
>: (data
: T
| undefined
) => Partial
<Item
<T
, M
>>
Type parameters
Name | Type |
---|---|
T | T |
M | extends ItemMeta |
Type declaration
▸ (data
): Partial
<Item
<T
, M
>>
Parameters
Name | Type |
---|---|
data | T | undefined |
Returns
Partial
<Item
<T
, M
>>
Defined in
onekijs/packages/onekijs-framework/src/collection/typings.ts:77