@almadar/core 9.3.0 → 9.5.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 +4 -1
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BuJL_Mv8.d.ts → compose-behaviors-BJyUFeMQ.d.ts} +1 -1
- package/dist/factory/index.d.ts +9 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-BdATnYqq.d.ts → schema-B5-kHxVf.d.ts} +231 -231
- package/dist/{trait-DmoY7UHh.d.ts → trait-Bzv2COpe.d.ts} +46 -36
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -132,6 +132,16 @@ interface EntityFieldBase {
|
|
|
132
132
|
* config slot's type expression resolves to a struct shape
|
|
133
133
|
* (`TypeExpr::Object`), including named-type aliases like `[MetricSpec]`. */
|
|
134
134
|
properties?: Record<string, EntityField>;
|
|
135
|
+
/** Runtime-managed widget state (authored `@intrinsic` in `.lolo`). Exempt
|
|
136
|
+
* from the explicit-binding rule and never a domain-data bind target. */
|
|
137
|
+
intrinsic?: boolean;
|
|
138
|
+
/** Human/semantic description (authored `@description "..."` in `.lolo`).
|
|
139
|
+
* Authoring/build-time metadata — factory-signature catalog, embeddings,
|
|
140
|
+
* curation field-matching; the runtime ignores it. */
|
|
141
|
+
description?: string;
|
|
142
|
+
/** User-vocabulary synonyms (authored `@synonyms "..."` in `.lolo`).
|
|
143
|
+
* Free text feeding catalog search / curation field-matching. */
|
|
144
|
+
synonyms?: string;
|
|
135
145
|
}
|
|
136
146
|
/**
|
|
137
147
|
* Scalar / structural fields — no type-dependent payload required.
|
|
@@ -1374,11 +1384,11 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1374
1384
|
name: string;
|
|
1375
1385
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
1376
1386
|
fields: EntityField[];
|
|
1387
|
+
description?: string | undefined;
|
|
1377
1388
|
collection?: string | undefined;
|
|
1378
1389
|
instances?: Record<string, unknown>[] | undefined;
|
|
1379
1390
|
timestamps?: boolean | undefined;
|
|
1380
1391
|
softDelete?: boolean | undefined;
|
|
1381
|
-
description?: string | undefined;
|
|
1382
1392
|
visual_prompt?: string | undefined;
|
|
1383
1393
|
assetRef?: {
|
|
1384
1394
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1390,12 +1400,12 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1390
1400
|
}, {
|
|
1391
1401
|
name: string;
|
|
1392
1402
|
fields: unknown[];
|
|
1403
|
+
description?: string | undefined;
|
|
1393
1404
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
1394
1405
|
collection?: string | undefined;
|
|
1395
1406
|
instances?: Record<string, unknown>[] | undefined;
|
|
1396
1407
|
timestamps?: boolean | undefined;
|
|
1397
1408
|
softDelete?: boolean | undefined;
|
|
1398
|
-
description?: string | undefined;
|
|
1399
1409
|
visual_prompt?: string | undefined;
|
|
1400
1410
|
assetRef?: {
|
|
1401
1411
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1442,11 +1452,11 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1442
1452
|
name: string;
|
|
1443
1453
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
1444
1454
|
fields: EntityField[];
|
|
1455
|
+
description?: string | undefined;
|
|
1445
1456
|
collection?: string | undefined;
|
|
1446
1457
|
instances?: Record<string, unknown>[] | undefined;
|
|
1447
1458
|
timestamps?: boolean | undefined;
|
|
1448
1459
|
softDelete?: boolean | undefined;
|
|
1449
|
-
description?: string | undefined;
|
|
1450
1460
|
visual_prompt?: string | undefined;
|
|
1451
1461
|
assetRef?: {
|
|
1452
1462
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1458,12 +1468,12 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1458
1468
|
}, {
|
|
1459
1469
|
name: string;
|
|
1460
1470
|
fields: unknown[];
|
|
1471
|
+
description?: string | undefined;
|
|
1461
1472
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
1462
1473
|
collection?: string | undefined;
|
|
1463
1474
|
instances?: Record<string, unknown>[] | undefined;
|
|
1464
1475
|
timestamps?: boolean | undefined;
|
|
1465
1476
|
softDelete?: boolean | undefined;
|
|
1466
|
-
description?: string | undefined;
|
|
1467
1477
|
visual_prompt?: string | undefined;
|
|
1468
1478
|
assetRef?: {
|
|
1469
1479
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -2754,11 +2764,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
2754
2764
|
required?: boolean | undefined;
|
|
2755
2765
|
default?: unknown;
|
|
2756
2766
|
}[];
|
|
2767
|
+
description?: string | undefined;
|
|
2757
2768
|
runtime?: boolean | undefined;
|
|
2758
2769
|
singleton?: boolean | undefined;
|
|
2759
2770
|
collection?: string | undefined;
|
|
2760
2771
|
timestamps?: boolean | undefined;
|
|
2761
|
-
description?: string | undefined;
|
|
2762
2772
|
pages?: string[] | undefined;
|
|
2763
2773
|
}, {
|
|
2764
2774
|
name: string;
|
|
@@ -2769,11 +2779,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
2769
2779
|
required?: boolean | undefined;
|
|
2770
2780
|
default?: unknown;
|
|
2771
2781
|
}[];
|
|
2782
|
+
description?: string | undefined;
|
|
2772
2783
|
runtime?: boolean | undefined;
|
|
2773
2784
|
singleton?: boolean | undefined;
|
|
2774
2785
|
collection?: string | undefined;
|
|
2775
2786
|
timestamps?: boolean | undefined;
|
|
2776
|
-
description?: string | undefined;
|
|
2777
2787
|
pages?: string[] | undefined;
|
|
2778
2788
|
}>;
|
|
2779
2789
|
/**
|
|
@@ -3526,11 +3536,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3526
3536
|
required?: boolean | undefined;
|
|
3527
3537
|
default?: unknown;
|
|
3528
3538
|
}[];
|
|
3539
|
+
description?: string | undefined;
|
|
3529
3540
|
runtime?: boolean | undefined;
|
|
3530
3541
|
singleton?: boolean | undefined;
|
|
3531
3542
|
collection?: string | undefined;
|
|
3532
3543
|
timestamps?: boolean | undefined;
|
|
3533
|
-
description?: string | undefined;
|
|
3534
3544
|
pages?: string[] | undefined;
|
|
3535
3545
|
}, {
|
|
3536
3546
|
name: string;
|
|
@@ -3541,11 +3551,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3541
3551
|
required?: boolean | undefined;
|
|
3542
3552
|
default?: unknown;
|
|
3543
3553
|
}[];
|
|
3554
|
+
description?: string | undefined;
|
|
3544
3555
|
runtime?: boolean | undefined;
|
|
3545
3556
|
singleton?: boolean | undefined;
|
|
3546
3557
|
collection?: string | undefined;
|
|
3547
3558
|
timestamps?: boolean | undefined;
|
|
3548
|
-
description?: string | undefined;
|
|
3549
3559
|
pages?: string[] | undefined;
|
|
3550
3560
|
}>, "many">>;
|
|
3551
3561
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -3932,11 +3942,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3932
3942
|
name: string;
|
|
3933
3943
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
3934
3944
|
fields: EntityField[];
|
|
3945
|
+
description?: string | undefined;
|
|
3935
3946
|
collection?: string | undefined;
|
|
3936
3947
|
instances?: Record<string, unknown>[] | undefined;
|
|
3937
3948
|
timestamps?: boolean | undefined;
|
|
3938
3949
|
softDelete?: boolean | undefined;
|
|
3939
|
-
description?: string | undefined;
|
|
3940
3950
|
visual_prompt?: string | undefined;
|
|
3941
3951
|
assetRef?: {
|
|
3942
3952
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -3948,12 +3958,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3948
3958
|
}, {
|
|
3949
3959
|
name: string;
|
|
3950
3960
|
fields: unknown[];
|
|
3961
|
+
description?: string | undefined;
|
|
3951
3962
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
3952
3963
|
collection?: string | undefined;
|
|
3953
3964
|
instances?: Record<string, unknown>[] | undefined;
|
|
3954
3965
|
timestamps?: boolean | undefined;
|
|
3955
3966
|
softDelete?: boolean | undefined;
|
|
3956
|
-
description?: string | undefined;
|
|
3957
3967
|
visual_prompt?: string | undefined;
|
|
3958
3968
|
assetRef?: {
|
|
3959
3969
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -3966,9 +3976,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3966
3976
|
}, "strip", z.ZodTypeAny, {
|
|
3967
3977
|
name: string;
|
|
3968
3978
|
scope: "instance" | "collection";
|
|
3979
|
+
description?: string | undefined;
|
|
3969
3980
|
ui?: Record<string, unknown> | undefined;
|
|
3970
3981
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3971
|
-
description?: string | undefined;
|
|
3972
3982
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3973
3983
|
capabilities?: string[] | undefined;
|
|
3974
3984
|
emits?: {
|
|
@@ -4023,11 +4033,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4023
4033
|
required?: boolean | undefined;
|
|
4024
4034
|
default?: unknown;
|
|
4025
4035
|
}[];
|
|
4036
|
+
description?: string | undefined;
|
|
4026
4037
|
runtime?: boolean | undefined;
|
|
4027
4038
|
singleton?: boolean | undefined;
|
|
4028
4039
|
collection?: string | undefined;
|
|
4029
4040
|
timestamps?: boolean | undefined;
|
|
4030
|
-
description?: string | undefined;
|
|
4031
4041
|
pages?: string[] | undefined;
|
|
4032
4042
|
}[] | undefined;
|
|
4033
4043
|
stateMachine?: {
|
|
@@ -4087,11 +4097,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4087
4097
|
name: string;
|
|
4088
4098
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4089
4099
|
fields: EntityField[];
|
|
4100
|
+
description?: string | undefined;
|
|
4090
4101
|
collection?: string | undefined;
|
|
4091
4102
|
instances?: Record<string, unknown>[] | undefined;
|
|
4092
4103
|
timestamps?: boolean | undefined;
|
|
4093
4104
|
softDelete?: boolean | undefined;
|
|
4094
|
-
description?: string | undefined;
|
|
4095
4105
|
visual_prompt?: string | undefined;
|
|
4096
4106
|
assetRef?: {
|
|
4097
4107
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4104,9 +4114,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4104
4114
|
}, {
|
|
4105
4115
|
name: string;
|
|
4106
4116
|
scope: "instance" | "collection";
|
|
4117
|
+
description?: string | undefined;
|
|
4107
4118
|
ui?: Record<string, unknown> | undefined;
|
|
4108
4119
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
4109
|
-
description?: string | undefined;
|
|
4110
4120
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4111
4121
|
capabilities?: string[] | undefined;
|
|
4112
4122
|
emits?: {
|
|
@@ -4161,11 +4171,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4161
4171
|
required?: boolean | undefined;
|
|
4162
4172
|
default?: unknown;
|
|
4163
4173
|
}[];
|
|
4174
|
+
description?: string | undefined;
|
|
4164
4175
|
runtime?: boolean | undefined;
|
|
4165
4176
|
singleton?: boolean | undefined;
|
|
4166
4177
|
collection?: string | undefined;
|
|
4167
4178
|
timestamps?: boolean | undefined;
|
|
4168
|
-
description?: string | undefined;
|
|
4169
4179
|
pages?: string[] | undefined;
|
|
4170
4180
|
}[] | undefined;
|
|
4171
4181
|
stateMachine?: {
|
|
@@ -4224,12 +4234,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4224
4234
|
sourceEntityDefinition?: {
|
|
4225
4235
|
name: string;
|
|
4226
4236
|
fields: unknown[];
|
|
4237
|
+
description?: string | undefined;
|
|
4227
4238
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
4228
4239
|
collection?: string | undefined;
|
|
4229
4240
|
instances?: Record<string, unknown>[] | undefined;
|
|
4230
4241
|
timestamps?: boolean | undefined;
|
|
4231
4242
|
softDelete?: boolean | undefined;
|
|
4232
|
-
description?: string | undefined;
|
|
4233
4243
|
visual_prompt?: string | undefined;
|
|
4234
4244
|
assetRef?: {
|
|
4235
4245
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4328,11 +4338,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4328
4338
|
required?: boolean | undefined;
|
|
4329
4339
|
default?: unknown;
|
|
4330
4340
|
}[];
|
|
4341
|
+
description?: string | undefined;
|
|
4331
4342
|
runtime?: boolean | undefined;
|
|
4332
4343
|
singleton?: boolean | undefined;
|
|
4333
4344
|
collection?: string | undefined;
|
|
4334
4345
|
timestamps?: boolean | undefined;
|
|
4335
|
-
description?: string | undefined;
|
|
4336
4346
|
pages?: string[] | undefined;
|
|
4337
4347
|
}, {
|
|
4338
4348
|
name: string;
|
|
@@ -4343,11 +4353,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4343
4353
|
required?: boolean | undefined;
|
|
4344
4354
|
default?: unknown;
|
|
4345
4355
|
}[];
|
|
4356
|
+
description?: string | undefined;
|
|
4346
4357
|
runtime?: boolean | undefined;
|
|
4347
4358
|
singleton?: boolean | undefined;
|
|
4348
4359
|
collection?: string | undefined;
|
|
4349
4360
|
timestamps?: boolean | undefined;
|
|
4350
|
-
description?: string | undefined;
|
|
4351
4361
|
pages?: string[] | undefined;
|
|
4352
4362
|
}>, "many">>;
|
|
4353
4363
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -4734,11 +4744,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4734
4744
|
name: string;
|
|
4735
4745
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4736
4746
|
fields: EntityField[];
|
|
4747
|
+
description?: string | undefined;
|
|
4737
4748
|
collection?: string | undefined;
|
|
4738
4749
|
instances?: Record<string, unknown>[] | undefined;
|
|
4739
4750
|
timestamps?: boolean | undefined;
|
|
4740
4751
|
softDelete?: boolean | undefined;
|
|
4741
|
-
description?: string | undefined;
|
|
4742
4752
|
visual_prompt?: string | undefined;
|
|
4743
4753
|
assetRef?: {
|
|
4744
4754
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4750,12 +4760,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4750
4760
|
}, {
|
|
4751
4761
|
name: string;
|
|
4752
4762
|
fields: unknown[];
|
|
4763
|
+
description?: string | undefined;
|
|
4753
4764
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
4754
4765
|
collection?: string | undefined;
|
|
4755
4766
|
instances?: Record<string, unknown>[] | undefined;
|
|
4756
4767
|
timestamps?: boolean | undefined;
|
|
4757
4768
|
softDelete?: boolean | undefined;
|
|
4758
|
-
description?: string | undefined;
|
|
4759
4769
|
visual_prompt?: string | undefined;
|
|
4760
4770
|
assetRef?: {
|
|
4761
4771
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4768,9 +4778,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4768
4778
|
}, "strip", z.ZodTypeAny, {
|
|
4769
4779
|
name: string;
|
|
4770
4780
|
scope: "instance" | "collection";
|
|
4781
|
+
description?: string | undefined;
|
|
4771
4782
|
ui?: Record<string, unknown> | undefined;
|
|
4772
4783
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
4773
|
-
description?: string | undefined;
|
|
4774
4784
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4775
4785
|
capabilities?: string[] | undefined;
|
|
4776
4786
|
emits?: {
|
|
@@ -4825,11 +4835,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4825
4835
|
required?: boolean | undefined;
|
|
4826
4836
|
default?: unknown;
|
|
4827
4837
|
}[];
|
|
4838
|
+
description?: string | undefined;
|
|
4828
4839
|
runtime?: boolean | undefined;
|
|
4829
4840
|
singleton?: boolean | undefined;
|
|
4830
4841
|
collection?: string | undefined;
|
|
4831
4842
|
timestamps?: boolean | undefined;
|
|
4832
|
-
description?: string | undefined;
|
|
4833
4843
|
pages?: string[] | undefined;
|
|
4834
4844
|
}[] | undefined;
|
|
4835
4845
|
stateMachine?: {
|
|
@@ -4889,11 +4899,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4889
4899
|
name: string;
|
|
4890
4900
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4891
4901
|
fields: EntityField[];
|
|
4902
|
+
description?: string | undefined;
|
|
4892
4903
|
collection?: string | undefined;
|
|
4893
4904
|
instances?: Record<string, unknown>[] | undefined;
|
|
4894
4905
|
timestamps?: boolean | undefined;
|
|
4895
4906
|
softDelete?: boolean | undefined;
|
|
4896
|
-
description?: string | undefined;
|
|
4897
4907
|
visual_prompt?: string | undefined;
|
|
4898
4908
|
assetRef?: {
|
|
4899
4909
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4906,9 +4916,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4906
4916
|
}, {
|
|
4907
4917
|
name: string;
|
|
4908
4918
|
scope: "instance" | "collection";
|
|
4919
|
+
description?: string | undefined;
|
|
4909
4920
|
ui?: Record<string, unknown> | undefined;
|
|
4910
4921
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
4911
|
-
description?: string | undefined;
|
|
4912
4922
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4913
4923
|
capabilities?: string[] | undefined;
|
|
4914
4924
|
emits?: {
|
|
@@ -4963,11 +4973,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4963
4973
|
required?: boolean | undefined;
|
|
4964
4974
|
default?: unknown;
|
|
4965
4975
|
}[];
|
|
4976
|
+
description?: string | undefined;
|
|
4966
4977
|
runtime?: boolean | undefined;
|
|
4967
4978
|
singleton?: boolean | undefined;
|
|
4968
4979
|
collection?: string | undefined;
|
|
4969
4980
|
timestamps?: boolean | undefined;
|
|
4970
|
-
description?: string | undefined;
|
|
4971
4981
|
pages?: string[] | undefined;
|
|
4972
4982
|
}[] | undefined;
|
|
4973
4983
|
stateMachine?: {
|
|
@@ -5026,12 +5036,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5026
5036
|
sourceEntityDefinition?: {
|
|
5027
5037
|
name: string;
|
|
5028
5038
|
fields: unknown[];
|
|
5039
|
+
description?: string | undefined;
|
|
5029
5040
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5030
5041
|
collection?: string | undefined;
|
|
5031
5042
|
instances?: Record<string, unknown>[] | undefined;
|
|
5032
5043
|
timestamps?: boolean | undefined;
|
|
5033
5044
|
softDelete?: boolean | undefined;
|
|
5034
|
-
description?: string | undefined;
|
|
5035
5045
|
visual_prompt?: string | undefined;
|
|
5036
5046
|
assetRef?: {
|
|
5037
5047
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5200,11 +5210,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5200
5210
|
required?: boolean | undefined;
|
|
5201
5211
|
default?: unknown;
|
|
5202
5212
|
}[];
|
|
5213
|
+
description?: string | undefined;
|
|
5203
5214
|
runtime?: boolean | undefined;
|
|
5204
5215
|
singleton?: boolean | undefined;
|
|
5205
5216
|
collection?: string | undefined;
|
|
5206
5217
|
timestamps?: boolean | undefined;
|
|
5207
|
-
description?: string | undefined;
|
|
5208
5218
|
pages?: string[] | undefined;
|
|
5209
5219
|
}, {
|
|
5210
5220
|
name: string;
|
|
@@ -5215,11 +5225,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5215
5225
|
required?: boolean | undefined;
|
|
5216
5226
|
default?: unknown;
|
|
5217
5227
|
}[];
|
|
5228
|
+
description?: string | undefined;
|
|
5218
5229
|
runtime?: boolean | undefined;
|
|
5219
5230
|
singleton?: boolean | undefined;
|
|
5220
5231
|
collection?: string | undefined;
|
|
5221
5232
|
timestamps?: boolean | undefined;
|
|
5222
|
-
description?: string | undefined;
|
|
5223
5233
|
pages?: string[] | undefined;
|
|
5224
5234
|
}>, "many">>;
|
|
5225
5235
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -5606,11 +5616,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5606
5616
|
name: string;
|
|
5607
5617
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
5608
5618
|
fields: EntityField[];
|
|
5619
|
+
description?: string | undefined;
|
|
5609
5620
|
collection?: string | undefined;
|
|
5610
5621
|
instances?: Record<string, unknown>[] | undefined;
|
|
5611
5622
|
timestamps?: boolean | undefined;
|
|
5612
5623
|
softDelete?: boolean | undefined;
|
|
5613
|
-
description?: string | undefined;
|
|
5614
5624
|
visual_prompt?: string | undefined;
|
|
5615
5625
|
assetRef?: {
|
|
5616
5626
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5622,12 +5632,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5622
5632
|
}, {
|
|
5623
5633
|
name: string;
|
|
5624
5634
|
fields: unknown[];
|
|
5635
|
+
description?: string | undefined;
|
|
5625
5636
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5626
5637
|
collection?: string | undefined;
|
|
5627
5638
|
instances?: Record<string, unknown>[] | undefined;
|
|
5628
5639
|
timestamps?: boolean | undefined;
|
|
5629
5640
|
softDelete?: boolean | undefined;
|
|
5630
|
-
description?: string | undefined;
|
|
5631
5641
|
visual_prompt?: string | undefined;
|
|
5632
5642
|
assetRef?: {
|
|
5633
5643
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5640,9 +5650,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5640
5650
|
}, "strip", z.ZodTypeAny, {
|
|
5641
5651
|
name: string;
|
|
5642
5652
|
scope: "instance" | "collection";
|
|
5653
|
+
description?: string | undefined;
|
|
5643
5654
|
ui?: Record<string, unknown> | undefined;
|
|
5644
5655
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
5645
|
-
description?: string | undefined;
|
|
5646
5656
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
5647
5657
|
capabilities?: string[] | undefined;
|
|
5648
5658
|
emits?: {
|
|
@@ -5697,11 +5707,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5697
5707
|
required?: boolean | undefined;
|
|
5698
5708
|
default?: unknown;
|
|
5699
5709
|
}[];
|
|
5710
|
+
description?: string | undefined;
|
|
5700
5711
|
runtime?: boolean | undefined;
|
|
5701
5712
|
singleton?: boolean | undefined;
|
|
5702
5713
|
collection?: string | undefined;
|
|
5703
5714
|
timestamps?: boolean | undefined;
|
|
5704
|
-
description?: string | undefined;
|
|
5705
5715
|
pages?: string[] | undefined;
|
|
5706
5716
|
}[] | undefined;
|
|
5707
5717
|
stateMachine?: {
|
|
@@ -5761,11 +5771,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5761
5771
|
name: string;
|
|
5762
5772
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
5763
5773
|
fields: EntityField[];
|
|
5774
|
+
description?: string | undefined;
|
|
5764
5775
|
collection?: string | undefined;
|
|
5765
5776
|
instances?: Record<string, unknown>[] | undefined;
|
|
5766
5777
|
timestamps?: boolean | undefined;
|
|
5767
5778
|
softDelete?: boolean | undefined;
|
|
5768
|
-
description?: string | undefined;
|
|
5769
5779
|
visual_prompt?: string | undefined;
|
|
5770
5780
|
assetRef?: {
|
|
5771
5781
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5778,9 +5788,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5778
5788
|
}, {
|
|
5779
5789
|
name: string;
|
|
5780
5790
|
scope: "instance" | "collection";
|
|
5791
|
+
description?: string | undefined;
|
|
5781
5792
|
ui?: Record<string, unknown> | undefined;
|
|
5782
5793
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
5783
|
-
description?: string | undefined;
|
|
5784
5794
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
5785
5795
|
capabilities?: string[] | undefined;
|
|
5786
5796
|
emits?: {
|
|
@@ -5835,11 +5845,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5835
5845
|
required?: boolean | undefined;
|
|
5836
5846
|
default?: unknown;
|
|
5837
5847
|
}[];
|
|
5848
|
+
description?: string | undefined;
|
|
5838
5849
|
runtime?: boolean | undefined;
|
|
5839
5850
|
singleton?: boolean | undefined;
|
|
5840
5851
|
collection?: string | undefined;
|
|
5841
5852
|
timestamps?: boolean | undefined;
|
|
5842
|
-
description?: string | undefined;
|
|
5843
5853
|
pages?: string[] | undefined;
|
|
5844
5854
|
}[] | undefined;
|
|
5845
5855
|
stateMachine?: {
|
|
@@ -5898,12 +5908,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5898
5908
|
sourceEntityDefinition?: {
|
|
5899
5909
|
name: string;
|
|
5900
5910
|
fields: unknown[];
|
|
5911
|
+
description?: string | undefined;
|
|
5901
5912
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5902
5913
|
collection?: string | undefined;
|
|
5903
5914
|
instances?: Record<string, unknown>[] | undefined;
|
|
5904
5915
|
timestamps?: boolean | undefined;
|
|
5905
5916
|
softDelete?: boolean | undefined;
|
|
5906
|
-
description?: string | undefined;
|
|
5907
5917
|
visual_prompt?: string | undefined;
|
|
5908
5918
|
assetRef?: {
|
|
5909
5919
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aL as OrbitalSchema, az as Orbital, aS as Page, F as DomainContext, aZ as PageTraitRef } from '../schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ColorSlice, e as ColorSliceSchema, f as ColorTokens, g as ColorTokensSchema, h as ComputedEventContract, i as ComputedEventContractSchema, j as ComputedEventListener, k as ComputedEventListenerSchema, l as CustomPatternDefinition, m as CustomPatternDefinitionInput, n as CustomPatternDefinitionSchema, o as CustomPatternMap, p as CustomPatternMapInput, q as CustomPatternMapSchema, D as DensitySlice, r as DensitySliceSchema, s as DensityTokens, t as DensityTokensSchema, u as DesignPreferences, v as DesignPreferencesInput, w as DesignPreferencesSchema, x as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, G as DomainContextInput, H as DomainContextSchema, I as DomainVocabulary, J as DomainVocabularySchema, K as ElevationSlice, L as ElevationSliceSchema, M as ElevationTokens, N as ElevationTokensSchema, O as EntityCall, P as EntityCallSchema, Q as EntityRef, R as EntityRefSchema, S as EntityRefStringSchema, T as EntitySemanticRole, U as EntitySemanticRoleSchema, V as EventListener, W as EventListenerSchema, X as EventSemanticRole, Y as EventSemanticRoleSchema, Z as EventSource, _ as EventSourceSchema, $ as GameSubCategory, a0 as GameSubCategorySchema, a1 as GeometrySlice, a2 as GeometrySliceSchema, a3 as GeometryTokens, a4 as GeometryTokensSchema, a5 as IconFamily, a6 as IconFamilySchema, a7 as IconographySlice, a8 as IconographySliceSchema, a9 as IconographyTokens, aa as IconographyTokensSchema, ab as IllustrationSlice, ac as IllustrationSliceSchema, ad as IllustrationStyle, ae as IllustrationStyleSchema, af as IllustrationTokens, ag as IllustrationTokensSchema, ah as MotionDurationKey, ai as MotionDurationKeySchema, aj as MotionDurationPalette, ak as MotionDurationPaletteSchema, al as MotionEasingKey, am as MotionEasingKeySchema, an as MotionEasingPalette, ao as MotionEasingPaletteSchema, ap as MotionIntent, aq as MotionIntentMap, ar as MotionIntentMapSchema, as as MotionIntentSchema, at as MotionSlice, au as MotionSliceSchema, av as MotionTokens, aw as MotionTokensSchema, ax as NodeClassification, ay as NodeClassificationSchema, aA as OrbitalConfig, aB as OrbitalConfigInput, aC as OrbitalConfigSchema, aD as OrbitalDefinition, aE as OrbitalDefinitionSchema, aF as OrbitalInput, aG as OrbitalPage, aH as OrbitalPageInput, aI as OrbitalPageSchema, aJ as OrbitalPageStrictInput, aK as OrbitalPageStrictSchema, aN as OrbitalSchemaInput, aO as OrbitalSchemaSchema, aP as OrbitalSchemaWithTraits, aQ as OrbitalUnit, aR as OrbitalUnitSchema, aM as OrbitalZodSchema, aT as PageRef, aU as PageRefObject, aV as PageRefObjectSchema, aW as PageRefSchema, aX as PageRefStringSchema, aY as PageSchema, a_ as PageTraitRefSchema, a$ as RelatedLink, b0 as RelatedLinkSchema, b1 as SkinSpec, b2 as SkinSpecSchema, b3 as SpacingScale, b4 as SpacingScaleSchema, b5 as StateSemanticRole, b6 as StateSemanticRoleSchema, b7 as SuggestedGuard, b8 as SuggestedGuardSchema, b9 as ThemeDefinition, ba as ThemeDefinitionSchema, bb as ThemeRef, bc as ThemeRefSchema, bd as ThemeRefStringSchema, be as ThemeTokens, bf as ThemeTokensSchema, bg as ThemeVariant, bh as ThemeVariantSchema, bi as TypeIntent, bj as TypeIntentMap, bk as TypeIntentMapSchema, bl as TypeIntentSchema, bm as TypeScale, bn as TypeScaleEntry, bo as TypeScaleEntrySchema, bp as TypeScaleSchema, bq as TypeScaleTokens, br as TypeScaleTokensSchema, bs as TypeSizeKey, bt as TypeSizeKeySchema, bu as TypeSlice, bv as TypeSliceSchema, bw as TypeSlot, bx as TypeSlotSchema, by as TypeWeight, bz as TypeWeightSchema, bA as UXHints, bB as UXHintsSchema, bC as UseDeclaration, bD as UseDeclarationSchema, bE as UserPersona, bF as UserPersonaInput, bG as UserPersonaSchema, aD as ValidatedOrbital, bH as ViewType, bI as ViewTypeSchema, bJ as isEntityCall, bK as isEntityReference, bL as isEntityReferenceAny, bM as isImportedTraitRef, bN as isOrbitalDefinition, bO as isPageReference, bP as isPageReferenceObject, bQ as isPageReferenceString, bR as isThemeReference, bS as parseEntityRef, bT as parseImportedTraitRef, bU as parseOrbitalSchema, bV as parsePageRef, bW as safeParseOrbitalSchema } from '../schema-
|
|
3
|
-
import { a_ as ServiceParams, bm as Trait, z as Entity, O as EntityRow, a7 as FieldValue, D as DeclaredTraitConfig, bp as TraitConfig, F as EntityField, K as EntityPersistence, bn as TraitCategory, bJ as TraitScope } from '../trait-
|
|
4
|
-
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldContract, H as EntityFieldContractSchema, I as EntityFieldInput, J as EntityFieldSchema, L as EntityPersistenceSchema, M as EntityRole, N as EntityRoleSchema, P as EntitySchema, Q as EnumEntityField, R as EvaluateConfig, S as EvaluateEffect, T as Event, U as EventInput, V as EventPayloadField, W as EventPayloadFieldSchema, X as EventSchema, Y as EventScope, Z as EventScopeSchema, _ as FetchEffect, $ as FetchOptions, a0 as FetchResult, a1 as Field, a2 as FieldFormat, a3 as FieldFormatSchema, a4 as FieldSchema, a5 as FieldType, a6 as FieldTypeSchema, a8 as ForwardConfig, a9 as ForwardEffect, aa as GAME_TYPES, ab as GameType, ac as GameTypeSchema, ad as Guard, ae as GuardInput, af as GuardSchema, ag as ListenSource, ah as ListenSourceSchema, ai as LogEffect, aj as McpServiceDef, ak as McpServiceDefSchema, al as NavigateEffect, am as NnConfig, an as NnLayer, ao as NotifyEffect, ap as OrbitalEntity, aq as OrbitalEntityInput, ar as OrbitalEntitySchema, as as OrbitalTraitRef, at as OrbitalTraitRefSchema, au as OsEffect, av as PayloadField, aw as PayloadFieldSchema, ax as PersistData, ay as PersistEffect, az as PersistEmitConfig, aA as PresentationType, aB as RefEffect, aC as RelationConfig, aD as RelationConfigSchema, aE as RelationEntityField, aF as RenderItemLambda, aG as RenderUIConfig, aH as RenderUIEffect, aI as RenderUINode, aJ as RequiredField, aK as RequiredFieldSchema, aL as ResolvedAsset, aM as ResolvedAssetInput, aN as ResolvedAssetSchema, aO as ResolvedPatternProps, aP as RestAuthConfig, aQ as RestAuthConfigSchema, aR as RestServiceDef, aS as RestServiceDefSchema, aT as SERVICE_TYPES, aU as ScalarEntityField, aV as SemanticAssetRef, aW as SemanticAssetRefInput, aX as SemanticAssetRefSchema, aY as ServiceDefinition, aZ as ServiceDefinitionSchema, a$ as ServiceParamsValue, b0 as ServiceRef, b1 as ServiceRefObject, b2 as ServiceRefObjectSchema, b3 as ServiceRefSchema, b4 as ServiceRefStringSchema, b5 as ServiceType, b6 as ServiceTypeSchema, b7 as SetEffect, b8 as SocketEvents, b9 as SocketEventsSchema, ba as SocketServiceDef, bb as SocketServiceDefSchema, bc as SpawnEffect, bd as State, be as StateInput, bf as StateMachine, bg as StateMachineInput, bh as StateMachineSchema, bi as StateSchema, bj as SwapEffect, bk as TrainConfig, bl as TrainEffect, bo as TraitCategorySchema, bq as TraitConfigObject, br as TraitConfigSchema, bs as TraitConfigValue, bt as TraitConfigValueSchema, bu as TraitDataEntity, bv as TraitDataEntitySchema, bw as TraitEntityField, bx as TraitEntityFieldSchema, by as TraitEventContract, bz as TraitEventContractSchema, bA as TraitEventListener, bB as TraitEventListenerSchema, bC as TraitInput, bD as TraitRef, bE as TraitRefSchema, bF as TraitReference, bG as TraitReferenceInput, bH as TraitReferenceSchema, bI as TraitSchema, bK as TraitTick, bL as TraitTickSchema, bM as TraitUIBinding, bN as Transition, bO as TransitionInput, bP as TransitionSchema, bQ as TypedEffect, bR as UISlot, bS as UISlotSchema, bT as UI_SLOTS, bU as VISUAL_STYLES, bV as VisualStyle, bW as VisualStyleSchema, bX as WatchEffect, bY as WatchOptions, bZ as atomic, b_ as callService, b$ as createAssetKey, c0 as deref, c1 as deriveCollection, c2 as despawn, c3 as doEffects, c4 as emit, c5 as findService, c6 as getDefaultAnimationsForRole, c7 as getServiceNames, c8 as getTraitConfig, c9 as getTraitName, ca as hasService, cb as isCircuitEvent, cc as isEffect, cd as isInlineTrait, ce as isMcpService, cf as isRestService, cg as isRuntimeEntity, ch as isSExprEffect, ci as isServiceReference, cj as isServiceReferenceObject, ck as isSingletonEntity, cl as isSocketService, cm as navigate, cn as normalizeTraitRef, co as notify, cp as parseAssetKey, cq as parseServiceRef, cr as persist, cs as ref, ct as renderUI, cu as set, cv as spawn, cw as swap, cx as validateAssetAnimations, cy as watch } from '../trait-
|
|
1
|
+
import { aL as OrbitalSchema, az as Orbital, aS as Page, F as DomainContext, aZ as PageTraitRef } from '../schema-B5-kHxVf.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ColorSlice, e as ColorSliceSchema, f as ColorTokens, g as ColorTokensSchema, h as ComputedEventContract, i as ComputedEventContractSchema, j as ComputedEventListener, k as ComputedEventListenerSchema, l as CustomPatternDefinition, m as CustomPatternDefinitionInput, n as CustomPatternDefinitionSchema, o as CustomPatternMap, p as CustomPatternMapInput, q as CustomPatternMapSchema, D as DensitySlice, r as DensitySliceSchema, s as DensityTokens, t as DensityTokensSchema, u as DesignPreferences, v as DesignPreferencesInput, w as DesignPreferencesSchema, x as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, G as DomainContextInput, H as DomainContextSchema, I as DomainVocabulary, J as DomainVocabularySchema, K as ElevationSlice, L as ElevationSliceSchema, M as ElevationTokens, N as ElevationTokensSchema, O as EntityCall, P as EntityCallSchema, Q as EntityRef, R as EntityRefSchema, S as EntityRefStringSchema, T as EntitySemanticRole, U as EntitySemanticRoleSchema, V as EventListener, W as EventListenerSchema, X as EventSemanticRole, Y as EventSemanticRoleSchema, Z as EventSource, _ as EventSourceSchema, $ as GameSubCategory, a0 as GameSubCategorySchema, a1 as GeometrySlice, a2 as GeometrySliceSchema, a3 as GeometryTokens, a4 as GeometryTokensSchema, a5 as IconFamily, a6 as IconFamilySchema, a7 as IconographySlice, a8 as IconographySliceSchema, a9 as IconographyTokens, aa as IconographyTokensSchema, ab as IllustrationSlice, ac as IllustrationSliceSchema, ad as IllustrationStyle, ae as IllustrationStyleSchema, af as IllustrationTokens, ag as IllustrationTokensSchema, ah as MotionDurationKey, ai as MotionDurationKeySchema, aj as MotionDurationPalette, ak as MotionDurationPaletteSchema, al as MotionEasingKey, am as MotionEasingKeySchema, an as MotionEasingPalette, ao as MotionEasingPaletteSchema, ap as MotionIntent, aq as MotionIntentMap, ar as MotionIntentMapSchema, as as MotionIntentSchema, at as MotionSlice, au as MotionSliceSchema, av as MotionTokens, aw as MotionTokensSchema, ax as NodeClassification, ay as NodeClassificationSchema, aA as OrbitalConfig, aB as OrbitalConfigInput, aC as OrbitalConfigSchema, aD as OrbitalDefinition, aE as OrbitalDefinitionSchema, aF as OrbitalInput, aG as OrbitalPage, aH as OrbitalPageInput, aI as OrbitalPageSchema, aJ as OrbitalPageStrictInput, aK as OrbitalPageStrictSchema, aN as OrbitalSchemaInput, aO as OrbitalSchemaSchema, aP as OrbitalSchemaWithTraits, aQ as OrbitalUnit, aR as OrbitalUnitSchema, aM as OrbitalZodSchema, aT as PageRef, aU as PageRefObject, aV as PageRefObjectSchema, aW as PageRefSchema, aX as PageRefStringSchema, aY as PageSchema, a_ as PageTraitRefSchema, a$ as RelatedLink, b0 as RelatedLinkSchema, b1 as SkinSpec, b2 as SkinSpecSchema, b3 as SpacingScale, b4 as SpacingScaleSchema, b5 as StateSemanticRole, b6 as StateSemanticRoleSchema, b7 as SuggestedGuard, b8 as SuggestedGuardSchema, b9 as ThemeDefinition, ba as ThemeDefinitionSchema, bb as ThemeRef, bc as ThemeRefSchema, bd as ThemeRefStringSchema, be as ThemeTokens, bf as ThemeTokensSchema, bg as ThemeVariant, bh as ThemeVariantSchema, bi as TypeIntent, bj as TypeIntentMap, bk as TypeIntentMapSchema, bl as TypeIntentSchema, bm as TypeScale, bn as TypeScaleEntry, bo as TypeScaleEntrySchema, bp as TypeScaleSchema, bq as TypeScaleTokens, br as TypeScaleTokensSchema, bs as TypeSizeKey, bt as TypeSizeKeySchema, bu as TypeSlice, bv as TypeSliceSchema, bw as TypeSlot, bx as TypeSlotSchema, by as TypeWeight, bz as TypeWeightSchema, bA as UXHints, bB as UXHintsSchema, bC as UseDeclaration, bD as UseDeclarationSchema, bE as UserPersona, bF as UserPersonaInput, bG as UserPersonaSchema, aD as ValidatedOrbital, bH as ViewType, bI as ViewTypeSchema, bJ as isEntityCall, bK as isEntityReference, bL as isEntityReferenceAny, bM as isImportedTraitRef, bN as isOrbitalDefinition, bO as isPageReference, bP as isPageReferenceObject, bQ as isPageReferenceString, bR as isThemeReference, bS as parseEntityRef, bT as parseImportedTraitRef, bU as parseOrbitalSchema, bV as parsePageRef, bW as safeParseOrbitalSchema } from '../schema-B5-kHxVf.js';
|
|
3
|
+
import { a_ as ServiceParams, bm as Trait, z as Entity, O as EntityRow, a7 as FieldValue, D as DeclaredTraitConfig, bp as TraitConfig, F as EntityField, K as EntityPersistence, bn as TraitCategory, bJ as TraitScope } from '../trait-Bzv2COpe.js';
|
|
4
|
+
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldContract, H as EntityFieldContractSchema, I as EntityFieldInput, J as EntityFieldSchema, L as EntityPersistenceSchema, M as EntityRole, N as EntityRoleSchema, P as EntitySchema, Q as EnumEntityField, R as EvaluateConfig, S as EvaluateEffect, T as Event, U as EventInput, V as EventPayloadField, W as EventPayloadFieldSchema, X as EventSchema, Y as EventScope, Z as EventScopeSchema, _ as FetchEffect, $ as FetchOptions, a0 as FetchResult, a1 as Field, a2 as FieldFormat, a3 as FieldFormatSchema, a4 as FieldSchema, a5 as FieldType, a6 as FieldTypeSchema, a8 as ForwardConfig, a9 as ForwardEffect, aa as GAME_TYPES, ab as GameType, ac as GameTypeSchema, ad as Guard, ae as GuardInput, af as GuardSchema, ag as ListenSource, ah as ListenSourceSchema, ai as LogEffect, aj as McpServiceDef, ak as McpServiceDefSchema, al as NavigateEffect, am as NnConfig, an as NnLayer, ao as NotifyEffect, ap as OrbitalEntity, aq as OrbitalEntityInput, ar as OrbitalEntitySchema, as as OrbitalTraitRef, at as OrbitalTraitRefSchema, au as OsEffect, av as PayloadField, aw as PayloadFieldSchema, ax as PersistData, ay as PersistEffect, az as PersistEmitConfig, aA as PresentationType, aB as RefEffect, aC as RelationConfig, aD as RelationConfigSchema, aE as RelationEntityField, aF as RenderItemLambda, aG as RenderUIConfig, aH as RenderUIEffect, aI as RenderUINode, aJ as RequiredField, aK as RequiredFieldSchema, aL as ResolvedAsset, aM as ResolvedAssetInput, aN as ResolvedAssetSchema, aO as ResolvedPatternProps, aP as RestAuthConfig, aQ as RestAuthConfigSchema, aR as RestServiceDef, aS as RestServiceDefSchema, aT as SERVICE_TYPES, aU as ScalarEntityField, aV as SemanticAssetRef, aW as SemanticAssetRefInput, aX as SemanticAssetRefSchema, aY as ServiceDefinition, aZ as ServiceDefinitionSchema, a$ as ServiceParamsValue, b0 as ServiceRef, b1 as ServiceRefObject, b2 as ServiceRefObjectSchema, b3 as ServiceRefSchema, b4 as ServiceRefStringSchema, b5 as ServiceType, b6 as ServiceTypeSchema, b7 as SetEffect, b8 as SocketEvents, b9 as SocketEventsSchema, ba as SocketServiceDef, bb as SocketServiceDefSchema, bc as SpawnEffect, bd as State, be as StateInput, bf as StateMachine, bg as StateMachineInput, bh as StateMachineSchema, bi as StateSchema, bj as SwapEffect, bk as TrainConfig, bl as TrainEffect, bo as TraitCategorySchema, bq as TraitConfigObject, br as TraitConfigSchema, bs as TraitConfigValue, bt as TraitConfigValueSchema, bu as TraitDataEntity, bv as TraitDataEntitySchema, bw as TraitEntityField, bx as TraitEntityFieldSchema, by as TraitEventContract, bz as TraitEventContractSchema, bA as TraitEventListener, bB as TraitEventListenerSchema, bC as TraitInput, bD as TraitRef, bE as TraitRefSchema, bF as TraitReference, bG as TraitReferenceInput, bH as TraitReferenceSchema, bI as TraitSchema, bK as TraitTick, bL as TraitTickSchema, bM as TraitUIBinding, bN as Transition, bO as TransitionInput, bP as TransitionSchema, bQ as TypedEffect, bR as UISlot, bS as UISlotSchema, bT as UI_SLOTS, bU as VISUAL_STYLES, bV as VisualStyle, bW as VisualStyleSchema, bX as WatchEffect, bY as WatchOptions, bZ as atomic, b_ as callService, b$ as createAssetKey, c0 as deref, c1 as deriveCollection, c2 as despawn, c3 as doEffects, c4 as emit, c5 as findService, c6 as getDefaultAnimationsForRole, c7 as getServiceNames, c8 as getTraitConfig, c9 as getTraitName, ca as hasService, cb as isCircuitEvent, cc as isEffect, cd as isInlineTrait, ce as isMcpService, cf as isRestService, cg as isRuntimeEntity, ch as isSExprEffect, ci as isServiceReference, cj as isServiceReferenceObject, ck as isSingletonEntity, cl as isSocketService, cm as navigate, cn as normalizeTraitRef, co as notify, cp as parseAssetKey, cq as parseServiceRef, cr as persist, cs as ref, ct as renderUI, cu as set, cv as spawn, cw as swap, cx as validateAssetAnimations, cy as watch } from '../trait-Bzv2COpe.js';
|
|
5
5
|
import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr } from '../expression-BVRFm0sV.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as EvalContext, d 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-BVRFm0sV.js';
|
|
7
7
|
import { z } from 'zod';
|
package/dist/types/index.js
CHANGED
|
@@ -68,7 +68,10 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
68
68
|
format: FieldFormatSchema.optional(),
|
|
69
69
|
min: z.number().optional(),
|
|
70
70
|
max: z.number().optional(),
|
|
71
|
-
properties: z.record(EntityFieldSchema).optional()
|
|
71
|
+
properties: z.record(EntityFieldSchema).optional(),
|
|
72
|
+
intrinsic: z.boolean().optional(),
|
|
73
|
+
description: z.string().optional(),
|
|
74
|
+
synonyms: z.string().optional()
|
|
72
75
|
};
|
|
73
76
|
function scalarVariant(t) {
|
|
74
77
|
return z.object({
|