@almadar/core 10.38.0 → 10.40.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-BoyWDFfH.d.ts → builders-Dw270YQh.d.ts} +116 -3
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +5 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-5kg4MCeB.d.ts → effect-DQPFowvO.d.ts} +7 -2
- package/dist/{entity-CVylqnAf.d.ts → entity-DfD-iXkn.d.ts} +13 -0
- package/dist/factory/index.d.ts +6 -6
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +5 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +526 -37
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +1 -1
- package/dist/mock/index.js +5 -0
- 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 +765 -47
- package/dist/patterns/index.js +521 -37
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +275 -31
- package/dist/patterns/patterns-registry.json +245 -5
- package/dist/patterns/registry.json +245 -5
- package/dist/{trait-Bnd3i_2G.d.ts → trait-C_TZnqb_.d.ts} +17 -2
- package/dist/types/index.d.ts +15 -9
- package/dist/types/index.js +5 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BE598tvP.d.ts → types-BUqLsSEN.d.ts} +2 -2
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './entity-
|
|
2
|
-
export { i as ComposeBehaviorsInput, j as ComposeBehaviorsResult, c7 as ComposeConnection, c8 as ComposePage, a6 as EventWiringEntry, aq as LayoutStrategy, c9 as MakeAtomOrbitalOpts, ca as MakeAtomOrbitalTraitOverrides, cb as MakeEntityOpts, cc as MakeLayoutTraitOpts, cd as MakeOrbitalWithUsesOpts, ce as MakePageOpts, cf as MakePageRefOpts, cg as MakePageRefOptsTyped, M as MakeTraitRefOpts, ch as MakeTraitRefOptsTyped, bS as applyEventWiring, ci as applyTraitConfigOverrides, cj as compose, bT as composeBehaviors, ck as connect, bU as detectLayoutStrategy, cl as ensureIdField, cm as extractTrait, cn as makeAtomOrbital, co as makeEntity, cp as makeLayoutTrait, cq as makeOrbital, cr as makeOrbitalWithUses, cs as makePage, ct as makePageRef, cu as makeRenderUI, cv as makeSchema, cw as makeSlot, cx as makeTraitRef, cy as mergeLedgers, cz as mergeOrbitals, cA as pipe, cB as plural, cC as wire } from './builders-
|
|
3
|
-
import './trait-
|
|
1
|
+
import './entity-DfD-iXkn.js';
|
|
2
|
+
export { i as ComposeBehaviorsInput, j as ComposeBehaviorsResult, c7 as ComposeConnection, c8 as ComposePage, a6 as EventWiringEntry, aq as LayoutStrategy, c9 as MakeAtomOrbitalOpts, ca as MakeAtomOrbitalTraitOverrides, cb as MakeEntityOpts, cc as MakeLayoutTraitOpts, cd as MakeOrbitalWithUsesOpts, ce as MakePageOpts, cf as MakePageRefOpts, cg as MakePageRefOptsTyped, M as MakeTraitRefOpts, ch as MakeTraitRefOptsTyped, bS as applyEventWiring, ci as applyTraitConfigOverrides, cj as compose, bT as composeBehaviors, ck as connect, bU as detectLayoutStrategy, cl as ensureIdField, cm as extractTrait, cn as makeAtomOrbital, co as makeEntity, cp as makeLayoutTrait, cq as makeOrbital, cr as makeOrbitalWithUses, cs as makePage, ct as makePageRef, cu as makeRenderUI, cv as makeSchema, cw as makeSlot, cx as makeTraitRef, cy as mergeLedgers, cz as mergeOrbitals, cA as pipe, cB as plural, cC as wire } from './builders-Dw270YQh.js';
|
|
3
|
+
import './trait-C_TZnqb_.js';
|
|
4
4
|
import './expression-DpAj1RzP.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './effect-
|
|
6
|
+
import './effect-DQPFowvO.js';
|
package/dist/builders.js
CHANGED
|
@@ -326,6 +326,11 @@ var OrbitalEntitySchema = z.object({
|
|
|
326
326
|
name: z.string().min(1, "Entity name is required"),
|
|
327
327
|
persistence: EntityPersistenceSchema.default("persistent"),
|
|
328
328
|
shared: z.boolean().optional(),
|
|
329
|
+
// Must stay in step with the Rust serde field (`EntityDefinition.identity`,
|
|
330
|
+
// orbital-core/src/schema/types.rs). `z.object()` STRIPS unknown keys rather
|
|
331
|
+
// than rejecting them, so a Rust-only field works on the compiled path and
|
|
332
|
+
// silently vanishes on the interpreter path.
|
|
333
|
+
identity: z.boolean().optional(),
|
|
329
334
|
collection: z.string().optional(),
|
|
330
335
|
fields: z.array(EntityFieldSchema).min(1, "At least one field is required"),
|
|
331
336
|
instances: z.array(z.record(z.unknown())).optional(),
|