@almadar/core 10.42.0 → 10.44.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 +45 -27
- package/dist/builders.js.map +1 -1
- package/dist/{effect-D4os99OL.d.ts → effect-NbTgX2yB.d.ts} +65 -110
- package/dist/{expression-DpAj1RzP.d.ts → expression-Yf7qvvOs.d.ts} +85 -10
- package/dist/factory/index.d.ts +5 -6
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +45 -27
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +270 -113
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +1 -1
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +276 -10
- package/dist/patterns/index.js +117 -6
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +109 -4
- package/dist/patterns/registry.json +109 -4
- package/dist/{schema-C_lv_cta.d.ts → schema-DdcBBHkb.d.ts} +7240 -3158
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-BQIlqUHC.d.ts → trait-DdBiEffx.d.ts} +987 -98
- package/dist/types/index.d.ts +150 -50
- package/dist/types/index.js +154 -107
- package/dist/types/index.js.map +1 -1
- package/dist/{types-Bd_LX0j8.d.ts → types-B4NVh8V9.d.ts} +3 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +79 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-
|
|
2
|
-
import { E as Expression, S as SExpr } from './expression-
|
|
1
|
+
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-NbTgX2yB.js';
|
|
2
|
+
import { E as Expression, S as SExpr, J as JsonValue } from './expression-Yf7qvvOs.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -187,7 +187,7 @@ declare const TransitionSchema: z.ZodObject<{
|
|
|
187
187
|
event: z.ZodString;
|
|
188
188
|
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
189
189
|
guard: z.ZodOptional<z.ZodNullable<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
190
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
190
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
191
191
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
193
|
event: string;
|
|
@@ -196,7 +196,7 @@ declare const TransitionSchema: z.ZodObject<{
|
|
|
196
196
|
description?: string | null | undefined;
|
|
197
197
|
eventId?: EventId | undefined;
|
|
198
198
|
guard?: SExpr | undefined;
|
|
199
|
-
effects?:
|
|
199
|
+
effects?: SExpr[][] | undefined;
|
|
200
200
|
}, {
|
|
201
201
|
event: string;
|
|
202
202
|
from: string;
|
|
@@ -204,7 +204,7 @@ declare const TransitionSchema: z.ZodObject<{
|
|
|
204
204
|
description?: string | null | undefined;
|
|
205
205
|
eventId?: string | undefined;
|
|
206
206
|
guard?: SExpr | undefined;
|
|
207
|
-
effects?:
|
|
207
|
+
effects?: SExpr[][] | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
/**
|
|
210
210
|
* Complete state machine definition
|
|
@@ -282,7 +282,7 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
282
282
|
event: z.ZodString;
|
|
283
283
|
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
284
284
|
guard: z.ZodOptional<z.ZodNullable<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
285
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
285
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
286
286
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
288
|
event: string;
|
|
@@ -291,7 +291,7 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
291
291
|
description?: string | null | undefined;
|
|
292
292
|
eventId?: EventId | undefined;
|
|
293
293
|
guard?: SExpr | undefined;
|
|
294
|
-
effects?:
|
|
294
|
+
effects?: SExpr[][] | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
event: string;
|
|
297
297
|
from: string;
|
|
@@ -299,7 +299,7 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
299
299
|
description?: string | null | undefined;
|
|
300
300
|
eventId?: string | undefined;
|
|
301
301
|
guard?: SExpr | undefined;
|
|
302
|
-
effects?:
|
|
302
|
+
effects?: SExpr[][] | undefined;
|
|
303
303
|
}>, "many">;
|
|
304
304
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
305
|
name: z.ZodString;
|
|
@@ -342,7 +342,7 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
342
342
|
description?: string | null | undefined;
|
|
343
343
|
eventId?: EventId | undefined;
|
|
344
344
|
guard?: SExpr | undefined;
|
|
345
|
-
effects?:
|
|
345
|
+
effects?: SExpr[][] | undefined;
|
|
346
346
|
}[];
|
|
347
347
|
guards?: {
|
|
348
348
|
name: string;
|
|
@@ -377,7 +377,7 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
377
377
|
description?: string | null | undefined;
|
|
378
378
|
eventId?: string | undefined;
|
|
379
379
|
guard?: SExpr | undefined;
|
|
380
|
-
effects?:
|
|
380
|
+
effects?: SExpr[][] | undefined;
|
|
381
381
|
}[];
|
|
382
382
|
guards?: {
|
|
383
383
|
name: string;
|
|
@@ -668,12 +668,12 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
668
668
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
669
669
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
670
670
|
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
671
|
-
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
671
|
+
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">;
|
|
672
672
|
emits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
673
673
|
emitIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, EventId, string>, "many">>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
675
|
name: string;
|
|
676
|
-
effects:
|
|
676
|
+
effects: SExpr[][];
|
|
677
677
|
interval: string | number;
|
|
678
678
|
description?: string | undefined;
|
|
679
679
|
pages?: string[] | undefined;
|
|
@@ -685,7 +685,7 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
685
685
|
emitIds?: EventId[] | undefined;
|
|
686
686
|
}, {
|
|
687
687
|
name: string;
|
|
688
|
-
effects:
|
|
688
|
+
effects: SExpr[][];
|
|
689
689
|
interval: string | number;
|
|
690
690
|
description?: string | undefined;
|
|
691
691
|
pages?: string[] | undefined;
|
|
@@ -1156,7 +1156,103 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1156
1156
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1157
1157
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
1158
1158
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1159
|
-
listens: z.ZodOptional<z.ZodArray<z.
|
|
1159
|
+
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1160
|
+
event: z.ZodString;
|
|
1161
|
+
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
1162
|
+
triggers: z.ZodString;
|
|
1163
|
+
triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
1164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
synonyms: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
tier: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
1168
|
+
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
1169
|
+
payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
1170
|
+
source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1171
|
+
kind: z.ZodLiteral<"any">;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
kind: "any";
|
|
1174
|
+
}, {
|
|
1175
|
+
kind: "any";
|
|
1176
|
+
}>, z.ZodObject<{
|
|
1177
|
+
kind: z.ZodLiteral<"trait">;
|
|
1178
|
+
trait: z.ZodString;
|
|
1179
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
1180
|
+
}, "strip", z.ZodTypeAny, {
|
|
1181
|
+
trait: string;
|
|
1182
|
+
kind: "trait";
|
|
1183
|
+
traitId?: TraitId | undefined;
|
|
1184
|
+
}, {
|
|
1185
|
+
trait: string;
|
|
1186
|
+
kind: "trait";
|
|
1187
|
+
traitId?: string | undefined;
|
|
1188
|
+
}>, z.ZodObject<{
|
|
1189
|
+
kind: z.ZodLiteral<"orbital">;
|
|
1190
|
+
orbital: z.ZodString;
|
|
1191
|
+
trait: z.ZodString;
|
|
1192
|
+
orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
|
|
1193
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
1194
|
+
}, "strip", z.ZodTypeAny, {
|
|
1195
|
+
orbital: string;
|
|
1196
|
+
trait: string;
|
|
1197
|
+
kind: "orbital";
|
|
1198
|
+
traitId?: TraitId | undefined;
|
|
1199
|
+
orbitalId?: OrbitalId | undefined;
|
|
1200
|
+
}, {
|
|
1201
|
+
orbital: string;
|
|
1202
|
+
trait: string;
|
|
1203
|
+
kind: "orbital";
|
|
1204
|
+
traitId?: string | undefined;
|
|
1205
|
+
orbitalId?: string | undefined;
|
|
1206
|
+
}>]>>;
|
|
1207
|
+
}, "strip", z.ZodTypeAny, {
|
|
1208
|
+
event: string;
|
|
1209
|
+
triggers: string;
|
|
1210
|
+
description?: string | undefined;
|
|
1211
|
+
synonyms?: string | undefined;
|
|
1212
|
+
source?: {
|
|
1213
|
+
kind: "any";
|
|
1214
|
+
} | {
|
|
1215
|
+
trait: string;
|
|
1216
|
+
kind: "trait";
|
|
1217
|
+
traitId?: TraitId | undefined;
|
|
1218
|
+
} | {
|
|
1219
|
+
orbital: string;
|
|
1220
|
+
trait: string;
|
|
1221
|
+
kind: "orbital";
|
|
1222
|
+
traitId?: TraitId | undefined;
|
|
1223
|
+
orbitalId?: OrbitalId | undefined;
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
scope?: "internal" | "external" | undefined;
|
|
1226
|
+
tier?: string | undefined;
|
|
1227
|
+
eventId?: EventId | undefined;
|
|
1228
|
+
guard?: SExpr | undefined;
|
|
1229
|
+
triggersId?: EventId | undefined;
|
|
1230
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1231
|
+
}, {
|
|
1232
|
+
event: string;
|
|
1233
|
+
triggers: string;
|
|
1234
|
+
description?: string | undefined;
|
|
1235
|
+
synonyms?: string | undefined;
|
|
1236
|
+
source?: {
|
|
1237
|
+
kind: "any";
|
|
1238
|
+
} | {
|
|
1239
|
+
trait: string;
|
|
1240
|
+
kind: "trait";
|
|
1241
|
+
traitId?: string | undefined;
|
|
1242
|
+
} | {
|
|
1243
|
+
orbital: string;
|
|
1244
|
+
trait: string;
|
|
1245
|
+
kind: "orbital";
|
|
1246
|
+
traitId?: string | undefined;
|
|
1247
|
+
orbitalId?: string | undefined;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
scope?: "internal" | "external" | undefined;
|
|
1250
|
+
tier?: string | undefined;
|
|
1251
|
+
eventId?: string | undefined;
|
|
1252
|
+
guard?: SExpr | undefined;
|
|
1253
|
+
triggersId?: string | undefined;
|
|
1254
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1255
|
+
}>, "many">>;
|
|
1160
1256
|
emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
1161
1257
|
effects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">>>;
|
|
1162
1258
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1173,7 +1269,31 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1173
1269
|
linkedEntity?: string | undefined;
|
|
1174
1270
|
linkedEntityId?: EntityId | undefined;
|
|
1175
1271
|
eventIds?: Record<string, EventId> | undefined;
|
|
1176
|
-
listens?:
|
|
1272
|
+
listens?: {
|
|
1273
|
+
event: string;
|
|
1274
|
+
triggers: string;
|
|
1275
|
+
description?: string | undefined;
|
|
1276
|
+
synonyms?: string | undefined;
|
|
1277
|
+
source?: {
|
|
1278
|
+
kind: "any";
|
|
1279
|
+
} | {
|
|
1280
|
+
trait: string;
|
|
1281
|
+
kind: "trait";
|
|
1282
|
+
traitId?: TraitId | undefined;
|
|
1283
|
+
} | {
|
|
1284
|
+
orbital: string;
|
|
1285
|
+
trait: string;
|
|
1286
|
+
kind: "orbital";
|
|
1287
|
+
traitId?: TraitId | undefined;
|
|
1288
|
+
orbitalId?: OrbitalId | undefined;
|
|
1289
|
+
} | undefined;
|
|
1290
|
+
scope?: "internal" | "external" | undefined;
|
|
1291
|
+
tier?: string | undefined;
|
|
1292
|
+
eventId?: EventId | undefined;
|
|
1293
|
+
guard?: SExpr | undefined;
|
|
1294
|
+
triggersId?: EventId | undefined;
|
|
1295
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1296
|
+
}[] | undefined;
|
|
1177
1297
|
emitsScope?: "internal" | "external" | undefined;
|
|
1178
1298
|
}, {
|
|
1179
1299
|
ref: string;
|
|
@@ -1189,7 +1309,31 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1189
1309
|
linkedEntity?: string | undefined;
|
|
1190
1310
|
linkedEntityId?: string | undefined;
|
|
1191
1311
|
eventIds?: Record<string, string> | undefined;
|
|
1192
|
-
listens?:
|
|
1312
|
+
listens?: {
|
|
1313
|
+
event: string;
|
|
1314
|
+
triggers: string;
|
|
1315
|
+
description?: string | undefined;
|
|
1316
|
+
synonyms?: string | undefined;
|
|
1317
|
+
source?: {
|
|
1318
|
+
kind: "any";
|
|
1319
|
+
} | {
|
|
1320
|
+
trait: string;
|
|
1321
|
+
kind: "trait";
|
|
1322
|
+
traitId?: string | undefined;
|
|
1323
|
+
} | {
|
|
1324
|
+
orbital: string;
|
|
1325
|
+
trait: string;
|
|
1326
|
+
kind: "orbital";
|
|
1327
|
+
traitId?: string | undefined;
|
|
1328
|
+
orbitalId?: string | undefined;
|
|
1329
|
+
} | undefined;
|
|
1330
|
+
scope?: "internal" | "external" | undefined;
|
|
1331
|
+
tier?: string | undefined;
|
|
1332
|
+
eventId?: string | undefined;
|
|
1333
|
+
guard?: SExpr | undefined;
|
|
1334
|
+
triggersId?: string | undefined;
|
|
1335
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1336
|
+
}[] | undefined;
|
|
1193
1337
|
emitsScope?: "internal" | "external" | undefined;
|
|
1194
1338
|
}>, {
|
|
1195
1339
|
ref: string;
|
|
@@ -1205,7 +1349,31 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1205
1349
|
linkedEntity?: string | undefined;
|
|
1206
1350
|
linkedEntityId?: EntityId | undefined;
|
|
1207
1351
|
eventIds?: Record<string, EventId> | undefined;
|
|
1208
|
-
listens?:
|
|
1352
|
+
listens?: {
|
|
1353
|
+
event: string;
|
|
1354
|
+
triggers: string;
|
|
1355
|
+
description?: string | undefined;
|
|
1356
|
+
synonyms?: string | undefined;
|
|
1357
|
+
source?: {
|
|
1358
|
+
kind: "any";
|
|
1359
|
+
} | {
|
|
1360
|
+
trait: string;
|
|
1361
|
+
kind: "trait";
|
|
1362
|
+
traitId?: TraitId | undefined;
|
|
1363
|
+
} | {
|
|
1364
|
+
orbital: string;
|
|
1365
|
+
trait: string;
|
|
1366
|
+
kind: "orbital";
|
|
1367
|
+
traitId?: TraitId | undefined;
|
|
1368
|
+
orbitalId?: OrbitalId | undefined;
|
|
1369
|
+
} | undefined;
|
|
1370
|
+
scope?: "internal" | "external" | undefined;
|
|
1371
|
+
tier?: string | undefined;
|
|
1372
|
+
eventId?: EventId | undefined;
|
|
1373
|
+
guard?: SExpr | undefined;
|
|
1374
|
+
triggersId?: EventId | undefined;
|
|
1375
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1376
|
+
}[] | undefined;
|
|
1209
1377
|
emitsScope?: "internal" | "external" | undefined;
|
|
1210
1378
|
}, {
|
|
1211
1379
|
ref: string;
|
|
@@ -1221,7 +1389,31 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1221
1389
|
linkedEntity?: string | undefined;
|
|
1222
1390
|
linkedEntityId?: string | undefined;
|
|
1223
1391
|
eventIds?: Record<string, string> | undefined;
|
|
1224
|
-
listens?:
|
|
1392
|
+
listens?: {
|
|
1393
|
+
event: string;
|
|
1394
|
+
triggers: string;
|
|
1395
|
+
description?: string | undefined;
|
|
1396
|
+
synonyms?: string | undefined;
|
|
1397
|
+
source?: {
|
|
1398
|
+
kind: "any";
|
|
1399
|
+
} | {
|
|
1400
|
+
trait: string;
|
|
1401
|
+
kind: "trait";
|
|
1402
|
+
traitId?: string | undefined;
|
|
1403
|
+
} | {
|
|
1404
|
+
orbital: string;
|
|
1405
|
+
trait: string;
|
|
1406
|
+
kind: "orbital";
|
|
1407
|
+
traitId?: string | undefined;
|
|
1408
|
+
orbitalId?: string | undefined;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
scope?: "internal" | "external" | undefined;
|
|
1411
|
+
tier?: string | undefined;
|
|
1412
|
+
eventId?: string | undefined;
|
|
1413
|
+
guard?: SExpr | undefined;
|
|
1414
|
+
triggersId?: string | undefined;
|
|
1415
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1416
|
+
}[] | undefined;
|
|
1225
1417
|
emitsScope?: "internal" | "external" | undefined;
|
|
1226
1418
|
}>;
|
|
1227
1419
|
/**
|
|
@@ -1257,6 +1449,70 @@ type TraitUIBinding = {
|
|
|
1257
1449
|
};
|
|
1258
1450
|
};
|
|
1259
1451
|
};
|
|
1452
|
+
/**
|
|
1453
|
+
* Zod schema for {@link TraitUIBinding}. `content` is a pattern config (or
|
|
1454
|
+
* list of them); pattern configs have no dedicated zod schema in core, so
|
|
1455
|
+
* they are validated as JSON objects here and narrowed by downstream
|
|
1456
|
+
* pattern-aware consumers.
|
|
1457
|
+
*/
|
|
1458
|
+
declare const TraitUIBindingSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1459
|
+
presentation: z.ZodEnum<["modal", "drawer", "popover", "inline", "confirm-dialog"]>;
|
|
1460
|
+
content: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">]>;
|
|
1461
|
+
props: z.ZodOptional<z.ZodObject<{
|
|
1462
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
|
|
1463
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right", "top", "bottom", "center"]>>;
|
|
1464
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
closable: z.ZodOptional<z.ZodBoolean>;
|
|
1466
|
+
width: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
showProgress: z.ZodOptional<z.ZodBoolean>;
|
|
1468
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
1469
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
1470
|
+
}, "strip", z.ZodTypeAny, {
|
|
1471
|
+
width?: string | undefined;
|
|
1472
|
+
title?: string | undefined;
|
|
1473
|
+
totalSteps?: number | undefined;
|
|
1474
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1475
|
+
step?: number | undefined;
|
|
1476
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
1477
|
+
showProgress?: boolean | undefined;
|
|
1478
|
+
closable?: boolean | undefined;
|
|
1479
|
+
}, {
|
|
1480
|
+
width?: string | undefined;
|
|
1481
|
+
title?: string | undefined;
|
|
1482
|
+
totalSteps?: number | undefined;
|
|
1483
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1484
|
+
step?: number | undefined;
|
|
1485
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
1486
|
+
showProgress?: boolean | undefined;
|
|
1487
|
+
closable?: boolean | undefined;
|
|
1488
|
+
}>>;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
1491
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
1492
|
+
props?: {
|
|
1493
|
+
width?: string | undefined;
|
|
1494
|
+
title?: string | undefined;
|
|
1495
|
+
totalSteps?: number | undefined;
|
|
1496
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1497
|
+
step?: number | undefined;
|
|
1498
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
1499
|
+
showProgress?: boolean | undefined;
|
|
1500
|
+
closable?: boolean | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
}, {
|
|
1503
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
1504
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
1505
|
+
props?: {
|
|
1506
|
+
width?: string | undefined;
|
|
1507
|
+
title?: string | undefined;
|
|
1508
|
+
totalSteps?: number | undefined;
|
|
1509
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1510
|
+
step?: number | undefined;
|
|
1511
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
1512
|
+
showProgress?: boolean | undefined;
|
|
1513
|
+
closable?: boolean | undefined;
|
|
1514
|
+
} | undefined;
|
|
1515
|
+
}>>;
|
|
1260
1516
|
/**
|
|
1261
1517
|
* A Trait is a reusable behavioral module with state machine.
|
|
1262
1518
|
*
|
|
@@ -1553,7 +1809,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1553
1809
|
event: z.ZodString;
|
|
1554
1810
|
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
1555
1811
|
guard: z.ZodOptional<z.ZodNullable<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
1556
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
1812
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
1557
1813
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1558
1814
|
}, "strip", z.ZodTypeAny, {
|
|
1559
1815
|
event: string;
|
|
@@ -1562,7 +1818,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1562
1818
|
description?: string | null | undefined;
|
|
1563
1819
|
eventId?: EventId | undefined;
|
|
1564
1820
|
guard?: SExpr | undefined;
|
|
1565
|
-
effects?:
|
|
1821
|
+
effects?: SExpr[][] | undefined;
|
|
1566
1822
|
}, {
|
|
1567
1823
|
event: string;
|
|
1568
1824
|
from: string;
|
|
@@ -1570,7 +1826,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1570
1826
|
description?: string | null | undefined;
|
|
1571
1827
|
eventId?: string | undefined;
|
|
1572
1828
|
guard?: SExpr | undefined;
|
|
1573
|
-
effects?:
|
|
1829
|
+
effects?: SExpr[][] | undefined;
|
|
1574
1830
|
}>, "many">;
|
|
1575
1831
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1576
1832
|
name: z.ZodString;
|
|
@@ -1613,7 +1869,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1613
1869
|
description?: string | null | undefined;
|
|
1614
1870
|
eventId?: EventId | undefined;
|
|
1615
1871
|
guard?: SExpr | undefined;
|
|
1616
|
-
effects?:
|
|
1872
|
+
effects?: SExpr[][] | undefined;
|
|
1617
1873
|
}[];
|
|
1618
1874
|
guards?: {
|
|
1619
1875
|
name: string;
|
|
@@ -1648,7 +1904,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1648
1904
|
description?: string | null | undefined;
|
|
1649
1905
|
eventId?: string | undefined;
|
|
1650
1906
|
guard?: SExpr | undefined;
|
|
1651
|
-
effects?:
|
|
1907
|
+
effects?: SExpr[][] | undefined;
|
|
1652
1908
|
}[];
|
|
1653
1909
|
guards?: {
|
|
1654
1910
|
name: string;
|
|
@@ -1656,7 +1912,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1656
1912
|
description?: string | undefined;
|
|
1657
1913
|
}[] | undefined;
|
|
1658
1914
|
}>>;
|
|
1659
|
-
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
1915
|
+
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
1660
1916
|
ticks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1661
1917
|
name: z.ZodString;
|
|
1662
1918
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1666,12 +1922,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1666
1922
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1667
1923
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
1668
1924
|
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
1669
|
-
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
1925
|
+
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">;
|
|
1670
1926
|
emits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1671
1927
|
emitIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, EventId, string>, "many">>;
|
|
1672
1928
|
}, "strip", z.ZodTypeAny, {
|
|
1673
1929
|
name: string;
|
|
1674
|
-
effects:
|
|
1930
|
+
effects: SExpr[][];
|
|
1675
1931
|
interval: string | number;
|
|
1676
1932
|
description?: string | undefined;
|
|
1677
1933
|
pages?: string[] | undefined;
|
|
@@ -1683,7 +1939,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1683
1939
|
emitIds?: EventId[] | undefined;
|
|
1684
1940
|
}, {
|
|
1685
1941
|
name: string;
|
|
1686
|
-
effects:
|
|
1942
|
+
effects: SExpr[][];
|
|
1687
1943
|
interval: string | number;
|
|
1688
1944
|
description?: string | undefined;
|
|
1689
1945
|
pages?: string[] | undefined;
|
|
@@ -1825,7 +2081,64 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1825
2081
|
triggersId?: string | undefined;
|
|
1826
2082
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1827
2083
|
}>, "many">>;
|
|
1828
|
-
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2084
|
+
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2085
|
+
presentation: z.ZodEnum<["modal", "drawer", "popover", "inline", "confirm-dialog"]>;
|
|
2086
|
+
content: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">]>;
|
|
2087
|
+
props: z.ZodOptional<z.ZodObject<{
|
|
2088
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
|
|
2089
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right", "top", "bottom", "center"]>>;
|
|
2090
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
closable: z.ZodOptional<z.ZodBoolean>;
|
|
2092
|
+
width: z.ZodOptional<z.ZodString>;
|
|
2093
|
+
showProgress: z.ZodOptional<z.ZodBoolean>;
|
|
2094
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
2096
|
+
}, "strip", z.ZodTypeAny, {
|
|
2097
|
+
width?: string | undefined;
|
|
2098
|
+
title?: string | undefined;
|
|
2099
|
+
totalSteps?: number | undefined;
|
|
2100
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2101
|
+
step?: number | undefined;
|
|
2102
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2103
|
+
showProgress?: boolean | undefined;
|
|
2104
|
+
closable?: boolean | undefined;
|
|
2105
|
+
}, {
|
|
2106
|
+
width?: string | undefined;
|
|
2107
|
+
title?: string | undefined;
|
|
2108
|
+
totalSteps?: number | undefined;
|
|
2109
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2110
|
+
step?: number | undefined;
|
|
2111
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2112
|
+
showProgress?: boolean | undefined;
|
|
2113
|
+
closable?: boolean | undefined;
|
|
2114
|
+
}>>;
|
|
2115
|
+
}, "strip", z.ZodTypeAny, {
|
|
2116
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
2117
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
2118
|
+
props?: {
|
|
2119
|
+
width?: string | undefined;
|
|
2120
|
+
title?: string | undefined;
|
|
2121
|
+
totalSteps?: number | undefined;
|
|
2122
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2123
|
+
step?: number | undefined;
|
|
2124
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2125
|
+
showProgress?: boolean | undefined;
|
|
2126
|
+
closable?: boolean | undefined;
|
|
2127
|
+
} | undefined;
|
|
2128
|
+
}, {
|
|
2129
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
2130
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
2131
|
+
props?: {
|
|
2132
|
+
width?: string | undefined;
|
|
2133
|
+
title?: string | undefined;
|
|
2134
|
+
totalSteps?: number | undefined;
|
|
2135
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2136
|
+
step?: number | undefined;
|
|
2137
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2138
|
+
showProgress?: boolean | undefined;
|
|
2139
|
+
closable?: boolean | undefined;
|
|
2140
|
+
} | undefined;
|
|
2141
|
+
}>>>;
|
|
1829
2142
|
config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
|
|
1830
2143
|
sourceBehavior: z.ZodOptional<z.ZodObject<{
|
|
1831
2144
|
behavior: z.ZodString;
|
|
@@ -1847,7 +2160,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1847
2160
|
identity: z.ZodOptional<z.ZodBoolean>;
|
|
1848
2161
|
collection: z.ZodOptional<z.ZodString>;
|
|
1849
2162
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
1850
|
-
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.
|
|
2163
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">>;
|
|
1851
2164
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
1852
2165
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
1853
2166
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1885,7 +2198,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1885
2198
|
shared?: boolean | undefined;
|
|
1886
2199
|
identity?: boolean | undefined;
|
|
1887
2200
|
collection?: string | undefined;
|
|
1888
|
-
instances?: Record<string,
|
|
2201
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
1889
2202
|
timestamps?: boolean | undefined;
|
|
1890
2203
|
softDelete?: boolean | undefined;
|
|
1891
2204
|
visual_prompt?: string | undefined;
|
|
@@ -1906,7 +2219,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1906
2219
|
shared?: boolean | undefined;
|
|
1907
2220
|
identity?: boolean | undefined;
|
|
1908
2221
|
collection?: string | undefined;
|
|
1909
|
-
instances?: Record<string,
|
|
2222
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
1910
2223
|
timestamps?: boolean | undefined;
|
|
1911
2224
|
softDelete?: boolean | undefined;
|
|
1912
2225
|
visual_prompt?: string | undefined;
|
|
@@ -1925,7 +2238,20 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1925
2238
|
scope: "collection" | "instance";
|
|
1926
2239
|
id?: TraitId | undefined;
|
|
1927
2240
|
description?: string | undefined;
|
|
1928
|
-
ui?: Record<string,
|
|
2241
|
+
ui?: Record<string, {
|
|
2242
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
2243
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
2244
|
+
props?: {
|
|
2245
|
+
width?: string | undefined;
|
|
2246
|
+
title?: string | undefined;
|
|
2247
|
+
totalSteps?: number | undefined;
|
|
2248
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2249
|
+
step?: number | undefined;
|
|
2250
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2251
|
+
showProgress?: boolean | undefined;
|
|
2252
|
+
closable?: boolean | undefined;
|
|
2253
|
+
} | undefined;
|
|
2254
|
+
}> | undefined;
|
|
1929
2255
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
1930
2256
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
1931
2257
|
capabilities?: string[] | undefined;
|
|
@@ -1967,7 +2293,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1967
2293
|
description?: string | null | undefined;
|
|
1968
2294
|
eventId?: EventId | undefined;
|
|
1969
2295
|
guard?: SExpr | undefined;
|
|
1970
|
-
effects?:
|
|
2296
|
+
effects?: SExpr[][] | undefined;
|
|
1971
2297
|
}[];
|
|
1972
2298
|
guards?: {
|
|
1973
2299
|
name: string;
|
|
@@ -2026,10 +2352,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2026
2352
|
name: string;
|
|
2027
2353
|
description?: string | undefined;
|
|
2028
2354
|
}[] | undefined;
|
|
2029
|
-
initialEffects?:
|
|
2355
|
+
initialEffects?: SExpr[][] | undefined;
|
|
2030
2356
|
ticks?: {
|
|
2031
2357
|
name: string;
|
|
2032
|
-
effects:
|
|
2358
|
+
effects: SExpr[][];
|
|
2033
2359
|
interval: string | number;
|
|
2034
2360
|
description?: string | undefined;
|
|
2035
2361
|
pages?: string[] | undefined;
|
|
@@ -2053,7 +2379,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2053
2379
|
shared?: boolean | undefined;
|
|
2054
2380
|
identity?: boolean | undefined;
|
|
2055
2381
|
collection?: string | undefined;
|
|
2056
|
-
instances?: Record<string,
|
|
2382
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
2057
2383
|
timestamps?: boolean | undefined;
|
|
2058
2384
|
softDelete?: boolean | undefined;
|
|
2059
2385
|
visual_prompt?: string | undefined;
|
|
@@ -2072,7 +2398,20 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2072
2398
|
scope: "collection" | "instance";
|
|
2073
2399
|
id?: string | undefined;
|
|
2074
2400
|
description?: string | undefined;
|
|
2075
|
-
ui?: Record<string,
|
|
2401
|
+
ui?: Record<string, {
|
|
2402
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
2403
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
2404
|
+
props?: {
|
|
2405
|
+
width?: string | undefined;
|
|
2406
|
+
title?: string | undefined;
|
|
2407
|
+
totalSteps?: number | undefined;
|
|
2408
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2409
|
+
step?: number | undefined;
|
|
2410
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
2411
|
+
showProgress?: boolean | undefined;
|
|
2412
|
+
closable?: boolean | undefined;
|
|
2413
|
+
} | undefined;
|
|
2414
|
+
}> | undefined;
|
|
2076
2415
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2077
2416
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
2078
2417
|
capabilities?: string[] | undefined;
|
|
@@ -2114,7 +2453,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2114
2453
|
description?: string | null | undefined;
|
|
2115
2454
|
eventId?: string | undefined;
|
|
2116
2455
|
guard?: SExpr | undefined;
|
|
2117
|
-
effects?:
|
|
2456
|
+
effects?: SExpr[][] | undefined;
|
|
2118
2457
|
}[];
|
|
2119
2458
|
guards?: {
|
|
2120
2459
|
name: string;
|
|
@@ -2173,10 +2512,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2173
2512
|
name: string;
|
|
2174
2513
|
description?: string | undefined;
|
|
2175
2514
|
}[] | undefined;
|
|
2176
|
-
initialEffects?:
|
|
2515
|
+
initialEffects?: SExpr[][] | undefined;
|
|
2177
2516
|
ticks?: {
|
|
2178
2517
|
name: string;
|
|
2179
|
-
effects:
|
|
2518
|
+
effects: SExpr[][];
|
|
2180
2519
|
interval: string | number;
|
|
2181
2520
|
description?: string | undefined;
|
|
2182
2521
|
pages?: string[] | undefined;
|
|
@@ -2200,7 +2539,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2200
2539
|
shared?: boolean | undefined;
|
|
2201
2540
|
identity?: boolean | undefined;
|
|
2202
2541
|
collection?: string | undefined;
|
|
2203
|
-
instances?: Record<string,
|
|
2542
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
2204
2543
|
timestamps?: boolean | undefined;
|
|
2205
2544
|
softDelete?: boolean | undefined;
|
|
2206
2545
|
visual_prompt?: string | undefined;
|
|
@@ -2228,7 +2567,103 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2228
2567
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2229
2568
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
2230
2569
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2231
|
-
listens: z.ZodOptional<z.ZodArray<z.
|
|
2570
|
+
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2571
|
+
event: z.ZodString;
|
|
2572
|
+
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
2573
|
+
triggers: z.ZodString;
|
|
2574
|
+
triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
2575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
synonyms: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
tier: z.ZodOptional<z.ZodString>;
|
|
2578
|
+
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
2579
|
+
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
2580
|
+
payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
2581
|
+
source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2582
|
+
kind: z.ZodLiteral<"any">;
|
|
2583
|
+
}, "strip", z.ZodTypeAny, {
|
|
2584
|
+
kind: "any";
|
|
2585
|
+
}, {
|
|
2586
|
+
kind: "any";
|
|
2587
|
+
}>, z.ZodObject<{
|
|
2588
|
+
kind: z.ZodLiteral<"trait">;
|
|
2589
|
+
trait: z.ZodString;
|
|
2590
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
2591
|
+
}, "strip", z.ZodTypeAny, {
|
|
2592
|
+
trait: string;
|
|
2593
|
+
kind: "trait";
|
|
2594
|
+
traitId?: TraitId | undefined;
|
|
2595
|
+
}, {
|
|
2596
|
+
trait: string;
|
|
2597
|
+
kind: "trait";
|
|
2598
|
+
traitId?: string | undefined;
|
|
2599
|
+
}>, z.ZodObject<{
|
|
2600
|
+
kind: z.ZodLiteral<"orbital">;
|
|
2601
|
+
orbital: z.ZodString;
|
|
2602
|
+
trait: z.ZodString;
|
|
2603
|
+
orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
|
|
2604
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
2605
|
+
}, "strip", z.ZodTypeAny, {
|
|
2606
|
+
orbital: string;
|
|
2607
|
+
trait: string;
|
|
2608
|
+
kind: "orbital";
|
|
2609
|
+
traitId?: TraitId | undefined;
|
|
2610
|
+
orbitalId?: OrbitalId | undefined;
|
|
2611
|
+
}, {
|
|
2612
|
+
orbital: string;
|
|
2613
|
+
trait: string;
|
|
2614
|
+
kind: "orbital";
|
|
2615
|
+
traitId?: string | undefined;
|
|
2616
|
+
orbitalId?: string | undefined;
|
|
2617
|
+
}>]>>;
|
|
2618
|
+
}, "strip", z.ZodTypeAny, {
|
|
2619
|
+
event: string;
|
|
2620
|
+
triggers: string;
|
|
2621
|
+
description?: string | undefined;
|
|
2622
|
+
synonyms?: string | undefined;
|
|
2623
|
+
source?: {
|
|
2624
|
+
kind: "any";
|
|
2625
|
+
} | {
|
|
2626
|
+
trait: string;
|
|
2627
|
+
kind: "trait";
|
|
2628
|
+
traitId?: TraitId | undefined;
|
|
2629
|
+
} | {
|
|
2630
|
+
orbital: string;
|
|
2631
|
+
trait: string;
|
|
2632
|
+
kind: "orbital";
|
|
2633
|
+
traitId?: TraitId | undefined;
|
|
2634
|
+
orbitalId?: OrbitalId | undefined;
|
|
2635
|
+
} | undefined;
|
|
2636
|
+
scope?: "internal" | "external" | undefined;
|
|
2637
|
+
tier?: string | undefined;
|
|
2638
|
+
eventId?: EventId | undefined;
|
|
2639
|
+
guard?: SExpr | undefined;
|
|
2640
|
+
triggersId?: EventId | undefined;
|
|
2641
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2642
|
+
}, {
|
|
2643
|
+
event: string;
|
|
2644
|
+
triggers: string;
|
|
2645
|
+
description?: string | undefined;
|
|
2646
|
+
synonyms?: string | undefined;
|
|
2647
|
+
source?: {
|
|
2648
|
+
kind: "any";
|
|
2649
|
+
} | {
|
|
2650
|
+
trait: string;
|
|
2651
|
+
kind: "trait";
|
|
2652
|
+
traitId?: string | undefined;
|
|
2653
|
+
} | {
|
|
2654
|
+
orbital: string;
|
|
2655
|
+
trait: string;
|
|
2656
|
+
kind: "orbital";
|
|
2657
|
+
traitId?: string | undefined;
|
|
2658
|
+
orbitalId?: string | undefined;
|
|
2659
|
+
} | undefined;
|
|
2660
|
+
scope?: "internal" | "external" | undefined;
|
|
2661
|
+
tier?: string | undefined;
|
|
2662
|
+
eventId?: string | undefined;
|
|
2663
|
+
guard?: SExpr | undefined;
|
|
2664
|
+
triggersId?: string | undefined;
|
|
2665
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2666
|
+
}>, "many">>;
|
|
2232
2667
|
emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
2233
2668
|
effects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">>>;
|
|
2234
2669
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2245,7 +2680,31 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2245
2680
|
linkedEntity?: string | undefined;
|
|
2246
2681
|
linkedEntityId?: EntityId | undefined;
|
|
2247
2682
|
eventIds?: Record<string, EventId> | undefined;
|
|
2248
|
-
listens?:
|
|
2683
|
+
listens?: {
|
|
2684
|
+
event: string;
|
|
2685
|
+
triggers: string;
|
|
2686
|
+
description?: string | undefined;
|
|
2687
|
+
synonyms?: string | undefined;
|
|
2688
|
+
source?: {
|
|
2689
|
+
kind: "any";
|
|
2690
|
+
} | {
|
|
2691
|
+
trait: string;
|
|
2692
|
+
kind: "trait";
|
|
2693
|
+
traitId?: TraitId | undefined;
|
|
2694
|
+
} | {
|
|
2695
|
+
orbital: string;
|
|
2696
|
+
trait: string;
|
|
2697
|
+
kind: "orbital";
|
|
2698
|
+
traitId?: TraitId | undefined;
|
|
2699
|
+
orbitalId?: OrbitalId | undefined;
|
|
2700
|
+
} | undefined;
|
|
2701
|
+
scope?: "internal" | "external" | undefined;
|
|
2702
|
+
tier?: string | undefined;
|
|
2703
|
+
eventId?: EventId | undefined;
|
|
2704
|
+
guard?: SExpr | undefined;
|
|
2705
|
+
triggersId?: EventId | undefined;
|
|
2706
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2707
|
+
}[] | undefined;
|
|
2249
2708
|
emitsScope?: "internal" | "external" | undefined;
|
|
2250
2709
|
}, {
|
|
2251
2710
|
ref: string;
|
|
@@ -2261,7 +2720,31 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2261
2720
|
linkedEntity?: string | undefined;
|
|
2262
2721
|
linkedEntityId?: string | undefined;
|
|
2263
2722
|
eventIds?: Record<string, string> | undefined;
|
|
2264
|
-
listens?:
|
|
2723
|
+
listens?: {
|
|
2724
|
+
event: string;
|
|
2725
|
+
triggers: string;
|
|
2726
|
+
description?: string | undefined;
|
|
2727
|
+
synonyms?: string | undefined;
|
|
2728
|
+
source?: {
|
|
2729
|
+
kind: "any";
|
|
2730
|
+
} | {
|
|
2731
|
+
trait: string;
|
|
2732
|
+
kind: "trait";
|
|
2733
|
+
traitId?: string | undefined;
|
|
2734
|
+
} | {
|
|
2735
|
+
orbital: string;
|
|
2736
|
+
trait: string;
|
|
2737
|
+
kind: "orbital";
|
|
2738
|
+
traitId?: string | undefined;
|
|
2739
|
+
orbitalId?: string | undefined;
|
|
2740
|
+
} | undefined;
|
|
2741
|
+
scope?: "internal" | "external" | undefined;
|
|
2742
|
+
tier?: string | undefined;
|
|
2743
|
+
eventId?: string | undefined;
|
|
2744
|
+
guard?: SExpr | undefined;
|
|
2745
|
+
triggersId?: string | undefined;
|
|
2746
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2747
|
+
}[] | undefined;
|
|
2265
2748
|
emitsScope?: "internal" | "external" | undefined;
|
|
2266
2749
|
}>, {
|
|
2267
2750
|
ref: string;
|
|
@@ -2277,7 +2760,31 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2277
2760
|
linkedEntity?: string | undefined;
|
|
2278
2761
|
linkedEntityId?: EntityId | undefined;
|
|
2279
2762
|
eventIds?: Record<string, EventId> | undefined;
|
|
2280
|
-
listens?:
|
|
2763
|
+
listens?: {
|
|
2764
|
+
event: string;
|
|
2765
|
+
triggers: string;
|
|
2766
|
+
description?: string | undefined;
|
|
2767
|
+
synonyms?: string | undefined;
|
|
2768
|
+
source?: {
|
|
2769
|
+
kind: "any";
|
|
2770
|
+
} | {
|
|
2771
|
+
trait: string;
|
|
2772
|
+
kind: "trait";
|
|
2773
|
+
traitId?: TraitId | undefined;
|
|
2774
|
+
} | {
|
|
2775
|
+
orbital: string;
|
|
2776
|
+
trait: string;
|
|
2777
|
+
kind: "orbital";
|
|
2778
|
+
traitId?: TraitId | undefined;
|
|
2779
|
+
orbitalId?: OrbitalId | undefined;
|
|
2780
|
+
} | undefined;
|
|
2781
|
+
scope?: "internal" | "external" | undefined;
|
|
2782
|
+
tier?: string | undefined;
|
|
2783
|
+
eventId?: EventId | undefined;
|
|
2784
|
+
guard?: SExpr | undefined;
|
|
2785
|
+
triggersId?: EventId | undefined;
|
|
2786
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2787
|
+
}[] | undefined;
|
|
2281
2788
|
emitsScope?: "internal" | "external" | undefined;
|
|
2282
2789
|
}, {
|
|
2283
2790
|
ref: string;
|
|
@@ -2293,7 +2800,31 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2293
2800
|
linkedEntity?: string | undefined;
|
|
2294
2801
|
linkedEntityId?: string | undefined;
|
|
2295
2802
|
eventIds?: Record<string, string> | undefined;
|
|
2296
|
-
listens?:
|
|
2803
|
+
listens?: {
|
|
2804
|
+
event: string;
|
|
2805
|
+
triggers: string;
|
|
2806
|
+
description?: string | undefined;
|
|
2807
|
+
synonyms?: string | undefined;
|
|
2808
|
+
source?: {
|
|
2809
|
+
kind: "any";
|
|
2810
|
+
} | {
|
|
2811
|
+
trait: string;
|
|
2812
|
+
kind: "trait";
|
|
2813
|
+
traitId?: string | undefined;
|
|
2814
|
+
} | {
|
|
2815
|
+
orbital: string;
|
|
2816
|
+
trait: string;
|
|
2817
|
+
kind: "orbital";
|
|
2818
|
+
traitId?: string | undefined;
|
|
2819
|
+
orbitalId?: string | undefined;
|
|
2820
|
+
} | undefined;
|
|
2821
|
+
scope?: "internal" | "external" | undefined;
|
|
2822
|
+
tier?: string | undefined;
|
|
2823
|
+
eventId?: string | undefined;
|
|
2824
|
+
guard?: SExpr | undefined;
|
|
2825
|
+
triggersId?: string | undefined;
|
|
2826
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2827
|
+
}[] | undefined;
|
|
2297
2828
|
emitsScope?: "internal" | "external" | undefined;
|
|
2298
2829
|
}>, z.ZodObject<{
|
|
2299
2830
|
id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
@@ -2424,7 +2955,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2424
2955
|
event: z.ZodString;
|
|
2425
2956
|
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
2426
2957
|
guard: z.ZodOptional<z.ZodNullable<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
2427
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
2958
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
2428
2959
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2429
2960
|
}, "strip", z.ZodTypeAny, {
|
|
2430
2961
|
event: string;
|
|
@@ -2433,7 +2964,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2433
2964
|
description?: string | null | undefined;
|
|
2434
2965
|
eventId?: EventId | undefined;
|
|
2435
2966
|
guard?: SExpr | undefined;
|
|
2436
|
-
effects?:
|
|
2967
|
+
effects?: SExpr[][] | undefined;
|
|
2437
2968
|
}, {
|
|
2438
2969
|
event: string;
|
|
2439
2970
|
from: string;
|
|
@@ -2441,7 +2972,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2441
2972
|
description?: string | null | undefined;
|
|
2442
2973
|
eventId?: string | undefined;
|
|
2443
2974
|
guard?: SExpr | undefined;
|
|
2444
|
-
effects?:
|
|
2975
|
+
effects?: SExpr[][] | undefined;
|
|
2445
2976
|
}>, "many">;
|
|
2446
2977
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2447
2978
|
name: z.ZodString;
|
|
@@ -2484,7 +3015,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2484
3015
|
description?: string | null | undefined;
|
|
2485
3016
|
eventId?: EventId | undefined;
|
|
2486
3017
|
guard?: SExpr | undefined;
|
|
2487
|
-
effects?:
|
|
3018
|
+
effects?: SExpr[][] | undefined;
|
|
2488
3019
|
}[];
|
|
2489
3020
|
guards?: {
|
|
2490
3021
|
name: string;
|
|
@@ -2519,7 +3050,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2519
3050
|
description?: string | null | undefined;
|
|
2520
3051
|
eventId?: string | undefined;
|
|
2521
3052
|
guard?: SExpr | undefined;
|
|
2522
|
-
effects?:
|
|
3053
|
+
effects?: SExpr[][] | undefined;
|
|
2523
3054
|
}[];
|
|
2524
3055
|
guards?: {
|
|
2525
3056
|
name: string;
|
|
@@ -2527,7 +3058,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2527
3058
|
description?: string | undefined;
|
|
2528
3059
|
}[] | undefined;
|
|
2529
3060
|
}>>;
|
|
2530
|
-
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
3061
|
+
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
2531
3062
|
ticks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2532
3063
|
name: z.ZodString;
|
|
2533
3064
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2537,12 +3068,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2537
3068
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2538
3069
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
2539
3070
|
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
2540
|
-
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
3071
|
+
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">;
|
|
2541
3072
|
emits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2542
3073
|
emitIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, EventId, string>, "many">>;
|
|
2543
3074
|
}, "strip", z.ZodTypeAny, {
|
|
2544
3075
|
name: string;
|
|
2545
|
-
effects:
|
|
3076
|
+
effects: SExpr[][];
|
|
2546
3077
|
interval: string | number;
|
|
2547
3078
|
description?: string | undefined;
|
|
2548
3079
|
pages?: string[] | undefined;
|
|
@@ -2554,7 +3085,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2554
3085
|
emitIds?: EventId[] | undefined;
|
|
2555
3086
|
}, {
|
|
2556
3087
|
name: string;
|
|
2557
|
-
effects:
|
|
3088
|
+
effects: SExpr[][];
|
|
2558
3089
|
interval: string | number;
|
|
2559
3090
|
description?: string | undefined;
|
|
2560
3091
|
pages?: string[] | undefined;
|
|
@@ -2696,7 +3227,64 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2696
3227
|
triggersId?: string | undefined;
|
|
2697
3228
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2698
3229
|
}>, "many">>;
|
|
2699
|
-
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3230
|
+
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3231
|
+
presentation: z.ZodEnum<["modal", "drawer", "popover", "inline", "confirm-dialog"]>;
|
|
3232
|
+
content: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">]>;
|
|
3233
|
+
props: z.ZodOptional<z.ZodObject<{
|
|
3234
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
|
|
3235
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right", "top", "bottom", "center"]>>;
|
|
3236
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3237
|
+
closable: z.ZodOptional<z.ZodBoolean>;
|
|
3238
|
+
width: z.ZodOptional<z.ZodString>;
|
|
3239
|
+
showProgress: z.ZodOptional<z.ZodBoolean>;
|
|
3240
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
3241
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
3242
|
+
}, "strip", z.ZodTypeAny, {
|
|
3243
|
+
width?: string | undefined;
|
|
3244
|
+
title?: string | undefined;
|
|
3245
|
+
totalSteps?: number | undefined;
|
|
3246
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3247
|
+
step?: number | undefined;
|
|
3248
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3249
|
+
showProgress?: boolean | undefined;
|
|
3250
|
+
closable?: boolean | undefined;
|
|
3251
|
+
}, {
|
|
3252
|
+
width?: string | undefined;
|
|
3253
|
+
title?: string | undefined;
|
|
3254
|
+
totalSteps?: number | undefined;
|
|
3255
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3256
|
+
step?: number | undefined;
|
|
3257
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3258
|
+
showProgress?: boolean | undefined;
|
|
3259
|
+
closable?: boolean | undefined;
|
|
3260
|
+
}>>;
|
|
3261
|
+
}, "strip", z.ZodTypeAny, {
|
|
3262
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
3263
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
3264
|
+
props?: {
|
|
3265
|
+
width?: string | undefined;
|
|
3266
|
+
title?: string | undefined;
|
|
3267
|
+
totalSteps?: number | undefined;
|
|
3268
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3269
|
+
step?: number | undefined;
|
|
3270
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3271
|
+
showProgress?: boolean | undefined;
|
|
3272
|
+
closable?: boolean | undefined;
|
|
3273
|
+
} | undefined;
|
|
3274
|
+
}, {
|
|
3275
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
3276
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
3277
|
+
props?: {
|
|
3278
|
+
width?: string | undefined;
|
|
3279
|
+
title?: string | undefined;
|
|
3280
|
+
totalSteps?: number | undefined;
|
|
3281
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3282
|
+
step?: number | undefined;
|
|
3283
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3284
|
+
showProgress?: boolean | undefined;
|
|
3285
|
+
closable?: boolean | undefined;
|
|
3286
|
+
} | undefined;
|
|
3287
|
+
}>>>;
|
|
2700
3288
|
config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
|
|
2701
3289
|
sourceBehavior: z.ZodOptional<z.ZodObject<{
|
|
2702
3290
|
behavior: z.ZodString;
|
|
@@ -2718,7 +3306,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2718
3306
|
identity: z.ZodOptional<z.ZodBoolean>;
|
|
2719
3307
|
collection: z.ZodOptional<z.ZodString>;
|
|
2720
3308
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
2721
|
-
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.
|
|
3309
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">>;
|
|
2722
3310
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
2723
3311
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
2724
3312
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2756,7 +3344,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2756
3344
|
shared?: boolean | undefined;
|
|
2757
3345
|
identity?: boolean | undefined;
|
|
2758
3346
|
collection?: string | undefined;
|
|
2759
|
-
instances?: Record<string,
|
|
3347
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
2760
3348
|
timestamps?: boolean | undefined;
|
|
2761
3349
|
softDelete?: boolean | undefined;
|
|
2762
3350
|
visual_prompt?: string | undefined;
|
|
@@ -2777,7 +3365,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2777
3365
|
shared?: boolean | undefined;
|
|
2778
3366
|
identity?: boolean | undefined;
|
|
2779
3367
|
collection?: string | undefined;
|
|
2780
|
-
instances?: Record<string,
|
|
3368
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
2781
3369
|
timestamps?: boolean | undefined;
|
|
2782
3370
|
softDelete?: boolean | undefined;
|
|
2783
3371
|
visual_prompt?: string | undefined;
|
|
@@ -2796,7 +3384,20 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2796
3384
|
scope: "collection" | "instance";
|
|
2797
3385
|
id?: TraitId | undefined;
|
|
2798
3386
|
description?: string | undefined;
|
|
2799
|
-
ui?: Record<string,
|
|
3387
|
+
ui?: Record<string, {
|
|
3388
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
3389
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
3390
|
+
props?: {
|
|
3391
|
+
width?: string | undefined;
|
|
3392
|
+
title?: string | undefined;
|
|
3393
|
+
totalSteps?: number | undefined;
|
|
3394
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3395
|
+
step?: number | undefined;
|
|
3396
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3397
|
+
showProgress?: boolean | undefined;
|
|
3398
|
+
closable?: boolean | undefined;
|
|
3399
|
+
} | undefined;
|
|
3400
|
+
}> | undefined;
|
|
2800
3401
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2801
3402
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
2802
3403
|
capabilities?: string[] | undefined;
|
|
@@ -2838,7 +3439,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2838
3439
|
description?: string | null | undefined;
|
|
2839
3440
|
eventId?: EventId | undefined;
|
|
2840
3441
|
guard?: SExpr | undefined;
|
|
2841
|
-
effects?:
|
|
3442
|
+
effects?: SExpr[][] | undefined;
|
|
2842
3443
|
}[];
|
|
2843
3444
|
guards?: {
|
|
2844
3445
|
name: string;
|
|
@@ -2897,10 +3498,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2897
3498
|
name: string;
|
|
2898
3499
|
description?: string | undefined;
|
|
2899
3500
|
}[] | undefined;
|
|
2900
|
-
initialEffects?:
|
|
3501
|
+
initialEffects?: SExpr[][] | undefined;
|
|
2901
3502
|
ticks?: {
|
|
2902
3503
|
name: string;
|
|
2903
|
-
effects:
|
|
3504
|
+
effects: SExpr[][];
|
|
2904
3505
|
interval: string | number;
|
|
2905
3506
|
description?: string | undefined;
|
|
2906
3507
|
pages?: string[] | undefined;
|
|
@@ -2924,7 +3525,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2924
3525
|
shared?: boolean | undefined;
|
|
2925
3526
|
identity?: boolean | undefined;
|
|
2926
3527
|
collection?: string | undefined;
|
|
2927
|
-
instances?: Record<string,
|
|
3528
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
2928
3529
|
timestamps?: boolean | undefined;
|
|
2929
3530
|
softDelete?: boolean | undefined;
|
|
2930
3531
|
visual_prompt?: string | undefined;
|
|
@@ -2943,7 +3544,20 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2943
3544
|
scope: "collection" | "instance";
|
|
2944
3545
|
id?: string | undefined;
|
|
2945
3546
|
description?: string | undefined;
|
|
2946
|
-
ui?: Record<string,
|
|
3547
|
+
ui?: Record<string, {
|
|
3548
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
3549
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
3550
|
+
props?: {
|
|
3551
|
+
width?: string | undefined;
|
|
3552
|
+
title?: string | undefined;
|
|
3553
|
+
totalSteps?: number | undefined;
|
|
3554
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3555
|
+
step?: number | undefined;
|
|
3556
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
3557
|
+
showProgress?: boolean | undefined;
|
|
3558
|
+
closable?: boolean | undefined;
|
|
3559
|
+
} | undefined;
|
|
3560
|
+
}> | undefined;
|
|
2947
3561
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2948
3562
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
2949
3563
|
capabilities?: string[] | undefined;
|
|
@@ -2985,7 +3599,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2985
3599
|
description?: string | null | undefined;
|
|
2986
3600
|
eventId?: string | undefined;
|
|
2987
3601
|
guard?: SExpr | undefined;
|
|
2988
|
-
effects?:
|
|
3602
|
+
effects?: SExpr[][] | undefined;
|
|
2989
3603
|
}[];
|
|
2990
3604
|
guards?: {
|
|
2991
3605
|
name: string;
|
|
@@ -3044,10 +3658,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3044
3658
|
name: string;
|
|
3045
3659
|
description?: string | undefined;
|
|
3046
3660
|
}[] | undefined;
|
|
3047
|
-
initialEffects?:
|
|
3661
|
+
initialEffects?: SExpr[][] | undefined;
|
|
3048
3662
|
ticks?: {
|
|
3049
3663
|
name: string;
|
|
3050
|
-
effects:
|
|
3664
|
+
effects: SExpr[][];
|
|
3051
3665
|
interval: string | number;
|
|
3052
3666
|
description?: string | undefined;
|
|
3053
3667
|
pages?: string[] | undefined;
|
|
@@ -3071,7 +3685,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3071
3685
|
shared?: boolean | undefined;
|
|
3072
3686
|
identity?: boolean | undefined;
|
|
3073
3687
|
collection?: string | undefined;
|
|
3074
|
-
instances?: Record<string,
|
|
3688
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
3075
3689
|
timestamps?: boolean | undefined;
|
|
3076
3690
|
softDelete?: boolean | undefined;
|
|
3077
3691
|
visual_prompt?: string | undefined;
|
|
@@ -3169,7 +3783,103 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3169
3783
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3170
3784
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
3171
3785
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3172
|
-
listens: z.ZodOptional<z.ZodArray<z.
|
|
3786
|
+
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3787
|
+
event: z.ZodString;
|
|
3788
|
+
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
3789
|
+
triggers: z.ZodString;
|
|
3790
|
+
triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
3791
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
synonyms: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
tier: z.ZodOptional<z.ZodString>;
|
|
3794
|
+
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
3795
|
+
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
3796
|
+
payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
3797
|
+
source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3798
|
+
kind: z.ZodLiteral<"any">;
|
|
3799
|
+
}, "strip", z.ZodTypeAny, {
|
|
3800
|
+
kind: "any";
|
|
3801
|
+
}, {
|
|
3802
|
+
kind: "any";
|
|
3803
|
+
}>, z.ZodObject<{
|
|
3804
|
+
kind: z.ZodLiteral<"trait">;
|
|
3805
|
+
trait: z.ZodString;
|
|
3806
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
3807
|
+
}, "strip", z.ZodTypeAny, {
|
|
3808
|
+
trait: string;
|
|
3809
|
+
kind: "trait";
|
|
3810
|
+
traitId?: TraitId | undefined;
|
|
3811
|
+
}, {
|
|
3812
|
+
trait: string;
|
|
3813
|
+
kind: "trait";
|
|
3814
|
+
traitId?: string | undefined;
|
|
3815
|
+
}>, z.ZodObject<{
|
|
3816
|
+
kind: z.ZodLiteral<"orbital">;
|
|
3817
|
+
orbital: z.ZodString;
|
|
3818
|
+
trait: z.ZodString;
|
|
3819
|
+
orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
|
|
3820
|
+
traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
3821
|
+
}, "strip", z.ZodTypeAny, {
|
|
3822
|
+
orbital: string;
|
|
3823
|
+
trait: string;
|
|
3824
|
+
kind: "orbital";
|
|
3825
|
+
traitId?: TraitId | undefined;
|
|
3826
|
+
orbitalId?: OrbitalId | undefined;
|
|
3827
|
+
}, {
|
|
3828
|
+
orbital: string;
|
|
3829
|
+
trait: string;
|
|
3830
|
+
kind: "orbital";
|
|
3831
|
+
traitId?: string | undefined;
|
|
3832
|
+
orbitalId?: string | undefined;
|
|
3833
|
+
}>]>>;
|
|
3834
|
+
}, "strip", z.ZodTypeAny, {
|
|
3835
|
+
event: string;
|
|
3836
|
+
triggers: string;
|
|
3837
|
+
description?: string | undefined;
|
|
3838
|
+
synonyms?: string | undefined;
|
|
3839
|
+
source?: {
|
|
3840
|
+
kind: "any";
|
|
3841
|
+
} | {
|
|
3842
|
+
trait: string;
|
|
3843
|
+
kind: "trait";
|
|
3844
|
+
traitId?: TraitId | undefined;
|
|
3845
|
+
} | {
|
|
3846
|
+
orbital: string;
|
|
3847
|
+
trait: string;
|
|
3848
|
+
kind: "orbital";
|
|
3849
|
+
traitId?: TraitId | undefined;
|
|
3850
|
+
orbitalId?: OrbitalId | undefined;
|
|
3851
|
+
} | undefined;
|
|
3852
|
+
scope?: "internal" | "external" | undefined;
|
|
3853
|
+
tier?: string | undefined;
|
|
3854
|
+
eventId?: EventId | undefined;
|
|
3855
|
+
guard?: SExpr | undefined;
|
|
3856
|
+
triggersId?: EventId | undefined;
|
|
3857
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3858
|
+
}, {
|
|
3859
|
+
event: string;
|
|
3860
|
+
triggers: string;
|
|
3861
|
+
description?: string | undefined;
|
|
3862
|
+
synonyms?: string | undefined;
|
|
3863
|
+
source?: {
|
|
3864
|
+
kind: "any";
|
|
3865
|
+
} | {
|
|
3866
|
+
trait: string;
|
|
3867
|
+
kind: "trait";
|
|
3868
|
+
traitId?: string | undefined;
|
|
3869
|
+
} | {
|
|
3870
|
+
orbital: string;
|
|
3871
|
+
trait: string;
|
|
3872
|
+
kind: "orbital";
|
|
3873
|
+
traitId?: string | undefined;
|
|
3874
|
+
orbitalId?: string | undefined;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
scope?: "internal" | "external" | undefined;
|
|
3877
|
+
tier?: string | undefined;
|
|
3878
|
+
eventId?: string | undefined;
|
|
3879
|
+
guard?: SExpr | undefined;
|
|
3880
|
+
triggersId?: string | undefined;
|
|
3881
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3882
|
+
}>, "many">>;
|
|
3173
3883
|
emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
3174
3884
|
effects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">>>;
|
|
3175
3885
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3186,7 +3896,31 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3186
3896
|
linkedEntity?: string | undefined;
|
|
3187
3897
|
linkedEntityId?: EntityId | undefined;
|
|
3188
3898
|
eventIds?: Record<string, EventId> | undefined;
|
|
3189
|
-
listens?:
|
|
3899
|
+
listens?: {
|
|
3900
|
+
event: string;
|
|
3901
|
+
triggers: string;
|
|
3902
|
+
description?: string | undefined;
|
|
3903
|
+
synonyms?: string | undefined;
|
|
3904
|
+
source?: {
|
|
3905
|
+
kind: "any";
|
|
3906
|
+
} | {
|
|
3907
|
+
trait: string;
|
|
3908
|
+
kind: "trait";
|
|
3909
|
+
traitId?: TraitId | undefined;
|
|
3910
|
+
} | {
|
|
3911
|
+
orbital: string;
|
|
3912
|
+
trait: string;
|
|
3913
|
+
kind: "orbital";
|
|
3914
|
+
traitId?: TraitId | undefined;
|
|
3915
|
+
orbitalId?: OrbitalId | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
scope?: "internal" | "external" | undefined;
|
|
3918
|
+
tier?: string | undefined;
|
|
3919
|
+
eventId?: EventId | undefined;
|
|
3920
|
+
guard?: SExpr | undefined;
|
|
3921
|
+
triggersId?: EventId | undefined;
|
|
3922
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3923
|
+
}[] | undefined;
|
|
3190
3924
|
emitsScope?: "internal" | "external" | undefined;
|
|
3191
3925
|
}, {
|
|
3192
3926
|
ref: string;
|
|
@@ -3202,7 +3936,31 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3202
3936
|
linkedEntity?: string | undefined;
|
|
3203
3937
|
linkedEntityId?: string | undefined;
|
|
3204
3938
|
eventIds?: Record<string, string> | undefined;
|
|
3205
|
-
listens?:
|
|
3939
|
+
listens?: {
|
|
3940
|
+
event: string;
|
|
3941
|
+
triggers: string;
|
|
3942
|
+
description?: string | undefined;
|
|
3943
|
+
synonyms?: string | undefined;
|
|
3944
|
+
source?: {
|
|
3945
|
+
kind: "any";
|
|
3946
|
+
} | {
|
|
3947
|
+
trait: string;
|
|
3948
|
+
kind: "trait";
|
|
3949
|
+
traitId?: string | undefined;
|
|
3950
|
+
} | {
|
|
3951
|
+
orbital: string;
|
|
3952
|
+
trait: string;
|
|
3953
|
+
kind: "orbital";
|
|
3954
|
+
traitId?: string | undefined;
|
|
3955
|
+
orbitalId?: string | undefined;
|
|
3956
|
+
} | undefined;
|
|
3957
|
+
scope?: "internal" | "external" | undefined;
|
|
3958
|
+
tier?: string | undefined;
|
|
3959
|
+
eventId?: string | undefined;
|
|
3960
|
+
guard?: SExpr | undefined;
|
|
3961
|
+
triggersId?: string | undefined;
|
|
3962
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3963
|
+
}[] | undefined;
|
|
3206
3964
|
emitsScope?: "internal" | "external" | undefined;
|
|
3207
3965
|
}>, {
|
|
3208
3966
|
ref: string;
|
|
@@ -3218,7 +3976,31 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3218
3976
|
linkedEntity?: string | undefined;
|
|
3219
3977
|
linkedEntityId?: EntityId | undefined;
|
|
3220
3978
|
eventIds?: Record<string, EventId> | undefined;
|
|
3221
|
-
listens?:
|
|
3979
|
+
listens?: {
|
|
3980
|
+
event: string;
|
|
3981
|
+
triggers: string;
|
|
3982
|
+
description?: string | undefined;
|
|
3983
|
+
synonyms?: string | undefined;
|
|
3984
|
+
source?: {
|
|
3985
|
+
kind: "any";
|
|
3986
|
+
} | {
|
|
3987
|
+
trait: string;
|
|
3988
|
+
kind: "trait";
|
|
3989
|
+
traitId?: TraitId | undefined;
|
|
3990
|
+
} | {
|
|
3991
|
+
orbital: string;
|
|
3992
|
+
trait: string;
|
|
3993
|
+
kind: "orbital";
|
|
3994
|
+
traitId?: TraitId | undefined;
|
|
3995
|
+
orbitalId?: OrbitalId | undefined;
|
|
3996
|
+
} | undefined;
|
|
3997
|
+
scope?: "internal" | "external" | undefined;
|
|
3998
|
+
tier?: string | undefined;
|
|
3999
|
+
eventId?: EventId | undefined;
|
|
4000
|
+
guard?: SExpr | undefined;
|
|
4001
|
+
triggersId?: EventId | undefined;
|
|
4002
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4003
|
+
}[] | undefined;
|
|
3222
4004
|
emitsScope?: "internal" | "external" | undefined;
|
|
3223
4005
|
}, {
|
|
3224
4006
|
ref: string;
|
|
@@ -3234,7 +4016,31 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3234
4016
|
linkedEntity?: string | undefined;
|
|
3235
4017
|
linkedEntityId?: string | undefined;
|
|
3236
4018
|
eventIds?: Record<string, string> | undefined;
|
|
3237
|
-
listens?:
|
|
4019
|
+
listens?: {
|
|
4020
|
+
event: string;
|
|
4021
|
+
triggers: string;
|
|
4022
|
+
description?: string | undefined;
|
|
4023
|
+
synonyms?: string | undefined;
|
|
4024
|
+
source?: {
|
|
4025
|
+
kind: "any";
|
|
4026
|
+
} | {
|
|
4027
|
+
trait: string;
|
|
4028
|
+
kind: "trait";
|
|
4029
|
+
traitId?: string | undefined;
|
|
4030
|
+
} | {
|
|
4031
|
+
orbital: string;
|
|
4032
|
+
trait: string;
|
|
4033
|
+
kind: "orbital";
|
|
4034
|
+
traitId?: string | undefined;
|
|
4035
|
+
orbitalId?: string | undefined;
|
|
4036
|
+
} | undefined;
|
|
4037
|
+
scope?: "internal" | "external" | undefined;
|
|
4038
|
+
tier?: string | undefined;
|
|
4039
|
+
eventId?: string | undefined;
|
|
4040
|
+
guard?: SExpr | undefined;
|
|
4041
|
+
triggersId?: string | undefined;
|
|
4042
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4043
|
+
}[] | undefined;
|
|
3238
4044
|
emitsScope?: "internal" | "external" | undefined;
|
|
3239
4045
|
}>, z.ZodObject<{
|
|
3240
4046
|
id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
@@ -3365,7 +4171,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3365
4171
|
event: z.ZodString;
|
|
3366
4172
|
eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
|
|
3367
4173
|
guard: z.ZodOptional<z.ZodNullable<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
|
|
3368
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
4174
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
3369
4175
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3370
4176
|
}, "strip", z.ZodTypeAny, {
|
|
3371
4177
|
event: string;
|
|
@@ -3374,7 +4180,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3374
4180
|
description?: string | null | undefined;
|
|
3375
4181
|
eventId?: EventId | undefined;
|
|
3376
4182
|
guard?: SExpr | undefined;
|
|
3377
|
-
effects?:
|
|
4183
|
+
effects?: SExpr[][] | undefined;
|
|
3378
4184
|
}, {
|
|
3379
4185
|
event: string;
|
|
3380
4186
|
from: string;
|
|
@@ -3382,7 +4188,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3382
4188
|
description?: string | null | undefined;
|
|
3383
4189
|
eventId?: string | undefined;
|
|
3384
4190
|
guard?: SExpr | undefined;
|
|
3385
|
-
effects?:
|
|
4191
|
+
effects?: SExpr[][] | undefined;
|
|
3386
4192
|
}>, "many">;
|
|
3387
4193
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3388
4194
|
name: z.ZodString;
|
|
@@ -3425,7 +4231,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3425
4231
|
description?: string | null | undefined;
|
|
3426
4232
|
eventId?: EventId | undefined;
|
|
3427
4233
|
guard?: SExpr | undefined;
|
|
3428
|
-
effects?:
|
|
4234
|
+
effects?: SExpr[][] | undefined;
|
|
3429
4235
|
}[];
|
|
3430
4236
|
guards?: {
|
|
3431
4237
|
name: string;
|
|
@@ -3460,7 +4266,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3460
4266
|
description?: string | null | undefined;
|
|
3461
4267
|
eventId?: string | undefined;
|
|
3462
4268
|
guard?: SExpr | undefined;
|
|
3463
|
-
effects?:
|
|
4269
|
+
effects?: SExpr[][] | undefined;
|
|
3464
4270
|
}[];
|
|
3465
4271
|
guards?: {
|
|
3466
4272
|
name: string;
|
|
@@ -3468,7 +4274,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3468
4274
|
description?: string | undefined;
|
|
3469
4275
|
}[] | undefined;
|
|
3470
4276
|
}>>;
|
|
3471
|
-
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
4277
|
+
initialEffects: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">>;
|
|
3472
4278
|
ticks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3473
4279
|
name: z.ZodString;
|
|
3474
4280
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -3478,12 +4284,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3478
4284
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3479
4285
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
3480
4286
|
guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
|
|
3481
|
-
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.
|
|
4287
|
+
effects: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">, SExpr[], SExpr[]>, "many">;
|
|
3482
4288
|
emits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3483
4289
|
emitIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, EventId, string>, "many">>;
|
|
3484
4290
|
}, "strip", z.ZodTypeAny, {
|
|
3485
4291
|
name: string;
|
|
3486
|
-
effects:
|
|
4292
|
+
effects: SExpr[][];
|
|
3487
4293
|
interval: string | number;
|
|
3488
4294
|
description?: string | undefined;
|
|
3489
4295
|
pages?: string[] | undefined;
|
|
@@ -3495,7 +4301,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3495
4301
|
emitIds?: EventId[] | undefined;
|
|
3496
4302
|
}, {
|
|
3497
4303
|
name: string;
|
|
3498
|
-
effects:
|
|
4304
|
+
effects: SExpr[][];
|
|
3499
4305
|
interval: string | number;
|
|
3500
4306
|
description?: string | undefined;
|
|
3501
4307
|
pages?: string[] | undefined;
|
|
@@ -3637,7 +4443,64 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3637
4443
|
triggersId?: string | undefined;
|
|
3638
4444
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3639
4445
|
}>, "many">>;
|
|
3640
|
-
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
4446
|
+
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4447
|
+
presentation: z.ZodEnum<["modal", "drawer", "popover", "inline", "confirm-dialog"]>;
|
|
4448
|
+
content: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">]>;
|
|
4449
|
+
props: z.ZodOptional<z.ZodObject<{
|
|
4450
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
|
|
4451
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right", "top", "bottom", "center"]>>;
|
|
4452
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4453
|
+
closable: z.ZodOptional<z.ZodBoolean>;
|
|
4454
|
+
width: z.ZodOptional<z.ZodString>;
|
|
4455
|
+
showProgress: z.ZodOptional<z.ZodBoolean>;
|
|
4456
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
4457
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
4458
|
+
}, "strip", z.ZodTypeAny, {
|
|
4459
|
+
width?: string | undefined;
|
|
4460
|
+
title?: string | undefined;
|
|
4461
|
+
totalSteps?: number | undefined;
|
|
4462
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4463
|
+
step?: number | undefined;
|
|
4464
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4465
|
+
showProgress?: boolean | undefined;
|
|
4466
|
+
closable?: boolean | undefined;
|
|
4467
|
+
}, {
|
|
4468
|
+
width?: string | undefined;
|
|
4469
|
+
title?: string | undefined;
|
|
4470
|
+
totalSteps?: number | undefined;
|
|
4471
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4472
|
+
step?: number | undefined;
|
|
4473
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4474
|
+
showProgress?: boolean | undefined;
|
|
4475
|
+
closable?: boolean | undefined;
|
|
4476
|
+
}>>;
|
|
4477
|
+
}, "strip", z.ZodTypeAny, {
|
|
4478
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
4479
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
4480
|
+
props?: {
|
|
4481
|
+
width?: string | undefined;
|
|
4482
|
+
title?: string | undefined;
|
|
4483
|
+
totalSteps?: number | undefined;
|
|
4484
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4485
|
+
step?: number | undefined;
|
|
4486
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4487
|
+
showProgress?: boolean | undefined;
|
|
4488
|
+
closable?: boolean | undefined;
|
|
4489
|
+
} | undefined;
|
|
4490
|
+
}, {
|
|
4491
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
4492
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
4493
|
+
props?: {
|
|
4494
|
+
width?: string | undefined;
|
|
4495
|
+
title?: string | undefined;
|
|
4496
|
+
totalSteps?: number | undefined;
|
|
4497
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4498
|
+
step?: number | undefined;
|
|
4499
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4500
|
+
showProgress?: boolean | undefined;
|
|
4501
|
+
closable?: boolean | undefined;
|
|
4502
|
+
} | undefined;
|
|
4503
|
+
}>>>;
|
|
3641
4504
|
config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
|
|
3642
4505
|
sourceBehavior: z.ZodOptional<z.ZodObject<{
|
|
3643
4506
|
behavior: z.ZodString;
|
|
@@ -3659,7 +4522,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3659
4522
|
identity: z.ZodOptional<z.ZodBoolean>;
|
|
3660
4523
|
collection: z.ZodOptional<z.ZodString>;
|
|
3661
4524
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
3662
|
-
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.
|
|
4525
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>, "many">>;
|
|
3663
4526
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
3664
4527
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
3665
4528
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -3697,7 +4560,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3697
4560
|
shared?: boolean | undefined;
|
|
3698
4561
|
identity?: boolean | undefined;
|
|
3699
4562
|
collection?: string | undefined;
|
|
3700
|
-
instances?: Record<string,
|
|
4563
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
3701
4564
|
timestamps?: boolean | undefined;
|
|
3702
4565
|
softDelete?: boolean | undefined;
|
|
3703
4566
|
visual_prompt?: string | undefined;
|
|
@@ -3718,7 +4581,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3718
4581
|
shared?: boolean | undefined;
|
|
3719
4582
|
identity?: boolean | undefined;
|
|
3720
4583
|
collection?: string | undefined;
|
|
3721
|
-
instances?: Record<string,
|
|
4584
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
3722
4585
|
timestamps?: boolean | undefined;
|
|
3723
4586
|
softDelete?: boolean | undefined;
|
|
3724
4587
|
visual_prompt?: string | undefined;
|
|
@@ -3737,7 +4600,20 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3737
4600
|
scope: "collection" | "instance";
|
|
3738
4601
|
id?: TraitId | undefined;
|
|
3739
4602
|
description?: string | undefined;
|
|
3740
|
-
ui?: Record<string,
|
|
4603
|
+
ui?: Record<string, {
|
|
4604
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
4605
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
4606
|
+
props?: {
|
|
4607
|
+
width?: string | undefined;
|
|
4608
|
+
title?: string | undefined;
|
|
4609
|
+
totalSteps?: number | undefined;
|
|
4610
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4611
|
+
step?: number | undefined;
|
|
4612
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4613
|
+
showProgress?: boolean | undefined;
|
|
4614
|
+
closable?: boolean | undefined;
|
|
4615
|
+
} | undefined;
|
|
4616
|
+
}> | undefined;
|
|
3741
4617
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3742
4618
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3743
4619
|
capabilities?: string[] | undefined;
|
|
@@ -3779,7 +4655,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3779
4655
|
description?: string | null | undefined;
|
|
3780
4656
|
eventId?: EventId | undefined;
|
|
3781
4657
|
guard?: SExpr | undefined;
|
|
3782
|
-
effects?:
|
|
4658
|
+
effects?: SExpr[][] | undefined;
|
|
3783
4659
|
}[];
|
|
3784
4660
|
guards?: {
|
|
3785
4661
|
name: string;
|
|
@@ -3838,10 +4714,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3838
4714
|
name: string;
|
|
3839
4715
|
description?: string | undefined;
|
|
3840
4716
|
}[] | undefined;
|
|
3841
|
-
initialEffects?:
|
|
4717
|
+
initialEffects?: SExpr[][] | undefined;
|
|
3842
4718
|
ticks?: {
|
|
3843
4719
|
name: string;
|
|
3844
|
-
effects:
|
|
4720
|
+
effects: SExpr[][];
|
|
3845
4721
|
interval: string | number;
|
|
3846
4722
|
description?: string | undefined;
|
|
3847
4723
|
pages?: string[] | undefined;
|
|
@@ -3865,7 +4741,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3865
4741
|
shared?: boolean | undefined;
|
|
3866
4742
|
identity?: boolean | undefined;
|
|
3867
4743
|
collection?: string | undefined;
|
|
3868
|
-
instances?: Record<string,
|
|
4744
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
3869
4745
|
timestamps?: boolean | undefined;
|
|
3870
4746
|
softDelete?: boolean | undefined;
|
|
3871
4747
|
visual_prompt?: string | undefined;
|
|
@@ -3884,7 +4760,20 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3884
4760
|
scope: "collection" | "instance";
|
|
3885
4761
|
id?: string | undefined;
|
|
3886
4762
|
description?: string | undefined;
|
|
3887
|
-
ui?: Record<string,
|
|
4763
|
+
ui?: Record<string, {
|
|
4764
|
+
content: Record<string, JsonValue> | Record<string, JsonValue>[];
|
|
4765
|
+
presentation: "inline" | "modal" | "drawer" | "confirm-dialog" | "popover";
|
|
4766
|
+
props?: {
|
|
4767
|
+
width?: string | undefined;
|
|
4768
|
+
title?: string | undefined;
|
|
4769
|
+
totalSteps?: number | undefined;
|
|
4770
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4771
|
+
step?: number | undefined;
|
|
4772
|
+
position?: "center" | "left" | "right" | "top" | "bottom" | undefined;
|
|
4773
|
+
showProgress?: boolean | undefined;
|
|
4774
|
+
closable?: boolean | undefined;
|
|
4775
|
+
} | undefined;
|
|
4776
|
+
}> | undefined;
|
|
3888
4777
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3889
4778
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3890
4779
|
capabilities?: string[] | undefined;
|
|
@@ -3926,7 +4815,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3926
4815
|
description?: string | null | undefined;
|
|
3927
4816
|
eventId?: string | undefined;
|
|
3928
4817
|
guard?: SExpr | undefined;
|
|
3929
|
-
effects?:
|
|
4818
|
+
effects?: SExpr[][] | undefined;
|
|
3930
4819
|
}[];
|
|
3931
4820
|
guards?: {
|
|
3932
4821
|
name: string;
|
|
@@ -3985,10 +4874,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3985
4874
|
name: string;
|
|
3986
4875
|
description?: string | undefined;
|
|
3987
4876
|
}[] | undefined;
|
|
3988
|
-
initialEffects?:
|
|
4877
|
+
initialEffects?: SExpr[][] | undefined;
|
|
3989
4878
|
ticks?: {
|
|
3990
4879
|
name: string;
|
|
3991
|
-
effects:
|
|
4880
|
+
effects: SExpr[][];
|
|
3992
4881
|
interval: string | number;
|
|
3993
4882
|
description?: string | undefined;
|
|
3994
4883
|
pages?: string[] | undefined;
|
|
@@ -4012,7 +4901,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4012
4901
|
shared?: boolean | undefined;
|
|
4013
4902
|
identity?: boolean | undefined;
|
|
4014
4903
|
collection?: string | undefined;
|
|
4015
|
-
instances?: Record<string,
|
|
4904
|
+
instances?: Record<string, JsonValue>[] | undefined;
|
|
4016
4905
|
timestamps?: boolean | undefined;
|
|
4017
4906
|
softDelete?: boolean | undefined;
|
|
4018
4907
|
visual_prompt?: string | undefined;
|
|
@@ -4028,4 +4917,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4028
4917
|
} | undefined;
|
|
4029
4918
|
}>]>;
|
|
4030
4919
|
|
|
4031
|
-
export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, type Transition as
|
|
4920
|
+
export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, TraitUIBindingSchema as ad, type Transition as ae, type TransitionInput as af, TransitionSchema as ag, configRefEventKnob as ah, getTraitConfig as ai, getTraitName as aj, isCallSiteConfigDeclaration as ak, isCircuitEvent as al, isInlineTrait as am, isReferenceConfigType as an, isSecretConfigType as ao, normalizeCallSiteConfigToValues as ap, normalizeTraitRef as aq, resolveConfigRefEventName as ar, type TraitScope as as, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type Trait as g, type CallSiteConfig as h, type CallSiteConfigEntry as i, type TraitEventContract as j, CONFIG_REF_EVENT_PATTERN as k, ConfigFieldDeclarationSchema as l, type ConfigFieldItemsDeclaration as m, type ConfigRefEventError as n, DeclaredTraitConfigSchema as o, type EntityFieldContract as p, EntityFieldContractSchema as q, type Event as r, type EventInput as s, EventPayloadFieldSchema as t, EventSchema as u, type EventScope as v, EventScopeSchema as w, type GuardInput as x, GuardSchema as y, ListenSourceSchema as z };
|