@almadar/core 9.4.0 → 9.6.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 +10 -1
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BgQF4nDE.d.ts → compose-behaviors-BLCis28r.d.ts} +1 -1
- package/dist/factory/index.d.ts +26 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-ChiLwvNY.d.ts → schema-Dx404jRG.d.ts} +873 -231
- package/dist/{trait-S6adsRKG.d.ts → trait-BjSJtFXv.d.ts} +208 -37
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +10 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bR as UISlot, u as Effect, bm as Trait, aH as RenderUIEffect, by as TraitEventContract, z as Entity, bA as TraitEventListener, bp as TraitConfig, F as EntityField, K as EntityPersistence, O as EntityRow, bD as TraitRef, bF as TraitReference } from './trait-
|
|
2
|
-
import { bC as UseDeclaration, Q as EntityRef, aT as PageRef, aD as OrbitalDefinition, aL as OrbitalSchema, aS as Page, aU as PageRefObject } from './schema-
|
|
1
|
+
import { bR as UISlot, u as Effect, bm as Trait, aH as RenderUIEffect, by as TraitEventContract, z as Entity, bA as TraitEventListener, bp as TraitConfig, F as EntityField, K as EntityPersistence, O as EntityRow, bD as TraitRef, bF as TraitReference } from './trait-BjSJtFXv.js';
|
|
2
|
+
import { bC as UseDeclaration, Q as EntityRef, aT as PageRef, aD as OrbitalDefinition, aL as OrbitalSchema, aS as Page, aU as PageRefObject } from './schema-Dx404jRG.js';
|
|
3
3
|
import { S as SExpr } from './expression-BVRFm0sV.js';
|
|
4
|
-
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-
|
|
4
|
+
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-BLCis28r.js';
|
|
5
5
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
package/dist/builders.js
CHANGED
|
@@ -67,7 +67,9 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
67
67
|
min: z.number().optional(),
|
|
68
68
|
max: z.number().optional(),
|
|
69
69
|
properties: z.record(EntityFieldSchema).optional(),
|
|
70
|
-
intrinsic: z.boolean().optional()
|
|
70
|
+
intrinsic: z.boolean().optional(),
|
|
71
|
+
description: z.string().optional(),
|
|
72
|
+
synonyms: z.string().optional()
|
|
71
73
|
};
|
|
72
74
|
function scalarVariant(t) {
|
|
73
75
|
return z.object({
|
|
@@ -276,6 +278,8 @@ var EventSchema = z.object({
|
|
|
276
278
|
key: z.string().min(1, "Event key is required"),
|
|
277
279
|
name: z.string().min(1, "Event name is required"),
|
|
278
280
|
description: z.string().optional(),
|
|
281
|
+
synonyms: z.string().optional(),
|
|
282
|
+
tier: z.string().optional(),
|
|
279
283
|
payloadSchema: z.array(PayloadFieldSchema).optional(),
|
|
280
284
|
classification: z.enum(["domain", "system"]).optional(),
|
|
281
285
|
semanticRole: z.string().optional()
|
|
@@ -405,6 +409,8 @@ var TraitEventContractSchema = z.object({
|
|
|
405
409
|
"Event name must start with a letter and contain only letters, digits, and underscores"
|
|
406
410
|
),
|
|
407
411
|
description: z.string().optional(),
|
|
412
|
+
synonyms: z.string().optional(),
|
|
413
|
+
tier: z.string().optional(),
|
|
408
414
|
payloadSchema: z.array(EventPayloadFieldSchema).optional(),
|
|
409
415
|
scope: EventScopeSchema.optional()
|
|
410
416
|
});
|
|
@@ -420,6 +426,9 @@ var ListenSourceSchema = z.union([
|
|
|
420
426
|
var TraitEventListenerSchema = z.object({
|
|
421
427
|
event: z.string().min(1),
|
|
422
428
|
triggers: z.string().min(1),
|
|
429
|
+
description: z.string().optional(),
|
|
430
|
+
synonyms: z.string().optional(),
|
|
431
|
+
tier: z.string().optional(),
|
|
423
432
|
guard: ExpressionSchema.optional(),
|
|
424
433
|
scope: EventScopeSchema.optional(),
|
|
425
434
|
payloadMapping: z.record(z.string()).optional(),
|