@almadar/core 10.8.0 → 10.10.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 +14 -7
- package/dist/builders.js +7 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-9xDCK9IA.d.ts → compose-behaviors-CQCfFBnR.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory/index.js +63 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +72 -2
- package/dist/index.js.map +1 -1
- package/dist/{schema-C3osccoR.d.ts → schema-C4ia6wFF.d.ts} +25 -25
- package/dist/{trait-DwxDJ6PP.d.ts → trait-CKueAwP9.d.ts} +45 -14
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +9 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-zx68_GSb.d.ts → types-DzmFPbo4.d.ts} +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as Expression, S as SExpr } from './expression-BUIi9ezJ.js';
|
|
2
|
-
import { T as TraitConfig,
|
|
2
|
+
import { T as TraitConfig, l as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, m as EventPayloadField, n as ConfigFieldDeclaration, o as ServiceDefinition, a as Trait } from './trait-CKueAwP9.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -19522,7 +19522,6 @@ declare const PageRefObjectSchema: z.ZodObject<{
|
|
|
19522
19522
|
ref: string;
|
|
19523
19523
|
path?: string | undefined;
|
|
19524
19524
|
from?: string | undefined;
|
|
19525
|
-
linkedEntity?: string | undefined;
|
|
19526
19525
|
traits?: (string | {
|
|
19527
19526
|
name: string;
|
|
19528
19527
|
scope: "instance" | "collection";
|
|
@@ -19677,11 +19676,11 @@ declare const PageRefObjectSchema: z.ZodObject<{
|
|
|
19677
19676
|
events?: Record<string, string> | undefined;
|
|
19678
19677
|
linkedEntity?: string | undefined;
|
|
19679
19678
|
})[] | undefined;
|
|
19679
|
+
linkedEntity?: string | undefined;
|
|
19680
19680
|
}, {
|
|
19681
19681
|
ref: string;
|
|
19682
19682
|
path?: string | undefined;
|
|
19683
19683
|
from?: string | undefined;
|
|
19684
|
-
linkedEntity?: string | undefined;
|
|
19685
19684
|
traits?: (string | {
|
|
19686
19685
|
name: string;
|
|
19687
19686
|
scope: "instance" | "collection";
|
|
@@ -19836,6 +19835,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
|
|
|
19836
19835
|
events?: Record<string, string> | undefined;
|
|
19837
19836
|
linkedEntity?: string | undefined;
|
|
19838
19837
|
})[] | undefined;
|
|
19838
|
+
linkedEntity?: string | undefined;
|
|
19839
19839
|
}>;
|
|
19840
19840
|
declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
19841
19841
|
name: z.ZodString;
|
|
@@ -20728,7 +20728,6 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20728
20728
|
ref: string;
|
|
20729
20729
|
path?: string | undefined;
|
|
20730
20730
|
from?: string | undefined;
|
|
20731
|
-
linkedEntity?: string | undefined;
|
|
20732
20731
|
traits?: (string | {
|
|
20733
20732
|
name: string;
|
|
20734
20733
|
scope: "instance" | "collection";
|
|
@@ -20883,11 +20882,11 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20883
20882
|
events?: Record<string, string> | undefined;
|
|
20884
20883
|
linkedEntity?: string | undefined;
|
|
20885
20884
|
})[] | undefined;
|
|
20885
|
+
linkedEntity?: string | undefined;
|
|
20886
20886
|
}, {
|
|
20887
20887
|
ref: string;
|
|
20888
20888
|
path?: string | undefined;
|
|
20889
20889
|
from?: string | undefined;
|
|
20890
|
-
linkedEntity?: string | undefined;
|
|
20891
20890
|
traits?: (string | {
|
|
20892
20891
|
name: string;
|
|
20893
20892
|
scope: "instance" | "collection";
|
|
@@ -21042,6 +21041,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
21042
21041
|
events?: Record<string, string> | undefined;
|
|
21043
21042
|
linkedEntity?: string | undefined;
|
|
21044
21043
|
})[] | undefined;
|
|
21044
|
+
linkedEntity?: string | undefined;
|
|
21045
21045
|
}>]>;
|
|
21046
21046
|
/**
|
|
21047
21047
|
* Checks if a trait reference is an imported reference.
|
|
@@ -27308,7 +27308,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
27308
27308
|
ref: string;
|
|
27309
27309
|
path?: string | undefined;
|
|
27310
27310
|
from?: string | undefined;
|
|
27311
|
-
linkedEntity?: string | undefined;
|
|
27312
27311
|
traits?: (string | {
|
|
27313
27312
|
name: string;
|
|
27314
27313
|
scope: "instance" | "collection";
|
|
@@ -27463,11 +27462,11 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
27463
27462
|
events?: Record<string, string> | undefined;
|
|
27464
27463
|
linkedEntity?: string | undefined;
|
|
27465
27464
|
})[] | undefined;
|
|
27465
|
+
linkedEntity?: string | undefined;
|
|
27466
27466
|
}, {
|
|
27467
27467
|
ref: string;
|
|
27468
27468
|
path?: string | undefined;
|
|
27469
27469
|
from?: string | undefined;
|
|
27470
|
-
linkedEntity?: string | undefined;
|
|
27471
27470
|
traits?: (string | {
|
|
27472
27471
|
name: string;
|
|
27473
27472
|
scope: "instance" | "collection";
|
|
@@ -27622,6 +27621,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
27622
27621
|
events?: Record<string, string> | undefined;
|
|
27623
27622
|
linkedEntity?: string | undefined;
|
|
27624
27623
|
})[] | undefined;
|
|
27624
|
+
linkedEntity?: string | undefined;
|
|
27625
27625
|
}>]>, "many">;
|
|
27626
27626
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27627
27627
|
event: z.ZodString;
|
|
@@ -28062,7 +28062,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
28062
28062
|
ref: string;
|
|
28063
28063
|
path?: string | undefined;
|
|
28064
28064
|
from?: string | undefined;
|
|
28065
|
-
linkedEntity?: string | undefined;
|
|
28066
28065
|
traits?: (string | {
|
|
28067
28066
|
name: string;
|
|
28068
28067
|
scope: "instance" | "collection";
|
|
@@ -28217,6 +28216,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
28217
28216
|
events?: Record<string, string> | undefined;
|
|
28218
28217
|
linkedEntity?: string | undefined;
|
|
28219
28218
|
})[] | undefined;
|
|
28219
|
+
linkedEntity?: string | undefined;
|
|
28220
28220
|
})[];
|
|
28221
28221
|
description?: string | undefined;
|
|
28222
28222
|
visual_prompt?: string | undefined;
|
|
@@ -28976,7 +28976,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
28976
28976
|
ref: string;
|
|
28977
28977
|
path?: string | undefined;
|
|
28978
28978
|
from?: string | undefined;
|
|
28979
|
-
linkedEntity?: string | undefined;
|
|
28980
28979
|
traits?: (string | {
|
|
28981
28980
|
name: string;
|
|
28982
28981
|
scope: "instance" | "collection";
|
|
@@ -29131,6 +29130,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
29131
29130
|
events?: Record<string, string> | undefined;
|
|
29132
29131
|
linkedEntity?: string | undefined;
|
|
29133
29132
|
})[] | undefined;
|
|
29133
|
+
linkedEntity?: string | undefined;
|
|
29134
29134
|
})[];
|
|
29135
29135
|
description?: string | undefined;
|
|
29136
29136
|
visual_prompt?: string | undefined;
|
|
@@ -35565,7 +35565,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
35565
35565
|
ref: string;
|
|
35566
35566
|
path?: string | undefined;
|
|
35567
35567
|
from?: string | undefined;
|
|
35568
|
-
linkedEntity?: string | undefined;
|
|
35569
35568
|
traits?: (string | {
|
|
35570
35569
|
name: string;
|
|
35571
35570
|
scope: "instance" | "collection";
|
|
@@ -35720,11 +35719,11 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
35720
35719
|
events?: Record<string, string> | undefined;
|
|
35721
35720
|
linkedEntity?: string | undefined;
|
|
35722
35721
|
})[] | undefined;
|
|
35722
|
+
linkedEntity?: string | undefined;
|
|
35723
35723
|
}, {
|
|
35724
35724
|
ref: string;
|
|
35725
35725
|
path?: string | undefined;
|
|
35726
35726
|
from?: string | undefined;
|
|
35727
|
-
linkedEntity?: string | undefined;
|
|
35728
35727
|
traits?: (string | {
|
|
35729
35728
|
name: string;
|
|
35730
35729
|
scope: "instance" | "collection";
|
|
@@ -35879,6 +35878,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
35879
35878
|
events?: Record<string, string> | undefined;
|
|
35880
35879
|
linkedEntity?: string | undefined;
|
|
35881
35880
|
})[] | undefined;
|
|
35881
|
+
linkedEntity?: string | undefined;
|
|
35882
35882
|
}>]>, "many">;
|
|
35883
35883
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35884
35884
|
event: z.ZodString;
|
|
@@ -36319,7 +36319,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
36319
36319
|
ref: string;
|
|
36320
36320
|
path?: string | undefined;
|
|
36321
36321
|
from?: string | undefined;
|
|
36322
|
-
linkedEntity?: string | undefined;
|
|
36323
36322
|
traits?: (string | {
|
|
36324
36323
|
name: string;
|
|
36325
36324
|
scope: "instance" | "collection";
|
|
@@ -36474,6 +36473,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
36474
36473
|
events?: Record<string, string> | undefined;
|
|
36475
36474
|
linkedEntity?: string | undefined;
|
|
36476
36475
|
})[] | undefined;
|
|
36476
|
+
linkedEntity?: string | undefined;
|
|
36477
36477
|
})[];
|
|
36478
36478
|
description?: string | undefined;
|
|
36479
36479
|
visual_prompt?: string | undefined;
|
|
@@ -37233,7 +37233,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
37233
37233
|
ref: string;
|
|
37234
37234
|
path?: string | undefined;
|
|
37235
37235
|
from?: string | undefined;
|
|
37236
|
-
linkedEntity?: string | undefined;
|
|
37237
37236
|
traits?: (string | {
|
|
37238
37237
|
name: string;
|
|
37239
37238
|
scope: "instance" | "collection";
|
|
@@ -37388,6 +37387,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
37388
37387
|
events?: Record<string, string> | undefined;
|
|
37389
37388
|
linkedEntity?: string | undefined;
|
|
37390
37389
|
})[] | undefined;
|
|
37390
|
+
linkedEntity?: string | undefined;
|
|
37391
37391
|
})[];
|
|
37392
37392
|
description?: string | undefined;
|
|
37393
37393
|
visual_prompt?: string | undefined;
|
|
@@ -43829,7 +43829,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
43829
43829
|
ref: string;
|
|
43830
43830
|
path?: string | undefined;
|
|
43831
43831
|
from?: string | undefined;
|
|
43832
|
-
linkedEntity?: string | undefined;
|
|
43833
43832
|
traits?: (string | {
|
|
43834
43833
|
name: string;
|
|
43835
43834
|
scope: "instance" | "collection";
|
|
@@ -43984,11 +43983,11 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
43984
43983
|
events?: Record<string, string> | undefined;
|
|
43985
43984
|
linkedEntity?: string | undefined;
|
|
43986
43985
|
})[] | undefined;
|
|
43986
|
+
linkedEntity?: string | undefined;
|
|
43987
43987
|
}, {
|
|
43988
43988
|
ref: string;
|
|
43989
43989
|
path?: string | undefined;
|
|
43990
43990
|
from?: string | undefined;
|
|
43991
|
-
linkedEntity?: string | undefined;
|
|
43992
43991
|
traits?: (string | {
|
|
43993
43992
|
name: string;
|
|
43994
43993
|
scope: "instance" | "collection";
|
|
@@ -44143,6 +44142,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
44143
44142
|
events?: Record<string, string> | undefined;
|
|
44144
44143
|
linkedEntity?: string | undefined;
|
|
44145
44144
|
})[] | undefined;
|
|
44145
|
+
linkedEntity?: string | undefined;
|
|
44146
44146
|
}>]>, "many">;
|
|
44147
44147
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44148
44148
|
event: z.ZodString;
|
|
@@ -44583,7 +44583,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
44583
44583
|
ref: string;
|
|
44584
44584
|
path?: string | undefined;
|
|
44585
44585
|
from?: string | undefined;
|
|
44586
|
-
linkedEntity?: string | undefined;
|
|
44587
44586
|
traits?: (string | {
|
|
44588
44587
|
name: string;
|
|
44589
44588
|
scope: "instance" | "collection";
|
|
@@ -44738,6 +44737,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
44738
44737
|
events?: Record<string, string> | undefined;
|
|
44739
44738
|
linkedEntity?: string | undefined;
|
|
44740
44739
|
})[] | undefined;
|
|
44740
|
+
linkedEntity?: string | undefined;
|
|
44741
44741
|
})[];
|
|
44742
44742
|
description?: string | undefined;
|
|
44743
44743
|
visual_prompt?: string | undefined;
|
|
@@ -45497,7 +45497,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
45497
45497
|
ref: string;
|
|
45498
45498
|
path?: string | undefined;
|
|
45499
45499
|
from?: string | undefined;
|
|
45500
|
-
linkedEntity?: string | undefined;
|
|
45501
45500
|
traits?: (string | {
|
|
45502
45501
|
name: string;
|
|
45503
45502
|
scope: "instance" | "collection";
|
|
@@ -45652,6 +45651,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
45652
45651
|
events?: Record<string, string> | undefined;
|
|
45653
45652
|
linkedEntity?: string | undefined;
|
|
45654
45653
|
})[] | undefined;
|
|
45654
|
+
linkedEntity?: string | undefined;
|
|
45655
45655
|
})[];
|
|
45656
45656
|
description?: string | undefined;
|
|
45657
45657
|
visual_prompt?: string | undefined;
|
|
@@ -52430,7 +52430,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
52430
52430
|
ref: string;
|
|
52431
52431
|
path?: string | undefined;
|
|
52432
52432
|
from?: string | undefined;
|
|
52433
|
-
linkedEntity?: string | undefined;
|
|
52434
52433
|
traits?: (string | {
|
|
52435
52434
|
name: string;
|
|
52436
52435
|
scope: "instance" | "collection";
|
|
@@ -52585,11 +52584,11 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
52585
52584
|
events?: Record<string, string> | undefined;
|
|
52586
52585
|
linkedEntity?: string | undefined;
|
|
52587
52586
|
})[] | undefined;
|
|
52587
|
+
linkedEntity?: string | undefined;
|
|
52588
52588
|
}, {
|
|
52589
52589
|
ref: string;
|
|
52590
52590
|
path?: string | undefined;
|
|
52591
52591
|
from?: string | undefined;
|
|
52592
|
-
linkedEntity?: string | undefined;
|
|
52593
52592
|
traits?: (string | {
|
|
52594
52593
|
name: string;
|
|
52595
52594
|
scope: "instance" | "collection";
|
|
@@ -52744,6 +52743,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
52744
52743
|
events?: Record<string, string> | undefined;
|
|
52745
52744
|
linkedEntity?: string | undefined;
|
|
52746
52745
|
})[] | undefined;
|
|
52746
|
+
linkedEntity?: string | undefined;
|
|
52747
52747
|
}>]>, "many">;
|
|
52748
52748
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52749
52749
|
event: z.ZodString;
|
|
@@ -53184,7 +53184,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
53184
53184
|
ref: string;
|
|
53185
53185
|
path?: string | undefined;
|
|
53186
53186
|
from?: string | undefined;
|
|
53187
|
-
linkedEntity?: string | undefined;
|
|
53188
53187
|
traits?: (string | {
|
|
53189
53188
|
name: string;
|
|
53190
53189
|
scope: "instance" | "collection";
|
|
@@ -53339,6 +53338,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
53339
53338
|
events?: Record<string, string> | undefined;
|
|
53340
53339
|
linkedEntity?: string | undefined;
|
|
53341
53340
|
})[] | undefined;
|
|
53341
|
+
linkedEntity?: string | undefined;
|
|
53342
53342
|
})[];
|
|
53343
53343
|
description?: string | undefined;
|
|
53344
53344
|
visual_prompt?: string | undefined;
|
|
@@ -54098,7 +54098,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
54098
54098
|
ref: string;
|
|
54099
54099
|
path?: string | undefined;
|
|
54100
54100
|
from?: string | undefined;
|
|
54101
|
-
linkedEntity?: string | undefined;
|
|
54102
54101
|
traits?: (string | {
|
|
54103
54102
|
name: string;
|
|
54104
54103
|
scope: "instance" | "collection";
|
|
@@ -54253,6 +54252,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
54253
54252
|
events?: Record<string, string> | undefined;
|
|
54254
54253
|
linkedEntity?: string | undefined;
|
|
54255
54254
|
})[] | undefined;
|
|
54255
|
+
linkedEntity?: string | undefined;
|
|
54256
54256
|
})[];
|
|
54257
54257
|
description?: string | undefined;
|
|
54258
54258
|
visual_prompt?: string | undefined;
|
|
@@ -55234,7 +55234,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
55234
55234
|
ref: string;
|
|
55235
55235
|
path?: string | undefined;
|
|
55236
55236
|
from?: string | undefined;
|
|
55237
|
-
linkedEntity?: string | undefined;
|
|
55238
55237
|
traits?: (string | {
|
|
55239
55238
|
name: string;
|
|
55240
55239
|
scope: "instance" | "collection";
|
|
@@ -55389,6 +55388,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
55389
55388
|
events?: Record<string, string> | undefined;
|
|
55390
55389
|
linkedEntity?: string | undefined;
|
|
55391
55390
|
})[] | undefined;
|
|
55391
|
+
linkedEntity?: string | undefined;
|
|
55392
55392
|
})[];
|
|
55393
55393
|
description?: string | undefined;
|
|
55394
55394
|
visual_prompt?: string | undefined;
|
|
@@ -56250,7 +56250,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
56250
56250
|
ref: string;
|
|
56251
56251
|
path?: string | undefined;
|
|
56252
56252
|
from?: string | undefined;
|
|
56253
|
-
linkedEntity?: string | undefined;
|
|
56254
56253
|
traits?: (string | {
|
|
56255
56254
|
name: string;
|
|
56256
56255
|
scope: "instance" | "collection";
|
|
@@ -56405,6 +56404,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
56405
56404
|
events?: Record<string, string> | undefined;
|
|
56406
56405
|
linkedEntity?: string | undefined;
|
|
56407
56406
|
})[] | undefined;
|
|
56407
|
+
linkedEntity?: string | undefined;
|
|
56408
56408
|
})[];
|
|
56409
56409
|
description?: string | undefined;
|
|
56410
56410
|
visual_prompt?: string | undefined;
|
|
@@ -57331,7 +57331,6 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
57331
57331
|
ref: string;
|
|
57332
57332
|
path?: string | undefined;
|
|
57333
57333
|
from?: string | undefined;
|
|
57334
|
-
linkedEntity?: string | undefined;
|
|
57335
57334
|
traits?: (string | {
|
|
57336
57335
|
name: string;
|
|
57337
57336
|
scope: "instance" | "collection";
|
|
@@ -57486,6 +57485,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
57486
57485
|
events?: Record<string, string> | undefined;
|
|
57487
57486
|
linkedEntity?: string | undefined;
|
|
57488
57487
|
})[] | undefined;
|
|
57488
|
+
linkedEntity?: string | undefined;
|
|
57489
57489
|
})[];
|
|
57490
57490
|
description?: string | undefined;
|
|
57491
57491
|
visual_prompt?: string | undefined;
|
|
@@ -58347,7 +58347,6 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
58347
58347
|
ref: string;
|
|
58348
58348
|
path?: string | undefined;
|
|
58349
58349
|
from?: string | undefined;
|
|
58350
|
-
linkedEntity?: string | undefined;
|
|
58351
58350
|
traits?: (string | {
|
|
58352
58351
|
name: string;
|
|
58353
58352
|
scope: "instance" | "collection";
|
|
@@ -58502,6 +58501,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
58502
58501
|
events?: Record<string, string> | undefined;
|
|
58503
58502
|
linkedEntity?: string | undefined;
|
|
58504
58503
|
})[] | undefined;
|
|
58504
|
+
linkedEntity?: string | undefined;
|
|
58505
58505
|
})[];
|
|
58506
58506
|
description?: string | undefined;
|
|
58507
58507
|
visual_prompt?: string | undefined;
|
|
@@ -2908,6 +2908,27 @@ type TraitConfig = TraitConfigObject;
|
|
|
2908
2908
|
/** Zod schema for TraitConfig. Recursive via z.lazy to allow nested structures. */
|
|
2909
2909
|
declare const TraitConfigValueSchema: z.ZodType<TraitConfigValue>;
|
|
2910
2910
|
declare const TraitConfigSchema: z.ZodType<TraitConfig>;
|
|
2911
|
+
/**
|
|
2912
|
+
* A single entry in a call-site `config { }` override block. Either a plain
|
|
2913
|
+
* wiring value (`TraitConfigValue` — string, number, bool, array, object) or
|
|
2914
|
+
* a fully-annotated re-declaration (`ConfigFieldDeclaration` — carries `type`,
|
|
2915
|
+
* optional `label`/`description`/`synonyms`/`tier`). Disambiguated at runtime
|
|
2916
|
+
* by `isCallSiteConfigDeclaration`: the presence of a `"type"` string key
|
|
2917
|
+
* marks the annotated form.
|
|
2918
|
+
*
|
|
2919
|
+
* The `.orb` compiler emits plain values for wiring entries and
|
|
2920
|
+
* `{ type, default, ... }` objects for annotated entries. Consumers that only
|
|
2921
|
+
* need the value (e.g. `apply-params-to-orb.ts`) read `entry` directly for
|
|
2922
|
+
* primitives or `entry.default` for the declaration form.
|
|
2923
|
+
*/
|
|
2924
|
+
type CallSiteConfigEntry = TraitConfigValue | ConfigFieldDeclaration;
|
|
2925
|
+
/** Typed map of call-site config entries (one per knob). */
|
|
2926
|
+
type CallSiteConfig = Readonly<Record<string, CallSiteConfigEntry>>;
|
|
2927
|
+
/**
|
|
2928
|
+
* Type guard: returns `true` when `entry` is an annotated `ConfigFieldDeclaration`
|
|
2929
|
+
* (has a `"type"` string key) rather than a plain wiring value.
|
|
2930
|
+
*/
|
|
2931
|
+
declare function isCallSiteConfigDeclaration(entry: CallSiteConfigEntry): entry is ConfigFieldDeclaration;
|
|
2911
2932
|
/**
|
|
2912
2933
|
* Per-field entry in a trait's DECLARED `config { }` schema as it lives
|
|
2913
2934
|
* on the `.orb` JSON: `{ type: "string" | "[string]" | "object" | ...,
|
|
@@ -3473,7 +3494,17 @@ interface TraitReference {
|
|
|
3473
3494
|
* fields. Applied during inline substitution alongside `linkedEntity`.
|
|
3474
3495
|
*/
|
|
3475
3496
|
fields?: Record<string, string>;
|
|
3476
|
-
|
|
3497
|
+
/**
|
|
3498
|
+
* Call-site config overrides. Each entry is either a plain wiring value
|
|
3499
|
+
* (`TraitConfigValue`) or a fully-annotated re-declaration
|
|
3500
|
+
* (`ConfigFieldDeclaration` with `type`, optional `label`/`description`/
|
|
3501
|
+
* `synonyms`/`tier`). Use `isCallSiteConfigDeclaration` to discriminate.
|
|
3502
|
+
*
|
|
3503
|
+
* Plain wiring (existing callers): `config: { icon: "star", count: 5 }`.
|
|
3504
|
+
* Annotated (new): `config: { icon: { type: "string", default: "star",
|
|
3505
|
+
* label: "Icon", tier: "presentation" } }`.
|
|
3506
|
+
*/
|
|
3507
|
+
config?: CallSiteConfig;
|
|
3477
3508
|
appliesTo?: string[];
|
|
3478
3509
|
/**
|
|
3479
3510
|
* Phase F.7: replace the imported trait's `listens` array with the
|
|
@@ -3524,7 +3555,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3524
3555
|
name: z.ZodOptional<z.ZodString>;
|
|
3525
3556
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3526
3557
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3527
|
-
config: z.ZodOptional<z.ZodType<
|
|
3558
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
3528
3559
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3529
3560
|
listens: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
3530
3561
|
emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
@@ -3533,49 +3564,49 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3533
3564
|
ref: string;
|
|
3534
3565
|
name?: string | undefined;
|
|
3535
3566
|
fields?: Record<string, string> | undefined;
|
|
3536
|
-
config?:
|
|
3567
|
+
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
3537
3568
|
events?: Record<string, string> | undefined;
|
|
3538
3569
|
from?: string | undefined;
|
|
3539
3570
|
effects?: Record<string, unknown[]> | undefined;
|
|
3540
3571
|
listens?: unknown[] | undefined;
|
|
3541
|
-
linkedEntity?: string | undefined;
|
|
3542
3572
|
appliesTo?: string[] | undefined;
|
|
3573
|
+
linkedEntity?: string | undefined;
|
|
3543
3574
|
emitsScope?: "internal" | "external" | undefined;
|
|
3544
3575
|
}, {
|
|
3545
3576
|
ref: string;
|
|
3546
3577
|
name?: string | undefined;
|
|
3547
3578
|
fields?: Record<string, string> | undefined;
|
|
3548
|
-
config?:
|
|
3579
|
+
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
3549
3580
|
events?: Record<string, string> | undefined;
|
|
3550
3581
|
from?: string | undefined;
|
|
3551
3582
|
effects?: Record<string, unknown[]> | undefined;
|
|
3552
3583
|
listens?: unknown[] | undefined;
|
|
3553
|
-
linkedEntity?: string | undefined;
|
|
3554
3584
|
appliesTo?: string[] | undefined;
|
|
3585
|
+
linkedEntity?: string | undefined;
|
|
3555
3586
|
emitsScope?: "internal" | "external" | undefined;
|
|
3556
3587
|
}>, {
|
|
3557
3588
|
ref: string;
|
|
3558
3589
|
name?: string | undefined;
|
|
3559
3590
|
fields?: Record<string, string> | undefined;
|
|
3560
|
-
config?:
|
|
3591
|
+
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
3561
3592
|
events?: Record<string, string> | undefined;
|
|
3562
3593
|
from?: string | undefined;
|
|
3563
3594
|
effects?: Record<string, unknown[]> | undefined;
|
|
3564
3595
|
listens?: unknown[] | undefined;
|
|
3565
|
-
linkedEntity?: string | undefined;
|
|
3566
3596
|
appliesTo?: string[] | undefined;
|
|
3597
|
+
linkedEntity?: string | undefined;
|
|
3567
3598
|
emitsScope?: "internal" | "external" | undefined;
|
|
3568
3599
|
}, {
|
|
3569
3600
|
ref: string;
|
|
3570
3601
|
name?: string | undefined;
|
|
3571
3602
|
fields?: Record<string, string> | undefined;
|
|
3572
|
-
config?:
|
|
3603
|
+
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
3573
3604
|
events?: Record<string, string> | undefined;
|
|
3574
3605
|
from?: string | undefined;
|
|
3575
3606
|
effects?: Record<string, unknown[]> | undefined;
|
|
3576
3607
|
listens?: unknown[] | undefined;
|
|
3577
|
-
linkedEntity?: string | undefined;
|
|
3578
3608
|
appliesTo?: string[] | undefined;
|
|
3609
|
+
linkedEntity?: string | undefined;
|
|
3579
3610
|
emitsScope?: "internal" | "external" | undefined;
|
|
3580
3611
|
}>;
|
|
3581
3612
|
/**
|
|
@@ -3589,7 +3620,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3589
3620
|
*/
|
|
3590
3621
|
type TraitRef = string | {
|
|
3591
3622
|
ref: string;
|
|
3592
|
-
config?:
|
|
3623
|
+
config?: CallSiteConfig;
|
|
3593
3624
|
linkedEntity?: string;
|
|
3594
3625
|
name?: string;
|
|
3595
3626
|
events?: Record<string, string>;
|
|
@@ -5499,7 +5530,7 @@ declare function getTraitName(traitRef: TraitRef): string;
|
|
|
5499
5530
|
* getTraitConfig({ name: 'MyTrait' }); // returns undefined
|
|
5500
5531
|
* getTraitConfig({ ref: 'MyTrait', config: { option: 'value' } }); // returns config object
|
|
5501
5532
|
*/
|
|
5502
|
-
declare function getTraitConfig(traitRef: TraitRef):
|
|
5533
|
+
declare function getTraitConfig(traitRef: TraitRef): CallSiteConfig | undefined;
|
|
5503
5534
|
/**
|
|
5504
5535
|
* Normalizes a trait reference to object form.
|
|
5505
5536
|
*
|
|
@@ -5516,7 +5547,7 @@ declare function getTraitConfig(traitRef: TraitRef): TraitConfig | undefined;
|
|
|
5516
5547
|
*/
|
|
5517
5548
|
declare function normalizeTraitRef(traitRef: TraitRef): {
|
|
5518
5549
|
ref: string;
|
|
5519
|
-
config?:
|
|
5550
|
+
config?: CallSiteConfig;
|
|
5520
5551
|
};
|
|
5521
5552
|
type TraitInput = z.input<typeof TraitSchema>;
|
|
5522
5553
|
type TraitReferenceInput = z.input<typeof TraitReferenceSchema>;
|
|
@@ -6377,4 +6408,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6377
6408
|
} | undefined;
|
|
6378
6409
|
}>]>;
|
|
6379
6410
|
|
|
6380
|
-
export {
|
|
6411
|
+
export { ConfigFieldDeclarationSchema as $, ASSET_ASPECTS as A, type AssetCatalogEntry as B, type CallSiteConfig as C, type AssetCatalogEntryInput as D, type Effect as E, AssetCatalogEntrySchema as F, AssetCatalogSchema as G, type AssetDimension as H, AssetDimensionSchema as I, type AssetMap as J, type AssetMapInput as K, AssetMapSchema as L, type AssetMapping as M, type AssetMappingInput as N, AssetMappingSchema as O, AssetSchema as P, type AssetUrl as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type AtomicEffect as V, type CallServiceConfig as W, type CallServiceEffect as X, type CallSiteConfigEntry as Y, type CheckpointLoadEffect as Z, type CheckpointSaveEffect as _, type Trait as a, PayloadFieldSchema as a$, type DeclaredTraitConfig as a0, DeclaredTraitConfigSchema as a1, type DerefEffect as a2, type DespawnEffect as a3, type DoEffect as a4, ENTITY_ROLES as a5, type EffectInput as a6, EffectSchema as a7, type EmitConfig as a8, type EmitEffect as a9, type FieldType as aA, FieldTypeSchema as aB, type FieldValue as aC, type ForwardConfig as aD, type ForwardEffect as aE, GAME_TYPES as aF, type GameType as aG, GameTypeSchema as aH, type Guard as aI, type GuardInput as aJ, GuardSchema as aK, type ListenSource as aL, ListenSourceSchema as aM, type LogEffect as aN, type McpServiceDef as aO, McpServiceDefSchema as aP, type NavigateEffect as aQ, type NnConfig as aR, type NnLayer as aS, type NotifyEffect as aT, type OrbitalEntity as aU, type OrbitalEntityInput as aV, OrbitalEntitySchema as aW, type OrbitalTraitRef as aX, OrbitalTraitRefSchema as aY, type OsEffect as aZ, type PayloadField as a_, type EntityData as aa, type EntityFieldContract as ab, EntityFieldContractSchema as ac, type EntityFieldInput as ad, EntityFieldSchema as ae, EntityPersistenceSchema as af, type EntityRole as ag, EntityRoleSchema as ah, EntitySchema as ai, type EntityWith as aj, type EnumEntityField as ak, type EvaluateConfig as al, type EvaluateEffect as am, type Event as an, type EventInput as ao, EventPayloadFieldSchema as ap, EventSchema as aq, type EventScope as ar, EventScopeSchema as as, type FetchEffect as at, type FetchOptions as au, type FetchResult as av, type Field as aw, type FieldFormat as ax, FieldFormatSchema as ay, FieldSchema as az, type RenderUIEffect as b, TraitSchema as b$, type PersistData as b0, type PersistEffect as b1, type PersistEmitConfig as b2, type PresentationType as b3, type RefEffect as b4, RelationConfigSchema as b5, type RelationEntityField as b6, type RenderItemLambda as b7, type RenderUIConfig as b8, type RenderUINode as b9, SocketEventsSchema as bA, type SocketServiceDef as bB, SocketServiceDefSchema as bC, type SpawnEffect as bD, type StateInput as bE, type StateMachine as bF, type StateMachineInput as bG, StateMachineSchema as bH, StateSchema as bI, type SwapEffect as bJ, type TrainConfig as bK, type TrainEffect as bL, type TraitCategory as bM, TraitCategorySchema as bN, TraitConfigSchema as bO, type TraitConfigValue as bP, TraitConfigValueSchema as bQ, type TraitDataEntity as bR, TraitDataEntitySchema as bS, type TraitEntityField as bT, TraitEntityFieldSchema as bU, TraitEventContractSchema as bV, TraitEventListenerSchema as bW, type TraitInput as bX, TraitRefSchema as bY, type TraitReferenceInput as bZ, TraitReferenceSchema as b_, type RequiredField as ba, RequiredFieldSchema as bb, type ResolvedAsset as bc, type ResolvedAssetInput as bd, ResolvedAssetSchema as be, type ResolvedPatternProps as bf, type RestAuthConfig as bg, RestAuthConfigSchema as bh, type RestServiceDef as bi, RestServiceDefSchema as bj, SERVICE_TYPES as bk, type ScalarEntityField as bl, type SemanticAssetRef as bm, type SemanticAssetRefInput as bn, SemanticAssetRefSchema as bo, ServiceDefinitionSchema as bp, type ServiceParams as bq, type ServiceParamsValue as br, type ServiceRefObject as bs, ServiceRefObjectSchema as bt, ServiceRefSchema as bu, ServiceRefStringSchema as bv, type ServiceType as bw, ServiceTypeSchema as bx, type SetEffect as by, type SocketEvents as bz, type TraitEventContract as c, type TraitTick as c0, TraitTickSchema as c1, type TraitUIBinding as c2, type Transition as c3, type TransitionInput as c4, TransitionSchema as c5, type TypedEffect as c6, UISlotSchema as c7, UI_SLOTS as c8, VISUAL_STYLES as c9, isServiceReference as cA, isServiceReferenceObject as cB, isSingletonEntity as cC, isSocketService as cD, navigate as cE, normalizeTraitRef as cF, notify as cG, parseAssetKey as cH, parseServiceRef as cI, persist as cJ, ref as cK, renderUI as cL, set as cM, spawn as cN, swap as cO, validateAssetAnimations as cP, watch as cQ, type TraitScope as cR, type VisualStyle as ca, VisualStyleSchema as cb, type WatchEffect as cc, type WatchOptions as cd, atomic as ce, callService as cf, createAssetKey as cg, deref as ch, deriveCollection as ci, despawn as cj, doEffects as ck, emit as cl, findService as cm, getDefaultAnimationsForRole as cn, getServiceNames as co, getTraitConfig as cp, getTraitName as cq, hasService as cr, isCallSiteConfigDeclaration as cs, isCircuitEvent as ct, isEffect as cu, isInlineTrait as cv, isMcpService as cw, isRestService as cx, isRuntimeEntity as cy, isSExprEffect as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type RelationConfig as k, type TraitConfigObject as l, type EventPayloadField as m, type ConfigFieldDeclaration as n, type ServiceDefinition as o, type State as p, ASSET_DIMENSIONS as q, type AgentEffect as r, type AnimationDef as s, type AnimationDefInput as t, AnimationDefSchema as u, type ArrayEntityField as v, type Asset as w, type AssetAspect as x, AssetAspectSchema as y, type AssetCatalog as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-
|
|
3
|
-
import {
|
|
4
|
-
export { A as ASSET_ASPECTS,
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-C4ia6wFF.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-C4ia6wFF.js';
|
|
3
|
+
import { bq as ServiceParams, a as Trait, d as Entity, h as EntityRow, aC as FieldValue, a0 as DeclaredTraitConfig, T as TraitConfig, E as Effect, n as ConfigFieldDeclaration, p as State, c3 as Transition, f as EntityField, an as Event, bP as TraitConfigValue, g as EntityPersistence, bM as TraitCategory, cR as TraitScope } from '../trait-CKueAwP9.js';
|
|
4
|
+
export { A as ASSET_ASPECTS, q as ASSET_DIMENSIONS, r as AgentEffect, s as AnimationDef, t as AnimationDefInput, u as AnimationDefSchema, v as ArrayEntityField, w as Asset, x as AssetAspect, y as AssetAspectSchema, z as AssetCatalog, B as AssetCatalogEntry, D as AssetCatalogEntryInput, F as AssetCatalogEntrySchema, G as AssetCatalogSchema, H as AssetDimension, I as AssetDimensionSchema, J as AssetMap, K as AssetMapInput, L as AssetMapSchema, M as AssetMapping, N as AssetMappingInput, O as AssetMappingSchema, P as AssetSchema, Q as AssetUrl, V as AtomicEffect, W as CallServiceConfig, X as CallServiceEffect, C as CallSiteConfig, Y as CallSiteConfigEntry, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ConfigFieldDeclarationSchema, a1 as DeclaredTraitConfigSchema, a2 as DerefEffect, a3 as DespawnEffect, a4 as DoEffect, a5 as ENTITY_ROLES, a6 as EffectInput, a7 as EffectSchema, a8 as EmitConfig, a9 as EmitEffect, aa as EntityData, ab as EntityFieldContract, ac as EntityFieldContractSchema, ad as EntityFieldInput, ae as EntityFieldSchema, af as EntityPersistenceSchema, ag as EntityRole, ah as EntityRoleSchema, ai as EntitySchema, aj as EntityWith, ak as EnumEntityField, al as EvaluateConfig, am as EvaluateEffect, ao as EventInput, m as EventPayloadField, ap as EventPayloadFieldSchema, aq as EventSchema, ar as EventScope, as as EventScopeSchema, at as FetchEffect, au as FetchOptions, av as FetchResult, aw as Field, ax as FieldFormat, ay as FieldFormatSchema, az as FieldSchema, aA as FieldType, aB as FieldTypeSchema, aD as ForwardConfig, aE as ForwardEffect, aF as GAME_TYPES, aG as GameType, aH as GameTypeSchema, aI as Guard, aJ as GuardInput, aK as GuardSchema, aL as ListenSource, aM as ListenSourceSchema, aN as LogEffect, aO as McpServiceDef, aP as McpServiceDefSchema, aQ as NavigateEffect, aR as NnConfig, aS as NnLayer, aT as NotifyEffect, aU as OrbitalEntity, aV as OrbitalEntityInput, aW as OrbitalEntitySchema, aX as OrbitalTraitRef, aY as OrbitalTraitRefSchema, aZ as OsEffect, a_ as PayloadField, a$ as PayloadFieldSchema, b0 as PersistData, b1 as PersistEffect, b2 as PersistEmitConfig, b3 as PresentationType, b4 as RefEffect, k as RelationConfig, b5 as RelationConfigSchema, b6 as RelationEntityField, R as RenderBinding, b7 as RenderItemLambda, b8 as RenderUIConfig, b as RenderUIEffect, b9 as RenderUINode, ba as RequiredField, bb as RequiredFieldSchema, bc as ResolvedAsset, bd as ResolvedAssetInput, be as ResolvedAssetSchema, bf as ResolvedPatternProps, bg as RestAuthConfig, bh as RestAuthConfigSchema, bi as RestServiceDef, bj as RestServiceDefSchema, bk as SERVICE_TYPES, bl as ScalarEntityField, bm as SemanticAssetRef, bn as SemanticAssetRefInput, bo as SemanticAssetRefSchema, o as ServiceDefinition, bp as ServiceDefinitionSchema, br as ServiceParamsValue, S as ServiceRef, bs as ServiceRefObject, bt as ServiceRefObjectSchema, bu as ServiceRefSchema, bv as ServiceRefStringSchema, bw as ServiceType, bx as ServiceTypeSchema, by as SetEffect, bz as SocketEvents, bA as SocketEventsSchema, bB as SocketServiceDef, bC as SocketServiceDefSchema, bD as SpawnEffect, bE as StateInput, bF as StateMachine, bG as StateMachineInput, bH as StateMachineSchema, bI as StateSchema, bJ as SwapEffect, bK as TrainConfig, bL as TrainEffect, bN as TraitCategorySchema, l as TraitConfigObject, bO as TraitConfigSchema, bQ as TraitConfigValueSchema, bR as TraitDataEntity, bS as TraitDataEntitySchema, bT as TraitEntityField, bU as TraitEntityFieldSchema, c as TraitEventContract, bV as TraitEventContractSchema, e as TraitEventListener, bW as TraitEventListenerSchema, bX as TraitInput, i as TraitRef, bY as TraitRefSchema, j as TraitReference, bZ as TraitReferenceInput, b_ as TraitReferenceSchema, b$ as TraitSchema, c0 as TraitTick, c1 as TraitTickSchema, c2 as TraitUIBinding, c4 as TransitionInput, c5 as TransitionSchema, c6 as TypedEffect, U as UISlot, c7 as UISlotSchema, c8 as UI_SLOTS, c9 as VISUAL_STYLES, ca as VisualStyle, cb as VisualStyleSchema, cc as WatchEffect, cd as WatchOptions, ce as atomic, cf as callService, cg as createAssetKey, ch as deref, ci as deriveCollection, cj as despawn, ck as doEffects, cl as emit, cm as findService, cn as getDefaultAnimationsForRole, co as getServiceNames, cp as getTraitConfig, cq as getTraitName, cr as hasService, cs as isCallSiteConfigDeclaration, ct as isCircuitEvent, cu as isEffect, cv as isInlineTrait, cw as isMcpService, cx as isRestService, cy as isRuntimeEntity, cz as isSExprEffect, cA as isServiceReference, cB as isServiceReferenceObject, cC as isSingletonEntity, cD as isSocketService, cE as navigate, cF as normalizeTraitRef, cG as notify, cH as parseAssetKey, cI as parseServiceRef, cJ as persist, cK as ref, cL as renderUI, cM as set, cN as spawn, cO as swap, cP as validateAssetAnimations, cQ as watch } from '../trait-CKueAwP9.js';
|
|
5
5
|
import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BUIi9ezJ.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
9
9
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
10
|
-
import { c as FactoryConfigTier } from '../types-
|
|
11
|
-
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-
|
|
10
|
+
import { c as FactoryConfigTier } from '../types-DzmFPbo4.js';
|
|
11
|
+
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-DzmFPbo4.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|