@almadar/core 10.84.0 → 10.85.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 +9 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DruTSW2O.d.ts → effect-BgDiw_bG.d.ts} +19 -3
- package/dist/{entityAccess-BoYVXf3b.d.ts → entityAccess-DK5S_2cT.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +180 -8
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +9 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-76Ff6JCE.d.ts → index-ChYsqVJj.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +289 -12
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +367 -13
- package/dist/patterns/index.js +189 -11
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +181 -9
- package/dist/patterns/registry.json +181 -9
- package/dist/{schema-BdeZ8R35.d.ts → schema-BhfQb1oe.d.ts} +498 -2
- package/dist/state-machine/index.js +91 -1
- package/dist/state-machine/index.js.map +1 -1
- package/dist/{trait-DKJWX0Ru.d.ts → trait-pavNlGqm.d.ts} +122 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +10 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CRr2IuTj.d.ts → types-CCAmdxcH.d.ts} +12 -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, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f 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, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-BgDiw_bG.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-BhfQb1oe.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-pavNlGqm.js';
|
|
4
4
|
import { S as SExpr } from './expression-Fk8bQWef.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/builders.js
CHANGED
|
@@ -813,6 +813,14 @@ var EntityFieldContractSchema = z.object({
|
|
|
813
813
|
requires: z.array(z.string()),
|
|
814
814
|
provides: z.array(z.string())
|
|
815
815
|
});
|
|
816
|
+
var EffectSiteSchema = z.enum(["transition", "tick"]);
|
|
817
|
+
var EffectUseSchema = z.object({
|
|
818
|
+
kind: z.string(),
|
|
819
|
+
resource: z.string().optional(),
|
|
820
|
+
resolved: z.boolean().optional(),
|
|
821
|
+
site: EffectSiteSchema.optional()
|
|
822
|
+
});
|
|
823
|
+
var EffectRowSchema = z.array(EffectUseSchema);
|
|
816
824
|
var SourceBehaviorMetadataSchema = z.object({
|
|
817
825
|
behavior: z.string().min(1),
|
|
818
826
|
alias: z.string().min(1),
|
|
@@ -831,6 +839,7 @@ var TraitSchema = z.object({
|
|
|
831
839
|
category: TraitCategorySchema.optional(),
|
|
832
840
|
entityRebindable: z.boolean().optional(),
|
|
833
841
|
entityContract: EntityFieldContractSchema.optional(),
|
|
842
|
+
effectRow: EffectRowSchema.optional(),
|
|
834
843
|
entityBindingDescription: z.string().optional(),
|
|
835
844
|
entityBindingSynonyms: z.string().optional(),
|
|
836
845
|
capabilities: z.array(z.string()).optional(),
|