Interface: Contract
Defined in: src/contract.ts:6
The structure of an API contract.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
endpoints | EndpointDict | The endpoint tree. | src/contract.ts:8 |
error? | ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | The Zod schema for error responses. | src/contract.ts:10 |