PrimaryKeyOnly type
Describes the root entity's primary key result.
Models without a declared key use the schema's implicit UUID id: string.
See RelationshipInput for usage in mutation input types
type PrimaryKeyOnly<T> = T extends unknown
? PrimaryKeyField extends keyof T
? RequiredKeyFields<T, PrimaryKeyField>
: { [K in PrimaryKeyField]: string }
: never