@almadar/core 10.99.0 → 10.100.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 +3 -3
- package/dist/builders.js +2 -0
- package/dist/builders.js.map +1 -1
- package/dist/{bus-BGDM3Xot.d.ts → bus-D69s_77B.d.ts} +25 -2
- package/dist/{effect-CW_IT0Jn.d.ts → effect-Hm_QDaSI.d.ts} +8 -2
- package/dist/{entityAccess-BLpOMojb.d.ts → entityAccess-DdcKps16.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +14 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +13 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js +11 -0
- package/dist/fixtures.js.map +1 -1
- package/dist/{index-CHHuux4I.d.ts → index-DPdJPQZe.d.ts} +5 -5
- package/dist/index.d.ts +12 -12
- package/dist/index.js +47 -5
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- 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 +37 -6
- package/dist/patterns/index.js +17 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +15 -2
- package/dist/patterns/registry.json +15 -2
- package/dist/{schema-BVjtoRYf.d.ts → schema-TqLV2wlK.d.ts} +174 -2
- package/dist/{trait-C9lr222u.d.ts → trait-YlNXc4H3.d.ts} +37 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +30 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BoyvM79n.d.ts → types-Ug92oza4.d.ts} +2 -2
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-
|
|
2
|
-
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-
|
|
3
|
-
import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-
|
|
1
|
+
import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-Hm_QDaSI.js';
|
|
2
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-TqLV2wlK.js';
|
|
3
|
+
import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-YlNXc4H3.js';
|
|
4
4
|
import { S as SExpr } from './expression-DRwzVnMu.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './json-D8gmyK3l.js';
|
package/dist/builders.js
CHANGED
|
@@ -895,6 +895,8 @@ var TraitSchema = z.object({
|
|
|
895
895
|
ticks: z.array(TraitTickSchema).optional(),
|
|
896
896
|
emits: z.array(TraitEventContractSchema).optional(),
|
|
897
897
|
listens: z.array(TraitEventListenerSchema).optional(),
|
|
898
|
+
/** Call-site rename map (`events { ACTION: CONFIRM_VOID }`) — mirrors `Trait.events`. */
|
|
899
|
+
events: z.record(z.string().min(1), z.string().min(1)).optional(),
|
|
898
900
|
ui: TraitUIBindingSchema.optional(),
|
|
899
901
|
config: DeclaredTraitConfigSchema.optional(),
|
|
900
902
|
sourceBehavior: SourceBehaviorMetadataSchema.optional(),
|