@almadar/core 10.37.0 → 10.38.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-CBdyt_gd.d.ts → builders-BoyWDFfH.d.ts} +89 -88
- package/dist/builders.d.ts +4 -3
- package/dist/builders.js +20 -16
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Cd6ibbZc.d.ts → effect-5kg4MCeB.d.ts} +33 -1561
- package/dist/entity-CVylqnAf.d.ts +1559 -0
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +7 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -3
- package/dist/factory-runtime/index.js +20 -16
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +461 -21
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +119 -0
- package/dist/mock/index.js +695 -0
- package/dist/mock/index.js.map +1 -0
- package/dist/patterns/component-mapping.json +16 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +897 -6
- package/dist/patterns/index.js +396 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +21 -1
- package/dist/patterns/patterns-registry.json +355 -1
- package/dist/patterns/registry.json +355 -1
- package/dist/patterns/services-registry.json +104 -0
- package/dist/{trait-CEO7o8Ne.d.ts → trait-Bnd3i_2G.d.ts} +38 -22
- package/dist/types/index.d.ts +11 -9
- package/dist/types/index.js +61 -17
- package/dist/types/index.js.map +1 -1
- package/dist/{types-1YGQKdbm.d.ts → types-BE598tvP.d.ts} +3 -3
- package/package.json +6 -1
package/dist/index.js
CHANGED
|
@@ -160,13 +160,18 @@ function isJsonArray(value) {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
// src/types/field.ts
|
|
163
|
-
var
|
|
163
|
+
var FIELD_TYPES = [
|
|
164
164
|
"string",
|
|
165
165
|
"number",
|
|
166
166
|
"boolean",
|
|
167
167
|
"date",
|
|
168
168
|
"timestamp",
|
|
169
169
|
"datetime",
|
|
170
|
+
"email",
|
|
171
|
+
"url",
|
|
172
|
+
"phone",
|
|
173
|
+
"uuid",
|
|
174
|
+
"image",
|
|
170
175
|
"array",
|
|
171
176
|
"object",
|
|
172
177
|
"enum",
|
|
@@ -174,7 +179,12 @@ var FieldTypeSchema = z.enum([
|
|
|
174
179
|
"trait",
|
|
175
180
|
"slot",
|
|
176
181
|
"pattern"
|
|
177
|
-
]
|
|
182
|
+
];
|
|
183
|
+
var SEMANTIC_STRING_TYPES = ["email", "url", "phone", "uuid", "image"];
|
|
184
|
+
function isSemanticStringType(type) {
|
|
185
|
+
return SEMANTIC_STRING_TYPES.includes(type);
|
|
186
|
+
}
|
|
187
|
+
var FieldTypeSchema = z.enum(FIELD_TYPES);
|
|
178
188
|
var RelationCardinalitySchema = z.enum([
|
|
179
189
|
"one",
|
|
180
190
|
"many",
|
|
@@ -202,17 +212,35 @@ var RelationConfigSchema = z.object({
|
|
|
202
212
|
};
|
|
203
213
|
return normalized;
|
|
204
214
|
});
|
|
205
|
-
var
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
var EMAIL_RE = /^[^\s@]+@[^\s@.]+\.[^\s@]+$/;
|
|
216
|
+
var URL_RE = /^https?:\/\/[^\s]+$/;
|
|
217
|
+
var PHONE_RE = /^[+]?[\d\s().-]{7,}$/;
|
|
218
|
+
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
219
|
+
function isEmailValue(value) {
|
|
220
|
+
return EMAIL_RE.test(value);
|
|
221
|
+
}
|
|
222
|
+
function isUrlValue(value) {
|
|
223
|
+
return URL_RE.test(value);
|
|
224
|
+
}
|
|
225
|
+
function isPhoneValue(value) {
|
|
226
|
+
return PHONE_RE.test(value);
|
|
227
|
+
}
|
|
228
|
+
function isUuidValue(value) {
|
|
229
|
+
return UUID_RE.test(value);
|
|
230
|
+
}
|
|
231
|
+
function isSemanticStringValue(type, value) {
|
|
232
|
+
switch (type) {
|
|
233
|
+
case "email":
|
|
234
|
+
return isEmailValue(value);
|
|
235
|
+
case "url":
|
|
236
|
+
case "image":
|
|
237
|
+
return isUrlValue(value);
|
|
238
|
+
case "phone":
|
|
239
|
+
return isPhoneValue(value);
|
|
240
|
+
case "uuid":
|
|
241
|
+
return isUuidValue(value);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
216
244
|
var FIELD_TYPE_ALIASES = {
|
|
217
245
|
text: "string",
|
|
218
246
|
int: "number",
|
|
@@ -224,7 +252,6 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
224
252
|
name: z.string().min(1, "Field name is required").optional(),
|
|
225
253
|
required: z.boolean().optional(),
|
|
226
254
|
default: JsonValueSchema.optional(),
|
|
227
|
-
format: FieldFormatSchema.optional(),
|
|
228
255
|
min: z.number().optional(),
|
|
229
256
|
max: z.number().optional(),
|
|
230
257
|
properties: z.record(EntityFieldSchema).optional(),
|
|
@@ -261,6 +288,11 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
261
288
|
scalarVariant("date"),
|
|
262
289
|
scalarVariant("timestamp"),
|
|
263
290
|
scalarVariant("datetime"),
|
|
291
|
+
scalarVariant("email"),
|
|
292
|
+
scalarVariant("url"),
|
|
293
|
+
scalarVariant("phone"),
|
|
294
|
+
scalarVariant("uuid"),
|
|
295
|
+
scalarVariant("image"),
|
|
264
296
|
scalarVariant("trait"),
|
|
265
297
|
scalarVariant("slot"),
|
|
266
298
|
scalarVariant("pattern"),
|
|
@@ -760,6 +792,10 @@ var REFERENCE_CONFIG_TYPES = ["entity", "trait", "event"];
|
|
|
760
792
|
function isReferenceConfigType(type) {
|
|
761
793
|
return REFERENCE_CONFIG_TYPES.includes(type);
|
|
762
794
|
}
|
|
795
|
+
var SECRET_CONFIG_TYPES = ["secret"];
|
|
796
|
+
function isSecretConfigType(type) {
|
|
797
|
+
return SECRET_CONFIG_TYPES.includes(type);
|
|
798
|
+
}
|
|
763
799
|
var ConfigFieldItemsDeclarationSchema = z.lazy(
|
|
764
800
|
() => z.object({
|
|
765
801
|
type: z.string().optional(),
|
|
@@ -811,7 +847,12 @@ var TraitEntityFieldSchema = z.object({
|
|
|
811
847
|
"object",
|
|
812
848
|
"timestamp",
|
|
813
849
|
"datetime",
|
|
814
|
-
"enum"
|
|
850
|
+
"enum",
|
|
851
|
+
"email",
|
|
852
|
+
"url",
|
|
853
|
+
"phone",
|
|
854
|
+
"uuid",
|
|
855
|
+
"image"
|
|
815
856
|
]),
|
|
816
857
|
required: z.boolean().optional(),
|
|
817
858
|
default: TraitConfigValueSchema.optional(),
|
|
@@ -936,7 +977,7 @@ var TraitEventListenerSchema = z.object({
|
|
|
936
977
|
});
|
|
937
978
|
var RequiredFieldSchema = z.object({
|
|
938
979
|
name: z.string().min(1),
|
|
939
|
-
type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]),
|
|
980
|
+
type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]),
|
|
940
981
|
description: z.string().optional()
|
|
941
982
|
});
|
|
942
983
|
var TraitReferenceSchema = z.object({
|
|
@@ -2066,7 +2107,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2066
2107
|
// src/patterns/patterns-registry.json
|
|
2067
2108
|
var patterns_registry_default = {
|
|
2068
2109
|
version: "1.0.0",
|
|
2069
|
-
exportedAt: "2026-07-
|
|
2110
|
+
exportedAt: "2026-07-26T06:18:13.545Z",
|
|
2070
2111
|
patterns: {
|
|
2071
2112
|
"entity-table": {
|
|
2072
2113
|
type: "entity-table",
|
|
@@ -42385,6 +42426,360 @@ var patterns_registry_default = {
|
|
|
42385
42426
|
description: "className prop"
|
|
42386
42427
|
}
|
|
42387
42428
|
}
|
|
42429
|
+
},
|
|
42430
|
+
"import-preview-tree": {
|
|
42431
|
+
type: "import-preview-tree",
|
|
42432
|
+
category: "component",
|
|
42433
|
+
tier: "molecules",
|
|
42434
|
+
family: "core",
|
|
42435
|
+
description: "ImportPreviewTree component",
|
|
42436
|
+
suggestedFor: [
|
|
42437
|
+
"import",
|
|
42438
|
+
"preview",
|
|
42439
|
+
"tree",
|
|
42440
|
+
"import preview tree"
|
|
42441
|
+
],
|
|
42442
|
+
typicalSize: "medium",
|
|
42443
|
+
propsSchema: {
|
|
42444
|
+
units: {
|
|
42445
|
+
types: [
|
|
42446
|
+
"array"
|
|
42447
|
+
],
|
|
42448
|
+
description: "Staged units to preview",
|
|
42449
|
+
required: true,
|
|
42450
|
+
items: {
|
|
42451
|
+
types: [
|
|
42452
|
+
"object"
|
|
42453
|
+
],
|
|
42454
|
+
properties: {
|
|
42455
|
+
ref: {
|
|
42456
|
+
types: [
|
|
42457
|
+
"string"
|
|
42458
|
+
]
|
|
42459
|
+
},
|
|
42460
|
+
targetEntity: {
|
|
42461
|
+
types: [
|
|
42462
|
+
"string"
|
|
42463
|
+
]
|
|
42464
|
+
},
|
|
42465
|
+
fields: {
|
|
42466
|
+
types: [
|
|
42467
|
+
"object"
|
|
42468
|
+
],
|
|
42469
|
+
mapValue: {
|
|
42470
|
+
types: [
|
|
42471
|
+
"object"
|
|
42472
|
+
],
|
|
42473
|
+
freeform: true
|
|
42474
|
+
}
|
|
42475
|
+
},
|
|
42476
|
+
parentRef: {
|
|
42477
|
+
types: [
|
|
42478
|
+
"string"
|
|
42479
|
+
]
|
|
42480
|
+
}
|
|
42481
|
+
},
|
|
42482
|
+
required: [
|
|
42483
|
+
"ref",
|
|
42484
|
+
"targetEntity",
|
|
42485
|
+
"fields"
|
|
42486
|
+
]
|
|
42487
|
+
}
|
|
42488
|
+
},
|
|
42489
|
+
skipped: {
|
|
42490
|
+
types: [
|
|
42491
|
+
"array"
|
|
42492
|
+
],
|
|
42493
|
+
description: "Elements skipped during extraction, with reasons",
|
|
42494
|
+
items: {
|
|
42495
|
+
types: [
|
|
42496
|
+
"object"
|
|
42497
|
+
],
|
|
42498
|
+
properties: {
|
|
42499
|
+
ref: {
|
|
42500
|
+
types: [
|
|
42501
|
+
"string"
|
|
42502
|
+
]
|
|
42503
|
+
},
|
|
42504
|
+
reason: {
|
|
42505
|
+
types: [
|
|
42506
|
+
"string"
|
|
42507
|
+
]
|
|
42508
|
+
}
|
|
42509
|
+
},
|
|
42510
|
+
required: [
|
|
42511
|
+
"ref",
|
|
42512
|
+
"reason"
|
|
42513
|
+
]
|
|
42514
|
+
},
|
|
42515
|
+
default: []
|
|
42516
|
+
},
|
|
42517
|
+
entityDisplay: {
|
|
42518
|
+
types: [
|
|
42519
|
+
"object"
|
|
42520
|
+
],
|
|
42521
|
+
description: "Entity name \u2192 display labels; falls back to the entity name",
|
|
42522
|
+
required: true,
|
|
42523
|
+
mapValue: {
|
|
42524
|
+
types: [
|
|
42525
|
+
"object"
|
|
42526
|
+
],
|
|
42527
|
+
properties: {
|
|
42528
|
+
singular: {
|
|
42529
|
+
types: [
|
|
42530
|
+
"string"
|
|
42531
|
+
]
|
|
42532
|
+
},
|
|
42533
|
+
plural: {
|
|
42534
|
+
types: [
|
|
42535
|
+
"string"
|
|
42536
|
+
]
|
|
42537
|
+
}
|
|
42538
|
+
},
|
|
42539
|
+
required: [
|
|
42540
|
+
"singular",
|
|
42541
|
+
"plural"
|
|
42542
|
+
]
|
|
42543
|
+
}
|
|
42544
|
+
},
|
|
42545
|
+
onConfirm: {
|
|
42546
|
+
types: [
|
|
42547
|
+
"function"
|
|
42548
|
+
],
|
|
42549
|
+
description: "Called when the user confirms the staged import",
|
|
42550
|
+
kind: "callback",
|
|
42551
|
+
callbackArgs: []
|
|
42552
|
+
},
|
|
42553
|
+
onCancel: {
|
|
42554
|
+
types: [
|
|
42555
|
+
"function"
|
|
42556
|
+
],
|
|
42557
|
+
description: "Called when the user cancels the staged import",
|
|
42558
|
+
kind: "callback",
|
|
42559
|
+
callbackArgs: []
|
|
42560
|
+
},
|
|
42561
|
+
confirmLabel: {
|
|
42562
|
+
types: [
|
|
42563
|
+
"string"
|
|
42564
|
+
],
|
|
42565
|
+
description: "Confirm button label",
|
|
42566
|
+
default: "Confirm import"
|
|
42567
|
+
},
|
|
42568
|
+
cancelLabel: {
|
|
42569
|
+
types: [
|
|
42570
|
+
"string"
|
|
42571
|
+
],
|
|
42572
|
+
description: "Cancel button label",
|
|
42573
|
+
default: "Cancel"
|
|
42574
|
+
},
|
|
42575
|
+
indent: {
|
|
42576
|
+
types: [
|
|
42577
|
+
"number"
|
|
42578
|
+
],
|
|
42579
|
+
description: "Indent per tree depth in px (default: 16)",
|
|
42580
|
+
default: 16
|
|
42581
|
+
},
|
|
42582
|
+
className: {
|
|
42583
|
+
types: [
|
|
42584
|
+
"string"
|
|
42585
|
+
],
|
|
42586
|
+
description: "Additional CSS classes"
|
|
42587
|
+
}
|
|
42588
|
+
}
|
|
42589
|
+
},
|
|
42590
|
+
"import-progress": {
|
|
42591
|
+
type: "import-progress",
|
|
42592
|
+
category: "component",
|
|
42593
|
+
tier: "molecules",
|
|
42594
|
+
family: "core",
|
|
42595
|
+
description: "ImportProgress component",
|
|
42596
|
+
suggestedFor: [
|
|
42597
|
+
"import",
|
|
42598
|
+
"progress",
|
|
42599
|
+
"import progress"
|
|
42600
|
+
],
|
|
42601
|
+
typicalSize: "medium",
|
|
42602
|
+
propsSchema: {
|
|
42603
|
+
step: {
|
|
42604
|
+
types: [
|
|
42605
|
+
"string"
|
|
42606
|
+
],
|
|
42607
|
+
description: "Current lifecycle step",
|
|
42608
|
+
required: true,
|
|
42609
|
+
enumValues: [
|
|
42610
|
+
"fetching",
|
|
42611
|
+
"mapping",
|
|
42612
|
+
"reviewing",
|
|
42613
|
+
"committing",
|
|
42614
|
+
"done",
|
|
42615
|
+
"failed"
|
|
42616
|
+
]
|
|
42617
|
+
},
|
|
42618
|
+
counts: {
|
|
42619
|
+
types: [
|
|
42620
|
+
"object"
|
|
42621
|
+
],
|
|
42622
|
+
description: "Unit counts",
|
|
42623
|
+
properties: {
|
|
42624
|
+
staged: {
|
|
42625
|
+
types: [
|
|
42626
|
+
"number"
|
|
42627
|
+
]
|
|
42628
|
+
},
|
|
42629
|
+
committed: {
|
|
42630
|
+
types: [
|
|
42631
|
+
"number"
|
|
42632
|
+
]
|
|
42633
|
+
},
|
|
42634
|
+
failed: {
|
|
42635
|
+
types: [
|
|
42636
|
+
"number"
|
|
42637
|
+
]
|
|
42638
|
+
}
|
|
42639
|
+
}
|
|
42640
|
+
},
|
|
42641
|
+
labels: {
|
|
42642
|
+
types: [
|
|
42643
|
+
"object"
|
|
42644
|
+
],
|
|
42645
|
+
description: "Step label overrides",
|
|
42646
|
+
mapValue: {
|
|
42647
|
+
types: [
|
|
42648
|
+
"string"
|
|
42649
|
+
]
|
|
42650
|
+
}
|
|
42651
|
+
},
|
|
42652
|
+
className: {
|
|
42653
|
+
types: [
|
|
42654
|
+
"string"
|
|
42655
|
+
],
|
|
42656
|
+
description: "Additional CSS classes"
|
|
42657
|
+
}
|
|
42658
|
+
}
|
|
42659
|
+
},
|
|
42660
|
+
"import-source-picker": {
|
|
42661
|
+
type: "import-source-picker",
|
|
42662
|
+
category: "component",
|
|
42663
|
+
tier: "molecules",
|
|
42664
|
+
family: "core",
|
|
42665
|
+
description: "ImportSourcePicker component",
|
|
42666
|
+
suggestedFor: [
|
|
42667
|
+
"import",
|
|
42668
|
+
"source",
|
|
42669
|
+
"picker",
|
|
42670
|
+
"import source picker"
|
|
42671
|
+
],
|
|
42672
|
+
typicalSize: "medium",
|
|
42673
|
+
propsSchema: {
|
|
42674
|
+
sources: {
|
|
42675
|
+
types: [
|
|
42676
|
+
"array"
|
|
42677
|
+
],
|
|
42678
|
+
description: "Source options to render",
|
|
42679
|
+
required: true,
|
|
42680
|
+
items: {
|
|
42681
|
+
types: [
|
|
42682
|
+
"object"
|
|
42683
|
+
],
|
|
42684
|
+
properties: {
|
|
42685
|
+
id: {
|
|
42686
|
+
types: [
|
|
42687
|
+
"string"
|
|
42688
|
+
]
|
|
42689
|
+
},
|
|
42690
|
+
label: {
|
|
42691
|
+
types: [
|
|
42692
|
+
"string"
|
|
42693
|
+
]
|
|
42694
|
+
},
|
|
42695
|
+
description: {
|
|
42696
|
+
types: [
|
|
42697
|
+
"string"
|
|
42698
|
+
]
|
|
42699
|
+
},
|
|
42700
|
+
icon: {
|
|
42701
|
+
types: [
|
|
42702
|
+
"icon",
|
|
42703
|
+
"string"
|
|
42704
|
+
]
|
|
42705
|
+
},
|
|
42706
|
+
kind: {
|
|
42707
|
+
types: [
|
|
42708
|
+
"string"
|
|
42709
|
+
],
|
|
42710
|
+
enumValues: [
|
|
42711
|
+
"action",
|
|
42712
|
+
"file"
|
|
42713
|
+
]
|
|
42714
|
+
},
|
|
42715
|
+
accept: {
|
|
42716
|
+
types: [
|
|
42717
|
+
"string"
|
|
42718
|
+
]
|
|
42719
|
+
},
|
|
42720
|
+
multiple: {
|
|
42721
|
+
types: [
|
|
42722
|
+
"boolean"
|
|
42723
|
+
]
|
|
42724
|
+
},
|
|
42725
|
+
disabled: {
|
|
42726
|
+
types: [
|
|
42727
|
+
"boolean"
|
|
42728
|
+
]
|
|
42729
|
+
}
|
|
42730
|
+
},
|
|
42731
|
+
required: [
|
|
42732
|
+
"id",
|
|
42733
|
+
"label"
|
|
42734
|
+
]
|
|
42735
|
+
}
|
|
42736
|
+
},
|
|
42737
|
+
onSelect: {
|
|
42738
|
+
types: [
|
|
42739
|
+
"function"
|
|
42740
|
+
],
|
|
42741
|
+
description: "Called with the source id when an 'action' option is picked",
|
|
42742
|
+
kind: "callback",
|
|
42743
|
+
callbackArgs: [
|
|
42744
|
+
{
|
|
42745
|
+
name: "sourceId",
|
|
42746
|
+
type: "string"
|
|
42747
|
+
}
|
|
42748
|
+
]
|
|
42749
|
+
},
|
|
42750
|
+
onFilesSelected: {
|
|
42751
|
+
types: [
|
|
42752
|
+
"function"
|
|
42753
|
+
],
|
|
42754
|
+
description: "Called with the chosen files when a 'file' option resolves",
|
|
42755
|
+
kind: "callback",
|
|
42756
|
+
callbackArgs: [
|
|
42757
|
+
{
|
|
42758
|
+
name: "files",
|
|
42759
|
+
type: "array"
|
|
42760
|
+
}
|
|
42761
|
+
],
|
|
42762
|
+
nonEmittable: true
|
|
42763
|
+
},
|
|
42764
|
+
title: {
|
|
42765
|
+
types: [
|
|
42766
|
+
"string"
|
|
42767
|
+
],
|
|
42768
|
+
description: "Optional heading above the options"
|
|
42769
|
+
},
|
|
42770
|
+
moreSources: {
|
|
42771
|
+
types: [
|
|
42772
|
+
"node"
|
|
42773
|
+
],
|
|
42774
|
+
description: "Generic slot for additional sources rendered below the options"
|
|
42775
|
+
},
|
|
42776
|
+
className: {
|
|
42777
|
+
types: [
|
|
42778
|
+
"string"
|
|
42779
|
+
],
|
|
42780
|
+
description: "Additional CSS classes"
|
|
42781
|
+
}
|
|
42782
|
+
}
|
|
42388
42783
|
}
|
|
42389
42784
|
},
|
|
42390
42785
|
categories: [
|
|
@@ -43034,15 +43429,35 @@ var integrators_registry_default = {
|
|
|
43034
43429
|
}
|
|
43035
43430
|
}
|
|
43036
43431
|
]
|
|
43432
|
+
},
|
|
43433
|
+
database: {
|
|
43434
|
+
name: "database",
|
|
43435
|
+
description: "Generic SQL database integration - read-only queries over external connections",
|
|
43436
|
+
category: "infrastructure",
|
|
43437
|
+
actions: [
|
|
43438
|
+
{
|
|
43439
|
+
name: "query",
|
|
43440
|
+
description: "Run a single read-only SELECT against a connection referenced by env var name",
|
|
43441
|
+
params: [
|
|
43442
|
+
{ name: "connectionRef", type: "string", required: true, description: "Name of the environment variable holding the connection string (never the secret itself)" },
|
|
43443
|
+
{ name: "sql", type: "string", required: true, description: "Single SELECT statement (read-only enforced)" },
|
|
43444
|
+
{ name: "params", type: "array", required: false, description: "Bind parameters for the query" }
|
|
43445
|
+
],
|
|
43446
|
+
responseShape: {
|
|
43447
|
+
rows: "array",
|
|
43448
|
+
rowCount: "number"
|
|
43449
|
+
}
|
|
43450
|
+
}
|
|
43451
|
+
]
|
|
43037
43452
|
}
|
|
43038
43453
|
},
|
|
43039
|
-
categories: ["media", "payment", "messaging", "ai", "devtools"]
|
|
43454
|
+
categories: ["media", "payment", "messaging", "ai", "devtools", "infrastructure"]
|
|
43040
43455
|
};
|
|
43041
43456
|
|
|
43042
43457
|
// src/patterns/component-mapping.json
|
|
43043
43458
|
var component_mapping_default = {
|
|
43044
43459
|
version: "1.0.0",
|
|
43045
|
-
exportedAt: "2026-07-
|
|
43460
|
+
exportedAt: "2026-07-26T06:18:13.545Z",
|
|
43046
43461
|
mappings: {
|
|
43047
43462
|
"page-header": {
|
|
43048
43463
|
component: "PageHeader",
|
|
@@ -44400,6 +44815,21 @@ var component_mapping_default = {
|
|
|
44400
44815
|
component: "PageTransition",
|
|
44401
44816
|
importPath: "@/components/core/molecules/PageTransition",
|
|
44402
44817
|
category: "component"
|
|
44818
|
+
},
|
|
44819
|
+
"import-preview-tree": {
|
|
44820
|
+
component: "ImportPreviewTree",
|
|
44821
|
+
importPath: "@/components/core/molecules/ImportPreviewTree",
|
|
44822
|
+
category: "component"
|
|
44823
|
+
},
|
|
44824
|
+
"import-progress": {
|
|
44825
|
+
component: "ImportProgress",
|
|
44826
|
+
importPath: "@/components/core/molecules/ImportProgress",
|
|
44827
|
+
category: "component"
|
|
44828
|
+
},
|
|
44829
|
+
"import-source-picker": {
|
|
44830
|
+
component: "ImportSourcePicker",
|
|
44831
|
+
importPath: "@/components/core/molecules/ImportSourcePicker",
|
|
44832
|
+
category: "component"
|
|
44403
44833
|
}
|
|
44404
44834
|
}
|
|
44405
44835
|
};
|
|
@@ -44407,7 +44837,7 @@ var component_mapping_default = {
|
|
|
44407
44837
|
// src/patterns/event-contracts.json
|
|
44408
44838
|
var event_contracts_default = {
|
|
44409
44839
|
version: "1.0.0",
|
|
44410
|
-
exportedAt: "2026-07-
|
|
44840
|
+
exportedAt: "2026-07-26T06:18:13.545Z",
|
|
44411
44841
|
contracts: {
|
|
44412
44842
|
form: {
|
|
44413
44843
|
emits: [
|
|
@@ -45686,6 +46116,9 @@ var PATTERN_TYPES = [
|
|
|
45686
46116
|
"hero-section",
|
|
45687
46117
|
"hstack",
|
|
45688
46118
|
"icon",
|
|
46119
|
+
"import-preview-tree",
|
|
46120
|
+
"import-progress",
|
|
46121
|
+
"import-source-picker",
|
|
45689
46122
|
"infinite-scroll-sentinel",
|
|
45690
46123
|
"input",
|
|
45691
46124
|
"input-group",
|
|
@@ -48071,6 +48504,13 @@ function signatureFieldToEntityField(f) {
|
|
|
48071
48504
|
case "date":
|
|
48072
48505
|
case "timestamp":
|
|
48073
48506
|
case "datetime":
|
|
48507
|
+
// Semantic string domains carry no dependent payload, so they pass through
|
|
48508
|
+
// as-is and the question widget narrows the input accordingly.
|
|
48509
|
+
case "email":
|
|
48510
|
+
case "url":
|
|
48511
|
+
case "phone":
|
|
48512
|
+
case "uuid":
|
|
48513
|
+
case "image":
|
|
48074
48514
|
return { ...base, type: f.type };
|
|
48075
48515
|
case "array":
|
|
48076
48516
|
return { ...base, type: "array" };
|
|
@@ -49392,6 +49832,6 @@ function mergeEntityFrame(current, orderedWrites) {
|
|
|
49392
49832
|
return next;
|
|
49393
49833
|
}
|
|
49394
49834
|
|
|
49395
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema,
|
|
49835
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
49396
49836
|
//# sourceMappingURL=index.js.map
|
|
49397
49837
|
//# sourceMappingURL=index.js.map
|