Directus / @directus/sdk / types / ManyToAnyFields
Type Alias: ManyToAnyFields<Schema, Item> ​
ManyToAnyFields<
Schema
,Item
>:ExtractItem
<Schema
,Item
> extends infer TItem ?TItem
extendsobject
?"collection"
extends keyofTItem
?"item"
extends keyofTItem
?WrapQueryFields
<Schema
,TItem
,Omit
<QueryFieldsRelational
<Schema
,UnpackList
<Item
>>,"item"
> &object
> :never
:never
:never
:never
Deal with many-to-any relational fields
Type Parameters ​
• Schema
• Item