Schema pipeline
How method schemas become the client, types, OpenAPI, and these docs.
Schema pipeline
Every client method is defined once with defineMethodV2() and registered in clientRegistry. All downstream artifacts are projections of that single source of truth:
packages/schema/src/methods/*.ts
| defineMethodV2(...)
v
clientRegistry.getAll()
|
+-> gen-client-implementation.ts --> BaseClient / BaseNamespacedClient / AliasMap
+-> gen-types.ts --> generated Input/Output type aliases
+-> gen-openapi.ts --> openapi.json
+-> gen-client-reference-docs.ts --> these reference pagesThe registry currently holds 154 methods across 14 namespaces.
Was this helpful?
Your answer includes the page path and docs version.
