@almadar/core 9.7.0 → 9.9.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.
- package/dist/builders.d.ts +7 -5
- package/dist/builders.js +3 -1
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BLCis28r.d.ts → compose-behaviors-DA8bnafs.d.ts} +1 -1
- package/dist/factory/index.d.ts +11 -3
- package/dist/factory/index.js +24 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +24 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-Dx404jRG.d.ts → schema-DgAnrD1M.d.ts} +2 -2
- package/dist/{trait-BjSJtFXv.d.ts → trait-C61Wxi3a.d.ts} +15 -2
- package/dist/types/index.d.ts +79 -13
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CBb2iBAY.d.ts → types-CQF32lJA.d.ts} +10 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as TraitEventListener, f as EntityField, g as EntityPersistence, j as TraitReference } from './trait-C61Wxi3a.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* JSON primitives — the universal "data crossed a boundary" type.
|
|
@@ -265,9 +265,14 @@ interface FactoryConfigParam {
|
|
|
265
265
|
* consumer side. Missing tag = author did not tag = treat as
|
|
266
266
|
* `presentation` at render time.
|
|
267
267
|
*
|
|
268
|
-
* - `domain` —
|
|
269
|
-
*
|
|
270
|
-
*
|
|
268
|
+
* - `domain` — configures THIS entity's business meaning (currency,
|
|
269
|
+
* SLA hours, which fields matter). The user MUST own these.
|
|
270
|
+
* - `policy` — turns on a cross-cutting GOVERNANCE behavior that changes
|
|
271
|
+
* what gets generated (audit trail, row access, approval gate, GDPR
|
|
272
|
+
* erasure, notification cadence). Shown by default alongside domain.
|
|
273
|
+
* - `infra` — wires a cross-cutting OPERATIONAL/structural primitive
|
|
274
|
+
* (lifecycle scans, deadline reminders, cascade-delete, N:M joins).
|
|
275
|
+
* Shown by default; mostly wiring rather than business choices.
|
|
271
276
|
* - `presentation` — changes how the same business meaning is RENDERED
|
|
272
277
|
* (labels, placeholders, titles, copy, column lists, action lists,
|
|
273
278
|
* layout fidelity like cols/gap/chartType). LLM picks defaults;
|
|
@@ -275,7 +280,7 @@ interface FactoryConfigParam {
|
|
|
275
280
|
* - `internal` — framework primitives (trait/slot/pattern types,
|
|
276
281
|
* *Event keys, layoutMode); the studio never surfaces these.
|
|
277
282
|
*/
|
|
278
|
-
type FactoryConfigTier = 'domain' | 'presentation' | 'internal';
|
|
283
|
+
type FactoryConfigTier = 'domain' | 'policy' | 'infra' | 'presentation' | 'internal';
|
|
279
284
|
/**
|
|
280
285
|
* One trait the factory composes into the orbital. The projector reads
|
|
281
286
|
* these to determine which factory's trait stack covers a given
|