@almadar/core 8.8.0 → 8.8.1
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/factory/index.d.ts +19 -15
- package/package.json +1 -1
package/dist/factory/index.d.ts
CHANGED
|
@@ -172,27 +172,31 @@ interface FactoryConfigParam {
|
|
|
172
172
|
* Stays a single free-form string; consumers decide their own
|
|
173
173
|
* splitting/formatting policy. */
|
|
174
174
|
synonyms?: string;
|
|
175
|
-
/**
|
|
175
|
+
/** Decision-kind tier authored in `.lolo` as `@tier "..."` next to the
|
|
176
176
|
* knob declaration. Drives the studio Questionnaire's filter +
|
|
177
|
-
* disclosure: `internal` knobs are hidden entirely, `
|
|
178
|
-
* collapse under
|
|
179
|
-
*
|
|
180
|
-
*
|
|
177
|
+
* disclosure: `internal` knobs are hidden entirely, `presentation`
|
|
178
|
+
* knobs collapse under the "Polish wording" panel, `domain` knobs
|
|
179
|
+
* render inline. Untagged knobs are treated as `presentation` by the
|
|
180
|
+
* studio (safe default — most un-audited knobs are presentation polish). */
|
|
181
181
|
tier?: FactoryConfigTier;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* Decision-kind tier for a `FactoryConfigParam`. Source-tagged via the
|
|
185
185
|
* `@tier "..."` annotation in `.lolo` — no heuristic inference on the
|
|
186
186
|
* consumer side. Missing tag = author did not tag = treat as
|
|
187
|
-
* `
|
|
187
|
+
* `presentation` at render time.
|
|
188
188
|
*
|
|
189
|
-
* - `
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* - `
|
|
193
|
-
*
|
|
189
|
+
* - `domain` — changes how the BUSINESS behaves (currency, retention
|
|
190
|
+
* days, approver roles, SLA hours, lifecycle rules, recipient map,
|
|
191
|
+
* GDPR erasure window). The user MUST own these decisions.
|
|
192
|
+
* - `presentation` — changes how the same business meaning is RENDERED
|
|
193
|
+
* (labels, placeholders, titles, copy, column lists, action lists,
|
|
194
|
+
* layout fidelity like cols/gap/chartType). LLM picks defaults;
|
|
195
|
+
* user can edit post-generation.
|
|
196
|
+
* - `internal` — framework primitives (trait/slot/pattern types,
|
|
197
|
+
* *Event keys, layoutMode); the studio never surfaces these.
|
|
194
198
|
*/
|
|
195
|
-
type FactoryConfigTier = '
|
|
199
|
+
type FactoryConfigTier = 'domain' | 'presentation' | 'internal';
|
|
196
200
|
/**
|
|
197
201
|
* One trait the factory composes into the orbital. The projector reads
|
|
198
202
|
* these to determine which factory's trait stack covers a given
|
|
@@ -391,10 +395,10 @@ interface DomainQuestion {
|
|
|
391
395
|
/** Per-property schema for structured objects (`objectForm`).
|
|
392
396
|
* Propagated from `FactoryConfigParam.properties`. */
|
|
393
397
|
objectSchema?: Readonly<Record<string, EntityField>>;
|
|
394
|
-
/**
|
|
398
|
+
/** Decision-kind tier propagated from `FactoryConfigParam.tier`.
|
|
395
399
|
* Undefined when the source `.lolo` did not author an explicit
|
|
396
400
|
* `@tier` annotation — the studio treats undefined as
|
|
397
|
-
* `'
|
|
401
|
+
* `'presentation'`. */
|
|
398
402
|
tier?: FactoryConfigTier;
|
|
399
403
|
}
|
|
400
404
|
/**
|