@almadar/core 10.6.0 → 10.8.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 +23 -3
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-CJgreUHY.d.ts → compose-behaviors-9xDCK9IA.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/index.d.ts +7 -7
- package/dist/index.js +24 -4
- package/dist/index.js.map +1 -1
- package/dist/{schema-Cq9DUnFw.d.ts → schema-C3osccoR.d.ts} +287 -1
- package/dist/{trait-BsnLnedq.d.ts → trait-DwxDJ6PP.d.ts} +168 -3
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +24 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CdXuGm8S.d.ts → types-zx68_GSb.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -107,7 +107,7 @@ declare const FieldFormatSchema: z.ZodEnum<["email", "url", "phone", "date", "da
|
|
|
107
107
|
* Field-type tags that don't carry a type-dependent payload. The base
|
|
108
108
|
* `EntityField` shape applies as-is.
|
|
109
109
|
*/
|
|
110
|
-
type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | '
|
|
110
|
+
type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'trait' | 'slot' | 'pattern';
|
|
111
111
|
/** Fields shared across every variant. */
|
|
112
112
|
interface EntityFieldBase {
|
|
113
113
|
/**
|
|
@@ -176,6 +176,17 @@ interface ArrayEntityField extends EntityFieldBase {
|
|
|
176
176
|
/** Element schema for the array. */
|
|
177
177
|
items?: EntityField;
|
|
178
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* `type: 'object'` — a fixed-key struct (fields in `properties`) OR a
|
|
181
|
+
* dynamic-key map (`Map K V` in `.lolo`; the uniform value schema lives in
|
|
182
|
+
* `items`, mirroring an array's element schema). A distinct variant so `items`
|
|
183
|
+
* is statically allowed only on object/array fields, never on scalars.
|
|
184
|
+
*/
|
|
185
|
+
interface ObjectEntityField extends EntityFieldBase {
|
|
186
|
+
type: 'object';
|
|
187
|
+
/** Uniform value schema for a dynamic-key map (`Map K V`). */
|
|
188
|
+
items?: EntityField;
|
|
189
|
+
}
|
|
179
190
|
/**
|
|
180
191
|
* Entity field definition — discriminated union by `type`. Each variant
|
|
181
192
|
* statically enforces its dependent payload (`values` for enum,
|
|
@@ -187,7 +198,7 @@ interface ArrayEntityField extends EntityFieldBase {
|
|
|
187
198
|
* { name: 'authorId', type: 'relation', relation: { entity: 'User', cardinality: 'one' } }
|
|
188
199
|
* { name: 'tags', type: 'array', items: { type: 'string' } }
|
|
189
200
|
*/
|
|
190
|
-
type EntityField = ScalarEntityField | EnumEntityField | RelationEntityField | ArrayEntityField;
|
|
201
|
+
type EntityField = ScalarEntityField | EnumEntityField | RelationEntityField | ArrayEntityField | ObjectEntityField;
|
|
191
202
|
/**
|
|
192
203
|
* Zod schema for `EntityField`. Preprocess normalizes:
|
|
193
204
|
* - legacy `type` aliases (text → string, int → number, etc.)
|
|
@@ -968,6 +979,21 @@ declare const EntityRoleSchema: z.ZodEnum<["player", "enemy", "npc", "item", "ti
|
|
|
968
979
|
declare const VISUAL_STYLES: readonly ["pixel", "vector", "hd", "1-bit", "isometric"];
|
|
969
980
|
type VisualStyle = (typeof VISUAL_STYLES)[number];
|
|
970
981
|
declare const VisualStyleSchema: z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>;
|
|
982
|
+
/**
|
|
983
|
+
* Whether the asset is a 2D sprite/image or a 3D model. Set by the consuming
|
|
984
|
+
* canvas: the same entity role is a 2D sprite-sheet on a tile board and a 3D
|
|
985
|
+
* rigged model on a 3D board.
|
|
986
|
+
*/
|
|
987
|
+
declare const ASSET_DIMENSIONS: readonly ["2d", "3d"];
|
|
988
|
+
type AssetDimension = (typeof ASSET_DIMENSIONS)[number];
|
|
989
|
+
declare const AssetDimensionSchema: z.ZodEnum<["2d", "3d"]>;
|
|
990
|
+
/**
|
|
991
|
+
* Rendering aspect ratio of an asset: square (tiles/sprites/portraits/icons),
|
|
992
|
+
* 16:9 (scene backdrops), 5:7 (cards), 8:1 (effect frame strips).
|
|
993
|
+
*/
|
|
994
|
+
declare const ASSET_ASPECTS: readonly ["1:1", "16:9", "5:7", "8:1"];
|
|
995
|
+
type AssetAspect = (typeof ASSET_ASPECTS)[number];
|
|
996
|
+
declare const AssetAspectSchema: z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>;
|
|
971
997
|
/**
|
|
972
998
|
* Game type classifications
|
|
973
999
|
*/
|
|
@@ -1013,6 +1039,10 @@ interface SemanticAssetRef {
|
|
|
1013
1039
|
style?: VisualStyle;
|
|
1014
1040
|
/** Variant identifier (for multiple versions) */
|
|
1015
1041
|
variant?: string;
|
|
1042
|
+
/** 2D sprite vs 3D model — the rendering dimension the consuming canvas needs. */
|
|
1043
|
+
dimension?: AssetDimension;
|
|
1044
|
+
/** Rendering aspect ratio (square sprite/portrait/tile, 16:9 backdrop, 5:7 card, 8:1 fx-strip). */
|
|
1045
|
+
aspect?: AssetAspect;
|
|
1016
1046
|
}
|
|
1017
1047
|
declare const SemanticAssetRefSchema: z.ZodObject<{
|
|
1018
1048
|
role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
|
|
@@ -1020,18 +1050,75 @@ declare const SemanticAssetRefSchema: z.ZodObject<{
|
|
|
1020
1050
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1021
1051
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1022
1052
|
variant: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1054
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1023
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1024
1056
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1025
1057
|
category: string;
|
|
1026
1058
|
animations?: string[] | undefined;
|
|
1027
1059
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1028
1060
|
variant?: string | undefined;
|
|
1061
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1062
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1029
1063
|
}, {
|
|
1030
1064
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1031
1065
|
category: string;
|
|
1032
1066
|
animations?: string[] | undefined;
|
|
1033
1067
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1034
1068
|
variant?: string | undefined;
|
|
1069
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1070
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1071
|
+
}>;
|
|
1072
|
+
/**
|
|
1073
|
+
* The single asset type: a `SemanticAssetRef` (role/dimension/animations/aspect/style)
|
|
1074
|
+
* WITH its resolved URL folded in. Used everywhere an asset is referenced — a lolo
|
|
1075
|
+
* board `assetManifest` (`Map string Asset`), every `@almadar/ui` game prop, the
|
|
1076
|
+
* asset-workflow's resolved/pool assets, and the inspector picker. Replaces the bare
|
|
1077
|
+
* `AssetUrl`-string asset field so the render metadata travels WITH the asset (no
|
|
1078
|
+
* pixel-dimension or filename heuristics needed to know sheet-vs-frame / 2d-vs-3d).
|
|
1079
|
+
*/
|
|
1080
|
+
interface Asset extends SemanticAssetRef {
|
|
1081
|
+
/** The resolved asset URL. */
|
|
1082
|
+
url: AssetUrl;
|
|
1083
|
+
/** Optional display name (inspector picker). */
|
|
1084
|
+
name?: string;
|
|
1085
|
+
/** Optional thumbnail URL (inspector picker grid). */
|
|
1086
|
+
thumbnailUrl?: string;
|
|
1087
|
+
}
|
|
1088
|
+
declare const AssetSchema: z.ZodObject<{
|
|
1089
|
+
role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
|
|
1090
|
+
category: z.ZodString;
|
|
1091
|
+
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1092
|
+
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1093
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1095
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1096
|
+
} & {
|
|
1097
|
+
url: z.ZodString;
|
|
1098
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
url: string;
|
|
1102
|
+
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1103
|
+
category: string;
|
|
1104
|
+
name?: string | undefined;
|
|
1105
|
+
animations?: string[] | undefined;
|
|
1106
|
+
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1107
|
+
variant?: string | undefined;
|
|
1108
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1109
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1110
|
+
thumbnailUrl?: string | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
url: string;
|
|
1113
|
+
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1114
|
+
category: string;
|
|
1115
|
+
name?: string | undefined;
|
|
1116
|
+
animations?: string[] | undefined;
|
|
1117
|
+
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1118
|
+
variant?: string | undefined;
|
|
1119
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1120
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1121
|
+
thumbnailUrl?: string | undefined;
|
|
1035
1122
|
}>;
|
|
1036
1123
|
/**
|
|
1037
1124
|
* Result of resolving a SemanticAssetRef to actual asset paths
|
|
@@ -1250,6 +1337,10 @@ interface AssetCatalogEntry {
|
|
|
1250
1337
|
kind: 'image' | 'spritesheet' | 'audio' | 'scene' | 'portrait' | 'model' | 'other';
|
|
1251
1338
|
/** Optional thumbnail URL for grid previews. */
|
|
1252
1339
|
thumbnailUrl?: string;
|
|
1340
|
+
/** 2D sprite vs 3D model — the asset's actual rendering dimension. */
|
|
1341
|
+
dimension?: AssetDimension;
|
|
1342
|
+
/** The asset's actual rendering aspect ratio. */
|
|
1343
|
+
aspect?: AssetAspect;
|
|
1253
1344
|
}
|
|
1254
1345
|
declare const AssetCatalogEntrySchema: z.ZodObject<{
|
|
1255
1346
|
url: z.ZodString;
|
|
@@ -1257,17 +1348,23 @@ declare const AssetCatalogEntrySchema: z.ZodObject<{
|
|
|
1257
1348
|
category: z.ZodString;
|
|
1258
1349
|
kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
|
|
1259
1350
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1352
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1260
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1354
|
url: string;
|
|
1262
1355
|
name: string;
|
|
1263
1356
|
category: string;
|
|
1264
1357
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1358
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1359
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1265
1360
|
thumbnailUrl?: string | undefined;
|
|
1266
1361
|
}, {
|
|
1267
1362
|
url: string;
|
|
1268
1363
|
name: string;
|
|
1269
1364
|
category: string;
|
|
1270
1365
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1366
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1367
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1271
1368
|
thumbnailUrl?: string | undefined;
|
|
1272
1369
|
}>;
|
|
1273
1370
|
/**
|
|
@@ -1280,17 +1377,23 @@ declare const AssetCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
|
1280
1377
|
category: z.ZodString;
|
|
1281
1378
|
kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
|
|
1282
1379
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1381
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1283
1382
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1383
|
url: string;
|
|
1285
1384
|
name: string;
|
|
1286
1385
|
category: string;
|
|
1287
1386
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1387
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1388
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1288
1389
|
thumbnailUrl?: string | undefined;
|
|
1289
1390
|
}, {
|
|
1290
1391
|
url: string;
|
|
1291
1392
|
name: string;
|
|
1292
1393
|
category: string;
|
|
1293
1394
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1395
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1396
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1294
1397
|
thumbnailUrl?: string | undefined;
|
|
1295
1398
|
}>, "many">;
|
|
1296
1399
|
/**
|
|
@@ -1439,18 +1542,24 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1439
1542
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1440
1543
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1441
1544
|
variant: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1546
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1442
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1443
1548
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1444
1549
|
category: string;
|
|
1445
1550
|
animations?: string[] | undefined;
|
|
1446
1551
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1447
1552
|
variant?: string | undefined;
|
|
1553
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1554
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1448
1555
|
}, {
|
|
1449
1556
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1450
1557
|
category: string;
|
|
1451
1558
|
animations?: string[] | undefined;
|
|
1452
1559
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1453
1560
|
variant?: string | undefined;
|
|
1561
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1562
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1454
1563
|
}>>;
|
|
1455
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1456
1565
|
name: string;
|
|
@@ -1468,6 +1577,8 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1468
1577
|
animations?: string[] | undefined;
|
|
1469
1578
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1470
1579
|
variant?: string | undefined;
|
|
1580
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1581
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1471
1582
|
} | undefined;
|
|
1472
1583
|
}, {
|
|
1473
1584
|
name: string;
|
|
@@ -1485,6 +1596,8 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1485
1596
|
animations?: string[] | undefined;
|
|
1486
1597
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1487
1598
|
variant?: string | undefined;
|
|
1599
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1600
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1488
1601
|
} | undefined;
|
|
1489
1602
|
}>;
|
|
1490
1603
|
type OrbitalEntityInput = z.input<typeof OrbitalEntitySchema>;
|
|
@@ -1507,18 +1620,24 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1507
1620
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1508
1621
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1509
1622
|
variant: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1624
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1510
1625
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1626
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1512
1627
|
category: string;
|
|
1513
1628
|
animations?: string[] | undefined;
|
|
1514
1629
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1515
1630
|
variant?: string | undefined;
|
|
1631
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1632
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1516
1633
|
}, {
|
|
1517
1634
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1518
1635
|
category: string;
|
|
1519
1636
|
animations?: string[] | undefined;
|
|
1520
1637
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1521
1638
|
variant?: string | undefined;
|
|
1639
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1640
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1522
1641
|
}>>;
|
|
1523
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1643
|
name: string;
|
|
@@ -1536,6 +1655,8 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1536
1655
|
animations?: string[] | undefined;
|
|
1537
1656
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1538
1657
|
variant?: string | undefined;
|
|
1658
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1659
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1539
1660
|
} | undefined;
|
|
1540
1661
|
}, {
|
|
1541
1662
|
name: string;
|
|
@@ -1553,6 +1674,8 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1553
1674
|
animations?: string[] | undefined;
|
|
1554
1675
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1555
1676
|
variant?: string | undefined;
|
|
1677
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1678
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1556
1679
|
} | undefined;
|
|
1557
1680
|
}>;
|
|
1558
1681
|
/**
|
|
@@ -4120,18 +4243,24 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4120
4243
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4121
4244
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
4122
4245
|
variant: z.ZodOptional<z.ZodString>;
|
|
4246
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
4247
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
4123
4248
|
}, "strip", z.ZodTypeAny, {
|
|
4124
4249
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4125
4250
|
category: string;
|
|
4126
4251
|
animations?: string[] | undefined;
|
|
4127
4252
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4128
4253
|
variant?: string | undefined;
|
|
4254
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4255
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4129
4256
|
}, {
|
|
4130
4257
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4131
4258
|
category: string;
|
|
4132
4259
|
animations?: string[] | undefined;
|
|
4133
4260
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4134
4261
|
variant?: string | undefined;
|
|
4262
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4263
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4135
4264
|
}>>;
|
|
4136
4265
|
}, "strip", z.ZodTypeAny, {
|
|
4137
4266
|
name: string;
|
|
@@ -4149,6 +4278,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4149
4278
|
animations?: string[] | undefined;
|
|
4150
4279
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4151
4280
|
variant?: string | undefined;
|
|
4281
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4282
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4152
4283
|
} | undefined;
|
|
4153
4284
|
}, {
|
|
4154
4285
|
name: string;
|
|
@@ -4166,6 +4297,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4166
4297
|
animations?: string[] | undefined;
|
|
4167
4298
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4168
4299
|
variant?: string | undefined;
|
|
4300
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4301
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4169
4302
|
} | undefined;
|
|
4170
4303
|
}>>;
|
|
4171
4304
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4311,6 +4444,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4311
4444
|
animations?: string[] | undefined;
|
|
4312
4445
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4313
4446
|
variant?: string | undefined;
|
|
4447
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4448
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4314
4449
|
} | undefined;
|
|
4315
4450
|
} | undefined;
|
|
4316
4451
|
}, {
|
|
@@ -4456,6 +4591,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4456
4591
|
animations?: string[] | undefined;
|
|
4457
4592
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4458
4593
|
variant?: string | undefined;
|
|
4594
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4595
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4459
4596
|
} | undefined;
|
|
4460
4597
|
} | undefined;
|
|
4461
4598
|
}>;
|
|
@@ -4961,18 +5098,24 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4961
5098
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4962
5099
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
4963
5100
|
variant: z.ZodOptional<z.ZodString>;
|
|
5101
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
5102
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
4964
5103
|
}, "strip", z.ZodTypeAny, {
|
|
4965
5104
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4966
5105
|
category: string;
|
|
4967
5106
|
animations?: string[] | undefined;
|
|
4968
5107
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4969
5108
|
variant?: string | undefined;
|
|
5109
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5110
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4970
5111
|
}, {
|
|
4971
5112
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4972
5113
|
category: string;
|
|
4973
5114
|
animations?: string[] | undefined;
|
|
4974
5115
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4975
5116
|
variant?: string | undefined;
|
|
5117
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5118
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4976
5119
|
}>>;
|
|
4977
5120
|
}, "strip", z.ZodTypeAny, {
|
|
4978
5121
|
name: string;
|
|
@@ -4990,6 +5133,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4990
5133
|
animations?: string[] | undefined;
|
|
4991
5134
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4992
5135
|
variant?: string | undefined;
|
|
5136
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5137
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4993
5138
|
} | undefined;
|
|
4994
5139
|
}, {
|
|
4995
5140
|
name: string;
|
|
@@ -5007,6 +5152,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5007
5152
|
animations?: string[] | undefined;
|
|
5008
5153
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5009
5154
|
variant?: string | undefined;
|
|
5155
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5156
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5010
5157
|
} | undefined;
|
|
5011
5158
|
}>>;
|
|
5012
5159
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5152,6 +5299,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5152
5299
|
animations?: string[] | undefined;
|
|
5153
5300
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5154
5301
|
variant?: string | undefined;
|
|
5302
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5303
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5155
5304
|
} | undefined;
|
|
5156
5305
|
} | undefined;
|
|
5157
5306
|
}, {
|
|
@@ -5297,6 +5446,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5297
5446
|
animations?: string[] | undefined;
|
|
5298
5447
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5299
5448
|
variant?: string | undefined;
|
|
5449
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5450
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5300
5451
|
} | undefined;
|
|
5301
5452
|
} | undefined;
|
|
5302
5453
|
}>]>;
|
|
@@ -5872,18 +6023,24 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5872
6023
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5873
6024
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
5874
6025
|
variant: z.ZodOptional<z.ZodString>;
|
|
6026
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
6027
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
5875
6028
|
}, "strip", z.ZodTypeAny, {
|
|
5876
6029
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
5877
6030
|
category: string;
|
|
5878
6031
|
animations?: string[] | undefined;
|
|
5879
6032
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5880
6033
|
variant?: string | undefined;
|
|
6034
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6035
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5881
6036
|
}, {
|
|
5882
6037
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
5883
6038
|
category: string;
|
|
5884
6039
|
animations?: string[] | undefined;
|
|
5885
6040
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5886
6041
|
variant?: string | undefined;
|
|
6042
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6043
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5887
6044
|
}>>;
|
|
5888
6045
|
}, "strip", z.ZodTypeAny, {
|
|
5889
6046
|
name: string;
|
|
@@ -5901,6 +6058,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5901
6058
|
animations?: string[] | undefined;
|
|
5902
6059
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5903
6060
|
variant?: string | undefined;
|
|
6061
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6062
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5904
6063
|
} | undefined;
|
|
5905
6064
|
}, {
|
|
5906
6065
|
name: string;
|
|
@@ -5918,6 +6077,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5918
6077
|
animations?: string[] | undefined;
|
|
5919
6078
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5920
6079
|
variant?: string | undefined;
|
|
6080
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6081
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5921
6082
|
} | undefined;
|
|
5922
6083
|
}>>;
|
|
5923
6084
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6063,6 +6224,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6063
6224
|
animations?: string[] | undefined;
|
|
6064
6225
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
6065
6226
|
variant?: string | undefined;
|
|
6227
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6228
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
6066
6229
|
} | undefined;
|
|
6067
6230
|
} | undefined;
|
|
6068
6231
|
}, {
|
|
@@ -6208,8 +6371,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6208
6371
|
animations?: string[] | undefined;
|
|
6209
6372
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
6210
6373
|
variant?: string | undefined;
|
|
6374
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6375
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
6211
6376
|
} | undefined;
|
|
6212
6377
|
} | undefined;
|
|
6213
6378
|
}>]>;
|
|
6214
6379
|
|
|
6215
|
-
export { type
|
|
6380
|
+
export { type DerefEffect as $, ASSET_ASPECTS as A, AssetCatalogEntrySchema as B, type ConfigFieldDeclaration as C, AssetCatalogSchema as D, type Effect as E, type AssetDimension as F, AssetDimensionSchema as G, type AssetMap as H, type AssetMapInput as I, AssetMapSchema as J, type AssetMapping as K, type AssetMappingInput as L, AssetMappingSchema as M, AssetSchema as N, type AssetUrl as O, type AtomicEffect as P, type CallServiceConfig as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type CallServiceEffect as V, type CheckpointLoadEffect as W, type CheckpointSaveEffect as X, ConfigFieldDeclarationSchema as Y, type DeclaredTraitConfig as Z, DeclaredTraitConfigSchema as _, type Trait as a, type PersistEmitConfig as a$, type DespawnEffect as a0, type DoEffect as a1, ENTITY_ROLES as a2, type EffectInput as a3, EffectSchema as a4, type EmitConfig as a5, type EmitEffect as a6, type EntityData as a7, type EntityFieldContract as a8, EntityFieldContractSchema as a9, type ForwardConfig as aA, type ForwardEffect as aB, GAME_TYPES as aC, type GameType as aD, GameTypeSchema as aE, type Guard as aF, type GuardInput as aG, GuardSchema as aH, type ListenSource as aI, ListenSourceSchema as aJ, type LogEffect as aK, type McpServiceDef as aL, McpServiceDefSchema as aM, type NavigateEffect as aN, type NnConfig as aO, type NnLayer as aP, type NotifyEffect as aQ, type OrbitalEntity as aR, type OrbitalEntityInput as aS, OrbitalEntitySchema as aT, type OrbitalTraitRef as aU, OrbitalTraitRefSchema as aV, type OsEffect as aW, type PayloadField as aX, PayloadFieldSchema as aY, type PersistData as aZ, type PersistEffect as a_, type EntityFieldInput as aa, EntityFieldSchema as ab, EntityPersistenceSchema as ac, type EntityRole as ad, EntityRoleSchema as ae, EntitySchema as af, type EntityWith as ag, type EnumEntityField as ah, type EvaluateConfig as ai, type EvaluateEffect as aj, type Event as ak, type EventInput as al, EventPayloadFieldSchema as am, EventSchema as an, type EventScope as ao, EventScopeSchema as ap, type FetchEffect as aq, type FetchOptions as ar, type FetchResult as as, type Field as at, type FieldFormat as au, FieldFormatSchema as av, FieldSchema as aw, type FieldType as ax, FieldTypeSchema as ay, type FieldValue as az, type RenderUIEffect as b, TraitTickSchema as b$, type PresentationType as b0, type RefEffect as b1, type RelationConfig as b2, RelationConfigSchema as b3, type RelationEntityField as b4, type RenderItemLambda as b5, type RenderUIConfig as b6, type RenderUINode as b7, type RequiredField as b8, RequiredFieldSchema as b9, SocketServiceDefSchema as bA, type SpawnEffect as bB, type StateInput as bC, type StateMachine as bD, type StateMachineInput as bE, StateMachineSchema as bF, StateSchema as bG, type SwapEffect as bH, type TrainConfig as bI, type TrainEffect as bJ, type TraitCategory as bK, TraitCategorySchema as bL, TraitConfigSchema as bM, type TraitConfigValue as bN, TraitConfigValueSchema as bO, type TraitDataEntity as bP, TraitDataEntitySchema as bQ, type TraitEntityField as bR, TraitEntityFieldSchema as bS, TraitEventContractSchema as bT, TraitEventListenerSchema as bU, type TraitInput as bV, TraitRefSchema as bW, type TraitReferenceInput as bX, TraitReferenceSchema as bY, TraitSchema as bZ, type TraitTick as b_, type ResolvedAsset as ba, type ResolvedAssetInput as bb, ResolvedAssetSchema as bc, type ResolvedPatternProps as bd, type RestAuthConfig as be, RestAuthConfigSchema as bf, type RestServiceDef as bg, RestServiceDefSchema as bh, SERVICE_TYPES as bi, type ScalarEntityField as bj, type SemanticAssetRef as bk, type SemanticAssetRefInput as bl, SemanticAssetRefSchema as bm, ServiceDefinitionSchema as bn, type ServiceParams as bo, type ServiceParamsValue as bp, type ServiceRefObject as bq, ServiceRefObjectSchema as br, ServiceRefSchema as bs, ServiceRefStringSchema as bt, type ServiceType as bu, ServiceTypeSchema as bv, type SetEffect as bw, type SocketEvents as bx, SocketEventsSchema as by, type SocketServiceDef as bz, type TraitEventContract as c, type TraitUIBinding as c0, type Transition as c1, type TransitionInput as c2, TransitionSchema as c3, type TypedEffect as c4, UISlotSchema as c5, UI_SLOTS as c6, VISUAL_STYLES as c7, type VisualStyle as c8, VisualStyleSchema as c9, isSocketService as cA, navigate as cB, normalizeTraitRef as cC, notify as cD, parseAssetKey as cE, parseServiceRef as cF, persist as cG, ref as cH, renderUI as cI, set as cJ, spawn as cK, swap as cL, validateAssetAnimations as cM, watch as cN, type TraitScope as cO, type WatchEffect as ca, type WatchOptions as cb, atomic as cc, callService as cd, createAssetKey as ce, deref as cf, deriveCollection as cg, despawn as ch, doEffects as ci, emit as cj, findService as ck, getDefaultAnimationsForRole as cl, getServiceNames as cm, getTraitConfig as cn, getTraitName as co, hasService as cp, isCircuitEvent as cq, isEffect as cr, isInlineTrait as cs, isMcpService as ct, isRestService as cu, isRuntimeEntity as cv, isSExprEffect as cw, isServiceReference as cx, isServiceReferenceObject as cy, isSingletonEntity 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 TraitConfigObject as k, type EventPayloadField as l, type ServiceDefinition as m, type State as n, ASSET_DIMENSIONS as o, type AgentEffect as p, type AnimationDef as q, type AnimationDefInput as r, AnimationDefSchema as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput 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
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-C3osccoR.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-C3osccoR.js';
|
|
3
|
+
import { bo as ServiceParams, a as Trait, d as Entity, h as EntityRow, az as FieldValue, Z as DeclaredTraitConfig, T as TraitConfig, E as Effect, C as ConfigFieldDeclaration, n as State, c1 as Transition, f as EntityField, ak as Event, bN as TraitConfigValue, g as EntityPersistence, bK as TraitCategory, cO as TraitScope } from '../trait-DwxDJ6PP.js';
|
|
4
|
+
export { A as ASSET_ASPECTS, o as ASSET_DIMENSIONS, p as AgentEffect, q as AnimationDef, r as AnimationDefInput, s as AnimationDefSchema, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, D as AssetCatalogSchema, F as AssetDimension, G as AssetDimensionSchema, H as AssetMap, I as AssetMapInput, J as AssetMapSchema, K as AssetMapping, L as AssetMappingInput, M as AssetMappingSchema, N as AssetSchema, O as AssetUrl, P as AtomicEffect, Q as CallServiceConfig, V as CallServiceEffect, W as CheckpointLoadEffect, X as CheckpointSaveEffect, Y as ConfigFieldDeclarationSchema, _ as DeclaredTraitConfigSchema, $ as DerefEffect, a0 as DespawnEffect, a1 as DoEffect, a2 as ENTITY_ROLES, a3 as EffectInput, a4 as EffectSchema, a5 as EmitConfig, a6 as EmitEffect, a7 as EntityData, a8 as EntityFieldContract, a9 as EntityFieldContractSchema, aa as EntityFieldInput, ab as EntityFieldSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, al as EventInput, l as EventPayloadField, am as EventPayloadFieldSchema, an as EventSchema, ao as EventScope, ap as EventScopeSchema, aq as FetchEffect, ar as FetchOptions, as as FetchResult, at as Field, au as FieldFormat, av as FieldFormatSchema, aw as FieldSchema, ax as FieldType, ay as FieldTypeSchema, aA as ForwardConfig, aB as ForwardEffect, aC as GAME_TYPES, aD as GameType, aE as GameTypeSchema, aF as Guard, aG as GuardInput, aH as GuardSchema, aI as ListenSource, aJ as ListenSourceSchema, aK as LogEffect, aL as McpServiceDef, aM as McpServiceDefSchema, aN as NavigateEffect, aO as NnConfig, aP as NnLayer, aQ as NotifyEffect, aR as OrbitalEntity, aS as OrbitalEntityInput, aT as OrbitalEntitySchema, aU as OrbitalTraitRef, aV as OrbitalTraitRefSchema, aW as OsEffect, aX as PayloadField, aY as PayloadFieldSchema, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as PresentationType, b1 as RefEffect, b2 as RelationConfig, b3 as RelationConfigSchema, b4 as RelationEntityField, R as RenderBinding, b5 as RenderItemLambda, b6 as RenderUIConfig, b as RenderUIEffect, b7 as RenderUINode, b8 as RequiredField, b9 as RequiredFieldSchema, ba as ResolvedAsset, bb as ResolvedAssetInput, bc as ResolvedAssetSchema, bd as ResolvedPatternProps, be as RestAuthConfig, bf as RestAuthConfigSchema, bg as RestServiceDef, bh as RestServiceDefSchema, bi as SERVICE_TYPES, bj as ScalarEntityField, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, m as ServiceDefinition, bn as ServiceDefinitionSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SetEffect, bx as SocketEvents, by as SocketEventsSchema, bz as SocketServiceDef, bA as SocketServiceDefSchema, bB as SpawnEffect, bC as StateInput, bD as StateMachine, bE as StateMachineInput, bF as StateMachineSchema, bG as StateSchema, bH as SwapEffect, bI as TrainConfig, bJ as TrainEffect, bL as TraitCategorySchema, k as TraitConfigObject, bM as TraitConfigSchema, bO as TraitConfigValueSchema, bP as TraitDataEntity, bQ as TraitDataEntitySchema, bR as TraitEntityField, bS as TraitEntityFieldSchema, c as TraitEventContract, bT as TraitEventContractSchema, e as TraitEventListener, bU as TraitEventListenerSchema, bV as TraitInput, i as TraitRef, bW as TraitRefSchema, j as TraitReference, bX as TraitReferenceInput, bY as TraitReferenceSchema, bZ as TraitSchema, b_ as TraitTick, b$ as TraitTickSchema, c0 as TraitUIBinding, c2 as TransitionInput, c3 as TransitionSchema, c4 as TypedEffect, U as UISlot, c5 as UISlotSchema, c6 as UI_SLOTS, c7 as VISUAL_STYLES, c8 as VisualStyle, c9 as VisualStyleSchema, ca as WatchEffect, cb as WatchOptions, cc as atomic, cd as callService, ce as createAssetKey, cf as deref, cg as deriveCollection, ch as despawn, ci as doEffects, cj as emit, ck as findService, cl as getDefaultAnimationsForRole, cm as getServiceNames, cn as getTraitConfig, co as getTraitName, cp as hasService, cq as isCircuitEvent, cr as isEffect, cs as isInlineTrait, ct as isMcpService, cu as isRestService, cv as isRuntimeEntity, cw as isSExprEffect, cx as isServiceReference, cy as isServiceReferenceObject, cz as isSingletonEntity, cA as isSocketService, cB as navigate, cC as normalizeTraitRef, cD as notify, cE as parseAssetKey, cF as parseServiceRef, cG as persist, cH as ref, cI as renderUI, cJ as set, cK as spawn, cL as swap, cM as validateAssetAnimations, cN as watch } from '../trait-DwxDJ6PP.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-zx68_GSb.js';
|
|
11
|
+
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-zx68_GSb.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|