Generate TypeScript types for schematized collections
Emit a TypeScript `.d.ts` module (one interface per schematized collection plus a `declare module '@runtypelabs/sdk'` augmentation of `RecordCollections`) so `client.records.from('<slug>')` types record metadata. Fetch it with `runtype records typegen`; commit and diff-check the output in CI to catch collection-schema drift.
Authentication
AuthorizationBearer
API key or Clerk session token
Response
A TypeScript declaration module
Errors
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error