@almadar/core 7.14.3 → 7.16.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 +8 -1
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-Dgj9KYGP.d.ts → compose-behaviors-D2vPjRpX.d.ts} +1 -1
- package/dist/domain-language/index.d.ts +2 -2
- package/dist/domain-language/index.js +8 -1
- package/dist/domain-language/index.js.map +1 -1
- package/dist/{expression-CkBbMSmB.d.ts → expression-BVRFm0sV.d.ts} +5 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/dist/{schema-CgNnvuCR.d.ts → schema-DJzXvJHi.d.ts} +2653 -195
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/types/index.d.ts +15 -10
- package/dist/types/index.js +20 -8
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d6 as UISlot, Z as Effect, cE as Trait, bN as RenderUIEffect, cQ as TraitEventContract, a2 as Entity, cS as TraitEventListener, cH as TraitConfig, a6 as EntityField, a9 as EntityPersistence, ag as EntityRow, db as UseDeclaration, ab as EntityRef, cV as TraitRef, bs as PageRef, b6 as OrbitalDefinition, bh as OrbitalSchema, br as Page, bt as PageRefObject, cX as TraitReference } from './schema-
|
|
2
|
-
import { S as SExpr } from './expression-
|
|
3
|
-
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-
|
|
1
|
+
import { d6 as UISlot, Z as Effect, cE as Trait, bN as RenderUIEffect, cQ as TraitEventContract, a2 as Entity, cS as TraitEventListener, cH as TraitConfig, a6 as EntityField, a9 as EntityPersistence, ag as EntityRow, db as UseDeclaration, ab as EntityRef, cV as TraitRef, bs as PageRef, b6 as OrbitalDefinition, bh as OrbitalSchema, br as Page, bt as PageRefObject, cX as TraitReference } from './schema-DJzXvJHi.js';
|
|
2
|
+
import { S as SExpr } from './expression-BVRFm0sV.js';
|
|
3
|
+
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-D2vPjRpX.js';
|
|
4
4
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/builders.js
CHANGED
|
@@ -452,6 +452,11 @@ z.object({
|
|
|
452
452
|
}
|
|
453
453
|
);
|
|
454
454
|
var TraitScopeSchema = z.enum(["instance", "collection"]);
|
|
455
|
+
var SourceBehaviorMetadataSchema = z.object({
|
|
456
|
+
behavior: z.string().min(1),
|
|
457
|
+
alias: z.string().min(1),
|
|
458
|
+
originalName: z.string().min(1)
|
|
459
|
+
});
|
|
455
460
|
var TraitSchema = z.object({
|
|
456
461
|
name: z.string().min(1),
|
|
457
462
|
description: z.string().optional(),
|
|
@@ -467,7 +472,9 @@ var TraitSchema = z.object({
|
|
|
467
472
|
emits: z.array(TraitEventContractSchema).optional(),
|
|
468
473
|
listens: z.array(TraitEventListenerSchema).optional(),
|
|
469
474
|
ui: z.record(z.unknown()).optional(),
|
|
470
|
-
config: DeclaredTraitConfigSchema.optional()
|
|
475
|
+
config: DeclaredTraitConfigSchema.optional(),
|
|
476
|
+
sourceBehavior: SourceBehaviorMetadataSchema.optional(),
|
|
477
|
+
sourceEntityDefinition: EntitySchema.optional()
|
|
471
478
|
});
|
|
472
479
|
var TraitRefSchema = z.union([
|
|
473
480
|
z.string().min(1),
|