Type Alias: RelationshipTypeFields<T>
RelationshipTypeFields<
T
> = keyofRelationDataItem
<T
,0
,false
> extends infer K ?K
extends`${Type}`
?K
:never
:never
Defined in: schemas/v2/relationships.ts:162
Same as RelationshipFields, but instead of the relationship names it returns the type of item for each name
Type Parameters
T
T
extends `${Type}`
| Type