The utility type that is used to infer the type (interface) of the generated client.enums property.
client.enums
// The schema:{ TodoStatus: a.enum(['Planned' | 'InProgress' | 'Completed']),}// The inferred interface of the `client.enums`:{ TodoStatus: { values: () => Array<'Planned' | 'InProgress' | 'Completed'>; }} Copy
// The schema:{ TodoStatus: a.enum(['Planned' | 'InProgress' | 'Completed']),}// The inferred interface of the `client.enums`:{ TodoStatus: { values: () => Array<'Planned' | 'InProgress' | 'Completed'>; }}
The utility type that is used to infer the type (interface) of the generated
client.enums
property.