@almadar/core 10.5.0 → 10.7.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 +4 -4
- package/dist/builders.js +18 -3
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-CDtaSzBE.d.ts → compose-behaviors-B96ChDbl.d.ts} +1 -1
- package/dist/{expression-BVRFm0sV.d.ts → expression-BUIi9ezJ.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/index.d.ts +203 -8
- package/dist/index.js +19 -4
- package/dist/index.js.map +1 -1
- package/dist/{schema-CBlHwalB.d.ts → schema-QKCaijbj.d.ts} +288 -2
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-FbHCWNhp.d.ts → trait-BkW6nFHo.d.ts} +118 -4
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +19 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types--nPHnbUz.d.ts → types-R0vBMx1v.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { S as SExpr,
|
|
2
|
+
import { S as SExpr, c as EventPayload, E as Expression } from './expression-BUIi9ezJ.js';
|
|
3
3
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -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,24 @@ 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;
|
|
1035
1071
|
}>;
|
|
1036
1072
|
/**
|
|
1037
1073
|
* Result of resolving a SemanticAssetRef to actual asset paths
|
|
@@ -1250,6 +1286,10 @@ interface AssetCatalogEntry {
|
|
|
1250
1286
|
kind: 'image' | 'spritesheet' | 'audio' | 'scene' | 'portrait' | 'model' | 'other';
|
|
1251
1287
|
/** Optional thumbnail URL for grid previews. */
|
|
1252
1288
|
thumbnailUrl?: string;
|
|
1289
|
+
/** 2D sprite vs 3D model — the asset's actual rendering dimension. */
|
|
1290
|
+
dimension?: AssetDimension;
|
|
1291
|
+
/** The asset's actual rendering aspect ratio. */
|
|
1292
|
+
aspect?: AssetAspect;
|
|
1253
1293
|
}
|
|
1254
1294
|
declare const AssetCatalogEntrySchema: z.ZodObject<{
|
|
1255
1295
|
url: z.ZodString;
|
|
@@ -1257,17 +1297,23 @@ declare const AssetCatalogEntrySchema: z.ZodObject<{
|
|
|
1257
1297
|
category: z.ZodString;
|
|
1258
1298
|
kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
|
|
1259
1299
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1301
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1260
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1303
|
url: string;
|
|
1262
1304
|
name: string;
|
|
1263
1305
|
category: string;
|
|
1264
1306
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1307
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1308
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1265
1309
|
thumbnailUrl?: string | undefined;
|
|
1266
1310
|
}, {
|
|
1267
1311
|
url: string;
|
|
1268
1312
|
name: string;
|
|
1269
1313
|
category: string;
|
|
1270
1314
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1315
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1316
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1271
1317
|
thumbnailUrl?: string | undefined;
|
|
1272
1318
|
}>;
|
|
1273
1319
|
/**
|
|
@@ -1280,17 +1326,23 @@ declare const AssetCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
|
1280
1326
|
category: z.ZodString;
|
|
1281
1327
|
kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
|
|
1282
1328
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1330
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1283
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1332
|
url: string;
|
|
1285
1333
|
name: string;
|
|
1286
1334
|
category: string;
|
|
1287
1335
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1336
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1337
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1288
1338
|
thumbnailUrl?: string | undefined;
|
|
1289
1339
|
}, {
|
|
1290
1340
|
url: string;
|
|
1291
1341
|
name: string;
|
|
1292
1342
|
category: string;
|
|
1293
1343
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1344
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1345
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1294
1346
|
thumbnailUrl?: string | undefined;
|
|
1295
1347
|
}>, "many">;
|
|
1296
1348
|
/**
|
|
@@ -1439,18 +1491,24 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1439
1491
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1440
1492
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1441
1493
|
variant: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1495
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1442
1496
|
}, "strip", z.ZodTypeAny, {
|
|
1443
1497
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1444
1498
|
category: string;
|
|
1445
1499
|
animations?: string[] | undefined;
|
|
1446
1500
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1447
1501
|
variant?: string | undefined;
|
|
1502
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1503
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1448
1504
|
}, {
|
|
1449
1505
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1450
1506
|
category: string;
|
|
1451
1507
|
animations?: string[] | undefined;
|
|
1452
1508
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1453
1509
|
variant?: string | undefined;
|
|
1510
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1511
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1454
1512
|
}>>;
|
|
1455
1513
|
}, "strip", z.ZodTypeAny, {
|
|
1456
1514
|
name: string;
|
|
@@ -1468,6 +1526,8 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1468
1526
|
animations?: string[] | undefined;
|
|
1469
1527
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1470
1528
|
variant?: string | undefined;
|
|
1529
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1530
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1471
1531
|
} | undefined;
|
|
1472
1532
|
}, {
|
|
1473
1533
|
name: string;
|
|
@@ -1485,6 +1545,8 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1485
1545
|
animations?: string[] | undefined;
|
|
1486
1546
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1487
1547
|
variant?: string | undefined;
|
|
1548
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1549
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1488
1550
|
} | undefined;
|
|
1489
1551
|
}>;
|
|
1490
1552
|
type OrbitalEntityInput = z.input<typeof OrbitalEntitySchema>;
|
|
@@ -1507,18 +1569,24 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1507
1569
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1508
1570
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1509
1571
|
variant: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1573
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1510
1574
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1575
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1512
1576
|
category: string;
|
|
1513
1577
|
animations?: string[] | undefined;
|
|
1514
1578
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1515
1579
|
variant?: string | undefined;
|
|
1580
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1581
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1516
1582
|
}, {
|
|
1517
1583
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1518
1584
|
category: string;
|
|
1519
1585
|
animations?: string[] | undefined;
|
|
1520
1586
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1521
1587
|
variant?: string | undefined;
|
|
1588
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1589
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1522
1590
|
}>>;
|
|
1523
1591
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1592
|
name: string;
|
|
@@ -1536,6 +1604,8 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1536
1604
|
animations?: string[] | undefined;
|
|
1537
1605
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1538
1606
|
variant?: string | undefined;
|
|
1607
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1608
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1539
1609
|
} | undefined;
|
|
1540
1610
|
}, {
|
|
1541
1611
|
name: string;
|
|
@@ -1553,6 +1623,8 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1553
1623
|
animations?: string[] | undefined;
|
|
1554
1624
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1555
1625
|
variant?: string | undefined;
|
|
1626
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1627
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1556
1628
|
} | undefined;
|
|
1557
1629
|
}>;
|
|
1558
1630
|
/**
|
|
@@ -4120,18 +4192,24 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4120
4192
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4121
4193
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
4122
4194
|
variant: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
4196
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
4123
4197
|
}, "strip", z.ZodTypeAny, {
|
|
4124
4198
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4125
4199
|
category: string;
|
|
4126
4200
|
animations?: string[] | undefined;
|
|
4127
4201
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4128
4202
|
variant?: string | undefined;
|
|
4203
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4204
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4129
4205
|
}, {
|
|
4130
4206
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4131
4207
|
category: string;
|
|
4132
4208
|
animations?: string[] | undefined;
|
|
4133
4209
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4134
4210
|
variant?: string | undefined;
|
|
4211
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4212
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4135
4213
|
}>>;
|
|
4136
4214
|
}, "strip", z.ZodTypeAny, {
|
|
4137
4215
|
name: string;
|
|
@@ -4149,6 +4227,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4149
4227
|
animations?: string[] | undefined;
|
|
4150
4228
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4151
4229
|
variant?: string | undefined;
|
|
4230
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4231
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4152
4232
|
} | undefined;
|
|
4153
4233
|
}, {
|
|
4154
4234
|
name: string;
|
|
@@ -4166,6 +4246,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4166
4246
|
animations?: string[] | undefined;
|
|
4167
4247
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4168
4248
|
variant?: string | undefined;
|
|
4249
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4250
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4169
4251
|
} | undefined;
|
|
4170
4252
|
}>>;
|
|
4171
4253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4311,6 +4393,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4311
4393
|
animations?: string[] | undefined;
|
|
4312
4394
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4313
4395
|
variant?: string | undefined;
|
|
4396
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4397
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4314
4398
|
} | undefined;
|
|
4315
4399
|
} | undefined;
|
|
4316
4400
|
}, {
|
|
@@ -4456,6 +4540,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4456
4540
|
animations?: string[] | undefined;
|
|
4457
4541
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4458
4542
|
variant?: string | undefined;
|
|
4543
|
+
dimension?: "2d" | "3d" | undefined;
|
|
4544
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4459
4545
|
} | undefined;
|
|
4460
4546
|
} | undefined;
|
|
4461
4547
|
}>;
|
|
@@ -4961,18 +5047,24 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4961
5047
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4962
5048
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
4963
5049
|
variant: z.ZodOptional<z.ZodString>;
|
|
5050
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
5051
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
4964
5052
|
}, "strip", z.ZodTypeAny, {
|
|
4965
5053
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4966
5054
|
category: string;
|
|
4967
5055
|
animations?: string[] | undefined;
|
|
4968
5056
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4969
5057
|
variant?: string | undefined;
|
|
5058
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5059
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4970
5060
|
}, {
|
|
4971
5061
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
4972
5062
|
category: string;
|
|
4973
5063
|
animations?: string[] | undefined;
|
|
4974
5064
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4975
5065
|
variant?: string | undefined;
|
|
5066
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5067
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4976
5068
|
}>>;
|
|
4977
5069
|
}, "strip", z.ZodTypeAny, {
|
|
4978
5070
|
name: string;
|
|
@@ -4990,6 +5082,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4990
5082
|
animations?: string[] | undefined;
|
|
4991
5083
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
4992
5084
|
variant?: string | undefined;
|
|
5085
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5086
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4993
5087
|
} | undefined;
|
|
4994
5088
|
}, {
|
|
4995
5089
|
name: string;
|
|
@@ -5007,6 +5101,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5007
5101
|
animations?: string[] | undefined;
|
|
5008
5102
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5009
5103
|
variant?: string | undefined;
|
|
5104
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5105
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5010
5106
|
} | undefined;
|
|
5011
5107
|
}>>;
|
|
5012
5108
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5152,6 +5248,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5152
5248
|
animations?: string[] | undefined;
|
|
5153
5249
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5154
5250
|
variant?: string | undefined;
|
|
5251
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5252
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5155
5253
|
} | undefined;
|
|
5156
5254
|
} | undefined;
|
|
5157
5255
|
}, {
|
|
@@ -5297,6 +5395,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5297
5395
|
animations?: string[] | undefined;
|
|
5298
5396
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5299
5397
|
variant?: string | undefined;
|
|
5398
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5399
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5300
5400
|
} | undefined;
|
|
5301
5401
|
} | undefined;
|
|
5302
5402
|
}>]>;
|
|
@@ -5872,18 +5972,24 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5872
5972
|
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5873
5973
|
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
5874
5974
|
variant: z.ZodOptional<z.ZodString>;
|
|
5975
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
5976
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
5875
5977
|
}, "strip", z.ZodTypeAny, {
|
|
5876
5978
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
5877
5979
|
category: string;
|
|
5878
5980
|
animations?: string[] | undefined;
|
|
5879
5981
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5880
5982
|
variant?: string | undefined;
|
|
5983
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5984
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5881
5985
|
}, {
|
|
5882
5986
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
5883
5987
|
category: string;
|
|
5884
5988
|
animations?: string[] | undefined;
|
|
5885
5989
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5886
5990
|
variant?: string | undefined;
|
|
5991
|
+
dimension?: "2d" | "3d" | undefined;
|
|
5992
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5887
5993
|
}>>;
|
|
5888
5994
|
}, "strip", z.ZodTypeAny, {
|
|
5889
5995
|
name: string;
|
|
@@ -5901,6 +6007,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5901
6007
|
animations?: string[] | undefined;
|
|
5902
6008
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5903
6009
|
variant?: string | undefined;
|
|
6010
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6011
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5904
6012
|
} | undefined;
|
|
5905
6013
|
}, {
|
|
5906
6014
|
name: string;
|
|
@@ -5918,6 +6026,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5918
6026
|
animations?: string[] | undefined;
|
|
5919
6027
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
5920
6028
|
variant?: string | undefined;
|
|
6029
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6030
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5921
6031
|
} | undefined;
|
|
5922
6032
|
}>>;
|
|
5923
6033
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6063,6 +6173,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6063
6173
|
animations?: string[] | undefined;
|
|
6064
6174
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
6065
6175
|
variant?: string | undefined;
|
|
6176
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6177
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
6066
6178
|
} | undefined;
|
|
6067
6179
|
} | undefined;
|
|
6068
6180
|
}, {
|
|
@@ -6208,8 +6320,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6208
6320
|
animations?: string[] | undefined;
|
|
6209
6321
|
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
6210
6322
|
variant?: string | undefined;
|
|
6323
|
+
dimension?: "2d" | "3d" | undefined;
|
|
6324
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
6211
6325
|
} | undefined;
|
|
6212
6326
|
} | undefined;
|
|
6213
6327
|
}>]>;
|
|
6214
6328
|
|
|
6215
|
-
export {
|
|
6329
|
+
export { type DoEffect as $, ASSET_ASPECTS as A, AssetCatalogSchema as B, type ConfigFieldDeclaration as C, type AssetDimension as D, type Effect as E, AssetDimensionSchema as F, type AssetMap as G, type AssetMapInput as H, AssetMapSchema as I, type AssetMapping as J, type AssetMappingInput as K, AssetMappingSchema as L, type AssetUrl as M, type AtomicEffect as N, type CallServiceConfig as O, type CallServiceEffect as P, type CheckpointLoadEffect as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type CheckpointSaveEffect as V, ConfigFieldDeclarationSchema as W, type DeclaredTraitConfig as X, DeclaredTraitConfigSchema as Y, type DerefEffect as Z, type DespawnEffect as _, type Trait as a, type RefEffect as a$, ENTITY_ROLES as a0, type EffectInput as a1, EffectSchema as a2, type EmitConfig as a3, type EmitEffect as a4, type EntityData as a5, type EntityFieldContract as a6, EntityFieldContractSchema as a7, type EntityFieldInput as a8, EntityFieldSchema as a9, GAME_TYPES as aA, type GameType as aB, GameTypeSchema as aC, type Guard as aD, type GuardInput as aE, GuardSchema as aF, type ListenSource as aG, ListenSourceSchema as aH, type LogEffect as aI, type McpServiceDef as aJ, McpServiceDefSchema as aK, type NavigateEffect as aL, type NnConfig as aM, type NnLayer as aN, type NotifyEffect as aO, type OrbitalEntity as aP, type OrbitalEntityInput as aQ, OrbitalEntitySchema as aR, type OrbitalTraitRef as aS, OrbitalTraitRefSchema as aT, type OsEffect as aU, type PayloadField as aV, PayloadFieldSchema as aW, type PersistData as aX, type PersistEffect as aY, type PersistEmitConfig as aZ, type PresentationType as a_, EntityPersistenceSchema as aa, type EntityRole as ab, EntityRoleSchema as ac, EntitySchema as ad, type EntityWith as ae, type EnumEntityField as af, type EvaluateConfig as ag, type EvaluateEffect as ah, type Event as ai, type EventInput as aj, EventPayloadFieldSchema as ak, EventSchema as al, type EventScope as am, EventScopeSchema as an, type FetchEffect as ao, type FetchOptions as ap, type FetchResult as aq, type Field as ar, type FieldFormat as as, FieldFormatSchema as at, FieldSchema as au, type FieldType as av, FieldTypeSchema as aw, type FieldValue as ax, type ForwardConfig as ay, type ForwardEffect as az, type RenderUIEffect as b, type Transition as b$, type RelationConfig as b0, RelationConfigSchema as b1, type RelationEntityField as b2, type RenderItemLambda as b3, type RenderUIConfig as b4, type RenderUINode as b5, type RequiredField as b6, RequiredFieldSchema as b7, type ResolvedAsset as b8, type ResolvedAssetInput as b9, type StateInput as bA, type StateMachine as bB, type StateMachineInput as bC, StateMachineSchema as bD, StateSchema as bE, type SwapEffect as bF, type TrainConfig as bG, type TrainEffect as bH, type TraitCategory as bI, TraitCategorySchema as bJ, TraitConfigSchema as bK, type TraitConfigValue as bL, TraitConfigValueSchema as bM, type TraitDataEntity as bN, TraitDataEntitySchema as bO, type TraitEntityField as bP, TraitEntityFieldSchema as bQ, TraitEventContractSchema as bR, TraitEventListenerSchema as bS, type TraitInput as bT, TraitRefSchema as bU, type TraitReferenceInput as bV, TraitReferenceSchema as bW, TraitSchema as bX, type TraitTick as bY, TraitTickSchema as bZ, type TraitUIBinding as b_, ResolvedAssetSchema as ba, type ResolvedPatternProps as bb, type RestAuthConfig as bc, RestAuthConfigSchema as bd, type RestServiceDef as be, RestServiceDefSchema as bf, SERVICE_TYPES as bg, type ScalarEntityField as bh, type SemanticAssetRef as bi, type SemanticAssetRefInput as bj, SemanticAssetRefSchema as bk, ServiceDefinitionSchema as bl, type ServiceParams as bm, type ServiceParamsValue as bn, type ServiceRefObject as bo, ServiceRefObjectSchema as bp, ServiceRefSchema as bq, ServiceRefStringSchema as br, type ServiceType as bs, ServiceTypeSchema as bt, type SetEffect as bu, type SocketEvents as bv, SocketEventsSchema as bw, type SocketServiceDef as bx, SocketServiceDefSchema as by, type SpawnEffect as bz, type TraitEventContract as c, type TransitionInput as c0, TransitionSchema as c1, type TypedEffect as c2, UISlotSchema as c3, UI_SLOTS as c4, VISUAL_STYLES as c5, type VisualStyle as c6, VisualStyleSchema as c7, type WatchEffect as c8, type WatchOptions as c9, normalizeTraitRef as cA, notify as cB, parseAssetKey as cC, parseServiceRef as cD, persist as cE, ref as cF, renderUI as cG, set as cH, spawn as cI, swap as cJ, validateAssetAnimations as cK, watch as cL, type TraitScope as cM, atomic as ca, callService as cb, createAssetKey as cc, deref as cd, deriveCollection as ce, despawn as cf, doEffects as cg, emit as ch, findService as ci, getDefaultAnimationsForRole as cj, getServiceNames as ck, getTraitConfig as cl, getTraitName as cm, hasService as cn, isCircuitEvent as co, isEffect as cp, isInlineTrait as cq, isMcpService as cr, isRestService as cs, isRuntimeEntity as ct, isSExprEffect as cu, isServiceReference as cv, isServiceReferenceObject as cw, isSingletonEntity as cx, isSocketService as cy, navigate 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 AssetAspect as u, AssetAspectSchema as v, type AssetCatalog as w, type AssetCatalogEntry as x, type AssetCatalogEntryInput as y, AssetCatalogEntrySchema 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 AgentEffect,
|
|
5
|
-
import {
|
|
6
|
-
export { C as CORE_BINDINGS, a as CoreBinding,
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-QKCaijbj.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-QKCaijbj.js';
|
|
3
|
+
import { bm as ServiceParams, a as Trait, d as Entity, h as EntityRow, ax as FieldValue, X as DeclaredTraitConfig, T as TraitConfig, E as Effect, C as ConfigFieldDeclaration, n as State, b$ as Transition, f as EntityField, ai as Event, bL as TraitConfigValue, g as EntityPersistence, bI as TraitCategory, cM as TraitScope } from '../trait-BkW6nFHo.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 AssetAspect, v as AssetAspectSchema, w as AssetCatalog, x as AssetCatalogEntry, y as AssetCatalogEntryInput, z as AssetCatalogEntrySchema, B as AssetCatalogSchema, D as AssetDimension, F as AssetDimensionSchema, G as AssetMap, H as AssetMapInput, I as AssetMapSchema, J as AssetMapping, K as AssetMappingInput, L as AssetMappingSchema, M as AssetUrl, N as AtomicEffect, O as CallServiceConfig, P as CallServiceEffect, Q as CheckpointLoadEffect, V as CheckpointSaveEffect, W as ConfigFieldDeclarationSchema, Y as DeclaredTraitConfigSchema, Z as DerefEffect, _ as DespawnEffect, $ as DoEffect, a0 as ENTITY_ROLES, a1 as EffectInput, a2 as EffectSchema, a3 as EmitConfig, a4 as EmitEffect, a5 as EntityData, a6 as EntityFieldContract, a7 as EntityFieldContractSchema, a8 as EntityFieldInput, a9 as EntityFieldSchema, aa as EntityPersistenceSchema, ab as EntityRole, ac as EntityRoleSchema, ad as EntitySchema, ae as EntityWith, af as EnumEntityField, ag as EvaluateConfig, ah as EvaluateEffect, aj as EventInput, l as EventPayloadField, ak as EventPayloadFieldSchema, al as EventSchema, am as EventScope, an as EventScopeSchema, ao as FetchEffect, ap as FetchOptions, aq as FetchResult, ar as Field, as as FieldFormat, at as FieldFormatSchema, au as FieldSchema, av as FieldType, aw as FieldTypeSchema, ay as ForwardConfig, az 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, a_ as PresentationType, a$ as RefEffect, b0 as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, R as RenderBinding, b3 as RenderItemLambda, b4 as RenderUIConfig, b as RenderUIEffect, b5 as RenderUINode, b6 as RequiredField, b7 as RequiredFieldSchema, b8 as ResolvedAsset, b9 as ResolvedAssetInput, ba as ResolvedAssetSchema, bb as ResolvedPatternProps, bc as RestAuthConfig, bd as RestAuthConfigSchema, be as RestServiceDef, bf as RestServiceDefSchema, bg as SERVICE_TYPES, bh as ScalarEntityField, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, m as ServiceDefinition, bl as ServiceDefinitionSchema, bn as ServiceParamsValue, S as ServiceRef, bo as ServiceRefObject, bp as ServiceRefObjectSchema, bq as ServiceRefSchema, br as ServiceRefStringSchema, bs as ServiceType, bt as ServiceTypeSchema, bu as SetEffect, bv as SocketEvents, bw as SocketEventsSchema, bx as SocketServiceDef, by as SocketServiceDefSchema, bz as SpawnEffect, bA as StateInput, bB as StateMachine, bC as StateMachineInput, bD as StateMachineSchema, bE as StateSchema, bF as SwapEffect, bG as TrainConfig, bH as TrainEffect, bJ as TraitCategorySchema, k as TraitConfigObject, bK as TraitConfigSchema, bM as TraitConfigValueSchema, bN as TraitDataEntity, bO as TraitDataEntitySchema, bP as TraitEntityField, bQ as TraitEntityFieldSchema, c as TraitEventContract, bR as TraitEventContractSchema, e as TraitEventListener, bS as TraitEventListenerSchema, bT as TraitInput, i as TraitRef, bU as TraitRefSchema, j as TraitReference, bV as TraitReferenceInput, bW as TraitReferenceSchema, bX as TraitSchema, bY as TraitTick, bZ as TraitTickSchema, b_ as TraitUIBinding, c0 as TransitionInput, c1 as TransitionSchema, c2 as TypedEffect, U as UISlot, c3 as UISlotSchema, c4 as UI_SLOTS, c5 as VISUAL_STYLES, c6 as VisualStyle, c7 as VisualStyleSchema, c8 as WatchEffect, c9 as WatchOptions, ca as atomic, cb as callService, cc as createAssetKey, cd as deref, ce as deriveCollection, cf as despawn, cg as doEffects, ch as emit, ci as findService, cj as getDefaultAnimationsForRole, ck as getServiceNames, cl as getTraitConfig, cm as getTraitName, cn as hasService, co as isCircuitEvent, cp as isEffect, cq as isInlineTrait, cr as isMcpService, cs as isRestService, ct as isRuntimeEntity, cu as isSExprEffect, cv as isServiceReference, cw as isServiceReferenceObject, cx as isSingletonEntity, cy as isSocketService, cz as navigate, cA as normalizeTraitRef, cB as notify, cC as parseAssetKey, cD as parseServiceRef, cE as persist, cF as ref, cG as renderUI, cH as set, cI as spawn, cJ as swap, cK as validateAssetAnimations, cL as watch } from '../trait-BkW6nFHo.js';
|
|
5
|
+
import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
|
|
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 {
|
|
10
|
+
import { c as FactoryConfigTier } from '../types-R0vBMx1v.js';
|
|
11
|
+
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-R0vBMx1v.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
package/dist/types/index.js
CHANGED
|
@@ -102,7 +102,6 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
102
102
|
scalarVariant("date"),
|
|
103
103
|
scalarVariant("timestamp"),
|
|
104
104
|
scalarVariant("datetime"),
|
|
105
|
-
scalarVariant("object"),
|
|
106
105
|
scalarVariant("trait"),
|
|
107
106
|
scalarVariant("slot"),
|
|
108
107
|
scalarVariant("pattern"),
|
|
@@ -123,6 +122,14 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
123
122
|
...baseFieldShape,
|
|
124
123
|
type: z.literal("array"),
|
|
125
124
|
items: EntityFieldSchema.optional()
|
|
125
|
+
}),
|
|
126
|
+
// Object variant — fixed-key struct (`properties`) or dynamic-key
|
|
127
|
+
// map (`Map K V`, uniform value schema in `items`).
|
|
128
|
+
z.object({
|
|
129
|
+
...baseFieldShape,
|
|
130
|
+
type: z.literal("object"),
|
|
131
|
+
items: EntityFieldSchema.optional(),
|
|
132
|
+
values: z.array(z.string()).optional()
|
|
126
133
|
})
|
|
127
134
|
])
|
|
128
135
|
);
|
|
@@ -143,6 +150,10 @@ var ENTITY_ROLES = [
|
|
|
143
150
|
var EntityRoleSchema = z.enum(ENTITY_ROLES);
|
|
144
151
|
var VISUAL_STYLES = ["pixel", "vector", "hd", "1-bit", "isometric"];
|
|
145
152
|
var VisualStyleSchema = z.enum(VISUAL_STYLES);
|
|
153
|
+
var ASSET_DIMENSIONS = ["2d", "3d"];
|
|
154
|
+
var AssetDimensionSchema = z.enum(ASSET_DIMENSIONS);
|
|
155
|
+
var ASSET_ASPECTS = ["1:1", "16:9", "5:7", "8:1"];
|
|
156
|
+
var AssetAspectSchema = z.enum(ASSET_ASPECTS);
|
|
146
157
|
var GAME_TYPES = [
|
|
147
158
|
"platformer",
|
|
148
159
|
"roguelike",
|
|
@@ -165,7 +176,9 @@ var SemanticAssetRefSchema = z.object({
|
|
|
165
176
|
category: z.string().min(1),
|
|
166
177
|
animations: z.array(z.string()).optional(),
|
|
167
178
|
style: VisualStyleSchema.optional(),
|
|
168
|
-
variant: z.string().optional()
|
|
179
|
+
variant: z.string().optional(),
|
|
180
|
+
dimension: AssetDimensionSchema.optional(),
|
|
181
|
+
aspect: AssetAspectSchema.optional()
|
|
169
182
|
});
|
|
170
183
|
var ResolvedAssetSchema = z.object({
|
|
171
184
|
basePath: z.string(),
|
|
@@ -193,7 +206,9 @@ var AssetCatalogEntrySchema = z.object({
|
|
|
193
206
|
name: z.string(),
|
|
194
207
|
category: z.string(),
|
|
195
208
|
kind: z.enum(["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]),
|
|
196
|
-
thumbnailUrl: z.string().optional()
|
|
209
|
+
thumbnailUrl: z.string().optional(),
|
|
210
|
+
dimension: AssetDimensionSchema.optional(),
|
|
211
|
+
aspect: AssetAspectSchema.optional()
|
|
197
212
|
});
|
|
198
213
|
var AssetCatalogSchema = z.array(AssetCatalogEntrySchema);
|
|
199
214
|
function createAssetKey(role, category) {
|
|
@@ -1933,6 +1948,6 @@ function widenTier(tier) {
|
|
|
1933
1948
|
return tier;
|
|
1934
1949
|
}
|
|
1935
1950
|
|
|
1936
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
1951
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
1937
1952
|
//# sourceMappingURL=index.js.map
|
|
1938
1953
|
//# sourceMappingURL=index.js.map
|