ConusAI vendor v0.1.0-beta.114
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-beta.114
2026-11-14 09:56:45 +00:00
commit 1ce8d23c35
867 changed files with 122104 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
// The live collections of the notes module (umbrella TS6.1). The live server announces a change of
// `notes_note` as `{ entity: "notes.note", id }`, ids only; the browser reads the note back through
// `notes.note.getMany`, so the procedure's permission and the repository's tenant wall decide what a
// member sees. `pnpm kit check` refuses a collection without its batch-get procedure.
import type { ModuleCollection } from "@conusai-kit/core"
export const NOTE_COLLECTION = {
entity: "notes.note",
table: "notes_note",
key: "noteId",
scopeLevel: "project",
read: "notes.note.read",
list: "notes.note.list",
getMany: "notes.note.getMany",
} as const satisfies ModuleCollection
export const NOTES_COLLECTIONS: readonly ModuleCollection[] = [NOTE_COLLECTION]