@almadar/core 1.0.0 → 1.0.9
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/index.d.ts +85 -1
- package/dist/index.js +215 -476
- package/dist/index.js.map +1 -1
- package/dist/{src/types → types}/index.d.ts +345 -195
- package/dist/{src/types → types}/index.js +34 -476
- package/dist/types/index.js.map +1 -0
- package/package.json +6 -4
- package/dist/src/types/index.js.map +0 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { AnyPatternConfig } from '@almadar/patterns';
|
|
3
|
+
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
4
|
+
export { CATEGORIES, CategoryMeta, OPERATORS, OPERATORS_SCHEMA, OPERATOR_NAMES, OperatorCategory, OperatorMeta, OperatorStats, OperatorsSchema, TargetPlatform, getOperatorMeta, getOperatorStats, getOperatorsByCategory, getOperatorsForTarget, isEffectOperator, isGuardOperator, isKnownOperator, validateOperatorArity } from '@almadar/operators';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* S-Expression Types
|
|
@@ -582,6 +585,8 @@ interface OrbitalEntity {
|
|
|
582
585
|
collection?: string;
|
|
583
586
|
/** Entity fields */
|
|
584
587
|
fields: EntityField[];
|
|
588
|
+
/** Pre-authored instances (seed data or static reference data) */
|
|
589
|
+
instances?: Record<string, unknown>[];
|
|
585
590
|
/** Auto-add createdAt/updatedAt timestamps */
|
|
586
591
|
timestamps?: boolean;
|
|
587
592
|
/** Soft delete support */
|
|
@@ -598,6 +603,7 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
598
603
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
599
604
|
collection: z.ZodOptional<z.ZodString>;
|
|
600
605
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
606
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
601
607
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
602
608
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
603
609
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -626,6 +632,7 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
626
632
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
627
633
|
fields: EntityField[];
|
|
628
634
|
collection?: string | undefined;
|
|
635
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
629
636
|
timestamps?: boolean | undefined;
|
|
630
637
|
softDelete?: boolean | undefined;
|
|
631
638
|
description?: string | undefined;
|
|
@@ -642,6 +649,7 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
642
649
|
fields: EntityField[];
|
|
643
650
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
644
651
|
collection?: string | undefined;
|
|
652
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
645
653
|
timestamps?: boolean | undefined;
|
|
646
654
|
softDelete?: boolean | undefined;
|
|
647
655
|
description?: string | undefined;
|
|
@@ -663,6 +671,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
663
671
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
664
672
|
collection: z.ZodOptional<z.ZodString>;
|
|
665
673
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
674
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
666
675
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
667
676
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
668
677
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -691,6 +700,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
691
700
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
692
701
|
fields: EntityField[];
|
|
693
702
|
collection?: string | undefined;
|
|
703
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
694
704
|
timestamps?: boolean | undefined;
|
|
695
705
|
softDelete?: boolean | undefined;
|
|
696
706
|
description?: string | undefined;
|
|
@@ -707,6 +717,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
707
717
|
fields: EntityField[];
|
|
708
718
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
709
719
|
collection?: string | undefined;
|
|
720
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
710
721
|
timestamps?: boolean | undefined;
|
|
711
722
|
softDelete?: boolean | undefined;
|
|
712
723
|
description?: string | undefined;
|
|
@@ -954,15 +965,25 @@ declare const PageSchema: z.ZodObject<{
|
|
|
954
965
|
/**
|
|
955
966
|
* Known UI slots where content can be rendered
|
|
956
967
|
*/
|
|
957
|
-
declare const UI_SLOTS: readonly ["main", "sidebar", "modal", "drawer", "overlay", "center", "toast", "hud-top", "hud-bottom", "
|
|
968
|
+
declare const UI_SLOTS: readonly ["main", "sidebar", "modal", "drawer", "overlay", "center", "toast", "floating", "system", "content", "screen", "hud", "hud-top", "hud-bottom", "hud.health", "hud.score", "hud.inventory", "hud.stamina", "overlay.inventory", "overlay.dialogue", "overlay.menu", "overlay.pause"];
|
|
958
969
|
type UISlot = (typeof UI_SLOTS)[number];
|
|
959
|
-
declare const UISlotSchema: z.ZodEnum<["main", "sidebar", "modal", "drawer", "overlay", "center", "toast", "hud-top", "hud-bottom", "
|
|
970
|
+
declare const UISlotSchema: z.ZodEnum<["main", "sidebar", "modal", "drawer", "overlay", "center", "toast", "floating", "system", "content", "screen", "hud", "hud-top", "hud-bottom", "hud.health", "hud.score", "hud.inventory", "hud.stamina", "overlay.inventory", "overlay.dialogue", "overlay.menu", "overlay.pause"]>;
|
|
971
|
+
|
|
960
972
|
/**
|
|
961
|
-
*
|
|
973
|
+
* Configuration for render-ui effect.
|
|
974
|
+
* Used in runtime to specify which slot and pattern to render.
|
|
962
975
|
*/
|
|
963
|
-
interface
|
|
964
|
-
|
|
965
|
-
|
|
976
|
+
interface RenderUIConfig {
|
|
977
|
+
/** Target UI slot */
|
|
978
|
+
slot: UISlot;
|
|
979
|
+
/** Pattern configuration (null clears the slot) */
|
|
980
|
+
pattern: AnyPatternConfig | null;
|
|
981
|
+
/** Target element (trait name or entity ID) */
|
|
982
|
+
target?: string;
|
|
983
|
+
/** Additional props for the pattern */
|
|
984
|
+
props?: Record<string, unknown>;
|
|
985
|
+
/** Optional priority for slot ordering */
|
|
986
|
+
priority?: number;
|
|
966
987
|
}
|
|
967
988
|
/**
|
|
968
989
|
* Configuration extracted from call-service effects
|
|
@@ -977,20 +998,161 @@ interface CallServiceConfig {
|
|
|
977
998
|
onError?: string;
|
|
978
999
|
}
|
|
979
1000
|
/**
|
|
980
|
-
*
|
|
1001
|
+
* Render UI effect - displays a pattern in a UI slot.
|
|
1002
|
+
* @example ['render-ui', 'main', { patternType: 'entity-table', columns: ['name'] }]
|
|
1003
|
+
*/
|
|
1004
|
+
type RenderUIEffect = ['render-ui', UISlot, AnyPatternConfig] | ['render-ui', UISlot, AnyPatternConfig, Record<string, unknown>];
|
|
1005
|
+
/**
|
|
1006
|
+
* Navigate effect - navigates to a path.
|
|
1007
|
+
* @example ['navigate', '/tasks'] or ['navigate', '/tasks/:id', { id: '123' }]
|
|
1008
|
+
*/
|
|
1009
|
+
type NavigateEffect = ['navigate', string] | ['navigate', string, Record<string, string>];
|
|
1010
|
+
/**
|
|
1011
|
+
* Emit effect - emits an event, optionally with payload.
|
|
1012
|
+
* @example ['emit', 'SAVE'] or ['emit', 'PLAYER_DIED', { playerId: '@entity.id' }]
|
|
1013
|
+
* @example ['emit', 'FILTER_CHANGED', '@entity.filters']
|
|
1014
|
+
*/
|
|
1015
|
+
type EmitEffect = ['emit', string] | ['emit', string, Record<string, unknown> | string];
|
|
1016
|
+
/**
|
|
1017
|
+
* Set effect - sets a binding to a value.
|
|
1018
|
+
* @example ['set', '@entity.health', 100]
|
|
1019
|
+
*/
|
|
1020
|
+
type SetEffect = ['set', string, unknown];
|
|
1021
|
+
/**
|
|
1022
|
+
* Persist effect - creates, updates, deletes, or clears entities.
|
|
1023
|
+
* @example ['persist', 'create', 'Task', { title: '@payload.title' }]
|
|
1024
|
+
* @example ['persist', 'update', '@entity.entityType', '@payload.data']
|
|
1025
|
+
*/
|
|
1026
|
+
type PersistEffect = ['persist', 'create', string, Record<string, unknown> | string] | ['persist', 'update', string, Record<string, unknown> | string] | ['persist', 'delete', string] | ['persist', 'delete', string, Record<string, unknown> | string] | ['persist', 'clear', string] | ['persist', 'clear', string, Record<string, unknown> | string];
|
|
1027
|
+
/**
|
|
1028
|
+
* Call service effect - invokes an external service.
|
|
1029
|
+
* @example ['call-service', 'WeatherAPI', { service: 'weather', action: 'get', onSuccess: 'OK' }]
|
|
1030
|
+
*/
|
|
1031
|
+
type CallServiceEffect = ['call-service', string, CallServiceConfig];
|
|
1032
|
+
/**
|
|
1033
|
+
* Spawn effect - creates a new entity instance (games).
|
|
1034
|
+
* @example ['spawn', 'Bullet', { x: '@entity.x', y: '@entity.y' }]
|
|
1035
|
+
*/
|
|
1036
|
+
type SpawnEffect = ['spawn', string] | ['spawn', string, Record<string, unknown>];
|
|
1037
|
+
/**
|
|
1038
|
+
* Despawn effect - removes an entity instance (games).
|
|
1039
|
+
* @example ['despawn', '@entity.id']
|
|
1040
|
+
*/
|
|
1041
|
+
type DespawnEffect = ['despawn', string];
|
|
1042
|
+
/**
|
|
1043
|
+
* Do effect - executes multiple effects in sequence.
|
|
1044
|
+
* Uses SExpr to allow deeply nested conditionals.
|
|
1045
|
+
* @example ['do', ['set', '@entity.x', 0], ['set', '@entity.y', 0]]
|
|
1046
|
+
*/
|
|
1047
|
+
type DoEffect = ['do', ...SExpr[]];
|
|
1048
|
+
/**
|
|
1049
|
+
* Notify effect - sends a notification.
|
|
1050
|
+
* @example ['notify', 'in_app', 'Task created successfully']
|
|
1051
|
+
* @example ['notify', 'in_app', ['str/concat', 'Item: ', '@entity.name']]
|
|
1052
|
+
*/
|
|
1053
|
+
type NotifyEffect = ['notify', string, string | SExpr] | ['notify', string, string | SExpr, string];
|
|
1054
|
+
/**
|
|
1055
|
+
* Fetch effect - retrieves entity data (server-side).
|
|
1056
|
+
* @example ['fetch', 'User'] or ['fetch', 'User', { id: '@payload.userId' }]
|
|
1057
|
+
*/
|
|
1058
|
+
type FetchEffect = ['fetch', string] | ['fetch', string, Record<string, unknown>];
|
|
1059
|
+
/**
|
|
1060
|
+
* If effect - conditional effect execution.
|
|
1061
|
+
* Uses SExpr to allow deeply nested conditionals.
|
|
1062
|
+
* @example ['if', ['>', '@entity.health', 0], ['emit', 'ALIVE'], ['emit', 'DEAD']]
|
|
1063
|
+
*/
|
|
1064
|
+
type IfEffect = ['if', Expression, SExpr] | ['if', Expression, SExpr, SExpr];
|
|
1065
|
+
/**
|
|
1066
|
+
* When effect - conditional effect similar to if but without else.
|
|
1067
|
+
* Uses SExpr to allow deeply nested conditionals.
|
|
1068
|
+
* @example ['when', ['>', '@entity.health', 0], ['emit', 'ALIVE']]
|
|
1069
|
+
*/
|
|
1070
|
+
type WhenEffect = ['when', Expression, SExpr];
|
|
1071
|
+
/**
|
|
1072
|
+
* Let effect - creates local bindings for effects.
|
|
1073
|
+
* Uses SExpr to allow deeply nested conditionals.
|
|
1074
|
+
* @example ['let', ['temp', ['get', '@payload.value']], ['set', '@entity.value', 'temp']]
|
|
1075
|
+
*/
|
|
1076
|
+
type LetEffect = ['let', [string, unknown][], ...SExpr[]];
|
|
1077
|
+
/**
|
|
1078
|
+
* Log effect - logs a message for debugging.
|
|
1079
|
+
* @example ['log', 'User created:', '@entity.name']
|
|
1080
|
+
*/
|
|
1081
|
+
type LogEffect = ['log', ...unknown[]];
|
|
1082
|
+
/**
|
|
1083
|
+
* Wait effect - delays execution.
|
|
1084
|
+
* @example ['wait', 1000] - wait 1 second
|
|
1085
|
+
*/
|
|
1086
|
+
type WaitEffect = ['wait', number];
|
|
1087
|
+
/**
|
|
1088
|
+
* Async delay effect - wait then execute effects.
|
|
1089
|
+
* @example ['async/delay', 2000, ['emit', 'TIMEOUT']]
|
|
1090
|
+
*/
|
|
1091
|
+
type AsyncDelayEffect = ['async/delay', number | string, ...Effect[]];
|
|
1092
|
+
/**
|
|
1093
|
+
* Async debounce effect - debounce then execute effect.
|
|
1094
|
+
* @example ['async/debounce', 300, ['emit', 'SEARCH_COMPLETE']]
|
|
1095
|
+
* @example ['async/debounce', '@entity.debounceMs', ['emit', 'SEARCH_COMPLETE']]
|
|
1096
|
+
*/
|
|
1097
|
+
type AsyncDebounceEffect = ['async/debounce', number | string, SExpr];
|
|
1098
|
+
/**
|
|
1099
|
+
* Async throttle effect - throttle then execute effect.
|
|
1100
|
+
* @example ['async/throttle', 100, ['emit', 'SCROLL_HANDLED']]
|
|
1101
|
+
* @example ['async/throttle', '@entity.throttleMs', ['emit', 'SCROLL_HANDLED']]
|
|
1102
|
+
*/
|
|
1103
|
+
type AsyncThrottleEffect = ['async/throttle', number | string, SExpr];
|
|
1104
|
+
/**
|
|
1105
|
+
* Async interval effect - execute effect at intervals.
|
|
1106
|
+
* @example ['async/interval', 1000, ['emit', 'TICK']]
|
|
1107
|
+
* @example ['async/interval', '@entity.intervalMs', ['emit', 'POLL_TICK']]
|
|
1108
|
+
*/
|
|
1109
|
+
type AsyncIntervalEffect = ['async/interval', number | string, SExpr];
|
|
1110
|
+
/**
|
|
1111
|
+
* Async race effect - first effect to complete wins.
|
|
1112
|
+
* @example ['async/race', ['call', 'api1'], ['call', 'api2']]
|
|
1113
|
+
*/
|
|
1114
|
+
type AsyncRaceEffect = ['async/race', ...Effect[]];
|
|
1115
|
+
/**
|
|
1116
|
+
* Async all effect - wait for all effects to complete.
|
|
1117
|
+
* @example ['async/all', ['call', 'api1'], ['call', 'api2']]
|
|
1118
|
+
*/
|
|
1119
|
+
type AsyncAllEffect = ['async/all', ...Effect[]];
|
|
1120
|
+
/**
|
|
1121
|
+
* Async sequence effect - execute effects in sequence.
|
|
1122
|
+
* @example ['async/sequence', ['call', 'validate'], ['call', 'save']]
|
|
1123
|
+
*/
|
|
1124
|
+
type AsyncSequenceEffect = ['async/sequence', ...Effect[]];
|
|
1125
|
+
/**
|
|
1126
|
+
* Union of all typed effects.
|
|
1127
|
+
* Provides compile-time validation for common effect types.
|
|
1128
|
+
*/
|
|
1129
|
+
type TypedEffect = RenderUIEffect | NavigateEffect | EmitEffect | SetEffect | PersistEffect | CallServiceEffect | SpawnEffect | DespawnEffect | DoEffect | NotifyEffect | FetchEffect | IfEffect | WhenEffect | LetEffect | LogEffect | WaitEffect | AsyncDelayEffect | AsyncDebounceEffect | AsyncThrottleEffect | AsyncIntervalEffect | AsyncRaceEffect | AsyncAllEffect | AsyncSequenceEffect;
|
|
1130
|
+
/**
|
|
1131
|
+
* Effect type - typed S-expression format.
|
|
1132
|
+
*
|
|
1133
|
+
* Effects are strongly typed tuples that enforce:
|
|
1134
|
+
* - Valid effect operators (render-ui, emit, set, persist, navigate, call-service)
|
|
1135
|
+
* - Valid UISlots for render-ui
|
|
1136
|
+
* - Valid PatternTypes and props for render-ui
|
|
1137
|
+
* - Correct argument types for each effect
|
|
981
1138
|
*
|
|
982
|
-
*
|
|
983
|
-
*
|
|
1139
|
+
* Available typed effects:
|
|
1140
|
+
* - RenderUIEffect: ['render-ui', UISlot, PatternConfig]
|
|
1141
|
+
* - NavigateEffect: ['navigate', path] or ['navigate', path, params]
|
|
1142
|
+
* - EmitEffect: ['emit', eventName] or ['emit', eventName, payload]
|
|
1143
|
+
* - SetEffect: ['set', binding, value]
|
|
1144
|
+
* - PersistEffect: ['persist', operation, entity, data?]
|
|
1145
|
+
* - CallServiceEffect: ['call-service', serviceName, config]
|
|
984
1146
|
*
|
|
985
1147
|
* @example
|
|
986
1148
|
* ["set", "@entity.health", 100]
|
|
987
1149
|
* ["emit", "PLAYER_DIED", { "playerId": "@entity.id" }]
|
|
988
|
-
* ["render-ui", "main", { "
|
|
989
|
-
* ["call-service", "WeatherAPI", { "action": "getWeather", "onSuccess": "OK"
|
|
1150
|
+
* ["render-ui", "main", { "patternType": "entity-table", "columns": ["name"] }]
|
|
1151
|
+
* ["call-service", "WeatherAPI", { "action": "getWeather", "onSuccess": "OK" }]
|
|
990
1152
|
* ["navigate", "/tasks"]
|
|
991
1153
|
* ["persist", "create", "Task", { "title": "@payload.title" }]
|
|
992
1154
|
*/
|
|
993
|
-
type Effect =
|
|
1155
|
+
type Effect = TypedEffect;
|
|
994
1156
|
/**
|
|
995
1157
|
* Schema for Effect - validates S-expression format
|
|
996
1158
|
*/
|
|
@@ -1018,47 +1180,47 @@ declare function emit(event: string, payload?: Record<string, unknown>): Effect;
|
|
|
1018
1180
|
* Create a navigate effect
|
|
1019
1181
|
* @example ["navigate", "/tasks"]
|
|
1020
1182
|
*/
|
|
1021
|
-
declare function navigate(path: string
|
|
1183
|
+
declare function navigate(path: string): NavigateEffect;
|
|
1184
|
+
declare function navigate(path: string, params: Record<string, string>): NavigateEffect;
|
|
1022
1185
|
/**
|
|
1023
1186
|
* Create a render-ui effect
|
|
1024
|
-
* @example ["render-ui", "main", { "
|
|
1187
|
+
* @example ["render-ui", "main", { "patternType": "entity-table", "columns": ["name"] }]
|
|
1025
1188
|
*/
|
|
1026
|
-
declare function renderUI(target: UISlot, pattern:
|
|
1189
|
+
declare function renderUI(target: UISlot, pattern: AnyPatternConfig): RenderUIEffect;
|
|
1190
|
+
declare function renderUI(target: UISlot, pattern: AnyPatternConfig, props: Record<string, unknown>): RenderUIEffect;
|
|
1027
1191
|
/**
|
|
1028
1192
|
* Create a persist effect
|
|
1029
1193
|
* @example ["persist", "create", "Task", { "title": "@payload.title" }]
|
|
1030
1194
|
*/
|
|
1031
|
-
declare function persist(action: 'create' | 'update'
|
|
1195
|
+
declare function persist(action: 'create' | 'update', entity: string, data: Record<string, unknown>): PersistEffect;
|
|
1196
|
+
declare function persist(action: 'delete' | 'clear', entity: string, data?: Record<string, unknown>): PersistEffect;
|
|
1032
1197
|
/**
|
|
1033
1198
|
* Create a call-service effect
|
|
1034
|
-
* @example ["call-service", "stripe", { "action": "charge", "onSuccess": "OK", "onError": "ERR" }]
|
|
1199
|
+
* @example ["call-service", "stripe", { "service": "stripe", "action": "charge", "onSuccess": "OK", "onError": "ERR" }]
|
|
1035
1200
|
*/
|
|
1036
|
-
declare function callService(
|
|
1037
|
-
action: string;
|
|
1038
|
-
onSuccess: string;
|
|
1039
|
-
onError: string;
|
|
1040
|
-
params?: Record<string, unknown>;
|
|
1041
|
-
}): Effect;
|
|
1201
|
+
declare function callService(serviceName: string, config: CallServiceConfig): CallServiceEffect;
|
|
1042
1202
|
/**
|
|
1043
1203
|
* Create a spawn effect (games)
|
|
1044
1204
|
* @example ["spawn", "Bullet", { "x": "@entity.x", "y": "@entity.y" }]
|
|
1045
1205
|
*/
|
|
1046
|
-
declare function spawn(entity: string
|
|
1206
|
+
declare function spawn(entity: string): SpawnEffect;
|
|
1207
|
+
declare function spawn(entity: string, initialState: Record<string, unknown>): SpawnEffect;
|
|
1047
1208
|
/**
|
|
1048
1209
|
* Create a despawn effect (games)
|
|
1049
1210
|
* @example ["despawn", "@entity.id"]
|
|
1050
1211
|
*/
|
|
1051
|
-
declare function despawn(entityId: string):
|
|
1212
|
+
declare function despawn(entityId: string): DespawnEffect;
|
|
1052
1213
|
/**
|
|
1053
1214
|
* Create a do effect (multiple effects)
|
|
1054
1215
|
* @example ["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]
|
|
1055
1216
|
*/
|
|
1056
|
-
declare function doEffects(...effects:
|
|
1217
|
+
declare function doEffects(...effects: SExpr[]): DoEffect;
|
|
1057
1218
|
/**
|
|
1058
1219
|
* Create a notify effect
|
|
1059
1220
|
* @example ["notify", "in_app", "Task created successfully"]
|
|
1060
1221
|
*/
|
|
1061
|
-
declare function notify(channel: 'email' | 'push' | 'sms' | 'in_app', message: string
|
|
1222
|
+
declare function notify(channel: 'email' | 'push' | 'sms' | 'in_app', message: string): NotifyEffect;
|
|
1223
|
+
declare function notify(channel: 'email' | 'push' | 'sms' | 'in_app', message: string, recipient: string): NotifyEffect;
|
|
1062
1224
|
|
|
1063
1225
|
/**
|
|
1064
1226
|
* Represents a state in the state machine
|
|
@@ -1458,6 +1620,21 @@ type EventInput = z.input<typeof EventSchema>;
|
|
|
1458
1620
|
type GuardInput = z.input<typeof GuardSchema>;
|
|
1459
1621
|
type TransitionInput = z.input<typeof TransitionSchema>;
|
|
1460
1622
|
type StateMachineInput = z.input<typeof StateMachineSchema>;
|
|
1623
|
+
/**
|
|
1624
|
+
* Check if an event is a circuit event (not internal/system event).
|
|
1625
|
+
* Circuit events are user-defined events that participate in the closed circuit pattern.
|
|
1626
|
+
* Internal/system events start with underscore (e.g., _INIT, _TICK, _TIMER).
|
|
1627
|
+
*
|
|
1628
|
+
* @param event - Event name to check
|
|
1629
|
+
* @returns true if event is a circuit event (doesn't start with underscore)
|
|
1630
|
+
*
|
|
1631
|
+
* @example
|
|
1632
|
+
* isCircuitEvent('CREATE') // true
|
|
1633
|
+
* isCircuitEvent('SAVE') // true
|
|
1634
|
+
* isCircuitEvent('_INIT') // false (internal)
|
|
1635
|
+
* isCircuitEvent('_TICK') // false (internal)
|
|
1636
|
+
*/
|
|
1637
|
+
declare function isCircuitEvent(event: string): boolean;
|
|
1461
1638
|
|
|
1462
1639
|
/**
|
|
1463
1640
|
* Categories for organizing traits
|
|
@@ -1854,6 +2031,11 @@ interface Trait {
|
|
|
1854
2031
|
description?: string;
|
|
1855
2032
|
description_visual_prompt?: string;
|
|
1856
2033
|
category?: TraitCategory;
|
|
2034
|
+
/**
|
|
2035
|
+
* The entity this trait is linked to.
|
|
2036
|
+
* Required for inline trait definitions within an orbital.
|
|
2037
|
+
*/
|
|
2038
|
+
linkedEntity?: string;
|
|
1857
2039
|
requiredFields?: RequiredField[];
|
|
1858
2040
|
dataEntities?: TraitDataEntity[];
|
|
1859
2041
|
stateMachine?: StateMachine;
|
|
@@ -1877,6 +2059,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1877
2059
|
description: z.ZodOptional<z.ZodString>;
|
|
1878
2060
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
1879
2061
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
2062
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
1880
2063
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1881
2064
|
name: z.ZodString;
|
|
1882
2065
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -2223,8 +2406,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2223
2406
|
}, "strip", z.ZodTypeAny, {
|
|
2224
2407
|
name: string;
|
|
2225
2408
|
ui?: Record<string, unknown> | undefined;
|
|
2226
|
-
category?: "validation" | "
|
|
2409
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2227
2410
|
description?: string | undefined;
|
|
2411
|
+
linkedEntity?: string | undefined;
|
|
2228
2412
|
emits?: {
|
|
2229
2413
|
event: string;
|
|
2230
2414
|
description?: string | undefined;
|
|
@@ -2317,8 +2501,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2317
2501
|
}, {
|
|
2318
2502
|
name: string;
|
|
2319
2503
|
ui?: Record<string, unknown> | undefined;
|
|
2320
|
-
category?: "validation" | "
|
|
2504
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2321
2505
|
description?: string | undefined;
|
|
2506
|
+
linkedEntity?: string | undefined;
|
|
2322
2507
|
emits?: {
|
|
2323
2508
|
event: string;
|
|
2324
2509
|
description?: string | undefined;
|
|
@@ -2426,6 +2611,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2426
2611
|
description: z.ZodOptional<z.ZodString>;
|
|
2427
2612
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
2428
2613
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
2614
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
2429
2615
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2430
2616
|
name: z.ZodString;
|
|
2431
2617
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -2772,8 +2958,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2772
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2773
2959
|
name: string;
|
|
2774
2960
|
ui?: Record<string, unknown> | undefined;
|
|
2775
|
-
category?: "validation" | "
|
|
2961
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2776
2962
|
description?: string | undefined;
|
|
2963
|
+
linkedEntity?: string | undefined;
|
|
2777
2964
|
emits?: {
|
|
2778
2965
|
event: string;
|
|
2779
2966
|
description?: string | undefined;
|
|
@@ -2866,8 +3053,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2866
3053
|
}, {
|
|
2867
3054
|
name: string;
|
|
2868
3055
|
ui?: Record<string, unknown> | undefined;
|
|
2869
|
-
category?: "validation" | "
|
|
3056
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2870
3057
|
description?: string | undefined;
|
|
3058
|
+
linkedEntity?: string | undefined;
|
|
2871
3059
|
emits?: {
|
|
2872
3060
|
event: string;
|
|
2873
3061
|
description?: string | undefined;
|
|
@@ -2997,6 +3185,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2997
3185
|
description: z.ZodOptional<z.ZodString>;
|
|
2998
3186
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
2999
3187
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
3188
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
3000
3189
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3001
3190
|
name: z.ZodString;
|
|
3002
3191
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -3343,8 +3532,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3343
3532
|
}, "strip", z.ZodTypeAny, {
|
|
3344
3533
|
name: string;
|
|
3345
3534
|
ui?: Record<string, unknown> | undefined;
|
|
3346
|
-
category?: "validation" | "
|
|
3535
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3347
3536
|
description?: string | undefined;
|
|
3537
|
+
linkedEntity?: string | undefined;
|
|
3348
3538
|
emits?: {
|
|
3349
3539
|
event: string;
|
|
3350
3540
|
description?: string | undefined;
|
|
@@ -3437,8 +3627,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3437
3627
|
}, {
|
|
3438
3628
|
name: string;
|
|
3439
3629
|
ui?: Record<string, unknown> | undefined;
|
|
3440
|
-
category?: "validation" | "
|
|
3630
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3441
3631
|
description?: string | undefined;
|
|
3632
|
+
linkedEntity?: string | undefined;
|
|
3442
3633
|
emits?: {
|
|
3443
3634
|
event: string;
|
|
3444
3635
|
description?: string | undefined;
|
|
@@ -3659,7 +3850,7 @@ declare const DomainContextSchema: z.ZodObject<{
|
|
|
3659
3850
|
}>, "many">>;
|
|
3660
3851
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3661
3852
|
}, "strip", z.ZodTypeAny, {
|
|
3662
|
-
category: "dashboard" | "
|
|
3853
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
3663
3854
|
request: string;
|
|
3664
3855
|
requestFragment?: string | undefined;
|
|
3665
3856
|
subDomain?: string | undefined;
|
|
@@ -3670,7 +3861,7 @@ declare const DomainContextSchema: z.ZodObject<{
|
|
|
3670
3861
|
}[] | undefined;
|
|
3671
3862
|
vocabulary?: Record<string, string> | undefined;
|
|
3672
3863
|
}, {
|
|
3673
|
-
category: "dashboard" | "
|
|
3864
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
3674
3865
|
request: string;
|
|
3675
3866
|
requestFragment?: string | undefined;
|
|
3676
3867
|
subDomain?: string | undefined;
|
|
@@ -4175,13 +4366,13 @@ declare const CustomPatternDefinitionSchema: z.ZodObject<{
|
|
|
4175
4366
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4176
4367
|
}, "strip", z.ZodTypeAny, {
|
|
4177
4368
|
type: "custom";
|
|
4178
|
-
component: "main" | "form" | "
|
|
4369
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
4179
4370
|
className: string;
|
|
4180
4371
|
slots?: string[] | undefined;
|
|
4181
4372
|
props?: string[] | undefined;
|
|
4182
4373
|
}, {
|
|
4183
4374
|
type: "custom";
|
|
4184
|
-
component: "main" | "form" | "
|
|
4375
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
4185
4376
|
className: string;
|
|
4186
4377
|
slots?: string[] | undefined;
|
|
4187
4378
|
props?: string[] | undefined;
|
|
@@ -4198,13 +4389,13 @@ declare const CustomPatternMapSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.Z
|
|
|
4198
4389
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4199
4390
|
}, "strip", z.ZodTypeAny, {
|
|
4200
4391
|
type: "custom";
|
|
4201
|
-
component: "main" | "form" | "
|
|
4392
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
4202
4393
|
className: string;
|
|
4203
4394
|
slots?: string[] | undefined;
|
|
4204
4395
|
props?: string[] | undefined;
|
|
4205
4396
|
}, {
|
|
4206
4397
|
type: "custom";
|
|
4207
|
-
component: "main" | "form" | "
|
|
4398
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
4208
4399
|
className: string;
|
|
4209
4400
|
slots?: string[] | undefined;
|
|
4210
4401
|
props?: string[] | undefined;
|
|
@@ -4884,6 +5075,7 @@ declare const EntityRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4884
5075
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
4885
5076
|
collection: z.ZodOptional<z.ZodString>;
|
|
4886
5077
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
5078
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
4887
5079
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
4888
5080
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
4889
5081
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4912,6 +5104,7 @@ declare const EntityRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4912
5104
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
4913
5105
|
fields: EntityField[];
|
|
4914
5106
|
collection?: string | undefined;
|
|
5107
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
4915
5108
|
timestamps?: boolean | undefined;
|
|
4916
5109
|
softDelete?: boolean | undefined;
|
|
4917
5110
|
description?: string | undefined;
|
|
@@ -4928,6 +5121,7 @@ declare const EntityRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4928
5121
|
fields: EntityField[];
|
|
4929
5122
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
4930
5123
|
collection?: string | undefined;
|
|
5124
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
4931
5125
|
timestamps?: boolean | undefined;
|
|
4932
5126
|
softDelete?: boolean | undefined;
|
|
4933
5127
|
description?: string | undefined;
|
|
@@ -5615,6 +5809,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
5615
5809
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
5616
5810
|
collection: z.ZodOptional<z.ZodString>;
|
|
5617
5811
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
5812
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
5618
5813
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
5619
5814
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
5620
5815
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -5643,6 +5838,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
5643
5838
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
5644
5839
|
fields: EntityField[];
|
|
5645
5840
|
collection?: string | undefined;
|
|
5841
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
5646
5842
|
timestamps?: boolean | undefined;
|
|
5647
5843
|
softDelete?: boolean | undefined;
|
|
5648
5844
|
description?: string | undefined;
|
|
@@ -5659,6 +5855,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
5659
5855
|
fields: EntityField[];
|
|
5660
5856
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
5661
5857
|
collection?: string | undefined;
|
|
5858
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
5662
5859
|
timestamps?: boolean | undefined;
|
|
5663
5860
|
softDelete?: boolean | undefined;
|
|
5664
5861
|
description?: string | undefined;
|
|
@@ -5688,6 +5885,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
5688
5885
|
description: z.ZodOptional<z.ZodString>;
|
|
5689
5886
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
5690
5887
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
5888
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
5691
5889
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5692
5890
|
name: z.ZodString;
|
|
5693
5891
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -6034,8 +6232,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6034
6232
|
}, "strip", z.ZodTypeAny, {
|
|
6035
6233
|
name: string;
|
|
6036
6234
|
ui?: Record<string, unknown> | undefined;
|
|
6037
|
-
category?: "validation" | "
|
|
6235
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
6038
6236
|
description?: string | undefined;
|
|
6237
|
+
linkedEntity?: string | undefined;
|
|
6039
6238
|
emits?: {
|
|
6040
6239
|
event: string;
|
|
6041
6240
|
description?: string | undefined;
|
|
@@ -6128,8 +6327,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6128
6327
|
}, {
|
|
6129
6328
|
name: string;
|
|
6130
6329
|
ui?: Record<string, unknown> | undefined;
|
|
6131
|
-
category?: "validation" | "
|
|
6330
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
6132
6331
|
description?: string | undefined;
|
|
6332
|
+
linkedEntity?: string | undefined;
|
|
6133
6333
|
emits?: {
|
|
6134
6334
|
event: string;
|
|
6135
6335
|
description?: string | undefined;
|
|
@@ -6403,7 +6603,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6403
6603
|
}>, "many">>;
|
|
6404
6604
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
6405
6605
|
}, "strip", z.ZodTypeAny, {
|
|
6406
|
-
category: "dashboard" | "
|
|
6606
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
6407
6607
|
request: string;
|
|
6408
6608
|
requestFragment?: string | undefined;
|
|
6409
6609
|
subDomain?: string | undefined;
|
|
@@ -6414,7 +6614,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6414
6614
|
}[] | undefined;
|
|
6415
6615
|
vocabulary?: Record<string, string> | undefined;
|
|
6416
6616
|
}, {
|
|
6417
|
-
category: "dashboard" | "
|
|
6617
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
6418
6618
|
request: string;
|
|
6419
6619
|
requestFragment?: string | undefined;
|
|
6420
6620
|
subDomain?: string | undefined;
|
|
@@ -6521,6 +6721,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6521
6721
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
6522
6722
|
fields: EntityField[];
|
|
6523
6723
|
collection?: string | undefined;
|
|
6724
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
6524
6725
|
timestamps?: boolean | undefined;
|
|
6525
6726
|
softDelete?: boolean | undefined;
|
|
6526
6727
|
description?: string | undefined;
|
|
@@ -6537,8 +6738,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6537
6738
|
traits: (string | {
|
|
6538
6739
|
name: string;
|
|
6539
6740
|
ui?: Record<string, unknown> | undefined;
|
|
6540
|
-
category?: "validation" | "
|
|
6741
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
6541
6742
|
description?: string | undefined;
|
|
6743
|
+
linkedEntity?: string | undefined;
|
|
6542
6744
|
emits?: {
|
|
6543
6745
|
event: string;
|
|
6544
6746
|
description?: string | undefined;
|
|
@@ -6737,7 +6939,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6737
6939
|
})[] | undefined;
|
|
6738
6940
|
exposes?: string[] | undefined;
|
|
6739
6941
|
domainContext?: {
|
|
6740
|
-
category: "dashboard" | "
|
|
6942
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
6741
6943
|
request: string;
|
|
6742
6944
|
requestFragment?: string | undefined;
|
|
6743
6945
|
subDomain?: string | undefined;
|
|
@@ -6776,6 +6978,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6776
6978
|
fields: EntityField[];
|
|
6777
6979
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
6778
6980
|
collection?: string | undefined;
|
|
6981
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
6779
6982
|
timestamps?: boolean | undefined;
|
|
6780
6983
|
softDelete?: boolean | undefined;
|
|
6781
6984
|
description?: string | undefined;
|
|
@@ -6792,8 +6995,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6792
6995
|
traits: (string | {
|
|
6793
6996
|
name: string;
|
|
6794
6997
|
ui?: Record<string, unknown> | undefined;
|
|
6795
|
-
category?: "validation" | "
|
|
6998
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
6796
6999
|
description?: string | undefined;
|
|
7000
|
+
linkedEntity?: string | undefined;
|
|
6797
7001
|
emits?: {
|
|
6798
7002
|
event: string;
|
|
6799
7003
|
description?: string | undefined;
|
|
@@ -6992,7 +7196,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
|
|
|
6992
7196
|
})[] | undefined;
|
|
6993
7197
|
exposes?: string[] | undefined;
|
|
6994
7198
|
domainContext?: {
|
|
6995
|
-
category: "dashboard" | "
|
|
7199
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
6996
7200
|
request: string;
|
|
6997
7201
|
requestFragment?: string | undefined;
|
|
6998
7202
|
subDomain?: string | undefined;
|
|
@@ -7245,6 +7449,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7245
7449
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
7246
7450
|
collection: z.ZodOptional<z.ZodString>;
|
|
7247
7451
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
7452
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
7248
7453
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
7249
7454
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
7250
7455
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7273,6 +7478,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7273
7478
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
7274
7479
|
fields: EntityField[];
|
|
7275
7480
|
collection?: string | undefined;
|
|
7481
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
7276
7482
|
timestamps?: boolean | undefined;
|
|
7277
7483
|
softDelete?: boolean | undefined;
|
|
7278
7484
|
description?: string | undefined;
|
|
@@ -7289,6 +7495,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7289
7495
|
fields: EntityField[];
|
|
7290
7496
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
7291
7497
|
collection?: string | undefined;
|
|
7498
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
7292
7499
|
timestamps?: boolean | undefined;
|
|
7293
7500
|
softDelete?: boolean | undefined;
|
|
7294
7501
|
description?: string | undefined;
|
|
@@ -7318,6 +7525,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7318
7525
|
description: z.ZodOptional<z.ZodString>;
|
|
7319
7526
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
7320
7527
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
7528
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
7321
7529
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7322
7530
|
name: z.ZodString;
|
|
7323
7531
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -7664,8 +7872,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7664
7872
|
}, "strip", z.ZodTypeAny, {
|
|
7665
7873
|
name: string;
|
|
7666
7874
|
ui?: Record<string, unknown> | undefined;
|
|
7667
|
-
category?: "validation" | "
|
|
7875
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
7668
7876
|
description?: string | undefined;
|
|
7877
|
+
linkedEntity?: string | undefined;
|
|
7669
7878
|
emits?: {
|
|
7670
7879
|
event: string;
|
|
7671
7880
|
description?: string | undefined;
|
|
@@ -7758,8 +7967,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
7758
7967
|
}, {
|
|
7759
7968
|
name: string;
|
|
7760
7969
|
ui?: Record<string, unknown> | undefined;
|
|
7761
|
-
category?: "validation" | "
|
|
7970
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
7762
7971
|
description?: string | undefined;
|
|
7972
|
+
linkedEntity?: string | undefined;
|
|
7763
7973
|
emits?: {
|
|
7764
7974
|
event: string;
|
|
7765
7975
|
description?: string | undefined;
|
|
@@ -8033,7 +8243,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8033
8243
|
}>, "many">>;
|
|
8034
8244
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
8035
8245
|
}, "strip", z.ZodTypeAny, {
|
|
8036
|
-
category: "dashboard" | "
|
|
8246
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
8037
8247
|
request: string;
|
|
8038
8248
|
requestFragment?: string | undefined;
|
|
8039
8249
|
subDomain?: string | undefined;
|
|
@@ -8044,7 +8254,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8044
8254
|
}[] | undefined;
|
|
8045
8255
|
vocabulary?: Record<string, string> | undefined;
|
|
8046
8256
|
}, {
|
|
8047
|
-
category: "dashboard" | "
|
|
8257
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
8048
8258
|
request: string;
|
|
8049
8259
|
requestFragment?: string | undefined;
|
|
8050
8260
|
subDomain?: string | undefined;
|
|
@@ -8151,6 +8361,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8151
8361
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
8152
8362
|
fields: EntityField[];
|
|
8153
8363
|
collection?: string | undefined;
|
|
8364
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
8154
8365
|
timestamps?: boolean | undefined;
|
|
8155
8366
|
softDelete?: boolean | undefined;
|
|
8156
8367
|
description?: string | undefined;
|
|
@@ -8167,8 +8378,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8167
8378
|
traits: (string | {
|
|
8168
8379
|
name: string;
|
|
8169
8380
|
ui?: Record<string, unknown> | undefined;
|
|
8170
|
-
category?: "validation" | "
|
|
8381
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
8171
8382
|
description?: string | undefined;
|
|
8383
|
+
linkedEntity?: string | undefined;
|
|
8172
8384
|
emits?: {
|
|
8173
8385
|
event: string;
|
|
8174
8386
|
description?: string | undefined;
|
|
@@ -8367,7 +8579,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8367
8579
|
})[] | undefined;
|
|
8368
8580
|
exposes?: string[] | undefined;
|
|
8369
8581
|
domainContext?: {
|
|
8370
|
-
category: "dashboard" | "
|
|
8582
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
8371
8583
|
request: string;
|
|
8372
8584
|
requestFragment?: string | undefined;
|
|
8373
8585
|
subDomain?: string | undefined;
|
|
@@ -8406,6 +8618,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8406
8618
|
fields: EntityField[];
|
|
8407
8619
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
8408
8620
|
collection?: string | undefined;
|
|
8621
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
8409
8622
|
timestamps?: boolean | undefined;
|
|
8410
8623
|
softDelete?: boolean | undefined;
|
|
8411
8624
|
description?: string | undefined;
|
|
@@ -8422,8 +8635,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8422
8635
|
traits: (string | {
|
|
8423
8636
|
name: string;
|
|
8424
8637
|
ui?: Record<string, unknown> | undefined;
|
|
8425
|
-
category?: "validation" | "
|
|
8638
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
8426
8639
|
description?: string | undefined;
|
|
8640
|
+
linkedEntity?: string | undefined;
|
|
8427
8641
|
emits?: {
|
|
8428
8642
|
event: string;
|
|
8429
8643
|
description?: string | undefined;
|
|
@@ -8622,7 +8836,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
|
|
|
8622
8836
|
})[] | undefined;
|
|
8623
8837
|
exposes?: string[] | undefined;
|
|
8624
8838
|
domainContext?: {
|
|
8625
|
-
category: "dashboard" | "
|
|
8839
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
8626
8840
|
request: string;
|
|
8627
8841
|
requestFragment?: string | undefined;
|
|
8628
8842
|
subDomain?: string | undefined;
|
|
@@ -8882,6 +9096,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
8882
9096
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
8883
9097
|
collection: z.ZodOptional<z.ZodString>;
|
|
8884
9098
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
9099
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
8885
9100
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
8886
9101
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
8887
9102
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -8910,6 +9125,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
8910
9125
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
8911
9126
|
fields: EntityField[];
|
|
8912
9127
|
collection?: string | undefined;
|
|
9128
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
8913
9129
|
timestamps?: boolean | undefined;
|
|
8914
9130
|
softDelete?: boolean | undefined;
|
|
8915
9131
|
description?: string | undefined;
|
|
@@ -8926,6 +9142,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
8926
9142
|
fields: EntityField[];
|
|
8927
9143
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
8928
9144
|
collection?: string | undefined;
|
|
9145
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
8929
9146
|
timestamps?: boolean | undefined;
|
|
8930
9147
|
softDelete?: boolean | undefined;
|
|
8931
9148
|
description?: string | undefined;
|
|
@@ -8955,6 +9172,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
8955
9172
|
description: z.ZodOptional<z.ZodString>;
|
|
8956
9173
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
8957
9174
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
9175
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
8958
9176
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8959
9177
|
name: z.ZodString;
|
|
8960
9178
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -9301,8 +9519,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9301
9519
|
}, "strip", z.ZodTypeAny, {
|
|
9302
9520
|
name: string;
|
|
9303
9521
|
ui?: Record<string, unknown> | undefined;
|
|
9304
|
-
category?: "validation" | "
|
|
9522
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
9305
9523
|
description?: string | undefined;
|
|
9524
|
+
linkedEntity?: string | undefined;
|
|
9306
9525
|
emits?: {
|
|
9307
9526
|
event: string;
|
|
9308
9527
|
description?: string | undefined;
|
|
@@ -9395,8 +9614,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9395
9614
|
}, {
|
|
9396
9615
|
name: string;
|
|
9397
9616
|
ui?: Record<string, unknown> | undefined;
|
|
9398
|
-
category?: "validation" | "
|
|
9617
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
9399
9618
|
description?: string | undefined;
|
|
9619
|
+
linkedEntity?: string | undefined;
|
|
9400
9620
|
emits?: {
|
|
9401
9621
|
event: string;
|
|
9402
9622
|
description?: string | undefined;
|
|
@@ -9670,7 +9890,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9670
9890
|
}>, "many">>;
|
|
9671
9891
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
9672
9892
|
}, "strip", z.ZodTypeAny, {
|
|
9673
|
-
category: "dashboard" | "
|
|
9893
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
9674
9894
|
request: string;
|
|
9675
9895
|
requestFragment?: string | undefined;
|
|
9676
9896
|
subDomain?: string | undefined;
|
|
@@ -9681,7 +9901,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9681
9901
|
}[] | undefined;
|
|
9682
9902
|
vocabulary?: Record<string, string> | undefined;
|
|
9683
9903
|
}, {
|
|
9684
|
-
category: "dashboard" | "
|
|
9904
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
9685
9905
|
request: string;
|
|
9686
9906
|
requestFragment?: string | undefined;
|
|
9687
9907
|
subDomain?: string | undefined;
|
|
@@ -9788,6 +10008,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9788
10008
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
9789
10009
|
fields: EntityField[];
|
|
9790
10010
|
collection?: string | undefined;
|
|
10011
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
9791
10012
|
timestamps?: boolean | undefined;
|
|
9792
10013
|
softDelete?: boolean | undefined;
|
|
9793
10014
|
description?: string | undefined;
|
|
@@ -9804,8 +10025,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
9804
10025
|
traits: (string | {
|
|
9805
10026
|
name: string;
|
|
9806
10027
|
ui?: Record<string, unknown> | undefined;
|
|
9807
|
-
category?: "validation" | "
|
|
10028
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
9808
10029
|
description?: string | undefined;
|
|
10030
|
+
linkedEntity?: string | undefined;
|
|
9809
10031
|
emits?: {
|
|
9810
10032
|
event: string;
|
|
9811
10033
|
description?: string | undefined;
|
|
@@ -10004,7 +10226,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
10004
10226
|
})[] | undefined;
|
|
10005
10227
|
exposes?: string[] | undefined;
|
|
10006
10228
|
domainContext?: {
|
|
10007
|
-
category: "dashboard" | "
|
|
10229
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
10008
10230
|
request: string;
|
|
10009
10231
|
requestFragment?: string | undefined;
|
|
10010
10232
|
subDomain?: string | undefined;
|
|
@@ -10043,6 +10265,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
10043
10265
|
fields: EntityField[];
|
|
10044
10266
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
10045
10267
|
collection?: string | undefined;
|
|
10268
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
10046
10269
|
timestamps?: boolean | undefined;
|
|
10047
10270
|
softDelete?: boolean | undefined;
|
|
10048
10271
|
description?: string | undefined;
|
|
@@ -10059,8 +10282,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
10059
10282
|
traits: (string | {
|
|
10060
10283
|
name: string;
|
|
10061
10284
|
ui?: Record<string, unknown> | undefined;
|
|
10062
|
-
category?: "validation" | "
|
|
10285
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
10063
10286
|
description?: string | undefined;
|
|
10287
|
+
linkedEntity?: string | undefined;
|
|
10064
10288
|
emits?: {
|
|
10065
10289
|
event: string;
|
|
10066
10290
|
description?: string | undefined;
|
|
@@ -10259,7 +10483,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
|
|
|
10259
10483
|
})[] | undefined;
|
|
10260
10484
|
exposes?: string[] | undefined;
|
|
10261
10485
|
domainContext?: {
|
|
10262
|
-
category: "dashboard" | "
|
|
10486
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
10263
10487
|
request: string;
|
|
10264
10488
|
requestFragment?: string | undefined;
|
|
10265
10489
|
subDomain?: string | undefined;
|
|
@@ -10422,7 +10646,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10422
10646
|
}>, "many">>;
|
|
10423
10647
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
10424
10648
|
}, "strip", z.ZodTypeAny, {
|
|
10425
|
-
category: "dashboard" | "
|
|
10649
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
10426
10650
|
request: string;
|
|
10427
10651
|
requestFragment?: string | undefined;
|
|
10428
10652
|
subDomain?: string | undefined;
|
|
@@ -10433,7 +10657,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10433
10657
|
}[] | undefined;
|
|
10434
10658
|
vocabulary?: Record<string, string> | undefined;
|
|
10435
10659
|
}, {
|
|
10436
|
-
category: "dashboard" | "
|
|
10660
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
10437
10661
|
request: string;
|
|
10438
10662
|
requestFragment?: string | undefined;
|
|
10439
10663
|
subDomain?: string | undefined;
|
|
@@ -10530,13 +10754,13 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10530
10754
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10531
10755
|
}, "strip", z.ZodTypeAny, {
|
|
10532
10756
|
type: "custom";
|
|
10533
|
-
component: "main" | "form" | "
|
|
10757
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
10534
10758
|
className: string;
|
|
10535
10759
|
slots?: string[] | undefined;
|
|
10536
10760
|
props?: string[] | undefined;
|
|
10537
10761
|
}, {
|
|
10538
10762
|
type: "custom";
|
|
10539
|
-
component: "main" | "form" | "
|
|
10763
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
10540
10764
|
className: string;
|
|
10541
10765
|
slots?: string[] | undefined;
|
|
10542
10766
|
props?: string[] | undefined;
|
|
@@ -10760,6 +10984,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10760
10984
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance"]>>;
|
|
10761
10985
|
collection: z.ZodOptional<z.ZodString>;
|
|
10762
10986
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, EntityField>, "many">;
|
|
10987
|
+
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
10763
10988
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
10764
10989
|
softDelete: z.ZodOptional<z.ZodBoolean>;
|
|
10765
10990
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -10788,6 +11013,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10788
11013
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
10789
11014
|
fields: EntityField[];
|
|
10790
11015
|
collection?: string | undefined;
|
|
11016
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
10791
11017
|
timestamps?: boolean | undefined;
|
|
10792
11018
|
softDelete?: boolean | undefined;
|
|
10793
11019
|
description?: string | undefined;
|
|
@@ -10804,6 +11030,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10804
11030
|
fields: EntityField[];
|
|
10805
11031
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
10806
11032
|
collection?: string | undefined;
|
|
11033
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
10807
11034
|
timestamps?: boolean | undefined;
|
|
10808
11035
|
softDelete?: boolean | undefined;
|
|
10809
11036
|
description?: string | undefined;
|
|
@@ -10833,6 +11060,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
10833
11060
|
description: z.ZodOptional<z.ZodString>;
|
|
10834
11061
|
description_visual_prompt: z.ZodOptional<z.ZodString>;
|
|
10835
11062
|
category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
|
|
11063
|
+
linkedEntity: z.ZodOptional<z.ZodString>;
|
|
10836
11064
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10837
11065
|
name: z.ZodString;
|
|
10838
11066
|
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
@@ -11179,8 +11407,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11179
11407
|
}, "strip", z.ZodTypeAny, {
|
|
11180
11408
|
name: string;
|
|
11181
11409
|
ui?: Record<string, unknown> | undefined;
|
|
11182
|
-
category?: "validation" | "
|
|
11410
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
11183
11411
|
description?: string | undefined;
|
|
11412
|
+
linkedEntity?: string | undefined;
|
|
11184
11413
|
emits?: {
|
|
11185
11414
|
event: string;
|
|
11186
11415
|
description?: string | undefined;
|
|
@@ -11273,8 +11502,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11273
11502
|
}, {
|
|
11274
11503
|
name: string;
|
|
11275
11504
|
ui?: Record<string, unknown> | undefined;
|
|
11276
|
-
category?: "validation" | "
|
|
11505
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
11277
11506
|
description?: string | undefined;
|
|
11507
|
+
linkedEntity?: string | undefined;
|
|
11278
11508
|
emits?: {
|
|
11279
11509
|
event: string;
|
|
11280
11510
|
description?: string | undefined;
|
|
@@ -11548,7 +11778,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11548
11778
|
}>, "many">>;
|
|
11549
11779
|
vocabulary: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11550
11780
|
}, "strip", z.ZodTypeAny, {
|
|
11551
|
-
category: "dashboard" | "
|
|
11781
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
11552
11782
|
request: string;
|
|
11553
11783
|
requestFragment?: string | undefined;
|
|
11554
11784
|
subDomain?: string | undefined;
|
|
@@ -11559,7 +11789,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11559
11789
|
}[] | undefined;
|
|
11560
11790
|
vocabulary?: Record<string, string> | undefined;
|
|
11561
11791
|
}, {
|
|
11562
|
-
category: "dashboard" | "
|
|
11792
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
11563
11793
|
request: string;
|
|
11564
11794
|
requestFragment?: string | undefined;
|
|
11565
11795
|
subDomain?: string | undefined;
|
|
@@ -11666,6 +11896,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11666
11896
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
11667
11897
|
fields: EntityField[];
|
|
11668
11898
|
collection?: string | undefined;
|
|
11899
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
11669
11900
|
timestamps?: boolean | undefined;
|
|
11670
11901
|
softDelete?: boolean | undefined;
|
|
11671
11902
|
description?: string | undefined;
|
|
@@ -11682,8 +11913,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11682
11913
|
traits: (string | {
|
|
11683
11914
|
name: string;
|
|
11684
11915
|
ui?: Record<string, unknown> | undefined;
|
|
11685
|
-
category?: "validation" | "
|
|
11916
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
11686
11917
|
description?: string | undefined;
|
|
11918
|
+
linkedEntity?: string | undefined;
|
|
11687
11919
|
emits?: {
|
|
11688
11920
|
event: string;
|
|
11689
11921
|
description?: string | undefined;
|
|
@@ -11882,7 +12114,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11882
12114
|
})[] | undefined;
|
|
11883
12115
|
exposes?: string[] | undefined;
|
|
11884
12116
|
domainContext?: {
|
|
11885
|
-
category: "dashboard" | "
|
|
12117
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
11886
12118
|
request: string;
|
|
11887
12119
|
requestFragment?: string | undefined;
|
|
11888
12120
|
subDomain?: string | undefined;
|
|
@@ -11921,6 +12153,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11921
12153
|
fields: EntityField[];
|
|
11922
12154
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
11923
12155
|
collection?: string | undefined;
|
|
12156
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
11924
12157
|
timestamps?: boolean | undefined;
|
|
11925
12158
|
softDelete?: boolean | undefined;
|
|
11926
12159
|
description?: string | undefined;
|
|
@@ -11937,8 +12170,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
11937
12170
|
traits: (string | {
|
|
11938
12171
|
name: string;
|
|
11939
12172
|
ui?: Record<string, unknown> | undefined;
|
|
11940
|
-
category?: "validation" | "
|
|
12173
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
11941
12174
|
description?: string | undefined;
|
|
12175
|
+
linkedEntity?: string | undefined;
|
|
11942
12176
|
emits?: {
|
|
11943
12177
|
event: string;
|
|
11944
12178
|
description?: string | undefined;
|
|
@@ -12137,7 +12371,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12137
12371
|
})[] | undefined;
|
|
12138
12372
|
exposes?: string[] | undefined;
|
|
12139
12373
|
domainContext?: {
|
|
12140
|
-
category: "dashboard" | "
|
|
12374
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
12141
12375
|
request: string;
|
|
12142
12376
|
requestFragment?: string | undefined;
|
|
12143
12377
|
subDomain?: string | undefined;
|
|
@@ -12354,6 +12588,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12354
12588
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
12355
12589
|
fields: EntityField[];
|
|
12356
12590
|
collection?: string | undefined;
|
|
12591
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
12357
12592
|
timestamps?: boolean | undefined;
|
|
12358
12593
|
softDelete?: boolean | undefined;
|
|
12359
12594
|
description?: string | undefined;
|
|
@@ -12370,8 +12605,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12370
12605
|
traits: (string | {
|
|
12371
12606
|
name: string;
|
|
12372
12607
|
ui?: Record<string, unknown> | undefined;
|
|
12373
|
-
category?: "validation" | "
|
|
12608
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
12374
12609
|
description?: string | undefined;
|
|
12610
|
+
linkedEntity?: string | undefined;
|
|
12375
12611
|
emits?: {
|
|
12376
12612
|
event: string;
|
|
12377
12613
|
description?: string | undefined;
|
|
@@ -12570,7 +12806,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12570
12806
|
})[] | undefined;
|
|
12571
12807
|
exposes?: string[] | undefined;
|
|
12572
12808
|
domainContext?: {
|
|
12573
|
-
category: "dashboard" | "
|
|
12809
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
12574
12810
|
request: string;
|
|
12575
12811
|
requestFragment?: string | undefined;
|
|
12576
12812
|
subDomain?: string | undefined;
|
|
@@ -12653,7 +12889,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12653
12889
|
env?: Record<string, string> | undefined;
|
|
12654
12890
|
})[] | undefined;
|
|
12655
12891
|
domainContext?: {
|
|
12656
|
-
category: "dashboard" | "
|
|
12892
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
12657
12893
|
request: string;
|
|
12658
12894
|
requestFragment?: string | undefined;
|
|
12659
12895
|
subDomain?: string | undefined;
|
|
@@ -12685,7 +12921,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12685
12921
|
designTokens?: Record<string, Record<string, string>> | undefined;
|
|
12686
12922
|
customPatterns?: Record<string, {
|
|
12687
12923
|
type: "custom";
|
|
12688
|
-
component: "main" | "form" | "
|
|
12924
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
12689
12925
|
className: string;
|
|
12690
12926
|
slots?: string[] | undefined;
|
|
12691
12927
|
props?: string[] | undefined;
|
|
@@ -12698,6 +12934,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12698
12934
|
fields: EntityField[];
|
|
12699
12935
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
12700
12936
|
collection?: string | undefined;
|
|
12937
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
12701
12938
|
timestamps?: boolean | undefined;
|
|
12702
12939
|
softDelete?: boolean | undefined;
|
|
12703
12940
|
description?: string | undefined;
|
|
@@ -12714,8 +12951,9 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12714
12951
|
traits: (string | {
|
|
12715
12952
|
name: string;
|
|
12716
12953
|
ui?: Record<string, unknown> | undefined;
|
|
12717
|
-
category?: "validation" | "
|
|
12954
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
12718
12955
|
description?: string | undefined;
|
|
12956
|
+
linkedEntity?: string | undefined;
|
|
12719
12957
|
emits?: {
|
|
12720
12958
|
event: string;
|
|
12721
12959
|
description?: string | undefined;
|
|
@@ -12914,7 +13152,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12914
13152
|
})[] | undefined;
|
|
12915
13153
|
exposes?: string[] | undefined;
|
|
12916
13154
|
domainContext?: {
|
|
12917
|
-
category: "dashboard" | "
|
|
13155
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
12918
13156
|
request: string;
|
|
12919
13157
|
requestFragment?: string | undefined;
|
|
12920
13158
|
subDomain?: string | undefined;
|
|
@@ -12997,7 +13235,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
12997
13235
|
env?: Record<string, string> | undefined;
|
|
12998
13236
|
})[] | undefined;
|
|
12999
13237
|
domainContext?: {
|
|
13000
|
-
category: "dashboard" | "
|
|
13238
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
13001
13239
|
request: string;
|
|
13002
13240
|
requestFragment?: string | undefined;
|
|
13003
13241
|
subDomain?: string | undefined;
|
|
@@ -13029,7 +13267,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
13029
13267
|
designTokens?: Record<string, Record<string, string>> | undefined;
|
|
13030
13268
|
customPatterns?: Record<string, {
|
|
13031
13269
|
type: "custom";
|
|
13032
|
-
component: "main" | "form" | "
|
|
13270
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
13033
13271
|
className: string;
|
|
13034
13272
|
slots?: string[] | undefined;
|
|
13035
13273
|
props?: string[] | undefined;
|
|
@@ -13050,6 +13288,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13050
13288
|
fields: EntityField[];
|
|
13051
13289
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | undefined;
|
|
13052
13290
|
collection?: string | undefined;
|
|
13291
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
13053
13292
|
timestamps?: boolean | undefined;
|
|
13054
13293
|
softDelete?: boolean | undefined;
|
|
13055
13294
|
description?: string | undefined;
|
|
@@ -13066,8 +13305,9 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13066
13305
|
traits: (string | {
|
|
13067
13306
|
name: string;
|
|
13068
13307
|
ui?: Record<string, unknown> | undefined;
|
|
13069
|
-
category?: "validation" | "
|
|
13308
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
13070
13309
|
description?: string | undefined;
|
|
13310
|
+
linkedEntity?: string | undefined;
|
|
13071
13311
|
emits?: {
|
|
13072
13312
|
event: string;
|
|
13073
13313
|
description?: string | undefined;
|
|
@@ -13266,7 +13506,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13266
13506
|
})[] | undefined;
|
|
13267
13507
|
exposes?: string[] | undefined;
|
|
13268
13508
|
domainContext?: {
|
|
13269
|
-
category: "dashboard" | "
|
|
13509
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
13270
13510
|
request: string;
|
|
13271
13511
|
requestFragment?: string | undefined;
|
|
13272
13512
|
subDomain?: string | undefined;
|
|
@@ -13349,7 +13589,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13349
13589
|
env?: Record<string, string> | undefined;
|
|
13350
13590
|
})[] | undefined;
|
|
13351
13591
|
domainContext?: {
|
|
13352
|
-
category: "dashboard" | "
|
|
13592
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
13353
13593
|
request: string;
|
|
13354
13594
|
requestFragment?: string | undefined;
|
|
13355
13595
|
subDomain?: string | undefined;
|
|
@@ -13381,7 +13621,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13381
13621
|
designTokens?: Record<string, Record<string, string>> | undefined;
|
|
13382
13622
|
customPatterns?: Record<string, {
|
|
13383
13623
|
type: "custom";
|
|
13384
|
-
component: "main" | "form" | "
|
|
13624
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
13385
13625
|
className: string;
|
|
13386
13626
|
slots?: string[] | undefined;
|
|
13387
13627
|
props?: string[] | undefined;
|
|
@@ -13394,6 +13634,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13394
13634
|
persistence: "persistent" | "runtime" | "singleton" | "instance";
|
|
13395
13635
|
fields: EntityField[];
|
|
13396
13636
|
collection?: string | undefined;
|
|
13637
|
+
instances?: Record<string, unknown>[] | undefined;
|
|
13397
13638
|
timestamps?: boolean | undefined;
|
|
13398
13639
|
softDelete?: boolean | undefined;
|
|
13399
13640
|
description?: string | undefined;
|
|
@@ -13410,8 +13651,9 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13410
13651
|
traits: (string | {
|
|
13411
13652
|
name: string;
|
|
13412
13653
|
ui?: Record<string, unknown> | undefined;
|
|
13413
|
-
category?: "validation" | "
|
|
13654
|
+
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
13414
13655
|
description?: string | undefined;
|
|
13656
|
+
linkedEntity?: string | undefined;
|
|
13415
13657
|
emits?: {
|
|
13416
13658
|
event: string;
|
|
13417
13659
|
description?: string | undefined;
|
|
@@ -13610,7 +13852,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13610
13852
|
})[] | undefined;
|
|
13611
13853
|
exposes?: string[] | undefined;
|
|
13612
13854
|
domainContext?: {
|
|
13613
|
-
category: "dashboard" | "
|
|
13855
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
13614
13856
|
request: string;
|
|
13615
13857
|
requestFragment?: string | undefined;
|
|
13616
13858
|
subDomain?: string | undefined;
|
|
@@ -13693,7 +13935,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13693
13935
|
env?: Record<string, string> | undefined;
|
|
13694
13936
|
})[] | undefined;
|
|
13695
13937
|
domainContext?: {
|
|
13696
|
-
category: "dashboard" | "
|
|
13938
|
+
category: "dashboard" | "content" | "form" | "social" | "game" | "business";
|
|
13697
13939
|
request: string;
|
|
13698
13940
|
requestFragment?: string | undefined;
|
|
13699
13941
|
subDomain?: string | undefined;
|
|
@@ -13725,7 +13967,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
13725
13967
|
designTokens?: Record<string, Record<string, string>> | undefined;
|
|
13726
13968
|
customPatterns?: Record<string, {
|
|
13727
13969
|
type: "custom";
|
|
13728
|
-
component: "main" | "form" | "
|
|
13970
|
+
component: "main" | "button" | "form" | "input" | "label" | "div" | "span" | "a" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "footer" | "section" | "article" | "nav" | "aside" | "ul" | "ol" | "li" | "img";
|
|
13729
13971
|
className: string;
|
|
13730
13972
|
slots?: string[] | undefined;
|
|
13731
13973
|
props?: string[] | undefined;
|
|
@@ -13737,93 +13979,14 @@ type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
|
|
|
13737
13979
|
/**
|
|
13738
13980
|
* S-Expression Operators
|
|
13739
13981
|
*
|
|
13740
|
-
*
|
|
13741
|
-
* This
|
|
13742
|
-
*
|
|
13743
|
-
* Operators are organized by category:
|
|
13744
|
-
* - Arithmetic: +, -, *, /, %, abs, min, max, floor, ceil, round
|
|
13745
|
-
* - Comparison: =, !=, <, >, <=, >=
|
|
13746
|
-
* - Logic: and, or, not, if
|
|
13747
|
-
* - Control: let, do, when
|
|
13748
|
-
* - Effects: set, emit, persist, navigate, notify, spawn, despawn
|
|
13749
|
-
* - Collections: map, filter, find, count, sum, first, last, nth, concat, includes
|
|
13750
|
-
* - Standard Library: std-math, std-str, std-array, std-object, std-validate, std-time, std-format, std-async
|
|
13982
|
+
* Re-exports operator types and data from the canonical @almadar/operators package.
|
|
13983
|
+
* This ensures almadar-core stays in sync with the single source of truth.
|
|
13751
13984
|
*
|
|
13752
13985
|
* @packageDocumentation
|
|
13753
13986
|
*/
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13757
|
-
* Metadata for an operator
|
|
13758
|
-
*/
|
|
13759
|
-
interface OperatorMeta {
|
|
13760
|
-
/** Operator category */
|
|
13761
|
-
category: OperatorCategory;
|
|
13762
|
-
/** Minimum number of arguments */
|
|
13763
|
-
minArity: number;
|
|
13764
|
-
/** Maximum number of arguments (null = unlimited) */
|
|
13765
|
-
maxArity: number | null;
|
|
13766
|
-
/** Human-readable description */
|
|
13767
|
-
description: string;
|
|
13768
|
-
/** Whether this operator has side effects (only valid in effect context) */
|
|
13769
|
-
hasSideEffects: boolean;
|
|
13770
|
-
/** Return type hint - basic types for core operators, extended types for std modules */
|
|
13771
|
-
returnType: string;
|
|
13772
|
-
}
|
|
13773
|
-
/**
|
|
13774
|
-
* Operator registry - single source of truth for all operators.
|
|
13775
|
-
*/
|
|
13776
|
-
declare const OPERATORS: Record<string, OperatorMeta>;
|
|
13777
|
-
/**
|
|
13778
|
-
* Get operator metadata by name.
|
|
13779
|
-
*
|
|
13780
|
-
* @param operator - Operator name
|
|
13781
|
-
* @returns Operator metadata or undefined if not found
|
|
13782
|
-
*/
|
|
13783
|
-
declare function getOperatorMeta(operator: string): OperatorMeta | undefined;
|
|
13784
|
-
/**
|
|
13785
|
-
* Check if an operator exists.
|
|
13786
|
-
*
|
|
13787
|
-
* @param operator - Operator name
|
|
13788
|
-
* @returns true if operator exists
|
|
13789
|
-
*/
|
|
13790
|
-
declare function isKnownOperator(operator: string): boolean;
|
|
13791
|
-
/**
|
|
13792
|
-
* Check if an operator has side effects.
|
|
13793
|
-
*
|
|
13794
|
-
* @param operator - Operator name
|
|
13795
|
-
* @returns true if operator has side effects
|
|
13796
|
-
*/
|
|
13797
|
-
declare function isEffectOperator(operator: string): boolean;
|
|
13798
|
-
/**
|
|
13799
|
-
* Check if an operator is valid in a guard context (no side effects).
|
|
13800
|
-
*
|
|
13801
|
-
* @param operator - Operator name
|
|
13802
|
-
* @returns true if operator can be used in guards
|
|
13803
|
-
*/
|
|
13804
|
-
declare function isGuardOperator(operator: string): boolean;
|
|
13805
|
-
/**
|
|
13806
|
-
* Get all operators in a category.
|
|
13807
|
-
*
|
|
13808
|
-
* @param category - Operator category
|
|
13809
|
-
* @returns Array of operator names
|
|
13810
|
-
*/
|
|
13811
|
-
declare function getOperatorsByCategory(category: OperatorCategory): string[];
|
|
13812
|
-
/**
|
|
13813
|
-
* Get all operator names.
|
|
13814
|
-
*
|
|
13815
|
-
* @returns Array of all operator names
|
|
13816
|
-
*/
|
|
13817
|
-
declare function getAllOperators(): string[];
|
|
13818
|
-
/**
|
|
13819
|
-
* Validate operator arity.
|
|
13820
|
-
*
|
|
13821
|
-
* @param operator - Operator name
|
|
13822
|
-
* @param argCount - Number of arguments provided
|
|
13823
|
-
* @returns Error message if invalid, null if valid
|
|
13824
|
-
*/
|
|
13825
|
-
declare function validateOperatorArity(operator: string, argCount: number): string | null;
|
|
13826
|
-
type OperatorName = keyof typeof OPERATORS;
|
|
13987
|
+
|
|
13988
|
+
declare const getAllOperators: () => string[];
|
|
13989
|
+
type OperatorName = string;
|
|
13827
13990
|
|
|
13828
13991
|
/**
|
|
13829
13992
|
* S-Expression Bindings
|
|
@@ -14001,37 +14164,22 @@ type InteractionModelInput = z.input<typeof InteractionModelSchema>;
|
|
|
14001
14164
|
/**
|
|
14002
14165
|
* Pattern Type for Orbital Units
|
|
14003
14166
|
*
|
|
14004
|
-
*
|
|
14005
|
-
*
|
|
14167
|
+
* Re-exports pattern type definitions from @almadar/patterns,
|
|
14168
|
+
* which is the single source of truth for all pattern types.
|
|
14006
14169
|
*
|
|
14007
14170
|
* @packageDocumentation
|
|
14008
14171
|
*/
|
|
14009
14172
|
|
|
14010
|
-
/**
|
|
14011
|
-
* Common pattern types.
|
|
14012
|
-
* The full list is defined in @almadar/patterns registry.
|
|
14013
|
-
*/
|
|
14014
|
-
declare const PATTERN_TYPES: readonly ["entity-table", "entity-list", "entity-cards", "entity-grid", "form", "form-section", "page-header", "stats", "stat-card", "master-detail", "dashboard-grid", "game-canvas", "game-hud", "game-controls"];
|
|
14015
|
-
/**
|
|
14016
|
-
* Pattern type union.
|
|
14017
|
-
* This is a string type to allow for custom/extended patterns.
|
|
14018
|
-
*/
|
|
14019
|
-
type PatternType = string;
|
|
14020
14173
|
/**
|
|
14021
14174
|
* Zod schema for pattern types.
|
|
14022
14175
|
* Accepts any string - validation against full registry happens at runtime.
|
|
14023
14176
|
*/
|
|
14024
14177
|
declare const PatternTypeSchema: z.ZodString;
|
|
14025
14178
|
/**
|
|
14026
|
-
* Get
|
|
14027
|
-
*
|
|
14179
|
+
* Get all valid pattern types from the registry.
|
|
14180
|
+
* Delegates to @almadar/patterns which is the SSOT.
|
|
14028
14181
|
*/
|
|
14029
14182
|
declare function getAllPatternTypes(): string[];
|
|
14030
|
-
/**
|
|
14031
|
-
* Check if a pattern type is in the common list.
|
|
14032
|
-
* For comprehensive validation, use @almadar/patterns registry.
|
|
14033
|
-
*/
|
|
14034
|
-
declare function isValidPatternType(patternType: string): patternType is PatternType;
|
|
14035
14183
|
|
|
14036
14184
|
/**
|
|
14037
14185
|
* Shared Intermediate Representation Types
|
|
@@ -14080,6 +14228,8 @@ interface ResolvedEntity {
|
|
|
14080
14228
|
singleton?: boolean;
|
|
14081
14229
|
/** Whether this entity has pre-authored instances in the schema */
|
|
14082
14230
|
hasInstances?: boolean;
|
|
14231
|
+
/** Pre-authored instances from the schema (seed data or static reference data) */
|
|
14232
|
+
instances?: Record<string, unknown>[];
|
|
14083
14233
|
/** Default field values from schema (for spawning singletons) */
|
|
14084
14234
|
defaults?: Record<string, unknown>;
|
|
14085
14235
|
usedByTraits: string[];
|
|
@@ -14299,4 +14449,4 @@ declare function createResolvedField(field: {
|
|
|
14299
14449
|
}): ResolvedField;
|
|
14300
14450
|
declare function isResolvedIR(ir: unknown): ir is ResolvedIR;
|
|
14301
14451
|
|
|
14302
|
-
export { ALLOWED_CUSTOM_COMPONENTS, type AllowedCustomComponent, type AnimationDef, type AnimationDefInput, AnimationDefSchema, type OrbitalSchema as AppSchema, type AssetMap, type AssetMapInput, AssetMapSchema, type AssetMapping, type AssetMappingInput, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, type BindingContext, BindingSchema, CORE_BINDINGS, type CallServiceConfig, type ComputedEventContract, ComputedEventContractSchema, type ComputedEventListener, ComputedEventListenerSchema, type CoreBinding, type CreateFlow, type CustomPatternDefinition, type CustomPatternDefinitionInput, CustomPatternDefinitionSchema, type CustomPatternMap, type CustomPatternMapInput, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, type DeleteFlow, type DesignPreferences, type DesignPreferencesInput, DesignPreferencesSchema, type DesignTokens, type DesignTokensInput, DesignTokensSchema, type DomainCategory, DomainCategorySchema, type DomainContext, type DomainContextInput, DomainContextSchema, type DomainVocabulary, DomainVocabularySchema, ENTITY_ROLES, type EditFlow, type Effect, type EffectInput, EffectSchema, type Entity, type EntityField, type EntityFieldInput, EntityFieldSchema, type EntityPersistence, EntityPersistenceSchema, type EntityRef, EntityRefSchema, EntityRefStringSchema, type EntityRole, EntityRoleSchema, EntitySchema, type EntitySemanticRole, EntitySemanticRoleSchema, type Event, type EventInput, type EventListener, EventListenerSchema, type EventPayloadField, EventPayloadFieldSchema, EventSchema, type EventScope, EventScopeSchema, type EventSemanticRole, EventSemanticRoleSchema, type EventSource, EventSourceSchema, type Expression, type ExpressionInput, ExpressionSchema, type Field, type FieldFormat, FieldFormatSchema, FieldSchema, type FieldType, FieldTypeSchema, type Orbital as FullOrbitalUnit, GAME_TYPES, type GameSubCategory, GameSubCategorySchema, type GameType, GameTypeSchema, type Guard, type GuardInput, GuardSchema, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type ListInteraction, type McpServiceDef, McpServiceDefSchema, type NodeClassification, NodeClassificationSchema,
|
|
14452
|
+
export { ALLOWED_CUSTOM_COMPONENTS, type AllowedCustomComponent, type AnimationDef, type AnimationDefInput, AnimationDefSchema, type OrbitalSchema as AppSchema, type AssetMap, type AssetMapInput, AssetMapSchema, type AssetMapping, type AssetMappingInput, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, type BindingContext, BindingSchema, CORE_BINDINGS, type CallServiceConfig, type ComputedEventContract, ComputedEventContractSchema, type ComputedEventListener, ComputedEventListenerSchema, type CoreBinding, type CreateFlow, type CustomPatternDefinition, type CustomPatternDefinitionInput, CustomPatternDefinitionSchema, type CustomPatternMap, type CustomPatternMapInput, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, type DeleteFlow, type DesignPreferences, type DesignPreferencesInput, DesignPreferencesSchema, type DesignTokens, type DesignTokensInput, DesignTokensSchema, type DomainCategory, DomainCategorySchema, type DomainContext, type DomainContextInput, DomainContextSchema, type DomainVocabulary, DomainVocabularySchema, ENTITY_ROLES, type EditFlow, type Effect, type EffectInput, EffectSchema, type Entity, type EntityField, type EntityFieldInput, EntityFieldSchema, type EntityPersistence, EntityPersistenceSchema, type EntityRef, EntityRefSchema, EntityRefStringSchema, type EntityRole, EntityRoleSchema, EntitySchema, type EntitySemanticRole, EntitySemanticRoleSchema, type Event, type EventInput, type EventListener, EventListenerSchema, type EventPayloadField, EventPayloadFieldSchema, EventSchema, type EventScope, EventScopeSchema, type EventSemanticRole, EventSemanticRoleSchema, type EventSource, EventSourceSchema, type Expression, type ExpressionInput, ExpressionSchema, type Field, type FieldFormat, FieldFormatSchema, FieldSchema, type FieldType, FieldTypeSchema, type Orbital as FullOrbitalUnit, GAME_TYPES, type GameSubCategory, GameSubCategorySchema, type GameType, GameTypeSchema, type Guard, type GuardInput, GuardSchema, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type ListInteraction, type McpServiceDef, McpServiceDefSchema, type NodeClassification, NodeClassificationSchema, type OperatorName, type Orbital, type OrbitalConfig, type OrbitalConfigInput, OrbitalConfigSchema, type OrbitalDefinition, OrbitalDefinitionSchema, type OrbitalEntity, type OrbitalEntityInput, OrbitalEntitySchema, type OrbitalInput, type OrbitalPage, type OrbitalPageInput, OrbitalPageSchema, type OrbitalPageStrictInput, OrbitalPageStrictSchema, type OrbitalSchema, type OrbitalSchemaInput, OrbitalSchemaSchema, type OrbitalTraitRef, OrbitalTraitRefSchema, type OrbitalUnit, OrbitalUnitSchema, OrbitalSchema$1 as OrbitalZodSchema, type Page, type PageRef, type PageRefObject, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, type PageTraitRef, PageTraitRefSchema, type ParsedBinding, PatternTypeSchema, type PayloadField, PayloadFieldSchema, type PresentationType, type RelatedLink, RelatedLinkSchema, type RelationConfig, RelationConfigSchema, type RenderUIConfig, type RequiredField, RequiredFieldSchema, type ResolvedAsset, type ResolvedAssetInput, ResolvedAssetSchema, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, type RestAuthConfig, RestAuthConfigSchema, type RestServiceDef, RestServiceDefSchema, SERVICE_TYPES, type SExpr, type SExprAtom, SExprAtomSchema, type SExprInput, SExprSchema, type SemanticAssetRef, type SemanticAssetRefInput, SemanticAssetRefSchema, type ServiceDefinition, ServiceDefinitionSchema, type ServiceRef, ServiceRefSchema, ServiceRefStringSchema, type ServiceType, ServiceTypeSchema, type SocketEvents, SocketEventsSchema, type SocketServiceDef, SocketServiceDefSchema, type State, type StateInput, type StateMachine, type StateMachineInput, StateMachineSchema, StateSchema, type StateSemanticRole, StateSemanticRoleSchema, type SuggestedGuard, SuggestedGuardSchema, type ThemeDefinition, ThemeDefinitionSchema, type ThemeRef, ThemeRefSchema, ThemeRefStringSchema, type ThemeTokens, ThemeTokensSchema, type ThemeVariant, ThemeVariantSchema, type Trait, type TraitCategory, TraitCategorySchema, type TraitDataEntity, TraitDataEntitySchema, type TraitEntityField, TraitEntityFieldSchema, type TraitEventContract, TraitEventContractSchema, type TraitEventListener, TraitEventListenerSchema, type TraitInput, type TraitRef, TraitRefSchema, type TraitReference, type TraitReferenceInput, TraitReferenceSchema, TraitSchema, type TraitTick, TraitTickSchema, type TraitUIBinding, type Transition, type TransitionFrom, type TransitionInput, TransitionSchema, type UISlot, UISlotSchema, UI_SLOTS, type UXHints, UXHintsSchema, type UseDeclaration, UseDeclarationSchema, type UserPersona, type UserPersonaInput, UserPersonaSchema, VISUAL_STYLES, type ViewFlow, type ViewType, ViewTypeSchema, type VisualStyle, VisualStyleSchema, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createResolvedField, deriveCollection, despawn, doEffects, emit, findService, getAllOperators, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityReference, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isSingletonEntity, isSocketService, isThemeReference, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, validateAssetAnimations, validateBindingInContext, walkSExpr };
|