@almadar/core 10.75.0 → 10.77.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 +4 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-CK1NMWES.d.ts → effect-BHaHSAvM.d.ts} +1 -1
- package/dist/{entityAccess-B-de_0a8.d.ts → entityAccess-CqqGrG-7.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +4 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-CBxIR1yy.d.ts → index-B8ZQ8lo5.d.ts} +4 -4
- package/dist/index.d.ts +21 -12
- package/dist/index.js +189 -42
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +132 -74
- package/dist/patterns/index.js +54 -36
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +52 -34
- package/dist/patterns/registry.json +52 -34
- package/dist/{schema-DlTrByoG.d.ts → schema-Czlrw3bA.d.ts} +106 -3
- package/dist/{trait-Cm9H3lHN.d.ts → trait-DCmf5iRN.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +16 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-cCAU_Z-5.d.ts → types-Cb51Jqxe.d.ts} +2 -2
- package/package.json +2 -2
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, g as Trait, T as TraitEventListener, h as CallSiteConfig, j 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-BHaHSAvM.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-Czlrw3bA.js';
|
|
3
|
+
import { b as TraitConfig, g as Trait, T as TraitEventListener, h as CallSiteConfig, j as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DCmf5iRN.js';
|
|
4
4
|
import { S as SExpr } from './expression-Fk8bQWef.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/builders.js
CHANGED
|
@@ -1313,6 +1313,10 @@ var ExpectDeclarationSchema = z.discriminatedUnion("kind", [
|
|
|
1313
1313
|
kind: z.literal("event"),
|
|
1314
1314
|
traitName: z.string().min(1, "Expected event trait name is required"),
|
|
1315
1315
|
event: z.string().min(1, "Expected event name is required")
|
|
1316
|
+
}),
|
|
1317
|
+
z.object({
|
|
1318
|
+
kind: z.literal("page"),
|
|
1319
|
+
path: z.string().min(1, "Expected page path is required")
|
|
1316
1320
|
})
|
|
1317
1321
|
]);
|
|
1318
1322
|
function isEntityReference(entity) {
|