@almadar/core 9.5.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 +7 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BJyUFeMQ.d.ts → compose-behaviors-BLCis28r.d.ts} +1 -1
- package/dist/factory/index.d.ts +21 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/{schema-B5-kHxVf.d.ts → schema-Dx404jRG.d.ts} +643 -1
- package/dist/{trait-Bzv2COpe.d.ts → trait-BjSJtFXv.d.ts} +165 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +7 -0
- 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
|
@@ -278,6 +278,8 @@ var EventSchema = z.object({
|
|
|
278
278
|
key: z.string().min(1, "Event key is required"),
|
|
279
279
|
name: z.string().min(1, "Event name is required"),
|
|
280
280
|
description: z.string().optional(),
|
|
281
|
+
synonyms: z.string().optional(),
|
|
282
|
+
tier: z.string().optional(),
|
|
281
283
|
payloadSchema: z.array(PayloadFieldSchema).optional(),
|
|
282
284
|
classification: z.enum(["domain", "system"]).optional(),
|
|
283
285
|
semanticRole: z.string().optional()
|
|
@@ -407,6 +409,8 @@ var TraitEventContractSchema = z.object({
|
|
|
407
409
|
"Event name must start with a letter and contain only letters, digits, and underscores"
|
|
408
410
|
),
|
|
409
411
|
description: z.string().optional(),
|
|
412
|
+
synonyms: z.string().optional(),
|
|
413
|
+
tier: z.string().optional(),
|
|
410
414
|
payloadSchema: z.array(EventPayloadFieldSchema).optional(),
|
|
411
415
|
scope: EventScopeSchema.optional()
|
|
412
416
|
});
|
|
@@ -422,6 +426,9 @@ var ListenSourceSchema = z.union([
|
|
|
422
426
|
var TraitEventListenerSchema = z.object({
|
|
423
427
|
event: z.string().min(1),
|
|
424
428
|
triggers: z.string().min(1),
|
|
429
|
+
description: z.string().optional(),
|
|
430
|
+
synonyms: z.string().optional(),
|
|
431
|
+
tier: z.string().optional(),
|
|
425
432
|
guard: ExpressionSchema.optional(),
|
|
426
433
|
scope: EventScopeSchema.optional(),
|
|
427
434
|
payloadMapping: z.record(z.string()).optional(),
|