Skip to content

SchemaShape

type SchemaShape = Record<string, unknown>;

Defined in: client/src/types/types.ts:13

The generic shape of a generated schema. The concrete type produced by generateClientTypes satisfies this, and passing it to createClient derives a fully typed client. Kept intentionally loose (unknown leaves) so the generated interface — whatever its exact shape — always assignable.