Generates TypeScript utility types for field selection and type inference.
These types are shared between RPC and typed controller code generation, including TypedSchema, UnionToIntersection, InferResult, pagination helpers, and error types.
Summary
Functions
Generates TypeScript utility types for field selection and type inference.
Functions
Generates TypeScript utility types for field selection and type inference.
Includes:
- TypedSchema constraint
- UnionToIntersection helper
- InferUnionFieldValue helper
- Field selection types
- InferResult type
- Pagination conditional types
- SuccessDataFunc and ErrorData helpers
- AshRpcError type