@almadar/core 9.5.0 → 9.6.1
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 +22 -2
- package/dist/index.d.ts +6 -6
- 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/types/index.js
CHANGED
|
@@ -458,6 +458,8 @@ var EventSchema = z.object({
|
|
|
458
458
|
key: z.string().min(1, "Event key is required"),
|
|
459
459
|
name: z.string().min(1, "Event name is required"),
|
|
460
460
|
description: z.string().optional(),
|
|
461
|
+
synonyms: z.string().optional(),
|
|
462
|
+
tier: z.string().optional(),
|
|
461
463
|
payloadSchema: z.array(PayloadFieldSchema).optional(),
|
|
462
464
|
classification: z.enum(["domain", "system"]).optional(),
|
|
463
465
|
semanticRole: z.string().optional()
|
|
@@ -590,6 +592,8 @@ var TraitEventContractSchema = z.object({
|
|
|
590
592
|
"Event name must start with a letter and contain only letters, digits, and underscores"
|
|
591
593
|
),
|
|
592
594
|
description: z.string().optional(),
|
|
595
|
+
synonyms: z.string().optional(),
|
|
596
|
+
tier: z.string().optional(),
|
|
593
597
|
payloadSchema: z.array(EventPayloadFieldSchema).optional(),
|
|
594
598
|
scope: EventScopeSchema.optional()
|
|
595
599
|
});
|
|
@@ -605,6 +609,9 @@ var ListenSourceSchema = z.union([
|
|
|
605
609
|
var TraitEventListenerSchema = z.object({
|
|
606
610
|
event: z.string().min(1),
|
|
607
611
|
triggers: z.string().min(1),
|
|
612
|
+
description: z.string().optional(),
|
|
613
|
+
synonyms: z.string().optional(),
|
|
614
|
+
tier: z.string().optional(),
|
|
608
615
|
guard: ExpressionSchema.optional(),
|
|
609
616
|
scope: EventScopeSchema.optional(),
|
|
610
617
|
payloadMapping: z.record(z.string()).optional(),
|