ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
// The branding module's manifest (plan item AT2.6). It owns no table: the brand is a column of the
// tenancy module's `organizations`, written through that module's entity.
import { defineModule } from "@conusai-kit/core"
import { BRANDING_PROCEDURES } from "./adapters/procedures.js"
import { BRAND_CHANGED } from "./contract/index.js"
import { en, lt } from "./i18n/index.js"
export const brandingModule = defineModule({
id: "branding",
version: "0.1.0",
kit: "^0.1.0",
requires: ["tenancy"],
permissions: {
// Every member sees the brand: it is what the product looks like to them.
"branding.brand.read": "viewer",
// Changing it changes the product for every member, so it is an administrator's act.
"branding.brand.write": "admin",
},
procedures: BRANDING_PROCEDURES,
audit: [BRAND_CHANGED],
// Both languages, as objects: kit-i18n merges them from the registry (AT-D23).
i18n: { en, lt },
})