@kimoxstudio/core
v0.2.1
Published
Core types and contracts for kimox-fw (documents, templates, providers).
Downloads
23
Readme
@kimoxstudio/core
Types and contracts.
Shared TypeScript contracts every other @kimoxstudio/* package implements. No
runtime behaviour of its own — install it when you're writing a template, a
provider, or anything that needs the framework's types.
import type {
PageDocument, PageNode, // the content model
TemplateDefinition, // name + Zod schema + component
TemplateRenderProps, // what a template component receives
GitProvider, ContentLoader, // storage + reading
AuthProvider, KxConfig, // auth + the root config object
} from "@kimoxstudio/core";A page is a PageDocument: schemaVersion, route, meta, and a root
PageNode tree where each node names a registered template and carries props
validated against that template's schema.
Part of kimox-fw
kimox-fw is a JSON-document + template site framework for Next.js (App Router): pages are declarative JSON documents rendered by Zod-typed templates, with content stored in git and edited through a visual admin using draft branches ("variations").
Scaffold a whole site with npx create-kx-app.
MIT © Kimox Studio
