@almadar/core 10.86.0 → 10.88.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 +5 -4
- package/dist/builders.js +70 -29
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BgDiw_bG.d.ts → effect-DMA97JxX.d.ts} +22 -6
- package/dist/{entityAccess-DK5S_2cT.d.ts → entityAccess-B5_Y9zF5.d.ts} +2 -2
- package/dist/{expression-Fk8bQWef.d.ts → expression-WfTp2arD.d.ts} +2 -65
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +1194 -401
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +35 -5
- package/dist/factory-runtime/index.js +129 -52
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/i18n/index.d.ts +124 -2
- package/dist/i18n/index.js +680 -382
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-ChYsqVJj.d.ts → index-CYE40P_7.d.ts} +18 -5
- package/dist/index.d.ts +82 -14
- package/dist/index.js +2058 -696
- package/dist/index.js.map +1 -1
- package/dist/json-D8gmyK3l.d.ts +65 -0
- package/dist/mock/index.d.ts +129 -12
- package/dist/mock/index.js +192 -61
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +2525 -609
- package/dist/patterns/index.js +1238 -384
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +107 -23
- package/dist/patterns/patterns-registry.json +1170 -400
- package/dist/patterns/registry.json +1170 -400
- package/dist/patterns/services-registry.json +170 -35
- package/dist/{schema-BhfQb1oe.d.ts → schema-ex9koAoK.d.ts} +46845 -21335
- package/dist/state-machine/index.d.ts +2 -1
- package/dist/trait-BJAX5TJK.d.ts +10683 -0
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.js +134 -43
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CCAmdxcH.d.ts → types-kHQhEEXQ.d.ts} +19 -3
- package/package.json +4 -3
- package/dist/trait-pavNlGqm.d.ts +0 -5385
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-
|
|
2
|
-
import { T as TraitEventListener, a as TraitReference } from './trait-
|
|
3
|
-
import { J as JsonValue } from './
|
|
1
|
+
import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-DMA97JxX.js';
|
|
2
|
+
import { T as TraitEventListener, a as TraitReference } from './trait-BJAX5TJK.js';
|
|
3
|
+
import { J as JsonValue } from './json-D8gmyK3l.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Cross-cutting presentation knobs that don't live per orbital
|
|
@@ -424,6 +424,22 @@ interface FactorySignature {
|
|
|
424
424
|
emittedEvents: ReadonlyArray<string>;
|
|
425
425
|
/** Union of all `traits[].listenedEvents`. */
|
|
426
426
|
listenedEvents: ReadonlyArray<string>;
|
|
427
|
+
/**
|
|
428
|
+
* This orbital's OWN declared knobs (`Orbital.config`) — distinct from
|
|
429
|
+
* `traits[].overridableConfigKeys`, which are per-TRAIT. Same shape and
|
|
430
|
+
* semantics as a trait's config surface: type/default/label/description/
|
|
431
|
+
* synonyms/tier lifted from the source `.lolo` `config { }` block
|
|
432
|
+
* authored directly on the orbital. Omitted when the orbital declares no
|
|
433
|
+
* config of its own.
|
|
434
|
+
*/
|
|
435
|
+
config?: ReadonlyArray<FactoryConfigParam>;
|
|
436
|
+
/**
|
|
437
|
+
* WIRE FORMAT ONLY — indices into `FactorySignatureCatalog.knobDefs`, the
|
|
438
|
+
* orbital-config sibling of `FactoryTraitSignature.overridableConfigKeyRefs`.
|
|
439
|
+
* Absent in memory — `config` is always populated instead; `rehydrateKnobDefs`
|
|
440
|
+
* substitutes it from this table before any consumer sees the signature.
|
|
441
|
+
*/
|
|
442
|
+
configRefs?: ReadonlyArray<number>;
|
|
427
443
|
/**
|
|
428
444
|
* JSON Schema for the orbital's `AnalysisOrbitalParams` shape. Walks
|
|
429
445
|
* `traitOverrides.<TraitName>.config.<knob>` with the exact type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/core",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.88.0",
|
|
4
4
|
"description": "Core schema types and definitions for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"zod": "^3.22.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@almadar/eslint-plugin": "^2.
|
|
73
|
+
"@almadar/eslint-plugin": "^2.18.0",
|
|
74
74
|
"@types/node": "^22.0.0",
|
|
75
75
|
"@typescript-eslint/parser": "8.65.0",
|
|
76
76
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"build": "tsup",
|
|
98
98
|
"build:watch": "tsup --watch",
|
|
99
99
|
"test": "vitest",
|
|
100
|
-
"typecheck": "tsc --noEmit"
|
|
100
|
+
"typecheck": "tsc --noEmit",
|
|
101
|
+
"gen:orb-notation": "tsx scripts/gen-orb-notation.mts"
|
|
101
102
|
}
|
|
102
103
|
}
|