Documentation
Build operational software, end to end
The TypeScript framework for operational software. One typed ontology powers your data, APIs, and apps.
import { defineObjectType, prop } from "@sixb/core/ontology"
export const Customer = defineObjectType({
id: "Customer",
name: "Customer",
properties: [
prop("id", "string", { primary: true }),
prop("name", "string", { required: true }),
prop("tier", "string"),
prop("mrr", "double", { mode: "telemetry" }),
],
})
Define a type once and it flows through the whole system. The same Customer powers your queries, API, client, and app.