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
| Type Parameter |
|---|
T extends `${Type}` |
Keys extends `${RelationshipTypeFields<T>}` |
Map extends RelationshipMap<T, Keys> |