Directus / @directus/sdk / types / ItemType
Type alias: ItemType<Schema> ​
ItemType<
Schema
>:Schema
[keyofSchema
] |{ [K in keyof Schema]: Schema[K] extends any[] ? Schema[K][number] : never }
[keyofSchema
]
Get all available top level Item types from a given Schema
Type parameters ​
• Schema