Type generation
The CLI can turn your tenant's schema into typed code. Use it so your editor autocompletes fields and your compiler catches a renamed or mistyped attribute before it reaches production.
There are two commands. types emits type definitions for the language you're working in. generate emits a full typed SDK tailored to your tenant.
Generate type definitions
types writes type definitions to an output directory. It detects your language from the project by default; pass --language to set it explicitly.
revenexx types ./generated
Supported languages: ts, js, php, kotlin, swift, java, dart, cs. With --language auto (the default) the CLI infers it from your project.
revenexx types ./generated --language ts
Pass --strict to convert field names to the target language's naming conventions.
Generate a typed SDK
generate produces a typed SDK from your project configuration — typed helpers built from your tenant's schema, ready to import into your app.
revenexx generate --output generated --language typescript
--outputsets the destination directory (defaults togenerated).--languagesets the target; omit it to auto-detect from your project.
Sign in and select a tenant first so the CLI has your tenant context. See Configuration.
What's next
- Call the API with a hand-written client using one of the SDKs.
- Run type generation in CI to keep generated code current.