Directus / @directus/sdk / types / ExtractItem
Type alias: ExtractItem<Schema, Item>
ExtractItem<
Schema
,Item
>:Extract
<UnpackList
<Item
>,ItemType
<Schema
>>
Returns Item types that are available in the root Schema
Type parameters
• Schema extends object
• Item