@fayz-ai/db 0.28.1 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ -- 213: the department is a declared grouping. V1's Cadastros › Departamentos
2
+ -- (Financeiro, Cozinha, Marketing…) is an area of the company: it owns cost
3
+ -- centres and the people whose record points at it. In V2 it is one more
4
+ -- species of the category archetype, next to `staff_team` (139) — same table,
5
+ -- same shape — so the registry can write it without a 23503 on save.
6
+ -- Idempotent: `register_kind` is an upsert by species.
7
+
8
+ SELECT public.register_kind('category', 'staff_department', 'registry', NULL, NULL,
9
+ 'A department of the company — the area that owns cost centres and the people whose record points at it (Financeiro, Cozinha, Marketing).');
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "beta"
5
5
  },
6
- "version": "0.28.1",
6
+ "version": "0.29.0",
7
7
  "description": "Fayz SDK database layer — Drizzle schema primitives, spine references, and migration helpers shared across plugins.",
8
8
  "type": "module",
9
9
  "sideEffects": false,