Your schema, in your editor
Stop hand-writing types that drift from your content model. Mojimoto generates a TypeScript SDK straight from your project, so your editor knows your content as well as your CMS does.
Generate from your model
Run the Mojimoto CLI and it reads your project's content model, then emits a TypeScript SDK that mirrors it exactly. Your content types become types in code, with the fields, components and references you defined. The SDK is a faithful reflection of the schema, not an approximation.
- One command: npx @mojimoto/cli types
- Types generated directly from your content model
- Components and references included
Catch mismatches before runtime
With a typed SDK in place, your editor and compiler flag the moment your code expects a field your model does not have. Refactors that would have shipped a silent bug now fail loudly at build time instead. Your client code and your schema stay in lockstep.
Regenerate when the model changes
When your content model evolves, run the command again to bring your types up to date. Regeneration keeps the SDK current as your project grows, so there is no manual maintenance to fall behind on. Change the model, regenerate, carry on.