Type Alias: RelationshipMainItemAttributes<T, Keys, Map>
RelationshipMainItemAttributes<
T,Keys,Map> =Pick<ItemMap[T],Map[T] extends infer Value ?Valueextendsstring[] ?Value[number] :never:never>
Defined in: schemas/v2/relationships.ts:175
Type Parameters
T
T extends `${Type}`
Keys
Keys extends `${RelationshipTypeFields<T>}`
Map
Map extends RelationshipMap<T, Keys>