Directus / @directus/sdk / types / HasManyToAnyRelation
Type alias: HasManyToAnyRelation<Item> ​
HasManyToAnyRelation<
Item
>:UnpackList
<Item
> extends infer TItem ?TItem
extendsobject
?"collection"
extends keyofTItem
?"item"
extends keyofTItem
?true
:never
:never
:never
:never
Determine whether a field definition has a many-to-any relation TODO try making this dynamic somehow instead of relying on "item" as key
Type parameters ​
• Item