@almadar/core 7.15.1 → 7.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,137 @@ import { S as SExpr, b as EventPayload, d as Expression } from './expression-BVR
2
2
  import { z } from 'zod';
3
3
  import { AnyPatternConfig } from '@almadar/patterns';
4
4
 
5
+ /**
6
+ * Field Types for Orbital Units
7
+ *
8
+ * Extracted from schema/data-entities.ts for the orbitals module.
9
+ * These types define the field structure within orbital entities.
10
+ *
11
+ * @packageDocumentation
12
+ */
13
+
14
+ /**
15
+ * Supported field types for entity fields.
16
+ *
17
+ * @example
18
+ * { name: 'status', type: 'enum', values: ['draft', 'published'] }
19
+ * { name: 'authorId', type: 'relation', relation: { entity: 'User', cardinality: 'one' } }
20
+ */
21
+ type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'array' | 'object' | 'enum' | 'relation' | 'trait';
22
+ declare const FieldTypeSchema: z.ZodEnum<["string", "number", "boolean", "date", "timestamp", "datetime", "array", "object", "enum", "relation", "trait"]>;
23
+ /**
24
+ * Cardinality for relation fields.
25
+ * Matches Rust compiler's Cardinality enum.
26
+ */
27
+ type RelationCardinality = 'one' | 'many' | 'one-to-many' | 'many-to-one' | 'many-to-many';
28
+ /**
29
+ * Configuration for relation fields (foreign keys).
30
+ * Matches Rust compiler's RelationDefinition format.
31
+ */
32
+ interface RelationConfig {
33
+ /** Target entity name (e.g., 'User', 'Task') - matches Rust's `entity` field */
34
+ entity: string;
35
+ /** Field on target entity (defaults to 'id') */
36
+ field?: string;
37
+ /**
38
+ * Cardinality: one, many, one-to-many, many-to-one, many-to-many
39
+ * Matches Rust compiler's cardinality format
40
+ */
41
+ cardinality?: RelationCardinality;
42
+ /** Delete behavior */
43
+ onDelete?: 'cascade' | 'nullify' | 'restrict';
44
+ /**
45
+ * Foreign key field name (for legacy compatibility).
46
+ * @deprecated Use field instead
47
+ */
48
+ foreignKey?: string;
49
+ /**
50
+ * Target entity name (for legacy compatibility).
51
+ * @deprecated Use entity instead
52
+ */
53
+ target?: string;
54
+ /**
55
+ * Cardinality type alias (for legacy compatibility).
56
+ * @deprecated Use cardinality instead
57
+ */
58
+ type?: RelationCardinality;
59
+ }
60
+ declare const RelationConfigSchema: z.ZodEffects<z.ZodObject<{
61
+ entity: z.ZodString;
62
+ field: z.ZodOptional<z.ZodString>;
63
+ cardinality: z.ZodOptional<z.ZodEnum<["one", "many", "one-to-many", "many-to-one", "many-to-many"]>>;
64
+ onDelete: z.ZodOptional<z.ZodEnum<["cascade", "nullify", "restrict"]>>;
65
+ foreignKey: z.ZodOptional<z.ZodString>;
66
+ target: z.ZodOptional<z.ZodString>;
67
+ type: z.ZodOptional<z.ZodEnum<["one", "many", "one-to-many", "many-to-one", "many-to-many"]>>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ entity: string;
70
+ field?: string | undefined;
71
+ cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
72
+ onDelete?: "cascade" | "nullify" | "restrict" | undefined;
73
+ foreignKey?: string | undefined;
74
+ target?: string | undefined;
75
+ type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
76
+ }, {
77
+ entity: string;
78
+ field?: string | undefined;
79
+ cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
80
+ onDelete?: "cascade" | "nullify" | "restrict" | undefined;
81
+ foreignKey?: string | undefined;
82
+ target?: string | undefined;
83
+ type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
84
+ }>, RelationConfig, {
85
+ entity: string;
86
+ field?: string | undefined;
87
+ cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
88
+ onDelete?: "cascade" | "nullify" | "restrict" | undefined;
89
+ foreignKey?: string | undefined;
90
+ target?: string | undefined;
91
+ type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
92
+ }>;
93
+ /**
94
+ * Field format validators for string fields.
95
+ */
96
+ type FieldFormat = 'email' | 'url' | 'phone' | 'date' | 'datetime' | 'uuid';
97
+ declare const FieldFormatSchema: z.ZodEnum<["email", "url", "phone", "date", "datetime", "uuid"]>;
98
+ /**
99
+ * Entity field definition.
100
+ */
101
+ interface EntityField {
102
+ /**
103
+ * Field name (camelCase). Optional for nested item/property descriptors
104
+ * where the name is implied by the parent (`items`, `properties[k]`).
105
+ * Mirrors Rust's `FieldDefinition.name: Option<String>`.
106
+ */
107
+ name?: string;
108
+ /** Data type */
109
+ type: FieldType;
110
+ /** Whether the field is required */
111
+ required?: boolean;
112
+ /** Default value */
113
+ default?: unknown;
114
+ /** Allowed values for enum types */
115
+ values?: string[];
116
+ /** @deprecated Use 'values' instead */
117
+ enum?: string[];
118
+ /** Validation format */
119
+ format?: FieldFormat;
120
+ /** Minimum value (for number) or length (for string) */
121
+ min?: number;
122
+ /** Maximum value or length */
123
+ max?: number;
124
+ /** Array item schema (for array type) */
125
+ items?: EntityField;
126
+ /** Relation configuration (required when type is 'relation') */
127
+ relation?: RelationConfig;
128
+ }
129
+ declare const EntityFieldSchema: z.ZodType<EntityField, z.ZodTypeDef, unknown>;
130
+ type EntityFieldInput = z.input<typeof EntityFieldSchema>;
131
+ /** Alias for EntityField - preferred name */
132
+ type Field = EntityField;
133
+ /** Alias for EntityFieldSchema - preferred name */
134
+ declare const FieldSchema: z.ZodType<EntityField, z.ZodTypeDef, unknown>;
135
+
5
136
  /**
6
137
  * Service Types for Orbital Schema
7
138
  *
@@ -746,137 +877,6 @@ interface ServiceParams {
746
877
  [key: string]: ServiceParamsValue;
747
878
  }
748
879
 
749
- /**
750
- * Field Types for Orbital Units
751
- *
752
- * Extracted from schema/data-entities.ts for the orbitals module.
753
- * These types define the field structure within orbital entities.
754
- *
755
- * @packageDocumentation
756
- */
757
-
758
- /**
759
- * Supported field types for entity fields.
760
- *
761
- * @example
762
- * { name: 'status', type: 'enum', values: ['draft', 'published'] }
763
- * { name: 'authorId', type: 'relation', relation: { entity: 'User', cardinality: 'one' } }
764
- */
765
- type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'array' | 'object' | 'enum' | 'relation' | 'trait';
766
- declare const FieldTypeSchema: z.ZodEnum<["string", "number", "boolean", "date", "timestamp", "datetime", "array", "object", "enum", "relation", "trait"]>;
767
- /**
768
- * Cardinality for relation fields.
769
- * Matches Rust compiler's Cardinality enum.
770
- */
771
- type RelationCardinality = 'one' | 'many' | 'one-to-many' | 'many-to-one' | 'many-to-many';
772
- /**
773
- * Configuration for relation fields (foreign keys).
774
- * Matches Rust compiler's RelationDefinition format.
775
- */
776
- interface RelationConfig {
777
- /** Target entity name (e.g., 'User', 'Task') - matches Rust's `entity` field */
778
- entity: string;
779
- /** Field on target entity (defaults to 'id') */
780
- field?: string;
781
- /**
782
- * Cardinality: one, many, one-to-many, many-to-one, many-to-many
783
- * Matches Rust compiler's cardinality format
784
- */
785
- cardinality?: RelationCardinality;
786
- /** Delete behavior */
787
- onDelete?: 'cascade' | 'nullify' | 'restrict';
788
- /**
789
- * Foreign key field name (for legacy compatibility).
790
- * @deprecated Use field instead
791
- */
792
- foreignKey?: string;
793
- /**
794
- * Target entity name (for legacy compatibility).
795
- * @deprecated Use entity instead
796
- */
797
- target?: string;
798
- /**
799
- * Cardinality type alias (for legacy compatibility).
800
- * @deprecated Use cardinality instead
801
- */
802
- type?: RelationCardinality;
803
- }
804
- declare const RelationConfigSchema: z.ZodEffects<z.ZodObject<{
805
- entity: z.ZodString;
806
- field: z.ZodOptional<z.ZodString>;
807
- cardinality: z.ZodOptional<z.ZodEnum<["one", "many", "one-to-many", "many-to-one", "many-to-many"]>>;
808
- onDelete: z.ZodOptional<z.ZodEnum<["cascade", "nullify", "restrict"]>>;
809
- foreignKey: z.ZodOptional<z.ZodString>;
810
- target: z.ZodOptional<z.ZodString>;
811
- type: z.ZodOptional<z.ZodEnum<["one", "many", "one-to-many", "many-to-one", "many-to-many"]>>;
812
- }, "strip", z.ZodTypeAny, {
813
- entity: string;
814
- field?: string | undefined;
815
- cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
816
- onDelete?: "cascade" | "nullify" | "restrict" | undefined;
817
- foreignKey?: string | undefined;
818
- target?: string | undefined;
819
- type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
820
- }, {
821
- entity: string;
822
- field?: string | undefined;
823
- cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
824
- onDelete?: "cascade" | "nullify" | "restrict" | undefined;
825
- foreignKey?: string | undefined;
826
- target?: string | undefined;
827
- type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
828
- }>, RelationConfig, {
829
- entity: string;
830
- field?: string | undefined;
831
- cardinality?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
832
- onDelete?: "cascade" | "nullify" | "restrict" | undefined;
833
- foreignKey?: string | undefined;
834
- target?: string | undefined;
835
- type?: "one" | "many" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
836
- }>;
837
- /**
838
- * Field format validators for string fields.
839
- */
840
- type FieldFormat = 'email' | 'url' | 'phone' | 'date' | 'datetime' | 'uuid';
841
- declare const FieldFormatSchema: z.ZodEnum<["email", "url", "phone", "date", "datetime", "uuid"]>;
842
- /**
843
- * Entity field definition.
844
- */
845
- interface EntityField {
846
- /**
847
- * Field name (camelCase). Optional for nested item/property descriptors
848
- * where the name is implied by the parent (`items`, `properties[k]`).
849
- * Mirrors Rust's `FieldDefinition.name: Option<String>`.
850
- */
851
- name?: string;
852
- /** Data type */
853
- type: FieldType;
854
- /** Whether the field is required */
855
- required?: boolean;
856
- /** Default value */
857
- default?: unknown;
858
- /** Allowed values for enum types */
859
- values?: string[];
860
- /** @deprecated Use 'values' instead */
861
- enum?: string[];
862
- /** Validation format */
863
- format?: FieldFormat;
864
- /** Minimum value (for number) or length (for string) */
865
- min?: number;
866
- /** Maximum value or length */
867
- max?: number;
868
- /** Array item schema (for array type) */
869
- items?: EntityField;
870
- /** Relation configuration (required when type is 'relation') */
871
- relation?: RelationConfig;
872
- }
873
- declare const EntityFieldSchema: z.ZodType<EntityField, z.ZodTypeDef, unknown>;
874
- type EntityFieldInput = z.input<typeof EntityFieldSchema>;
875
- /** Alias for EntityField - preferred name */
876
- type Field = EntityField;
877
- /** Alias for EntityFieldSchema - preferred name */
878
- declare const FieldSchema: z.ZodType<EntityField, z.ZodTypeDef, unknown>;
879
-
880
880
  /**
881
881
  * Asset Types for Semantic Asset References
882
882
  *
@@ -3298,6 +3298,37 @@ interface Trait {
3298
3298
  * `config: { ... }` override.
3299
3299
  */
3300
3300
  config?: DeclaredTraitConfig;
3301
+ /**
3302
+ * Set by the resolve/inline phase when this trait was cloned from a
3303
+ * `uses[]` import. Absent for traits authored directly on the
3304
+ * orbital. Viewport-only metadata — runtime and codegen ignore it.
3305
+ * Drives Studio's L2 grouping (imported traits collapse under one
3306
+ * card per alias) and L3 drill (alias → that behavior's transitions).
3307
+ */
3308
+ sourceBehavior?: SourceBehaviorMetadata;
3309
+ /**
3310
+ * Set by the resolve/inline phase alongside `sourceBehavior`. Carries
3311
+ * the resolved `Entity` definition of the imported behavior so the
3312
+ * client-side mock-data generator can produce rows for the trait's
3313
+ * `linkedEntity` without re-walking the import graph at runtime.
3314
+ */
3315
+ sourceEntityDefinition?: Entity;
3316
+ }
3317
+ /**
3318
+ * Provenance attached to a trait that was cloned from a `uses[]` import
3319
+ * during the inline phase. The resolved schema carries this so Studio
3320
+ * can group L2 cards by source behavior and offer an L3 drill into the
3321
+ * import's own transitions.
3322
+ */
3323
+ interface SourceBehaviorMetadata {
3324
+ /** Behavior name (e.g. "std-stat-card") — the resolved `from:` value. */
3325
+ behavior: string;
3326
+ /** Alias used at the import site (e.g. "Stat"). Multiple imports of
3327
+ * the same atom group by alias, not by behavior. */
3328
+ alias: string;
3329
+ /** Original trait name inside the imported behavior, before any
3330
+ * call-site `name:` rename. */
3331
+ originalName: string;
3301
3332
  }
3302
3333
  declare const TraitSchema: z.ZodObject<{
3303
3334
  name: z.ZodString;
@@ -3715,6 +3746,83 @@ declare const TraitSchema: z.ZodObject<{
3715
3746
  }>, "many">>;
3716
3747
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3717
3748
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
3749
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
3750
+ behavior: z.ZodString;
3751
+ alias: z.ZodString;
3752
+ originalName: z.ZodString;
3753
+ }, "strip", z.ZodTypeAny, {
3754
+ behavior: string;
3755
+ alias: string;
3756
+ originalName: string;
3757
+ }, {
3758
+ behavior: string;
3759
+ alias: string;
3760
+ originalName: string;
3761
+ }>>;
3762
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
3763
+ name: z.ZodString;
3764
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
3765
+ collection: z.ZodOptional<z.ZodString>;
3766
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
3767
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
3768
+ timestamps: z.ZodOptional<z.ZodBoolean>;
3769
+ softDelete: z.ZodOptional<z.ZodBoolean>;
3770
+ description: z.ZodOptional<z.ZodString>;
3771
+ visual_prompt: z.ZodOptional<z.ZodString>;
3772
+ assetRef: z.ZodOptional<z.ZodObject<{
3773
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
3774
+ category: z.ZodString;
3775
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3776
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
3777
+ variant: z.ZodOptional<z.ZodString>;
3778
+ }, "strip", z.ZodTypeAny, {
3779
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
3780
+ category: string;
3781
+ animations?: string[] | undefined;
3782
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3783
+ variant?: string | undefined;
3784
+ }, {
3785
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
3786
+ category: string;
3787
+ animations?: string[] | undefined;
3788
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3789
+ variant?: string | undefined;
3790
+ }>>;
3791
+ }, "strip", z.ZodTypeAny, {
3792
+ name: string;
3793
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
3794
+ fields: EntityField[];
3795
+ collection?: string | undefined;
3796
+ instances?: Record<string, unknown>[] | undefined;
3797
+ timestamps?: boolean | undefined;
3798
+ softDelete?: boolean | undefined;
3799
+ description?: string | undefined;
3800
+ visual_prompt?: string | undefined;
3801
+ assetRef?: {
3802
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
3803
+ category: string;
3804
+ animations?: string[] | undefined;
3805
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3806
+ variant?: string | undefined;
3807
+ } | undefined;
3808
+ }, {
3809
+ name: string;
3810
+ fields: unknown[];
3811
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
3812
+ collection?: string | undefined;
3813
+ instances?: Record<string, unknown>[] | undefined;
3814
+ timestamps?: boolean | undefined;
3815
+ softDelete?: boolean | undefined;
3816
+ description?: string | undefined;
3817
+ visual_prompt?: string | undefined;
3818
+ assetRef?: {
3819
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
3820
+ category: string;
3821
+ animations?: string[] | undefined;
3822
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3823
+ variant?: string | undefined;
3824
+ } | undefined;
3825
+ }>>;
3718
3826
  }, "strip", z.ZodTypeAny, {
3719
3827
  name: string;
3720
3828
  scope: "instance" | "collection";
@@ -3822,6 +3930,29 @@ declare const TraitSchema: z.ZodObject<{
3822
3930
  appliesTo?: string[] | undefined;
3823
3931
  emits?: string[] | undefined;
3824
3932
  }[] | undefined;
3933
+ sourceBehavior?: {
3934
+ behavior: string;
3935
+ alias: string;
3936
+ originalName: string;
3937
+ } | undefined;
3938
+ sourceEntityDefinition?: {
3939
+ name: string;
3940
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
3941
+ fields: EntityField[];
3942
+ collection?: string | undefined;
3943
+ instances?: Record<string, unknown>[] | undefined;
3944
+ timestamps?: boolean | undefined;
3945
+ softDelete?: boolean | undefined;
3946
+ description?: string | undefined;
3947
+ visual_prompt?: string | undefined;
3948
+ assetRef?: {
3949
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
3950
+ category: string;
3951
+ animations?: string[] | undefined;
3952
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3953
+ variant?: string | undefined;
3954
+ } | undefined;
3955
+ } | undefined;
3825
3956
  }, {
3826
3957
  name: string;
3827
3958
  scope: "instance" | "collection";
@@ -3929,6 +4060,29 @@ declare const TraitSchema: z.ZodObject<{
3929
4060
  appliesTo?: string[] | undefined;
3930
4061
  emits?: string[] | undefined;
3931
4062
  }[] | undefined;
4063
+ sourceBehavior?: {
4064
+ behavior: string;
4065
+ alias: string;
4066
+ originalName: string;
4067
+ } | undefined;
4068
+ sourceEntityDefinition?: {
4069
+ name: string;
4070
+ fields: unknown[];
4071
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
4072
+ collection?: string | undefined;
4073
+ instances?: Record<string, unknown>[] | undefined;
4074
+ timestamps?: boolean | undefined;
4075
+ softDelete?: boolean | undefined;
4076
+ description?: string | undefined;
4077
+ visual_prompt?: string | undefined;
4078
+ assetRef?: {
4079
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4080
+ category: string;
4081
+ animations?: string[] | undefined;
4082
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4083
+ variant?: string | undefined;
4084
+ } | undefined;
4085
+ } | undefined;
3932
4086
  }>;
3933
4087
  declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3934
4088
  ref: z.ZodString;
@@ -4343,27 +4497,104 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4343
4497
  orbital: string;
4344
4498
  kind: "orbital";
4345
4499
  } | undefined;
4346
- scope?: "internal" | "external" | undefined;
4347
- payloadMapping?: Record<string, string> | undefined;
4500
+ scope?: "internal" | "external" | undefined;
4501
+ payloadMapping?: Record<string, string> | undefined;
4502
+ }, {
4503
+ event: string;
4504
+ triggers: string;
4505
+ guard?: SExpr | undefined;
4506
+ source?: {
4507
+ kind: "any";
4508
+ } | {
4509
+ trait: string;
4510
+ kind: "trait";
4511
+ } | {
4512
+ trait: string;
4513
+ orbital: string;
4514
+ kind: "orbital";
4515
+ } | undefined;
4516
+ scope?: "internal" | "external" | undefined;
4517
+ payloadMapping?: Record<string, string> | undefined;
4518
+ }>, "many">>;
4519
+ ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4520
+ config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
4521
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
4522
+ behavior: z.ZodString;
4523
+ alias: z.ZodString;
4524
+ originalName: z.ZodString;
4525
+ }, "strip", z.ZodTypeAny, {
4526
+ behavior: string;
4527
+ alias: string;
4528
+ originalName: string;
4529
+ }, {
4530
+ behavior: string;
4531
+ alias: string;
4532
+ originalName: string;
4533
+ }>>;
4534
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
4535
+ name: z.ZodString;
4536
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
4537
+ collection: z.ZodOptional<z.ZodString>;
4538
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
4539
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
4540
+ timestamps: z.ZodOptional<z.ZodBoolean>;
4541
+ softDelete: z.ZodOptional<z.ZodBoolean>;
4542
+ description: z.ZodOptional<z.ZodString>;
4543
+ visual_prompt: z.ZodOptional<z.ZodString>;
4544
+ assetRef: z.ZodOptional<z.ZodObject<{
4545
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
4546
+ category: z.ZodString;
4547
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4548
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
4549
+ variant: z.ZodOptional<z.ZodString>;
4550
+ }, "strip", z.ZodTypeAny, {
4551
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4552
+ category: string;
4553
+ animations?: string[] | undefined;
4554
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4555
+ variant?: string | undefined;
4556
+ }, {
4557
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4558
+ category: string;
4559
+ animations?: string[] | undefined;
4560
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4561
+ variant?: string | undefined;
4562
+ }>>;
4563
+ }, "strip", z.ZodTypeAny, {
4564
+ name: string;
4565
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
4566
+ fields: EntityField[];
4567
+ collection?: string | undefined;
4568
+ instances?: Record<string, unknown>[] | undefined;
4569
+ timestamps?: boolean | undefined;
4570
+ softDelete?: boolean | undefined;
4571
+ description?: string | undefined;
4572
+ visual_prompt?: string | undefined;
4573
+ assetRef?: {
4574
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4575
+ category: string;
4576
+ animations?: string[] | undefined;
4577
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4578
+ variant?: string | undefined;
4579
+ } | undefined;
4348
4580
  }, {
4349
- event: string;
4350
- triggers: string;
4351
- guard?: SExpr | undefined;
4352
- source?: {
4353
- kind: "any";
4354
- } | {
4355
- trait: string;
4356
- kind: "trait";
4357
- } | {
4358
- trait: string;
4359
- orbital: string;
4360
- kind: "orbital";
4581
+ name: string;
4582
+ fields: unknown[];
4583
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
4584
+ collection?: string | undefined;
4585
+ instances?: Record<string, unknown>[] | undefined;
4586
+ timestamps?: boolean | undefined;
4587
+ softDelete?: boolean | undefined;
4588
+ description?: string | undefined;
4589
+ visual_prompt?: string | undefined;
4590
+ assetRef?: {
4591
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4592
+ category: string;
4593
+ animations?: string[] | undefined;
4594
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4595
+ variant?: string | undefined;
4361
4596
  } | undefined;
4362
- scope?: "internal" | "external" | undefined;
4363
- payloadMapping?: Record<string, string> | undefined;
4364
- }>, "many">>;
4365
- ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4366
- config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
4597
+ }>>;
4367
4598
  }, "strip", z.ZodTypeAny, {
4368
4599
  name: string;
4369
4600
  scope: "instance" | "collection";
@@ -4471,6 +4702,29 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4471
4702
  appliesTo?: string[] | undefined;
4472
4703
  emits?: string[] | undefined;
4473
4704
  }[] | undefined;
4705
+ sourceBehavior?: {
4706
+ behavior: string;
4707
+ alias: string;
4708
+ originalName: string;
4709
+ } | undefined;
4710
+ sourceEntityDefinition?: {
4711
+ name: string;
4712
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
4713
+ fields: EntityField[];
4714
+ collection?: string | undefined;
4715
+ instances?: Record<string, unknown>[] | undefined;
4716
+ timestamps?: boolean | undefined;
4717
+ softDelete?: boolean | undefined;
4718
+ description?: string | undefined;
4719
+ visual_prompt?: string | undefined;
4720
+ assetRef?: {
4721
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4722
+ category: string;
4723
+ animations?: string[] | undefined;
4724
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4725
+ variant?: string | undefined;
4726
+ } | undefined;
4727
+ } | undefined;
4474
4728
  }, {
4475
4729
  name: string;
4476
4730
  scope: "instance" | "collection";
@@ -4578,6 +4832,29 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4578
4832
  appliesTo?: string[] | undefined;
4579
4833
  emits?: string[] | undefined;
4580
4834
  }[] | undefined;
4835
+ sourceBehavior?: {
4836
+ behavior: string;
4837
+ alias: string;
4838
+ originalName: string;
4839
+ } | undefined;
4840
+ sourceEntityDefinition?: {
4841
+ name: string;
4842
+ fields: unknown[];
4843
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
4844
+ collection?: string | undefined;
4845
+ instances?: Record<string, unknown>[] | undefined;
4846
+ timestamps?: boolean | undefined;
4847
+ softDelete?: boolean | undefined;
4848
+ description?: string | undefined;
4849
+ visual_prompt?: string | undefined;
4850
+ assetRef?: {
4851
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
4852
+ category: string;
4853
+ animations?: string[] | undefined;
4854
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4855
+ variant?: string | undefined;
4856
+ } | undefined;
4857
+ } | undefined;
4581
4858
  }>]>;
4582
4859
  /**
4583
4860
  * Check if a trait ref is an inline Trait definition
@@ -5083,6 +5360,83 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5083
5360
  }>, "many">>;
5084
5361
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5085
5362
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
5363
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
5364
+ behavior: z.ZodString;
5365
+ alias: z.ZodString;
5366
+ originalName: z.ZodString;
5367
+ }, "strip", z.ZodTypeAny, {
5368
+ behavior: string;
5369
+ alias: string;
5370
+ originalName: string;
5371
+ }, {
5372
+ behavior: string;
5373
+ alias: string;
5374
+ originalName: string;
5375
+ }>>;
5376
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
5377
+ name: z.ZodString;
5378
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
5379
+ collection: z.ZodOptional<z.ZodString>;
5380
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
5381
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
5382
+ timestamps: z.ZodOptional<z.ZodBoolean>;
5383
+ softDelete: z.ZodOptional<z.ZodBoolean>;
5384
+ description: z.ZodOptional<z.ZodString>;
5385
+ visual_prompt: z.ZodOptional<z.ZodString>;
5386
+ assetRef: z.ZodOptional<z.ZodObject<{
5387
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
5388
+ category: z.ZodString;
5389
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5390
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
5391
+ variant: z.ZodOptional<z.ZodString>;
5392
+ }, "strip", z.ZodTypeAny, {
5393
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5394
+ category: string;
5395
+ animations?: string[] | undefined;
5396
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5397
+ variant?: string | undefined;
5398
+ }, {
5399
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5400
+ category: string;
5401
+ animations?: string[] | undefined;
5402
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5403
+ variant?: string | undefined;
5404
+ }>>;
5405
+ }, "strip", z.ZodTypeAny, {
5406
+ name: string;
5407
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
5408
+ fields: EntityField[];
5409
+ collection?: string | undefined;
5410
+ instances?: Record<string, unknown>[] | undefined;
5411
+ timestamps?: boolean | undefined;
5412
+ softDelete?: boolean | undefined;
5413
+ description?: string | undefined;
5414
+ visual_prompt?: string | undefined;
5415
+ assetRef?: {
5416
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5417
+ category: string;
5418
+ animations?: string[] | undefined;
5419
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5420
+ variant?: string | undefined;
5421
+ } | undefined;
5422
+ }, {
5423
+ name: string;
5424
+ fields: unknown[];
5425
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
5426
+ collection?: string | undefined;
5427
+ instances?: Record<string, unknown>[] | undefined;
5428
+ timestamps?: boolean | undefined;
5429
+ softDelete?: boolean | undefined;
5430
+ description?: string | undefined;
5431
+ visual_prompt?: string | undefined;
5432
+ assetRef?: {
5433
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5434
+ category: string;
5435
+ animations?: string[] | undefined;
5436
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5437
+ variant?: string | undefined;
5438
+ } | undefined;
5439
+ }>>;
5086
5440
  }, "strip", z.ZodTypeAny, {
5087
5441
  name: string;
5088
5442
  scope: "instance" | "collection";
@@ -5190,6 +5544,29 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5190
5544
  appliesTo?: string[] | undefined;
5191
5545
  emits?: string[] | undefined;
5192
5546
  }[] | undefined;
5547
+ sourceBehavior?: {
5548
+ behavior: string;
5549
+ alias: string;
5550
+ originalName: string;
5551
+ } | undefined;
5552
+ sourceEntityDefinition?: {
5553
+ name: string;
5554
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
5555
+ fields: EntityField[];
5556
+ collection?: string | undefined;
5557
+ instances?: Record<string, unknown>[] | undefined;
5558
+ timestamps?: boolean | undefined;
5559
+ softDelete?: boolean | undefined;
5560
+ description?: string | undefined;
5561
+ visual_prompt?: string | undefined;
5562
+ assetRef?: {
5563
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5564
+ category: string;
5565
+ animations?: string[] | undefined;
5566
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5567
+ variant?: string | undefined;
5568
+ } | undefined;
5569
+ } | undefined;
5193
5570
  }, {
5194
5571
  name: string;
5195
5572
  scope: "instance" | "collection";
@@ -5297,6 +5674,29 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5297
5674
  appliesTo?: string[] | undefined;
5298
5675
  emits?: string[] | undefined;
5299
5676
  }[] | undefined;
5677
+ sourceBehavior?: {
5678
+ behavior: string;
5679
+ alias: string;
5680
+ originalName: string;
5681
+ } | undefined;
5682
+ sourceEntityDefinition?: {
5683
+ name: string;
5684
+ fields: unknown[];
5685
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
5686
+ collection?: string | undefined;
5687
+ instances?: Record<string, unknown>[] | undefined;
5688
+ timestamps?: boolean | undefined;
5689
+ softDelete?: boolean | undefined;
5690
+ description?: string | undefined;
5691
+ visual_prompt?: string | undefined;
5692
+ assetRef?: {
5693
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
5694
+ category: string;
5695
+ animations?: string[] | undefined;
5696
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5697
+ variant?: string | undefined;
5698
+ } | undefined;
5699
+ } | undefined;
5300
5700
  }>]>;
5301
5701
 
5302
5702
  /**
@@ -6996,24 +7396,101 @@ declare const PageRefObjectSchema: z.ZodObject<{
6996
7396
  scope?: "internal" | "external" | undefined;
6997
7397
  payloadMapping?: Record<string, string> | undefined;
6998
7398
  }, {
6999
- event: string;
7000
- triggers: string;
7001
- guard?: SExpr | undefined;
7002
- source?: {
7003
- kind: "any";
7004
- } | {
7005
- trait: string;
7006
- kind: "trait";
7007
- } | {
7008
- trait: string;
7009
- orbital: string;
7010
- kind: "orbital";
7399
+ event: string;
7400
+ triggers: string;
7401
+ guard?: SExpr | undefined;
7402
+ source?: {
7403
+ kind: "any";
7404
+ } | {
7405
+ trait: string;
7406
+ kind: "trait";
7407
+ } | {
7408
+ trait: string;
7409
+ orbital: string;
7410
+ kind: "orbital";
7411
+ } | undefined;
7412
+ scope?: "internal" | "external" | undefined;
7413
+ payloadMapping?: Record<string, string> | undefined;
7414
+ }>, "many">>;
7415
+ ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7416
+ config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
7417
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
7418
+ behavior: z.ZodString;
7419
+ alias: z.ZodString;
7420
+ originalName: z.ZodString;
7421
+ }, "strip", z.ZodTypeAny, {
7422
+ behavior: string;
7423
+ alias: string;
7424
+ originalName: string;
7425
+ }, {
7426
+ behavior: string;
7427
+ alias: string;
7428
+ originalName: string;
7429
+ }>>;
7430
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
7431
+ name: z.ZodString;
7432
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
7433
+ collection: z.ZodOptional<z.ZodString>;
7434
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
7435
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
7436
+ timestamps: z.ZodOptional<z.ZodBoolean>;
7437
+ softDelete: z.ZodOptional<z.ZodBoolean>;
7438
+ description: z.ZodOptional<z.ZodString>;
7439
+ visual_prompt: z.ZodOptional<z.ZodString>;
7440
+ assetRef: z.ZodOptional<z.ZodObject<{
7441
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
7442
+ category: z.ZodString;
7443
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7444
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
7445
+ variant: z.ZodOptional<z.ZodString>;
7446
+ }, "strip", z.ZodTypeAny, {
7447
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7448
+ category: string;
7449
+ animations?: string[] | undefined;
7450
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7451
+ variant?: string | undefined;
7452
+ }, {
7453
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7454
+ category: string;
7455
+ animations?: string[] | undefined;
7456
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7457
+ variant?: string | undefined;
7458
+ }>>;
7459
+ }, "strip", z.ZodTypeAny, {
7460
+ name: string;
7461
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
7462
+ fields: EntityField[];
7463
+ collection?: string | undefined;
7464
+ instances?: Record<string, unknown>[] | undefined;
7465
+ timestamps?: boolean | undefined;
7466
+ softDelete?: boolean | undefined;
7467
+ description?: string | undefined;
7468
+ visual_prompt?: string | undefined;
7469
+ assetRef?: {
7470
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7471
+ category: string;
7472
+ animations?: string[] | undefined;
7473
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7474
+ variant?: string | undefined;
7475
+ } | undefined;
7476
+ }, {
7477
+ name: string;
7478
+ fields: unknown[];
7479
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
7480
+ collection?: string | undefined;
7481
+ instances?: Record<string, unknown>[] | undefined;
7482
+ timestamps?: boolean | undefined;
7483
+ softDelete?: boolean | undefined;
7484
+ description?: string | undefined;
7485
+ visual_prompt?: string | undefined;
7486
+ assetRef?: {
7487
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7488
+ category: string;
7489
+ animations?: string[] | undefined;
7490
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7491
+ variant?: string | undefined;
7011
7492
  } | undefined;
7012
- scope?: "internal" | "external" | undefined;
7013
- payloadMapping?: Record<string, string> | undefined;
7014
- }>, "many">>;
7015
- ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7016
- config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
7493
+ }>>;
7017
7494
  }, "strip", z.ZodTypeAny, {
7018
7495
  name: string;
7019
7496
  scope: "instance" | "collection";
@@ -7121,6 +7598,29 @@ declare const PageRefObjectSchema: z.ZodObject<{
7121
7598
  appliesTo?: string[] | undefined;
7122
7599
  emits?: string[] | undefined;
7123
7600
  }[] | undefined;
7601
+ sourceBehavior?: {
7602
+ behavior: string;
7603
+ alias: string;
7604
+ originalName: string;
7605
+ } | undefined;
7606
+ sourceEntityDefinition?: {
7607
+ name: string;
7608
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
7609
+ fields: EntityField[];
7610
+ collection?: string | undefined;
7611
+ instances?: Record<string, unknown>[] | undefined;
7612
+ timestamps?: boolean | undefined;
7613
+ softDelete?: boolean | undefined;
7614
+ description?: string | undefined;
7615
+ visual_prompt?: string | undefined;
7616
+ assetRef?: {
7617
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7618
+ category: string;
7619
+ animations?: string[] | undefined;
7620
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7621
+ variant?: string | undefined;
7622
+ } | undefined;
7623
+ } | undefined;
7124
7624
  }, {
7125
7625
  name: string;
7126
7626
  scope: "instance" | "collection";
@@ -7228,6 +7728,29 @@ declare const PageRefObjectSchema: z.ZodObject<{
7228
7728
  appliesTo?: string[] | undefined;
7229
7729
  emits?: string[] | undefined;
7230
7730
  }[] | undefined;
7731
+ sourceBehavior?: {
7732
+ behavior: string;
7733
+ alias: string;
7734
+ originalName: string;
7735
+ } | undefined;
7736
+ sourceEntityDefinition?: {
7737
+ name: string;
7738
+ fields: unknown[];
7739
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
7740
+ collection?: string | undefined;
7741
+ instances?: Record<string, unknown>[] | undefined;
7742
+ timestamps?: boolean | undefined;
7743
+ softDelete?: boolean | undefined;
7744
+ description?: string | undefined;
7745
+ visual_prompt?: string | undefined;
7746
+ assetRef?: {
7747
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7748
+ category: string;
7749
+ animations?: string[] | undefined;
7750
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7751
+ variant?: string | undefined;
7752
+ } | undefined;
7753
+ } | undefined;
7231
7754
  }>]>, "many">>;
7232
7755
  }, "strip", z.ZodTypeAny, {
7233
7756
  ref: string;
@@ -7341,6 +7864,29 @@ declare const PageRefObjectSchema: z.ZodObject<{
7341
7864
  appliesTo?: string[] | undefined;
7342
7865
  emits?: string[] | undefined;
7343
7866
  }[] | undefined;
7867
+ sourceBehavior?: {
7868
+ behavior: string;
7869
+ alias: string;
7870
+ originalName: string;
7871
+ } | undefined;
7872
+ sourceEntityDefinition?: {
7873
+ name: string;
7874
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
7875
+ fields: EntityField[];
7876
+ collection?: string | undefined;
7877
+ instances?: Record<string, unknown>[] | undefined;
7878
+ timestamps?: boolean | undefined;
7879
+ softDelete?: boolean | undefined;
7880
+ description?: string | undefined;
7881
+ visual_prompt?: string | undefined;
7882
+ assetRef?: {
7883
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
7884
+ category: string;
7885
+ animations?: string[] | undefined;
7886
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7887
+ variant?: string | undefined;
7888
+ } | undefined;
7889
+ } | undefined;
7344
7890
  } | {
7345
7891
  ref: string;
7346
7892
  name?: string | undefined;
@@ -7460,6 +8006,29 @@ declare const PageRefObjectSchema: z.ZodObject<{
7460
8006
  appliesTo?: string[] | undefined;
7461
8007
  emits?: string[] | undefined;
7462
8008
  }[] | undefined;
8009
+ sourceBehavior?: {
8010
+ behavior: string;
8011
+ alias: string;
8012
+ originalName: string;
8013
+ } | undefined;
8014
+ sourceEntityDefinition?: {
8015
+ name: string;
8016
+ fields: unknown[];
8017
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
8018
+ collection?: string | undefined;
8019
+ instances?: Record<string, unknown>[] | undefined;
8020
+ timestamps?: boolean | undefined;
8021
+ softDelete?: boolean | undefined;
8022
+ description?: string | undefined;
8023
+ visual_prompt?: string | undefined;
8024
+ assetRef?: {
8025
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8026
+ category: string;
8027
+ animations?: string[] | undefined;
8028
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8029
+ variant?: string | undefined;
8030
+ } | undefined;
8031
+ } | undefined;
7463
8032
  } | {
7464
8033
  ref: string;
7465
8034
  name?: string | undefined;
@@ -7934,6 +8503,83 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7934
8503
  }>, "many">>;
7935
8504
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7936
8505
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
8506
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
8507
+ behavior: z.ZodString;
8508
+ alias: z.ZodString;
8509
+ originalName: z.ZodString;
8510
+ }, "strip", z.ZodTypeAny, {
8511
+ behavior: string;
8512
+ alias: string;
8513
+ originalName: string;
8514
+ }, {
8515
+ behavior: string;
8516
+ alias: string;
8517
+ originalName: string;
8518
+ }>>;
8519
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
8520
+ name: z.ZodString;
8521
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
8522
+ collection: z.ZodOptional<z.ZodString>;
8523
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
8524
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
8525
+ timestamps: z.ZodOptional<z.ZodBoolean>;
8526
+ softDelete: z.ZodOptional<z.ZodBoolean>;
8527
+ description: z.ZodOptional<z.ZodString>;
8528
+ visual_prompt: z.ZodOptional<z.ZodString>;
8529
+ assetRef: z.ZodOptional<z.ZodObject<{
8530
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
8531
+ category: z.ZodString;
8532
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8533
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
8534
+ variant: z.ZodOptional<z.ZodString>;
8535
+ }, "strip", z.ZodTypeAny, {
8536
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8537
+ category: string;
8538
+ animations?: string[] | undefined;
8539
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8540
+ variant?: string | undefined;
8541
+ }, {
8542
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8543
+ category: string;
8544
+ animations?: string[] | undefined;
8545
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8546
+ variant?: string | undefined;
8547
+ }>>;
8548
+ }, "strip", z.ZodTypeAny, {
8549
+ name: string;
8550
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
8551
+ fields: EntityField[];
8552
+ collection?: string | undefined;
8553
+ instances?: Record<string, unknown>[] | undefined;
8554
+ timestamps?: boolean | undefined;
8555
+ softDelete?: boolean | undefined;
8556
+ description?: string | undefined;
8557
+ visual_prompt?: string | undefined;
8558
+ assetRef?: {
8559
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8560
+ category: string;
8561
+ animations?: string[] | undefined;
8562
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8563
+ variant?: string | undefined;
8564
+ } | undefined;
8565
+ }, {
8566
+ name: string;
8567
+ fields: unknown[];
8568
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
8569
+ collection?: string | undefined;
8570
+ instances?: Record<string, unknown>[] | undefined;
8571
+ timestamps?: boolean | undefined;
8572
+ softDelete?: boolean | undefined;
8573
+ description?: string | undefined;
8574
+ visual_prompt?: string | undefined;
8575
+ assetRef?: {
8576
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8577
+ category: string;
8578
+ animations?: string[] | undefined;
8579
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8580
+ variant?: string | undefined;
8581
+ } | undefined;
8582
+ }>>;
7937
8583
  }, "strip", z.ZodTypeAny, {
7938
8584
  name: string;
7939
8585
  scope: "instance" | "collection";
@@ -8041,6 +8687,29 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8041
8687
  appliesTo?: string[] | undefined;
8042
8688
  emits?: string[] | undefined;
8043
8689
  }[] | undefined;
8690
+ sourceBehavior?: {
8691
+ behavior: string;
8692
+ alias: string;
8693
+ originalName: string;
8694
+ } | undefined;
8695
+ sourceEntityDefinition?: {
8696
+ name: string;
8697
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
8698
+ fields: EntityField[];
8699
+ collection?: string | undefined;
8700
+ instances?: Record<string, unknown>[] | undefined;
8701
+ timestamps?: boolean | undefined;
8702
+ softDelete?: boolean | undefined;
8703
+ description?: string | undefined;
8704
+ visual_prompt?: string | undefined;
8705
+ assetRef?: {
8706
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8707
+ category: string;
8708
+ animations?: string[] | undefined;
8709
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8710
+ variant?: string | undefined;
8711
+ } | undefined;
8712
+ } | undefined;
8044
8713
  }, {
8045
8714
  name: string;
8046
8715
  scope: "instance" | "collection";
@@ -8148,6 +8817,29 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8148
8817
  appliesTo?: string[] | undefined;
8149
8818
  emits?: string[] | undefined;
8150
8819
  }[] | undefined;
8820
+ sourceBehavior?: {
8821
+ behavior: string;
8822
+ alias: string;
8823
+ originalName: string;
8824
+ } | undefined;
8825
+ sourceEntityDefinition?: {
8826
+ name: string;
8827
+ fields: unknown[];
8828
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
8829
+ collection?: string | undefined;
8830
+ instances?: Record<string, unknown>[] | undefined;
8831
+ timestamps?: boolean | undefined;
8832
+ softDelete?: boolean | undefined;
8833
+ description?: string | undefined;
8834
+ visual_prompt?: string | undefined;
8835
+ assetRef?: {
8836
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8837
+ category: string;
8838
+ animations?: string[] | undefined;
8839
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8840
+ variant?: string | undefined;
8841
+ } | undefined;
8842
+ } | undefined;
8151
8843
  }>]>, "many">>;
8152
8844
  }, "strip", z.ZodTypeAny, {
8153
8845
  ref: string;
@@ -8261,6 +8953,29 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8261
8953
  appliesTo?: string[] | undefined;
8262
8954
  emits?: string[] | undefined;
8263
8955
  }[] | undefined;
8956
+ sourceBehavior?: {
8957
+ behavior: string;
8958
+ alias: string;
8959
+ originalName: string;
8960
+ } | undefined;
8961
+ sourceEntityDefinition?: {
8962
+ name: string;
8963
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
8964
+ fields: EntityField[];
8965
+ collection?: string | undefined;
8966
+ instances?: Record<string, unknown>[] | undefined;
8967
+ timestamps?: boolean | undefined;
8968
+ softDelete?: boolean | undefined;
8969
+ description?: string | undefined;
8970
+ visual_prompt?: string | undefined;
8971
+ assetRef?: {
8972
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
8973
+ category: string;
8974
+ animations?: string[] | undefined;
8975
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8976
+ variant?: string | undefined;
8977
+ } | undefined;
8978
+ } | undefined;
8264
8979
  } | {
8265
8980
  ref: string;
8266
8981
  name?: string | undefined;
@@ -8368,18 +9083,41 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8368
9083
  description?: string | undefined;
8369
9084
  }[] | undefined;
8370
9085
  } | undefined;
8371
- initialEffects?: unknown[][] | undefined;
8372
- ticks?: {
8373
- name: string;
8374
- effects: unknown[][];
8375
- interval: number | "frame";
8376
- description?: string | undefined;
8377
- guard?: SExpr | undefined;
8378
- pages?: string[] | undefined;
8379
- priority?: number | undefined;
8380
- appliesTo?: string[] | undefined;
8381
- emits?: string[] | undefined;
8382
- }[] | undefined;
9086
+ initialEffects?: unknown[][] | undefined;
9087
+ ticks?: {
9088
+ name: string;
9089
+ effects: unknown[][];
9090
+ interval: number | "frame";
9091
+ description?: string | undefined;
9092
+ guard?: SExpr | undefined;
9093
+ pages?: string[] | undefined;
9094
+ priority?: number | undefined;
9095
+ appliesTo?: string[] | undefined;
9096
+ emits?: string[] | undefined;
9097
+ }[] | undefined;
9098
+ sourceBehavior?: {
9099
+ behavior: string;
9100
+ alias: string;
9101
+ originalName: string;
9102
+ } | undefined;
9103
+ sourceEntityDefinition?: {
9104
+ name: string;
9105
+ fields: unknown[];
9106
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
9107
+ collection?: string | undefined;
9108
+ instances?: Record<string, unknown>[] | undefined;
9109
+ timestamps?: boolean | undefined;
9110
+ softDelete?: boolean | undefined;
9111
+ description?: string | undefined;
9112
+ visual_prompt?: string | undefined;
9113
+ assetRef?: {
9114
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
9115
+ category: string;
9116
+ animations?: string[] | undefined;
9117
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
9118
+ variant?: string | undefined;
9119
+ } | undefined;
9120
+ } | undefined;
8383
9121
  } | {
8384
9122
  ref: string;
8385
9123
  name?: string | undefined;
@@ -9527,6 +10265,83 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9527
10265
  }>, "many">>;
9528
10266
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9529
10267
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
10268
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
10269
+ behavior: z.ZodString;
10270
+ alias: z.ZodString;
10271
+ originalName: z.ZodString;
10272
+ }, "strip", z.ZodTypeAny, {
10273
+ behavior: string;
10274
+ alias: string;
10275
+ originalName: string;
10276
+ }, {
10277
+ behavior: string;
10278
+ alias: string;
10279
+ originalName: string;
10280
+ }>>;
10281
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
10282
+ name: z.ZodString;
10283
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
10284
+ collection: z.ZodOptional<z.ZodString>;
10285
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
10286
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
10287
+ timestamps: z.ZodOptional<z.ZodBoolean>;
10288
+ softDelete: z.ZodOptional<z.ZodBoolean>;
10289
+ description: z.ZodOptional<z.ZodString>;
10290
+ visual_prompt: z.ZodOptional<z.ZodString>;
10291
+ assetRef: z.ZodOptional<z.ZodObject<{
10292
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
10293
+ category: z.ZodString;
10294
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10295
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
10296
+ variant: z.ZodOptional<z.ZodString>;
10297
+ }, "strip", z.ZodTypeAny, {
10298
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10299
+ category: string;
10300
+ animations?: string[] | undefined;
10301
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10302
+ variant?: string | undefined;
10303
+ }, {
10304
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10305
+ category: string;
10306
+ animations?: string[] | undefined;
10307
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10308
+ variant?: string | undefined;
10309
+ }>>;
10310
+ }, "strip", z.ZodTypeAny, {
10311
+ name: string;
10312
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
10313
+ fields: EntityField[];
10314
+ collection?: string | undefined;
10315
+ instances?: Record<string, unknown>[] | undefined;
10316
+ timestamps?: boolean | undefined;
10317
+ softDelete?: boolean | undefined;
10318
+ description?: string | undefined;
10319
+ visual_prompt?: string | undefined;
10320
+ assetRef?: {
10321
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10322
+ category: string;
10323
+ animations?: string[] | undefined;
10324
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10325
+ variant?: string | undefined;
10326
+ } | undefined;
10327
+ }, {
10328
+ name: string;
10329
+ fields: unknown[];
10330
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
10331
+ collection?: string | undefined;
10332
+ instances?: Record<string, unknown>[] | undefined;
10333
+ timestamps?: boolean | undefined;
10334
+ softDelete?: boolean | undefined;
10335
+ description?: string | undefined;
10336
+ visual_prompt?: string | undefined;
10337
+ assetRef?: {
10338
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10339
+ category: string;
10340
+ animations?: string[] | undefined;
10341
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10342
+ variant?: string | undefined;
10343
+ } | undefined;
10344
+ }>>;
9530
10345
  }, "strip", z.ZodTypeAny, {
9531
10346
  name: string;
9532
10347
  scope: "instance" | "collection";
@@ -9634,6 +10449,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9634
10449
  appliesTo?: string[] | undefined;
9635
10450
  emits?: string[] | undefined;
9636
10451
  }[] | undefined;
10452
+ sourceBehavior?: {
10453
+ behavior: string;
10454
+ alias: string;
10455
+ originalName: string;
10456
+ } | undefined;
10457
+ sourceEntityDefinition?: {
10458
+ name: string;
10459
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
10460
+ fields: EntityField[];
10461
+ collection?: string | undefined;
10462
+ instances?: Record<string, unknown>[] | undefined;
10463
+ timestamps?: boolean | undefined;
10464
+ softDelete?: boolean | undefined;
10465
+ description?: string | undefined;
10466
+ visual_prompt?: string | undefined;
10467
+ assetRef?: {
10468
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10469
+ category: string;
10470
+ animations?: string[] | undefined;
10471
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10472
+ variant?: string | undefined;
10473
+ } | undefined;
10474
+ } | undefined;
9637
10475
  }, {
9638
10476
  name: string;
9639
10477
  scope: "instance" | "collection";
@@ -9741,6 +10579,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9741
10579
  appliesTo?: string[] | undefined;
9742
10580
  emits?: string[] | undefined;
9743
10581
  }[] | undefined;
10582
+ sourceBehavior?: {
10583
+ behavior: string;
10584
+ alias: string;
10585
+ originalName: string;
10586
+ } | undefined;
10587
+ sourceEntityDefinition?: {
10588
+ name: string;
10589
+ fields: unknown[];
10590
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
10591
+ collection?: string | undefined;
10592
+ instances?: Record<string, unknown>[] | undefined;
10593
+ timestamps?: boolean | undefined;
10594
+ softDelete?: boolean | undefined;
10595
+ description?: string | undefined;
10596
+ visual_prompt?: string | undefined;
10597
+ assetRef?: {
10598
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
10599
+ category: string;
10600
+ animations?: string[] | undefined;
10601
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10602
+ variant?: string | undefined;
10603
+ } | undefined;
10604
+ } | undefined;
9744
10605
  }>]>, "many">;
9745
10606
  pages: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9746
10607
  name: z.ZodString;
@@ -10208,6 +11069,83 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10208
11069
  }>, "many">>;
10209
11070
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10210
11071
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
11072
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
11073
+ behavior: z.ZodString;
11074
+ alias: z.ZodString;
11075
+ originalName: z.ZodString;
11076
+ }, "strip", z.ZodTypeAny, {
11077
+ behavior: string;
11078
+ alias: string;
11079
+ originalName: string;
11080
+ }, {
11081
+ behavior: string;
11082
+ alias: string;
11083
+ originalName: string;
11084
+ }>>;
11085
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
11086
+ name: z.ZodString;
11087
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
11088
+ collection: z.ZodOptional<z.ZodString>;
11089
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
11090
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
11091
+ timestamps: z.ZodOptional<z.ZodBoolean>;
11092
+ softDelete: z.ZodOptional<z.ZodBoolean>;
11093
+ description: z.ZodOptional<z.ZodString>;
11094
+ visual_prompt: z.ZodOptional<z.ZodString>;
11095
+ assetRef: z.ZodOptional<z.ZodObject<{
11096
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
11097
+ category: z.ZodString;
11098
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11099
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
11100
+ variant: z.ZodOptional<z.ZodString>;
11101
+ }, "strip", z.ZodTypeAny, {
11102
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11103
+ category: string;
11104
+ animations?: string[] | undefined;
11105
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11106
+ variant?: string | undefined;
11107
+ }, {
11108
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11109
+ category: string;
11110
+ animations?: string[] | undefined;
11111
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11112
+ variant?: string | undefined;
11113
+ }>>;
11114
+ }, "strip", z.ZodTypeAny, {
11115
+ name: string;
11116
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
11117
+ fields: EntityField[];
11118
+ collection?: string | undefined;
11119
+ instances?: Record<string, unknown>[] | undefined;
11120
+ timestamps?: boolean | undefined;
11121
+ softDelete?: boolean | undefined;
11122
+ description?: string | undefined;
11123
+ visual_prompt?: string | undefined;
11124
+ assetRef?: {
11125
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11126
+ category: string;
11127
+ animations?: string[] | undefined;
11128
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11129
+ variant?: string | undefined;
11130
+ } | undefined;
11131
+ }, {
11132
+ name: string;
11133
+ fields: unknown[];
11134
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
11135
+ collection?: string | undefined;
11136
+ instances?: Record<string, unknown>[] | undefined;
11137
+ timestamps?: boolean | undefined;
11138
+ softDelete?: boolean | undefined;
11139
+ description?: string | undefined;
11140
+ visual_prompt?: string | undefined;
11141
+ assetRef?: {
11142
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11143
+ category: string;
11144
+ animations?: string[] | undefined;
11145
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11146
+ variant?: string | undefined;
11147
+ } | undefined;
11148
+ }>>;
10211
11149
  }, "strip", z.ZodTypeAny, {
10212
11150
  name: string;
10213
11151
  scope: "instance" | "collection";
@@ -10315,6 +11253,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10315
11253
  appliesTo?: string[] | undefined;
10316
11254
  emits?: string[] | undefined;
10317
11255
  }[] | undefined;
11256
+ sourceBehavior?: {
11257
+ behavior: string;
11258
+ alias: string;
11259
+ originalName: string;
11260
+ } | undefined;
11261
+ sourceEntityDefinition?: {
11262
+ name: string;
11263
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
11264
+ fields: EntityField[];
11265
+ collection?: string | undefined;
11266
+ instances?: Record<string, unknown>[] | undefined;
11267
+ timestamps?: boolean | undefined;
11268
+ softDelete?: boolean | undefined;
11269
+ description?: string | undefined;
11270
+ visual_prompt?: string | undefined;
11271
+ assetRef?: {
11272
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11273
+ category: string;
11274
+ animations?: string[] | undefined;
11275
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11276
+ variant?: string | undefined;
11277
+ } | undefined;
11278
+ } | undefined;
10318
11279
  }, {
10319
11280
  name: string;
10320
11281
  scope: "instance" | "collection";
@@ -10422,6 +11383,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10422
11383
  appliesTo?: string[] | undefined;
10423
11384
  emits?: string[] | undefined;
10424
11385
  }[] | undefined;
11386
+ sourceBehavior?: {
11387
+ behavior: string;
11388
+ alias: string;
11389
+ originalName: string;
11390
+ } | undefined;
11391
+ sourceEntityDefinition?: {
11392
+ name: string;
11393
+ fields: unknown[];
11394
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
11395
+ collection?: string | undefined;
11396
+ instances?: Record<string, unknown>[] | undefined;
11397
+ timestamps?: boolean | undefined;
11398
+ softDelete?: boolean | undefined;
11399
+ description?: string | undefined;
11400
+ visual_prompt?: string | undefined;
11401
+ assetRef?: {
11402
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11403
+ category: string;
11404
+ animations?: string[] | undefined;
11405
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11406
+ variant?: string | undefined;
11407
+ } | undefined;
11408
+ } | undefined;
10425
11409
  }>]>, "many">>;
10426
11410
  }, "strip", z.ZodTypeAny, {
10427
11411
  ref: string;
@@ -10535,6 +11519,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10535
11519
  appliesTo?: string[] | undefined;
10536
11520
  emits?: string[] | undefined;
10537
11521
  }[] | undefined;
11522
+ sourceBehavior?: {
11523
+ behavior: string;
11524
+ alias: string;
11525
+ originalName: string;
11526
+ } | undefined;
11527
+ sourceEntityDefinition?: {
11528
+ name: string;
11529
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
11530
+ fields: EntityField[];
11531
+ collection?: string | undefined;
11532
+ instances?: Record<string, unknown>[] | undefined;
11533
+ timestamps?: boolean | undefined;
11534
+ softDelete?: boolean | undefined;
11535
+ description?: string | undefined;
11536
+ visual_prompt?: string | undefined;
11537
+ assetRef?: {
11538
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11539
+ category: string;
11540
+ animations?: string[] | undefined;
11541
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11542
+ variant?: string | undefined;
11543
+ } | undefined;
11544
+ } | undefined;
10538
11545
  } | {
10539
11546
  ref: string;
10540
11547
  name?: string | undefined;
@@ -10654,6 +11661,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10654
11661
  appliesTo?: string[] | undefined;
10655
11662
  emits?: string[] | undefined;
10656
11663
  }[] | undefined;
11664
+ sourceBehavior?: {
11665
+ behavior: string;
11666
+ alias: string;
11667
+ originalName: string;
11668
+ } | undefined;
11669
+ sourceEntityDefinition?: {
11670
+ name: string;
11671
+ fields: unknown[];
11672
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
11673
+ collection?: string | undefined;
11674
+ instances?: Record<string, unknown>[] | undefined;
11675
+ timestamps?: boolean | undefined;
11676
+ softDelete?: boolean | undefined;
11677
+ description?: string | undefined;
11678
+ visual_prompt?: string | undefined;
11679
+ assetRef?: {
11680
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
11681
+ category: string;
11682
+ animations?: string[] | undefined;
11683
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
11684
+ variant?: string | undefined;
11685
+ } | undefined;
11686
+ } | undefined;
10657
11687
  } | {
10658
11688
  ref: string;
10659
11689
  name?: string | undefined;
@@ -11053,6 +12083,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
11053
12083
  appliesTo?: string[] | undefined;
11054
12084
  emits?: string[] | undefined;
11055
12085
  }[] | undefined;
12086
+ sourceBehavior?: {
12087
+ behavior: string;
12088
+ alias: string;
12089
+ originalName: string;
12090
+ } | undefined;
12091
+ sourceEntityDefinition?: {
12092
+ name: string;
12093
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
12094
+ fields: EntityField[];
12095
+ collection?: string | undefined;
12096
+ instances?: Record<string, unknown>[] | undefined;
12097
+ timestamps?: boolean | undefined;
12098
+ softDelete?: boolean | undefined;
12099
+ description?: string | undefined;
12100
+ visual_prompt?: string | undefined;
12101
+ assetRef?: {
12102
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
12103
+ category: string;
12104
+ animations?: string[] | undefined;
12105
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
12106
+ variant?: string | undefined;
12107
+ } | undefined;
12108
+ } | undefined;
11056
12109
  } | {
11057
12110
  ref: string;
11058
12111
  name?: string | undefined;
@@ -11168,6 +12221,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
11168
12221
  appliesTo?: string[] | undefined;
11169
12222
  emits?: string[] | undefined;
11170
12223
  }[] | undefined;
12224
+ sourceBehavior?: {
12225
+ behavior: string;
12226
+ alias: string;
12227
+ originalName: string;
12228
+ } | undefined;
12229
+ sourceEntityDefinition?: {
12230
+ name: string;
12231
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
12232
+ fields: EntityField[];
12233
+ collection?: string | undefined;
12234
+ instances?: Record<string, unknown>[] | undefined;
12235
+ timestamps?: boolean | undefined;
12236
+ softDelete?: boolean | undefined;
12237
+ description?: string | undefined;
12238
+ visual_prompt?: string | undefined;
12239
+ assetRef?: {
12240
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
12241
+ category: string;
12242
+ animations?: string[] | undefined;
12243
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
12244
+ variant?: string | undefined;
12245
+ } | undefined;
12246
+ } | undefined;
11171
12247
  } | {
11172
12248
  ref: string;
11173
12249
  name?: string | undefined;
@@ -11453,6 +12529,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
11453
12529
  appliesTo?: string[] | undefined;
11454
12530
  emits?: string[] | undefined;
11455
12531
  }[] | undefined;
12532
+ sourceBehavior?: {
12533
+ behavior: string;
12534
+ alias: string;
12535
+ originalName: string;
12536
+ } | undefined;
12537
+ sourceEntityDefinition?: {
12538
+ name: string;
12539
+ fields: unknown[];
12540
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
12541
+ collection?: string | undefined;
12542
+ instances?: Record<string, unknown>[] | undefined;
12543
+ timestamps?: boolean | undefined;
12544
+ softDelete?: boolean | undefined;
12545
+ description?: string | undefined;
12546
+ visual_prompt?: string | undefined;
12547
+ assetRef?: {
12548
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
12549
+ category: string;
12550
+ animations?: string[] | undefined;
12551
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
12552
+ variant?: string | undefined;
12553
+ } | undefined;
12554
+ } | undefined;
11456
12555
  } | {
11457
12556
  ref: string;
11458
12557
  name?: string | undefined;
@@ -11568,6 +12667,29 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
11568
12667
  appliesTo?: string[] | undefined;
11569
12668
  emits?: string[] | undefined;
11570
12669
  }[] | undefined;
12670
+ sourceBehavior?: {
12671
+ behavior: string;
12672
+ alias: string;
12673
+ originalName: string;
12674
+ } | undefined;
12675
+ sourceEntityDefinition?: {
12676
+ name: string;
12677
+ fields: unknown[];
12678
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
12679
+ collection?: string | undefined;
12680
+ instances?: Record<string, unknown>[] | undefined;
12681
+ timestamps?: boolean | undefined;
12682
+ softDelete?: boolean | undefined;
12683
+ description?: string | undefined;
12684
+ visual_prompt?: string | undefined;
12685
+ assetRef?: {
12686
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
12687
+ category: string;
12688
+ animations?: string[] | undefined;
12689
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
12690
+ variant?: string | undefined;
12691
+ } | undefined;
12692
+ } | undefined;
11571
12693
  } | {
11572
12694
  ref: string;
11573
12695
  name?: string | undefined;
@@ -12445,11 +13567,88 @@ declare const OrbitalSchema$1: z.ZodObject<{
12445
13567
  orbital: string;
12446
13568
  kind: "orbital";
12447
13569
  } | undefined;
12448
- scope?: "internal" | "external" | undefined;
12449
- payloadMapping?: Record<string, string> | undefined;
12450
- }>, "many">>;
12451
- ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12452
- config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
13570
+ scope?: "internal" | "external" | undefined;
13571
+ payloadMapping?: Record<string, string> | undefined;
13572
+ }>, "many">>;
13573
+ ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13574
+ config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
13575
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
13576
+ behavior: z.ZodString;
13577
+ alias: z.ZodString;
13578
+ originalName: z.ZodString;
13579
+ }, "strip", z.ZodTypeAny, {
13580
+ behavior: string;
13581
+ alias: string;
13582
+ originalName: string;
13583
+ }, {
13584
+ behavior: string;
13585
+ alias: string;
13586
+ originalName: string;
13587
+ }>>;
13588
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
13589
+ name: z.ZodString;
13590
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
13591
+ collection: z.ZodOptional<z.ZodString>;
13592
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
13593
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
13594
+ timestamps: z.ZodOptional<z.ZodBoolean>;
13595
+ softDelete: z.ZodOptional<z.ZodBoolean>;
13596
+ description: z.ZodOptional<z.ZodString>;
13597
+ visual_prompt: z.ZodOptional<z.ZodString>;
13598
+ assetRef: z.ZodOptional<z.ZodObject<{
13599
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
13600
+ category: z.ZodString;
13601
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13602
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
13603
+ variant: z.ZodOptional<z.ZodString>;
13604
+ }, "strip", z.ZodTypeAny, {
13605
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13606
+ category: string;
13607
+ animations?: string[] | undefined;
13608
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13609
+ variant?: string | undefined;
13610
+ }, {
13611
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13612
+ category: string;
13613
+ animations?: string[] | undefined;
13614
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13615
+ variant?: string | undefined;
13616
+ }>>;
13617
+ }, "strip", z.ZodTypeAny, {
13618
+ name: string;
13619
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
13620
+ fields: EntityField[];
13621
+ collection?: string | undefined;
13622
+ instances?: Record<string, unknown>[] | undefined;
13623
+ timestamps?: boolean | undefined;
13624
+ softDelete?: boolean | undefined;
13625
+ description?: string | undefined;
13626
+ visual_prompt?: string | undefined;
13627
+ assetRef?: {
13628
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13629
+ category: string;
13630
+ animations?: string[] | undefined;
13631
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13632
+ variant?: string | undefined;
13633
+ } | undefined;
13634
+ }, {
13635
+ name: string;
13636
+ fields: unknown[];
13637
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
13638
+ collection?: string | undefined;
13639
+ instances?: Record<string, unknown>[] | undefined;
13640
+ timestamps?: boolean | undefined;
13641
+ softDelete?: boolean | undefined;
13642
+ description?: string | undefined;
13643
+ visual_prompt?: string | undefined;
13644
+ assetRef?: {
13645
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13646
+ category: string;
13647
+ animations?: string[] | undefined;
13648
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13649
+ variant?: string | undefined;
13650
+ } | undefined;
13651
+ }>>;
12453
13652
  }, "strip", z.ZodTypeAny, {
12454
13653
  name: string;
12455
13654
  scope: "instance" | "collection";
@@ -12557,6 +13756,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
12557
13756
  appliesTo?: string[] | undefined;
12558
13757
  emits?: string[] | undefined;
12559
13758
  }[] | undefined;
13759
+ sourceBehavior?: {
13760
+ behavior: string;
13761
+ alias: string;
13762
+ originalName: string;
13763
+ } | undefined;
13764
+ sourceEntityDefinition?: {
13765
+ name: string;
13766
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
13767
+ fields: EntityField[];
13768
+ collection?: string | undefined;
13769
+ instances?: Record<string, unknown>[] | undefined;
13770
+ timestamps?: boolean | undefined;
13771
+ softDelete?: boolean | undefined;
13772
+ description?: string | undefined;
13773
+ visual_prompt?: string | undefined;
13774
+ assetRef?: {
13775
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13776
+ category: string;
13777
+ animations?: string[] | undefined;
13778
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13779
+ variant?: string | undefined;
13780
+ } | undefined;
13781
+ } | undefined;
12560
13782
  }, {
12561
13783
  name: string;
12562
13784
  scope: "instance" | "collection";
@@ -12664,6 +13886,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
12664
13886
  appliesTo?: string[] | undefined;
12665
13887
  emits?: string[] | undefined;
12666
13888
  }[] | undefined;
13889
+ sourceBehavior?: {
13890
+ behavior: string;
13891
+ alias: string;
13892
+ originalName: string;
13893
+ } | undefined;
13894
+ sourceEntityDefinition?: {
13895
+ name: string;
13896
+ fields: unknown[];
13897
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
13898
+ collection?: string | undefined;
13899
+ instances?: Record<string, unknown>[] | undefined;
13900
+ timestamps?: boolean | undefined;
13901
+ softDelete?: boolean | undefined;
13902
+ description?: string | undefined;
13903
+ visual_prompt?: string | undefined;
13904
+ assetRef?: {
13905
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
13906
+ category: string;
13907
+ animations?: string[] | undefined;
13908
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
13909
+ variant?: string | undefined;
13910
+ } | undefined;
13911
+ } | undefined;
12667
13912
  }>]>, "many">;
12668
13913
  pages: z.ZodArray<z.ZodUnion<[z.ZodObject<{
12669
13914
  name: z.ZodString;
@@ -13131,6 +14376,83 @@ declare const OrbitalSchema$1: z.ZodObject<{
13131
14376
  }>, "many">>;
13132
14377
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13133
14378
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
14379
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
14380
+ behavior: z.ZodString;
14381
+ alias: z.ZodString;
14382
+ originalName: z.ZodString;
14383
+ }, "strip", z.ZodTypeAny, {
14384
+ behavior: string;
14385
+ alias: string;
14386
+ originalName: string;
14387
+ }, {
14388
+ behavior: string;
14389
+ alias: string;
14390
+ originalName: string;
14391
+ }>>;
14392
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
14393
+ name: z.ZodString;
14394
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
14395
+ collection: z.ZodOptional<z.ZodString>;
14396
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
14397
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
14398
+ timestamps: z.ZodOptional<z.ZodBoolean>;
14399
+ softDelete: z.ZodOptional<z.ZodBoolean>;
14400
+ description: z.ZodOptional<z.ZodString>;
14401
+ visual_prompt: z.ZodOptional<z.ZodString>;
14402
+ assetRef: z.ZodOptional<z.ZodObject<{
14403
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
14404
+ category: z.ZodString;
14405
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14406
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
14407
+ variant: z.ZodOptional<z.ZodString>;
14408
+ }, "strip", z.ZodTypeAny, {
14409
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14410
+ category: string;
14411
+ animations?: string[] | undefined;
14412
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14413
+ variant?: string | undefined;
14414
+ }, {
14415
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14416
+ category: string;
14417
+ animations?: string[] | undefined;
14418
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14419
+ variant?: string | undefined;
14420
+ }>>;
14421
+ }, "strip", z.ZodTypeAny, {
14422
+ name: string;
14423
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
14424
+ fields: EntityField[];
14425
+ collection?: string | undefined;
14426
+ instances?: Record<string, unknown>[] | undefined;
14427
+ timestamps?: boolean | undefined;
14428
+ softDelete?: boolean | undefined;
14429
+ description?: string | undefined;
14430
+ visual_prompt?: string | undefined;
14431
+ assetRef?: {
14432
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14433
+ category: string;
14434
+ animations?: string[] | undefined;
14435
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14436
+ variant?: string | undefined;
14437
+ } | undefined;
14438
+ }, {
14439
+ name: string;
14440
+ fields: unknown[];
14441
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
14442
+ collection?: string | undefined;
14443
+ instances?: Record<string, unknown>[] | undefined;
14444
+ timestamps?: boolean | undefined;
14445
+ softDelete?: boolean | undefined;
14446
+ description?: string | undefined;
14447
+ visual_prompt?: string | undefined;
14448
+ assetRef?: {
14449
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14450
+ category: string;
14451
+ animations?: string[] | undefined;
14452
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14453
+ variant?: string | undefined;
14454
+ } | undefined;
14455
+ }>>;
13134
14456
  }, "strip", z.ZodTypeAny, {
13135
14457
  name: string;
13136
14458
  scope: "instance" | "collection";
@@ -13238,6 +14560,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
13238
14560
  appliesTo?: string[] | undefined;
13239
14561
  emits?: string[] | undefined;
13240
14562
  }[] | undefined;
14563
+ sourceBehavior?: {
14564
+ behavior: string;
14565
+ alias: string;
14566
+ originalName: string;
14567
+ } | undefined;
14568
+ sourceEntityDefinition?: {
14569
+ name: string;
14570
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
14571
+ fields: EntityField[];
14572
+ collection?: string | undefined;
14573
+ instances?: Record<string, unknown>[] | undefined;
14574
+ timestamps?: boolean | undefined;
14575
+ softDelete?: boolean | undefined;
14576
+ description?: string | undefined;
14577
+ visual_prompt?: string | undefined;
14578
+ assetRef?: {
14579
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14580
+ category: string;
14581
+ animations?: string[] | undefined;
14582
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14583
+ variant?: string | undefined;
14584
+ } | undefined;
14585
+ } | undefined;
13241
14586
  }, {
13242
14587
  name: string;
13243
14588
  scope: "instance" | "collection";
@@ -13345,6 +14690,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
13345
14690
  appliesTo?: string[] | undefined;
13346
14691
  emits?: string[] | undefined;
13347
14692
  }[] | undefined;
14693
+ sourceBehavior?: {
14694
+ behavior: string;
14695
+ alias: string;
14696
+ originalName: string;
14697
+ } | undefined;
14698
+ sourceEntityDefinition?: {
14699
+ name: string;
14700
+ fields: unknown[];
14701
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
14702
+ collection?: string | undefined;
14703
+ instances?: Record<string, unknown>[] | undefined;
14704
+ timestamps?: boolean | undefined;
14705
+ softDelete?: boolean | undefined;
14706
+ description?: string | undefined;
14707
+ visual_prompt?: string | undefined;
14708
+ assetRef?: {
14709
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14710
+ category: string;
14711
+ animations?: string[] | undefined;
14712
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14713
+ variant?: string | undefined;
14714
+ } | undefined;
14715
+ } | undefined;
13348
14716
  }>]>, "many">>;
13349
14717
  }, "strip", z.ZodTypeAny, {
13350
14718
  ref: string;
@@ -13458,6 +14826,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
13458
14826
  appliesTo?: string[] | undefined;
13459
14827
  emits?: string[] | undefined;
13460
14828
  }[] | undefined;
14829
+ sourceBehavior?: {
14830
+ behavior: string;
14831
+ alias: string;
14832
+ originalName: string;
14833
+ } | undefined;
14834
+ sourceEntityDefinition?: {
14835
+ name: string;
14836
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
14837
+ fields: EntityField[];
14838
+ collection?: string | undefined;
14839
+ instances?: Record<string, unknown>[] | undefined;
14840
+ timestamps?: boolean | undefined;
14841
+ softDelete?: boolean | undefined;
14842
+ description?: string | undefined;
14843
+ visual_prompt?: string | undefined;
14844
+ assetRef?: {
14845
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14846
+ category: string;
14847
+ animations?: string[] | undefined;
14848
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14849
+ variant?: string | undefined;
14850
+ } | undefined;
14851
+ } | undefined;
13461
14852
  } | {
13462
14853
  ref: string;
13463
14854
  name?: string | undefined;
@@ -13577,6 +14968,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
13577
14968
  appliesTo?: string[] | undefined;
13578
14969
  emits?: string[] | undefined;
13579
14970
  }[] | undefined;
14971
+ sourceBehavior?: {
14972
+ behavior: string;
14973
+ alias: string;
14974
+ originalName: string;
14975
+ } | undefined;
14976
+ sourceEntityDefinition?: {
14977
+ name: string;
14978
+ fields: unknown[];
14979
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
14980
+ collection?: string | undefined;
14981
+ instances?: Record<string, unknown>[] | undefined;
14982
+ timestamps?: boolean | undefined;
14983
+ softDelete?: boolean | undefined;
14984
+ description?: string | undefined;
14985
+ visual_prompt?: string | undefined;
14986
+ assetRef?: {
14987
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
14988
+ category: string;
14989
+ animations?: string[] | undefined;
14990
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
14991
+ variant?: string | undefined;
14992
+ } | undefined;
14993
+ } | undefined;
13580
14994
  } | {
13581
14995
  ref: string;
13582
14996
  name?: string | undefined;
@@ -13976,6 +15390,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
13976
15390
  appliesTo?: string[] | undefined;
13977
15391
  emits?: string[] | undefined;
13978
15392
  }[] | undefined;
15393
+ sourceBehavior?: {
15394
+ behavior: string;
15395
+ alias: string;
15396
+ originalName: string;
15397
+ } | undefined;
15398
+ sourceEntityDefinition?: {
15399
+ name: string;
15400
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
15401
+ fields: EntityField[];
15402
+ collection?: string | undefined;
15403
+ instances?: Record<string, unknown>[] | undefined;
15404
+ timestamps?: boolean | undefined;
15405
+ softDelete?: boolean | undefined;
15406
+ description?: string | undefined;
15407
+ visual_prompt?: string | undefined;
15408
+ assetRef?: {
15409
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
15410
+ category: string;
15411
+ animations?: string[] | undefined;
15412
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
15413
+ variant?: string | undefined;
15414
+ } | undefined;
15415
+ } | undefined;
13979
15416
  } | {
13980
15417
  ref: string;
13981
15418
  name?: string | undefined;
@@ -14091,6 +15528,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
14091
15528
  appliesTo?: string[] | undefined;
14092
15529
  emits?: string[] | undefined;
14093
15530
  }[] | undefined;
15531
+ sourceBehavior?: {
15532
+ behavior: string;
15533
+ alias: string;
15534
+ originalName: string;
15535
+ } | undefined;
15536
+ sourceEntityDefinition?: {
15537
+ name: string;
15538
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
15539
+ fields: EntityField[];
15540
+ collection?: string | undefined;
15541
+ instances?: Record<string, unknown>[] | undefined;
15542
+ timestamps?: boolean | undefined;
15543
+ softDelete?: boolean | undefined;
15544
+ description?: string | undefined;
15545
+ visual_prompt?: string | undefined;
15546
+ assetRef?: {
15547
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
15548
+ category: string;
15549
+ animations?: string[] | undefined;
15550
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
15551
+ variant?: string | undefined;
15552
+ } | undefined;
15553
+ } | undefined;
14094
15554
  } | {
14095
15555
  ref: string;
14096
15556
  name?: string | undefined;
@@ -14376,6 +15836,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
14376
15836
  appliesTo?: string[] | undefined;
14377
15837
  emits?: string[] | undefined;
14378
15838
  }[] | undefined;
15839
+ sourceBehavior?: {
15840
+ behavior: string;
15841
+ alias: string;
15842
+ originalName: string;
15843
+ } | undefined;
15844
+ sourceEntityDefinition?: {
15845
+ name: string;
15846
+ fields: unknown[];
15847
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
15848
+ collection?: string | undefined;
15849
+ instances?: Record<string, unknown>[] | undefined;
15850
+ timestamps?: boolean | undefined;
15851
+ softDelete?: boolean | undefined;
15852
+ description?: string | undefined;
15853
+ visual_prompt?: string | undefined;
15854
+ assetRef?: {
15855
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
15856
+ category: string;
15857
+ animations?: string[] | undefined;
15858
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
15859
+ variant?: string | undefined;
15860
+ } | undefined;
15861
+ } | undefined;
14379
15862
  } | {
14380
15863
  ref: string;
14381
15864
  name?: string | undefined;
@@ -14491,6 +15974,29 @@ declare const OrbitalSchema$1: z.ZodObject<{
14491
15974
  appliesTo?: string[] | undefined;
14492
15975
  emits?: string[] | undefined;
14493
15976
  }[] | undefined;
15977
+ sourceBehavior?: {
15978
+ behavior: string;
15979
+ alias: string;
15980
+ originalName: string;
15981
+ } | undefined;
15982
+ sourceEntityDefinition?: {
15983
+ name: string;
15984
+ fields: unknown[];
15985
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
15986
+ collection?: string | undefined;
15987
+ instances?: Record<string, unknown>[] | undefined;
15988
+ timestamps?: boolean | undefined;
15989
+ softDelete?: boolean | undefined;
15990
+ description?: string | undefined;
15991
+ visual_prompt?: string | undefined;
15992
+ assetRef?: {
15993
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
15994
+ category: string;
15995
+ animations?: string[] | undefined;
15996
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
15997
+ variant?: string | undefined;
15998
+ } | undefined;
15999
+ } | undefined;
14494
16000
  } | {
14495
16001
  ref: string;
14496
16002
  name?: string | undefined;
@@ -15380,6 +16886,83 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15380
16886
  }>, "many">>;
15381
16887
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15382
16888
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
16889
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
16890
+ behavior: z.ZodString;
16891
+ alias: z.ZodString;
16892
+ originalName: z.ZodString;
16893
+ }, "strip", z.ZodTypeAny, {
16894
+ behavior: string;
16895
+ alias: string;
16896
+ originalName: string;
16897
+ }, {
16898
+ behavior: string;
16899
+ alias: string;
16900
+ originalName: string;
16901
+ }>>;
16902
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
16903
+ name: z.ZodString;
16904
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
16905
+ collection: z.ZodOptional<z.ZodString>;
16906
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
16907
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
16908
+ timestamps: z.ZodOptional<z.ZodBoolean>;
16909
+ softDelete: z.ZodOptional<z.ZodBoolean>;
16910
+ description: z.ZodOptional<z.ZodString>;
16911
+ visual_prompt: z.ZodOptional<z.ZodString>;
16912
+ assetRef: z.ZodOptional<z.ZodObject<{
16913
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
16914
+ category: z.ZodString;
16915
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16916
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
16917
+ variant: z.ZodOptional<z.ZodString>;
16918
+ }, "strip", z.ZodTypeAny, {
16919
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
16920
+ category: string;
16921
+ animations?: string[] | undefined;
16922
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
16923
+ variant?: string | undefined;
16924
+ }, {
16925
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
16926
+ category: string;
16927
+ animations?: string[] | undefined;
16928
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
16929
+ variant?: string | undefined;
16930
+ }>>;
16931
+ }, "strip", z.ZodTypeAny, {
16932
+ name: string;
16933
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
16934
+ fields: EntityField[];
16935
+ collection?: string | undefined;
16936
+ instances?: Record<string, unknown>[] | undefined;
16937
+ timestamps?: boolean | undefined;
16938
+ softDelete?: boolean | undefined;
16939
+ description?: string | undefined;
16940
+ visual_prompt?: string | undefined;
16941
+ assetRef?: {
16942
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
16943
+ category: string;
16944
+ animations?: string[] | undefined;
16945
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
16946
+ variant?: string | undefined;
16947
+ } | undefined;
16948
+ }, {
16949
+ name: string;
16950
+ fields: unknown[];
16951
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
16952
+ collection?: string | undefined;
16953
+ instances?: Record<string, unknown>[] | undefined;
16954
+ timestamps?: boolean | undefined;
16955
+ softDelete?: boolean | undefined;
16956
+ description?: string | undefined;
16957
+ visual_prompt?: string | undefined;
16958
+ assetRef?: {
16959
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
16960
+ category: string;
16961
+ animations?: string[] | undefined;
16962
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
16963
+ variant?: string | undefined;
16964
+ } | undefined;
16965
+ }>>;
15383
16966
  }, "strip", z.ZodTypeAny, {
15384
16967
  name: string;
15385
16968
  scope: "instance" | "collection";
@@ -15487,6 +17070,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15487
17070
  appliesTo?: string[] | undefined;
15488
17071
  emits?: string[] | undefined;
15489
17072
  }[] | undefined;
17073
+ sourceBehavior?: {
17074
+ behavior: string;
17075
+ alias: string;
17076
+ originalName: string;
17077
+ } | undefined;
17078
+ sourceEntityDefinition?: {
17079
+ name: string;
17080
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
17081
+ fields: EntityField[];
17082
+ collection?: string | undefined;
17083
+ instances?: Record<string, unknown>[] | undefined;
17084
+ timestamps?: boolean | undefined;
17085
+ softDelete?: boolean | undefined;
17086
+ description?: string | undefined;
17087
+ visual_prompt?: string | undefined;
17088
+ assetRef?: {
17089
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17090
+ category: string;
17091
+ animations?: string[] | undefined;
17092
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17093
+ variant?: string | undefined;
17094
+ } | undefined;
17095
+ } | undefined;
15490
17096
  }, {
15491
17097
  name: string;
15492
17098
  scope: "instance" | "collection";
@@ -15594,6 +17200,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15594
17200
  appliesTo?: string[] | undefined;
15595
17201
  emits?: string[] | undefined;
15596
17202
  }[] | undefined;
17203
+ sourceBehavior?: {
17204
+ behavior: string;
17205
+ alias: string;
17206
+ originalName: string;
17207
+ } | undefined;
17208
+ sourceEntityDefinition?: {
17209
+ name: string;
17210
+ fields: unknown[];
17211
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
17212
+ collection?: string | undefined;
17213
+ instances?: Record<string, unknown>[] | undefined;
17214
+ timestamps?: boolean | undefined;
17215
+ softDelete?: boolean | undefined;
17216
+ description?: string | undefined;
17217
+ visual_prompt?: string | undefined;
17218
+ assetRef?: {
17219
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17220
+ category: string;
17221
+ animations?: string[] | undefined;
17222
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17223
+ variant?: string | undefined;
17224
+ } | undefined;
17225
+ } | undefined;
15597
17226
  }>]>, "many">;
15598
17227
  pages: z.ZodArray<z.ZodUnion<[z.ZodObject<{
15599
17228
  name: z.ZodString;
@@ -16061,6 +17690,83 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16061
17690
  }>, "many">>;
16062
17691
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16063
17692
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
17693
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
17694
+ behavior: z.ZodString;
17695
+ alias: z.ZodString;
17696
+ originalName: z.ZodString;
17697
+ }, "strip", z.ZodTypeAny, {
17698
+ behavior: string;
17699
+ alias: string;
17700
+ originalName: string;
17701
+ }, {
17702
+ behavior: string;
17703
+ alias: string;
17704
+ originalName: string;
17705
+ }>>;
17706
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
17707
+ name: z.ZodString;
17708
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
17709
+ collection: z.ZodOptional<z.ZodString>;
17710
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
17711
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
17712
+ timestamps: z.ZodOptional<z.ZodBoolean>;
17713
+ softDelete: z.ZodOptional<z.ZodBoolean>;
17714
+ description: z.ZodOptional<z.ZodString>;
17715
+ visual_prompt: z.ZodOptional<z.ZodString>;
17716
+ assetRef: z.ZodOptional<z.ZodObject<{
17717
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
17718
+ category: z.ZodString;
17719
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17720
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
17721
+ variant: z.ZodOptional<z.ZodString>;
17722
+ }, "strip", z.ZodTypeAny, {
17723
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17724
+ category: string;
17725
+ animations?: string[] | undefined;
17726
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17727
+ variant?: string | undefined;
17728
+ }, {
17729
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17730
+ category: string;
17731
+ animations?: string[] | undefined;
17732
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17733
+ variant?: string | undefined;
17734
+ }>>;
17735
+ }, "strip", z.ZodTypeAny, {
17736
+ name: string;
17737
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
17738
+ fields: EntityField[];
17739
+ collection?: string | undefined;
17740
+ instances?: Record<string, unknown>[] | undefined;
17741
+ timestamps?: boolean | undefined;
17742
+ softDelete?: boolean | undefined;
17743
+ description?: string | undefined;
17744
+ visual_prompt?: string | undefined;
17745
+ assetRef?: {
17746
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17747
+ category: string;
17748
+ animations?: string[] | undefined;
17749
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17750
+ variant?: string | undefined;
17751
+ } | undefined;
17752
+ }, {
17753
+ name: string;
17754
+ fields: unknown[];
17755
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
17756
+ collection?: string | undefined;
17757
+ instances?: Record<string, unknown>[] | undefined;
17758
+ timestamps?: boolean | undefined;
17759
+ softDelete?: boolean | undefined;
17760
+ description?: string | undefined;
17761
+ visual_prompt?: string | undefined;
17762
+ assetRef?: {
17763
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17764
+ category: string;
17765
+ animations?: string[] | undefined;
17766
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17767
+ variant?: string | undefined;
17768
+ } | undefined;
17769
+ }>>;
16064
17770
  }, "strip", z.ZodTypeAny, {
16065
17771
  name: string;
16066
17772
  scope: "instance" | "collection";
@@ -16168,6 +17874,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16168
17874
  appliesTo?: string[] | undefined;
16169
17875
  emits?: string[] | undefined;
16170
17876
  }[] | undefined;
17877
+ sourceBehavior?: {
17878
+ behavior: string;
17879
+ alias: string;
17880
+ originalName: string;
17881
+ } | undefined;
17882
+ sourceEntityDefinition?: {
17883
+ name: string;
17884
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
17885
+ fields: EntityField[];
17886
+ collection?: string | undefined;
17887
+ instances?: Record<string, unknown>[] | undefined;
17888
+ timestamps?: boolean | undefined;
17889
+ softDelete?: boolean | undefined;
17890
+ description?: string | undefined;
17891
+ visual_prompt?: string | undefined;
17892
+ assetRef?: {
17893
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
17894
+ category: string;
17895
+ animations?: string[] | undefined;
17896
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
17897
+ variant?: string | undefined;
17898
+ } | undefined;
17899
+ } | undefined;
16171
17900
  }, {
16172
17901
  name: string;
16173
17902
  scope: "instance" | "collection";
@@ -16275,6 +18004,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16275
18004
  appliesTo?: string[] | undefined;
16276
18005
  emits?: string[] | undefined;
16277
18006
  }[] | undefined;
18007
+ sourceBehavior?: {
18008
+ behavior: string;
18009
+ alias: string;
18010
+ originalName: string;
18011
+ } | undefined;
18012
+ sourceEntityDefinition?: {
18013
+ name: string;
18014
+ fields: unknown[];
18015
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
18016
+ collection?: string | undefined;
18017
+ instances?: Record<string, unknown>[] | undefined;
18018
+ timestamps?: boolean | undefined;
18019
+ softDelete?: boolean | undefined;
18020
+ description?: string | undefined;
18021
+ visual_prompt?: string | undefined;
18022
+ assetRef?: {
18023
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
18024
+ category: string;
18025
+ animations?: string[] | undefined;
18026
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
18027
+ variant?: string | undefined;
18028
+ } | undefined;
18029
+ } | undefined;
16278
18030
  }>]>, "many">>;
16279
18031
  }, "strip", z.ZodTypeAny, {
16280
18032
  ref: string;
@@ -16388,6 +18140,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16388
18140
  appliesTo?: string[] | undefined;
16389
18141
  emits?: string[] | undefined;
16390
18142
  }[] | undefined;
18143
+ sourceBehavior?: {
18144
+ behavior: string;
18145
+ alias: string;
18146
+ originalName: string;
18147
+ } | undefined;
18148
+ sourceEntityDefinition?: {
18149
+ name: string;
18150
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
18151
+ fields: EntityField[];
18152
+ collection?: string | undefined;
18153
+ instances?: Record<string, unknown>[] | undefined;
18154
+ timestamps?: boolean | undefined;
18155
+ softDelete?: boolean | undefined;
18156
+ description?: string | undefined;
18157
+ visual_prompt?: string | undefined;
18158
+ assetRef?: {
18159
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
18160
+ category: string;
18161
+ animations?: string[] | undefined;
18162
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
18163
+ variant?: string | undefined;
18164
+ } | undefined;
18165
+ } | undefined;
16391
18166
  } | {
16392
18167
  ref: string;
16393
18168
  name?: string | undefined;
@@ -16507,6 +18282,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16507
18282
  appliesTo?: string[] | undefined;
16508
18283
  emits?: string[] | undefined;
16509
18284
  }[] | undefined;
18285
+ sourceBehavior?: {
18286
+ behavior: string;
18287
+ alias: string;
18288
+ originalName: string;
18289
+ } | undefined;
18290
+ sourceEntityDefinition?: {
18291
+ name: string;
18292
+ fields: unknown[];
18293
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
18294
+ collection?: string | undefined;
18295
+ instances?: Record<string, unknown>[] | undefined;
18296
+ timestamps?: boolean | undefined;
18297
+ softDelete?: boolean | undefined;
18298
+ description?: string | undefined;
18299
+ visual_prompt?: string | undefined;
18300
+ assetRef?: {
18301
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
18302
+ category: string;
18303
+ animations?: string[] | undefined;
18304
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
18305
+ variant?: string | undefined;
18306
+ } | undefined;
18307
+ } | undefined;
16510
18308
  } | {
16511
18309
  ref: string;
16512
18310
  name?: string | undefined;
@@ -16906,6 +18704,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16906
18704
  appliesTo?: string[] | undefined;
16907
18705
  emits?: string[] | undefined;
16908
18706
  }[] | undefined;
18707
+ sourceBehavior?: {
18708
+ behavior: string;
18709
+ alias: string;
18710
+ originalName: string;
18711
+ } | undefined;
18712
+ sourceEntityDefinition?: {
18713
+ name: string;
18714
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
18715
+ fields: EntityField[];
18716
+ collection?: string | undefined;
18717
+ instances?: Record<string, unknown>[] | undefined;
18718
+ timestamps?: boolean | undefined;
18719
+ softDelete?: boolean | undefined;
18720
+ description?: string | undefined;
18721
+ visual_prompt?: string | undefined;
18722
+ assetRef?: {
18723
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
18724
+ category: string;
18725
+ animations?: string[] | undefined;
18726
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
18727
+ variant?: string | undefined;
18728
+ } | undefined;
18729
+ } | undefined;
16909
18730
  } | {
16910
18731
  ref: string;
16911
18732
  name?: string | undefined;
@@ -17021,6 +18842,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
17021
18842
  appliesTo?: string[] | undefined;
17022
18843
  emits?: string[] | undefined;
17023
18844
  }[] | undefined;
18845
+ sourceBehavior?: {
18846
+ behavior: string;
18847
+ alias: string;
18848
+ originalName: string;
18849
+ } | undefined;
18850
+ sourceEntityDefinition?: {
18851
+ name: string;
18852
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
18853
+ fields: EntityField[];
18854
+ collection?: string | undefined;
18855
+ instances?: Record<string, unknown>[] | undefined;
18856
+ timestamps?: boolean | undefined;
18857
+ softDelete?: boolean | undefined;
18858
+ description?: string | undefined;
18859
+ visual_prompt?: string | undefined;
18860
+ assetRef?: {
18861
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
18862
+ category: string;
18863
+ animations?: string[] | undefined;
18864
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
18865
+ variant?: string | undefined;
18866
+ } | undefined;
18867
+ } | undefined;
17024
18868
  } | {
17025
18869
  ref: string;
17026
18870
  name?: string | undefined;
@@ -17306,6 +19150,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
17306
19150
  appliesTo?: string[] | undefined;
17307
19151
  emits?: string[] | undefined;
17308
19152
  }[] | undefined;
19153
+ sourceBehavior?: {
19154
+ behavior: string;
19155
+ alias: string;
19156
+ originalName: string;
19157
+ } | undefined;
19158
+ sourceEntityDefinition?: {
19159
+ name: string;
19160
+ fields: unknown[];
19161
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
19162
+ collection?: string | undefined;
19163
+ instances?: Record<string, unknown>[] | undefined;
19164
+ timestamps?: boolean | undefined;
19165
+ softDelete?: boolean | undefined;
19166
+ description?: string | undefined;
19167
+ visual_prompt?: string | undefined;
19168
+ assetRef?: {
19169
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
19170
+ category: string;
19171
+ animations?: string[] | undefined;
19172
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
19173
+ variant?: string | undefined;
19174
+ } | undefined;
19175
+ } | undefined;
17309
19176
  } | {
17310
19177
  ref: string;
17311
19178
  name?: string | undefined;
@@ -17421,6 +19288,29 @@ declare const OrbitalUnitSchema: z.ZodObject<{
17421
19288
  appliesTo?: string[] | undefined;
17422
19289
  emits?: string[] | undefined;
17423
19290
  }[] | undefined;
19291
+ sourceBehavior?: {
19292
+ behavior: string;
19293
+ alias: string;
19294
+ originalName: string;
19295
+ } | undefined;
19296
+ sourceEntityDefinition?: {
19297
+ name: string;
19298
+ fields: unknown[];
19299
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
19300
+ collection?: string | undefined;
19301
+ instances?: Record<string, unknown>[] | undefined;
19302
+ timestamps?: boolean | undefined;
19303
+ softDelete?: boolean | undefined;
19304
+ description?: string | undefined;
19305
+ visual_prompt?: string | undefined;
19306
+ assetRef?: {
19307
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
19308
+ category: string;
19309
+ animations?: string[] | undefined;
19310
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
19311
+ variant?: string | undefined;
19312
+ } | undefined;
19313
+ } | undefined;
17424
19314
  } | {
17425
19315
  ref: string;
17426
19316
  name?: string | undefined;
@@ -18560,6 +20450,83 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18560
20450
  }>, "many">>;
18561
20451
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18562
20452
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
20453
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
20454
+ behavior: z.ZodString;
20455
+ alias: z.ZodString;
20456
+ originalName: z.ZodString;
20457
+ }, "strip", z.ZodTypeAny, {
20458
+ behavior: string;
20459
+ alias: string;
20460
+ originalName: string;
20461
+ }, {
20462
+ behavior: string;
20463
+ alias: string;
20464
+ originalName: string;
20465
+ }>>;
20466
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
20467
+ name: z.ZodString;
20468
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
20469
+ collection: z.ZodOptional<z.ZodString>;
20470
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
20471
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
20472
+ timestamps: z.ZodOptional<z.ZodBoolean>;
20473
+ softDelete: z.ZodOptional<z.ZodBoolean>;
20474
+ description: z.ZodOptional<z.ZodString>;
20475
+ visual_prompt: z.ZodOptional<z.ZodString>;
20476
+ assetRef: z.ZodOptional<z.ZodObject<{
20477
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
20478
+ category: z.ZodString;
20479
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20480
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
20481
+ variant: z.ZodOptional<z.ZodString>;
20482
+ }, "strip", z.ZodTypeAny, {
20483
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20484
+ category: string;
20485
+ animations?: string[] | undefined;
20486
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20487
+ variant?: string | undefined;
20488
+ }, {
20489
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20490
+ category: string;
20491
+ animations?: string[] | undefined;
20492
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20493
+ variant?: string | undefined;
20494
+ }>>;
20495
+ }, "strip", z.ZodTypeAny, {
20496
+ name: string;
20497
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
20498
+ fields: EntityField[];
20499
+ collection?: string | undefined;
20500
+ instances?: Record<string, unknown>[] | undefined;
20501
+ timestamps?: boolean | undefined;
20502
+ softDelete?: boolean | undefined;
20503
+ description?: string | undefined;
20504
+ visual_prompt?: string | undefined;
20505
+ assetRef?: {
20506
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20507
+ category: string;
20508
+ animations?: string[] | undefined;
20509
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20510
+ variant?: string | undefined;
20511
+ } | undefined;
20512
+ }, {
20513
+ name: string;
20514
+ fields: unknown[];
20515
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
20516
+ collection?: string | undefined;
20517
+ instances?: Record<string, unknown>[] | undefined;
20518
+ timestamps?: boolean | undefined;
20519
+ softDelete?: boolean | undefined;
20520
+ description?: string | undefined;
20521
+ visual_prompt?: string | undefined;
20522
+ assetRef?: {
20523
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20524
+ category: string;
20525
+ animations?: string[] | undefined;
20526
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20527
+ variant?: string | undefined;
20528
+ } | undefined;
20529
+ }>>;
18563
20530
  }, "strip", z.ZodTypeAny, {
18564
20531
  name: string;
18565
20532
  scope: "instance" | "collection";
@@ -18667,6 +20634,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18667
20634
  appliesTo?: string[] | undefined;
18668
20635
  emits?: string[] | undefined;
18669
20636
  }[] | undefined;
20637
+ sourceBehavior?: {
20638
+ behavior: string;
20639
+ alias: string;
20640
+ originalName: string;
20641
+ } | undefined;
20642
+ sourceEntityDefinition?: {
20643
+ name: string;
20644
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
20645
+ fields: EntityField[];
20646
+ collection?: string | undefined;
20647
+ instances?: Record<string, unknown>[] | undefined;
20648
+ timestamps?: boolean | undefined;
20649
+ softDelete?: boolean | undefined;
20650
+ description?: string | undefined;
20651
+ visual_prompt?: string | undefined;
20652
+ assetRef?: {
20653
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20654
+ category: string;
20655
+ animations?: string[] | undefined;
20656
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20657
+ variant?: string | undefined;
20658
+ } | undefined;
20659
+ } | undefined;
18670
20660
  }, {
18671
20661
  name: string;
18672
20662
  scope: "instance" | "collection";
@@ -18774,6 +20764,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18774
20764
  appliesTo?: string[] | undefined;
18775
20765
  emits?: string[] | undefined;
18776
20766
  }[] | undefined;
20767
+ sourceBehavior?: {
20768
+ behavior: string;
20769
+ alias: string;
20770
+ originalName: string;
20771
+ } | undefined;
20772
+ sourceEntityDefinition?: {
20773
+ name: string;
20774
+ fields: unknown[];
20775
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
20776
+ collection?: string | undefined;
20777
+ instances?: Record<string, unknown>[] | undefined;
20778
+ timestamps?: boolean | undefined;
20779
+ softDelete?: boolean | undefined;
20780
+ description?: string | undefined;
20781
+ visual_prompt?: string | undefined;
20782
+ assetRef?: {
20783
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
20784
+ category: string;
20785
+ animations?: string[] | undefined;
20786
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
20787
+ variant?: string | undefined;
20788
+ } | undefined;
20789
+ } | undefined;
18777
20790
  }>]>, "many">;
18778
20791
  pages: z.ZodArray<z.ZodUnion<[z.ZodObject<{
18779
20792
  name: z.ZodString;
@@ -19241,6 +21254,83 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19241
21254
  }>, "many">>;
19242
21255
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19243
21256
  config: z.ZodOptional<z.ZodType<Readonly<Record<string, ConfigFieldDeclaration>>, z.ZodTypeDef, Readonly<Record<string, ConfigFieldDeclaration>>>>;
21257
+ sourceBehavior: z.ZodOptional<z.ZodObject<{
21258
+ behavior: z.ZodString;
21259
+ alias: z.ZodString;
21260
+ originalName: z.ZodString;
21261
+ }, "strip", z.ZodTypeAny, {
21262
+ behavior: string;
21263
+ alias: string;
21264
+ originalName: string;
21265
+ }, {
21266
+ behavior: string;
21267
+ alias: string;
21268
+ originalName: string;
21269
+ }>>;
21270
+ sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
21271
+ name: z.ZodString;
21272
+ persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime", "singleton", "instance", "local"]>>;
21273
+ collection: z.ZodOptional<z.ZodString>;
21274
+ fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
21275
+ instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
21276
+ timestamps: z.ZodOptional<z.ZodBoolean>;
21277
+ softDelete: z.ZodOptional<z.ZodBoolean>;
21278
+ description: z.ZodOptional<z.ZodString>;
21279
+ visual_prompt: z.ZodOptional<z.ZodString>;
21280
+ assetRef: z.ZodOptional<z.ZodObject<{
21281
+ role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
21282
+ category: z.ZodString;
21283
+ animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21284
+ style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
21285
+ variant: z.ZodOptional<z.ZodString>;
21286
+ }, "strip", z.ZodTypeAny, {
21287
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21288
+ category: string;
21289
+ animations?: string[] | undefined;
21290
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21291
+ variant?: string | undefined;
21292
+ }, {
21293
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21294
+ category: string;
21295
+ animations?: string[] | undefined;
21296
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21297
+ variant?: string | undefined;
21298
+ }>>;
21299
+ }, "strip", z.ZodTypeAny, {
21300
+ name: string;
21301
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
21302
+ fields: EntityField[];
21303
+ collection?: string | undefined;
21304
+ instances?: Record<string, unknown>[] | undefined;
21305
+ timestamps?: boolean | undefined;
21306
+ softDelete?: boolean | undefined;
21307
+ description?: string | undefined;
21308
+ visual_prompt?: string | undefined;
21309
+ assetRef?: {
21310
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21311
+ category: string;
21312
+ animations?: string[] | undefined;
21313
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21314
+ variant?: string | undefined;
21315
+ } | undefined;
21316
+ }, {
21317
+ name: string;
21318
+ fields: unknown[];
21319
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
21320
+ collection?: string | undefined;
21321
+ instances?: Record<string, unknown>[] | undefined;
21322
+ timestamps?: boolean | undefined;
21323
+ softDelete?: boolean | undefined;
21324
+ description?: string | undefined;
21325
+ visual_prompt?: string | undefined;
21326
+ assetRef?: {
21327
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21328
+ category: string;
21329
+ animations?: string[] | undefined;
21330
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21331
+ variant?: string | undefined;
21332
+ } | undefined;
21333
+ }>>;
19244
21334
  }, "strip", z.ZodTypeAny, {
19245
21335
  name: string;
19246
21336
  scope: "instance" | "collection";
@@ -19348,6 +21438,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19348
21438
  appliesTo?: string[] | undefined;
19349
21439
  emits?: string[] | undefined;
19350
21440
  }[] | undefined;
21441
+ sourceBehavior?: {
21442
+ behavior: string;
21443
+ alias: string;
21444
+ originalName: string;
21445
+ } | undefined;
21446
+ sourceEntityDefinition?: {
21447
+ name: string;
21448
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
21449
+ fields: EntityField[];
21450
+ collection?: string | undefined;
21451
+ instances?: Record<string, unknown>[] | undefined;
21452
+ timestamps?: boolean | undefined;
21453
+ softDelete?: boolean | undefined;
21454
+ description?: string | undefined;
21455
+ visual_prompt?: string | undefined;
21456
+ assetRef?: {
21457
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21458
+ category: string;
21459
+ animations?: string[] | undefined;
21460
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21461
+ variant?: string | undefined;
21462
+ } | undefined;
21463
+ } | undefined;
19351
21464
  }, {
19352
21465
  name: string;
19353
21466
  scope: "instance" | "collection";
@@ -19455,6 +21568,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19455
21568
  appliesTo?: string[] | undefined;
19456
21569
  emits?: string[] | undefined;
19457
21570
  }[] | undefined;
21571
+ sourceBehavior?: {
21572
+ behavior: string;
21573
+ alias: string;
21574
+ originalName: string;
21575
+ } | undefined;
21576
+ sourceEntityDefinition?: {
21577
+ name: string;
21578
+ fields: unknown[];
21579
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
21580
+ collection?: string | undefined;
21581
+ instances?: Record<string, unknown>[] | undefined;
21582
+ timestamps?: boolean | undefined;
21583
+ softDelete?: boolean | undefined;
21584
+ description?: string | undefined;
21585
+ visual_prompt?: string | undefined;
21586
+ assetRef?: {
21587
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21588
+ category: string;
21589
+ animations?: string[] | undefined;
21590
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21591
+ variant?: string | undefined;
21592
+ } | undefined;
21593
+ } | undefined;
19458
21594
  }>]>, "many">>;
19459
21595
  }, "strip", z.ZodTypeAny, {
19460
21596
  ref: string;
@@ -19568,6 +21704,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19568
21704
  appliesTo?: string[] | undefined;
19569
21705
  emits?: string[] | undefined;
19570
21706
  }[] | undefined;
21707
+ sourceBehavior?: {
21708
+ behavior: string;
21709
+ alias: string;
21710
+ originalName: string;
21711
+ } | undefined;
21712
+ sourceEntityDefinition?: {
21713
+ name: string;
21714
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
21715
+ fields: EntityField[];
21716
+ collection?: string | undefined;
21717
+ instances?: Record<string, unknown>[] | undefined;
21718
+ timestamps?: boolean | undefined;
21719
+ softDelete?: boolean | undefined;
21720
+ description?: string | undefined;
21721
+ visual_prompt?: string | undefined;
21722
+ assetRef?: {
21723
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21724
+ category: string;
21725
+ animations?: string[] | undefined;
21726
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21727
+ variant?: string | undefined;
21728
+ } | undefined;
21729
+ } | undefined;
19571
21730
  } | {
19572
21731
  ref: string;
19573
21732
  name?: string | undefined;
@@ -19687,6 +21846,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19687
21846
  appliesTo?: string[] | undefined;
19688
21847
  emits?: string[] | undefined;
19689
21848
  }[] | undefined;
21849
+ sourceBehavior?: {
21850
+ behavior: string;
21851
+ alias: string;
21852
+ originalName: string;
21853
+ } | undefined;
21854
+ sourceEntityDefinition?: {
21855
+ name: string;
21856
+ fields: unknown[];
21857
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
21858
+ collection?: string | undefined;
21859
+ instances?: Record<string, unknown>[] | undefined;
21860
+ timestamps?: boolean | undefined;
21861
+ softDelete?: boolean | undefined;
21862
+ description?: string | undefined;
21863
+ visual_prompt?: string | undefined;
21864
+ assetRef?: {
21865
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
21866
+ category: string;
21867
+ animations?: string[] | undefined;
21868
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
21869
+ variant?: string | undefined;
21870
+ } | undefined;
21871
+ } | undefined;
19690
21872
  } | {
19691
21873
  ref: string;
19692
21874
  name?: string | undefined;
@@ -20086,6 +22268,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
20086
22268
  appliesTo?: string[] | undefined;
20087
22269
  emits?: string[] | undefined;
20088
22270
  }[] | undefined;
22271
+ sourceBehavior?: {
22272
+ behavior: string;
22273
+ alias: string;
22274
+ originalName: string;
22275
+ } | undefined;
22276
+ sourceEntityDefinition?: {
22277
+ name: string;
22278
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
22279
+ fields: EntityField[];
22280
+ collection?: string | undefined;
22281
+ instances?: Record<string, unknown>[] | undefined;
22282
+ timestamps?: boolean | undefined;
22283
+ softDelete?: boolean | undefined;
22284
+ description?: string | undefined;
22285
+ visual_prompt?: string | undefined;
22286
+ assetRef?: {
22287
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
22288
+ category: string;
22289
+ animations?: string[] | undefined;
22290
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
22291
+ variant?: string | undefined;
22292
+ } | undefined;
22293
+ } | undefined;
20089
22294
  } | {
20090
22295
  ref: string;
20091
22296
  name?: string | undefined;
@@ -20201,6 +22406,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
20201
22406
  appliesTo?: string[] | undefined;
20202
22407
  emits?: string[] | undefined;
20203
22408
  }[] | undefined;
22409
+ sourceBehavior?: {
22410
+ behavior: string;
22411
+ alias: string;
22412
+ originalName: string;
22413
+ } | undefined;
22414
+ sourceEntityDefinition?: {
22415
+ name: string;
22416
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
22417
+ fields: EntityField[];
22418
+ collection?: string | undefined;
22419
+ instances?: Record<string, unknown>[] | undefined;
22420
+ timestamps?: boolean | undefined;
22421
+ softDelete?: boolean | undefined;
22422
+ description?: string | undefined;
22423
+ visual_prompt?: string | undefined;
22424
+ assetRef?: {
22425
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
22426
+ category: string;
22427
+ animations?: string[] | undefined;
22428
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
22429
+ variant?: string | undefined;
22430
+ } | undefined;
22431
+ } | undefined;
20204
22432
  } | {
20205
22433
  ref: string;
20206
22434
  name?: string | undefined;
@@ -20486,6 +22714,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
20486
22714
  appliesTo?: string[] | undefined;
20487
22715
  emits?: string[] | undefined;
20488
22716
  }[] | undefined;
22717
+ sourceBehavior?: {
22718
+ behavior: string;
22719
+ alias: string;
22720
+ originalName: string;
22721
+ } | undefined;
22722
+ sourceEntityDefinition?: {
22723
+ name: string;
22724
+ fields: unknown[];
22725
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
22726
+ collection?: string | undefined;
22727
+ instances?: Record<string, unknown>[] | undefined;
22728
+ timestamps?: boolean | undefined;
22729
+ softDelete?: boolean | undefined;
22730
+ description?: string | undefined;
22731
+ visual_prompt?: string | undefined;
22732
+ assetRef?: {
22733
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
22734
+ category: string;
22735
+ animations?: string[] | undefined;
22736
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
22737
+ variant?: string | undefined;
22738
+ } | undefined;
22739
+ } | undefined;
20489
22740
  } | {
20490
22741
  ref: string;
20491
22742
  name?: string | undefined;
@@ -20601,6 +22852,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
20601
22852
  appliesTo?: string[] | undefined;
20602
22853
  emits?: string[] | undefined;
20603
22854
  }[] | undefined;
22855
+ sourceBehavior?: {
22856
+ behavior: string;
22857
+ alias: string;
22858
+ originalName: string;
22859
+ } | undefined;
22860
+ sourceEntityDefinition?: {
22861
+ name: string;
22862
+ fields: unknown[];
22863
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
22864
+ collection?: string | undefined;
22865
+ instances?: Record<string, unknown>[] | undefined;
22866
+ timestamps?: boolean | undefined;
22867
+ softDelete?: boolean | undefined;
22868
+ description?: string | undefined;
22869
+ visual_prompt?: string | undefined;
22870
+ assetRef?: {
22871
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
22872
+ category: string;
22873
+ animations?: string[] | undefined;
22874
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
22875
+ variant?: string | undefined;
22876
+ } | undefined;
22877
+ } | undefined;
20604
22878
  } | {
20605
22879
  ref: string;
20606
22880
  name?: string | undefined;
@@ -21064,6 +23338,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
21064
23338
  appliesTo?: string[] | undefined;
21065
23339
  emits?: string[] | undefined;
21066
23340
  }[] | undefined;
23341
+ sourceBehavior?: {
23342
+ behavior: string;
23343
+ alias: string;
23344
+ originalName: string;
23345
+ } | undefined;
23346
+ sourceEntityDefinition?: {
23347
+ name: string;
23348
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
23349
+ fields: EntityField[];
23350
+ collection?: string | undefined;
23351
+ instances?: Record<string, unknown>[] | undefined;
23352
+ timestamps?: boolean | undefined;
23353
+ softDelete?: boolean | undefined;
23354
+ description?: string | undefined;
23355
+ visual_prompt?: string | undefined;
23356
+ assetRef?: {
23357
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
23358
+ category: string;
23359
+ animations?: string[] | undefined;
23360
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
23361
+ variant?: string | undefined;
23362
+ } | undefined;
23363
+ } | undefined;
21067
23364
  } | {
21068
23365
  ref: string;
21069
23366
  name?: string | undefined;
@@ -21179,6 +23476,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
21179
23476
  appliesTo?: string[] | undefined;
21180
23477
  emits?: string[] | undefined;
21181
23478
  }[] | undefined;
23479
+ sourceBehavior?: {
23480
+ behavior: string;
23481
+ alias: string;
23482
+ originalName: string;
23483
+ } | undefined;
23484
+ sourceEntityDefinition?: {
23485
+ name: string;
23486
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
23487
+ fields: EntityField[];
23488
+ collection?: string | undefined;
23489
+ instances?: Record<string, unknown>[] | undefined;
23490
+ timestamps?: boolean | undefined;
23491
+ softDelete?: boolean | undefined;
23492
+ description?: string | undefined;
23493
+ visual_prompt?: string | undefined;
23494
+ assetRef?: {
23495
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
23496
+ category: string;
23497
+ animations?: string[] | undefined;
23498
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
23499
+ variant?: string | undefined;
23500
+ } | undefined;
23501
+ } | undefined;
21182
23502
  } | {
21183
23503
  ref: string;
21184
23504
  name?: string | undefined;
@@ -21554,6 +23874,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
21554
23874
  appliesTo?: string[] | undefined;
21555
23875
  emits?: string[] | undefined;
21556
23876
  }[] | undefined;
23877
+ sourceBehavior?: {
23878
+ behavior: string;
23879
+ alias: string;
23880
+ originalName: string;
23881
+ } | undefined;
23882
+ sourceEntityDefinition?: {
23883
+ name: string;
23884
+ fields: unknown[];
23885
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
23886
+ collection?: string | undefined;
23887
+ instances?: Record<string, unknown>[] | undefined;
23888
+ timestamps?: boolean | undefined;
23889
+ softDelete?: boolean | undefined;
23890
+ description?: string | undefined;
23891
+ visual_prompt?: string | undefined;
23892
+ assetRef?: {
23893
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
23894
+ category: string;
23895
+ animations?: string[] | undefined;
23896
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
23897
+ variant?: string | undefined;
23898
+ } | undefined;
23899
+ } | undefined;
21557
23900
  } | {
21558
23901
  ref: string;
21559
23902
  name?: string | undefined;
@@ -21669,6 +24012,29 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
21669
24012
  appliesTo?: string[] | undefined;
21670
24013
  emits?: string[] | undefined;
21671
24014
  }[] | undefined;
24015
+ sourceBehavior?: {
24016
+ behavior: string;
24017
+ alias: string;
24018
+ originalName: string;
24019
+ } | undefined;
24020
+ sourceEntityDefinition?: {
24021
+ name: string;
24022
+ fields: unknown[];
24023
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
24024
+ collection?: string | undefined;
24025
+ instances?: Record<string, unknown>[] | undefined;
24026
+ timestamps?: boolean | undefined;
24027
+ softDelete?: boolean | undefined;
24028
+ description?: string | undefined;
24029
+ visual_prompt?: string | undefined;
24030
+ assetRef?: {
24031
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
24032
+ category: string;
24033
+ animations?: string[] | undefined;
24034
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
24035
+ variant?: string | undefined;
24036
+ } | undefined;
24037
+ } | undefined;
21672
24038
  } | {
21673
24039
  ref: string;
21674
24040
  name?: string | undefined;
@@ -22109,6 +24475,29 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22109
24475
  appliesTo?: string[] | undefined;
22110
24476
  emits?: string[] | undefined;
22111
24477
  }[] | undefined;
24478
+ sourceBehavior?: {
24479
+ behavior: string;
24480
+ alias: string;
24481
+ originalName: string;
24482
+ } | undefined;
24483
+ sourceEntityDefinition?: {
24484
+ name: string;
24485
+ fields: unknown[];
24486
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
24487
+ collection?: string | undefined;
24488
+ instances?: Record<string, unknown>[] | undefined;
24489
+ timestamps?: boolean | undefined;
24490
+ softDelete?: boolean | undefined;
24491
+ description?: string | undefined;
24492
+ visual_prompt?: string | undefined;
24493
+ assetRef?: {
24494
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
24495
+ category: string;
24496
+ animations?: string[] | undefined;
24497
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
24498
+ variant?: string | undefined;
24499
+ } | undefined;
24500
+ } | undefined;
22112
24501
  } | {
22113
24502
  ref: string;
22114
24503
  name?: string | undefined;
@@ -22224,6 +24613,29 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22224
24613
  appliesTo?: string[] | undefined;
22225
24614
  emits?: string[] | undefined;
22226
24615
  }[] | undefined;
24616
+ sourceBehavior?: {
24617
+ behavior: string;
24618
+ alias: string;
24619
+ originalName: string;
24620
+ } | undefined;
24621
+ sourceEntityDefinition?: {
24622
+ name: string;
24623
+ fields: unknown[];
24624
+ persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
24625
+ collection?: string | undefined;
24626
+ instances?: Record<string, unknown>[] | undefined;
24627
+ timestamps?: boolean | undefined;
24628
+ softDelete?: boolean | undefined;
24629
+ description?: string | undefined;
24630
+ visual_prompt?: string | undefined;
24631
+ assetRef?: {
24632
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
24633
+ category: string;
24634
+ animations?: string[] | undefined;
24635
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
24636
+ variant?: string | undefined;
24637
+ } | undefined;
24638
+ } | undefined;
22227
24639
  } | {
22228
24640
  ref: string;
22229
24641
  name?: string | undefined;
@@ -22599,6 +25011,29 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22599
25011
  appliesTo?: string[] | undefined;
22600
25012
  emits?: string[] | undefined;
22601
25013
  }[] | undefined;
25014
+ sourceBehavior?: {
25015
+ behavior: string;
25016
+ alias: string;
25017
+ originalName: string;
25018
+ } | undefined;
25019
+ sourceEntityDefinition?: {
25020
+ name: string;
25021
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
25022
+ fields: EntityField[];
25023
+ collection?: string | undefined;
25024
+ instances?: Record<string, unknown>[] | undefined;
25025
+ timestamps?: boolean | undefined;
25026
+ softDelete?: boolean | undefined;
25027
+ description?: string | undefined;
25028
+ visual_prompt?: string | undefined;
25029
+ assetRef?: {
25030
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
25031
+ category: string;
25032
+ animations?: string[] | undefined;
25033
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
25034
+ variant?: string | undefined;
25035
+ } | undefined;
25036
+ } | undefined;
22602
25037
  } | {
22603
25038
  ref: string;
22604
25039
  name?: string | undefined;
@@ -22714,6 +25149,29 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22714
25149
  appliesTo?: string[] | undefined;
22715
25150
  emits?: string[] | undefined;
22716
25151
  }[] | undefined;
25152
+ sourceBehavior?: {
25153
+ behavior: string;
25154
+ alias: string;
25155
+ originalName: string;
25156
+ } | undefined;
25157
+ sourceEntityDefinition?: {
25158
+ name: string;
25159
+ persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
25160
+ fields: EntityField[];
25161
+ collection?: string | undefined;
25162
+ instances?: Record<string, unknown>[] | undefined;
25163
+ timestamps?: boolean | undefined;
25164
+ softDelete?: boolean | undefined;
25165
+ description?: string | undefined;
25166
+ visual_prompt?: string | undefined;
25167
+ assetRef?: {
25168
+ role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
25169
+ category: string;
25170
+ animations?: string[] | undefined;
25171
+ style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
25172
+ variant?: string | undefined;
25173
+ } | undefined;
25174
+ } | undefined;
22717
25175
  } | {
22718
25176
  ref: string;
22719
25177
  name?: string | undefined;
@@ -22941,4 +25399,4 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22941
25399
  type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
22942
25400
  type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
22943
25401
 
22944
- export { EffectSchema as $, AGENT_DOMAIN_CATEGORIES as A, CustomPatternDefinitionSchema as B, type CallServiceConfig as C, type CustomPatternMap as D, type CustomPatternMapInput as E, CustomPatternMapSchema as F, type DeclaredTraitConfig as G, DeclaredTraitConfigSchema as H, type DerefEffect as I, type DesignPreferences as J, type DesignPreferencesInput as K, DesignPreferencesSchema as L, type DesignTokens as M, type DesignTokensInput as N, DesignTokensSchema as O, type DespawnEffect as P, type DoEffect as Q, type DomainCategory as R, DomainCategorySchema as S, type DomainContext as T, type DomainContextInput as U, DomainContextSchema as V, type DomainVocabulary as W, DomainVocabularySchema as X, ENTITY_ROLES as Y, type Effect as Z, type EffectInput as _, ALLOWED_CUSTOM_COMPONENTS as a, type NodeClassification as a$, type EmitConfig as a0, type EmitEffect as a1, type Entity as a2, type EntityCall as a3, EntityCallSchema as a4, type EntityData as a5, type EntityField as a6, type EntityFieldInput as a7, EntityFieldSchema as a8, type EntityPersistence as a9, type FetchOptions as aA, type FetchResult as aB, type Field as aC, type FieldFormat as aD, FieldFormatSchema as aE, FieldSchema as aF, type FieldType as aG, FieldTypeSchema as aH, type FieldValue as aI, type ForwardConfig as aJ, type ForwardEffect as aK, GAME_TYPES as aL, type GameSubCategory as aM, GameSubCategorySchema as aN, type GameType as aO, GameTypeSchema as aP, type Guard as aQ, type GuardInput as aR, GuardSchema as aS, type ListenSource as aT, ListenSourceSchema as aU, type LogEffect as aV, type McpServiceDef as aW, McpServiceDefSchema as aX, type NavigateEffect as aY, type NnConfig as aZ, type NnLayer as a_, EntityPersistenceSchema as aa, type EntityRef as ab, EntityRefSchema as ac, EntityRefStringSchema as ad, type EntityRole as ae, EntityRoleSchema as af, type EntityRow as ag, EntitySchema as ah, type EntitySemanticRole as ai, EntitySemanticRoleSchema as aj, type EvaluateConfig as ak, type EvaluateEffect as al, type Event as am, type EventInput as an, type EventListener as ao, EventListenerSchema as ap, type EventPayloadField as aq, EventPayloadFieldSchema as ar, EventSchema as as, type EventScope as at, EventScopeSchema as au, type EventSemanticRole as av, EventSemanticRoleSchema as aw, type EventSource as ax, EventSourceSchema as ay, type FetchEffect as az, type AgentDomainCategory as b, type SemanticAssetRefInput as b$, NodeClassificationSchema as b0, type NotifyEffect as b1, type Orbital as b2, type OrbitalConfig as b3, type OrbitalConfigInput as b4, OrbitalConfigSchema as b5, type OrbitalDefinition as b6, OrbitalDefinitionSchema as b7, type OrbitalEntity as b8, type OrbitalEntityInput as b9, type PayloadField as bA, PayloadFieldSchema as bB, type PersistData as bC, type PersistEffect as bD, type PersistEmitConfig as bE, type PresentationType as bF, type RefEffect as bG, type RelatedLink as bH, RelatedLinkSchema as bI, type RelationConfig as bJ, RelationConfigSchema as bK, type RenderItemLambda as bL, type RenderUIConfig as bM, type RenderUIEffect as bN, type RenderUINode as bO, type RequiredField as bP, RequiredFieldSchema as bQ, type ResolvedAsset as bR, type ResolvedAssetInput as bS, ResolvedAssetSchema as bT, type ResolvedPatternProps as bU, type RestAuthConfig as bV, RestAuthConfigSchema as bW, type RestServiceDef as bX, RestServiceDefSchema as bY, SERVICE_TYPES as bZ, type SemanticAssetRef as b_, OrbitalEntitySchema as ba, type OrbitalInput as bb, type OrbitalPage as bc, type OrbitalPageInput as bd, OrbitalPageSchema as be, type OrbitalPageStrictInput as bf, OrbitalPageStrictSchema as bg, type OrbitalSchema as bh, OrbitalSchema$1 as bi, type OrbitalSchemaInput as bj, OrbitalSchemaSchema as bk, type OrbitalSchemaWithTraits as bl, type OrbitalTraitRef as bm, OrbitalTraitRefSchema as bn, type OrbitalUnit as bo, OrbitalUnitSchema as bp, type OsEffect as bq, type Page as br, type PageRef as bs, type PageRefObject as bt, PageRefObjectSchema as bu, PageRefSchema as bv, PageRefStringSchema as bw, PageSchema as bx, type PageTraitRef as by, PageTraitRefSchema as bz, AgentDomainCategorySchema as c, type TraitTick as c$, SemanticAssetRefSchema as c0, type ServiceDefinition as c1, ServiceDefinitionSchema as c2, type ServiceParams as c3, type ServiceParamsValue as c4, type ServiceRef as c5, type ServiceRefObject as c6, ServiceRefObjectSchema as c7, ServiceRefSchema as c8, ServiceRefStringSchema as c9, type ThemeVariant as cA, ThemeVariantSchema as cB, type TrainConfig as cC, type TrainEffect as cD, type Trait as cE, type TraitCategory as cF, TraitCategorySchema as cG, type TraitConfig as cH, type TraitConfigObject as cI, TraitConfigSchema as cJ, type TraitConfigValue as cK, TraitConfigValueSchema as cL, type TraitDataEntity as cM, TraitDataEntitySchema as cN, type TraitEntityField as cO, TraitEntityFieldSchema as cP, type TraitEventContract as cQ, TraitEventContractSchema as cR, type TraitEventListener as cS, TraitEventListenerSchema as cT, type TraitInput as cU, type TraitRef as cV, TraitRefSchema as cW, type TraitReference as cX, type TraitReferenceInput as cY, TraitReferenceSchema as cZ, TraitSchema as c_, type ServiceType as ca, ServiceTypeSchema as cb, type SetEffect as cc, type SocketEvents as cd, SocketEventsSchema as ce, type SocketServiceDef as cf, SocketServiceDefSchema as cg, type SpawnEffect as ch, type State as ci, type StateInput as cj, type StateMachine as ck, type StateMachineInput as cl, StateMachineSchema as cm, StateSchema as cn, type StateSemanticRole as co, StateSemanticRoleSchema as cp, type SuggestedGuard as cq, SuggestedGuardSchema as cr, type SwapEffect as cs, type ThemeDefinition as ct, ThemeDefinitionSchema as cu, type ThemeRef as cv, ThemeRefSchema as cw, ThemeRefStringSchema as cx, type ThemeTokens as cy, ThemeTokensSchema as cz, type AgentEffect as d, parseImportedTraitRef as d$, TraitTickSchema as d0, type TraitUIBinding as d1, type Transition as d2, type TransitionInput as d3, TransitionSchema as d4, type TypedEffect as d5, type UISlot as d6, UISlotSchema as d7, UI_SLOTS as d8, type UXHints as d9, getTraitName as dA, hasService as dB, isCircuitEvent as dC, isEffect as dD, isEntityCall as dE, isEntityReference as dF, isEntityReferenceAny as dG, isImportedTraitRef as dH, isInlineTrait as dI, isMcpService as dJ, isOrbitalDefinition as dK, isPageReference as dL, isPageReferenceObject as dM, isPageReferenceString as dN, isRestService as dO, isRuntimeEntity as dP, isSExprEffect as dQ, isServiceReference as dR, isServiceReferenceObject as dS, isSingletonEntity as dT, isSocketService as dU, isThemeReference as dV, navigate as dW, normalizeTraitRef as dX, notify as dY, parseAssetKey as dZ, parseEntityRef as d_, UXHintsSchema as da, type UseDeclaration as db, UseDeclarationSchema as dc, type UserPersona as dd, type UserPersonaInput as de, UserPersonaSchema as df, VISUAL_STYLES as dg, type ViewType as dh, ViewTypeSchema as di, type VisualStyle as dj, VisualStyleSchema as dk, type WatchEffect as dl, type WatchOptions as dm, atomic as dn, callService as dp, createAssetKey as dq, deref as dr, deriveCollection as ds, despawn as dt, doEffects as du, emit as dv, findService as dw, getDefaultAnimationsForRole as dx, getServiceNames as dy, getTraitConfig as dz, type AllowedCustomComponent as e, parseOrbitalSchema as e0, parsePageRef as e1, parseServiceRef as e2, persist as e3, ref as e4, renderUI as e5, safeParseOrbitalSchema as e6, set as e7, spawn as e8, swap as e9, validateAssetAnimations as ea, watch as eb, type AnimationDef as f, type AnimationDefInput as g, AnimationDefSchema as h, type AssetMap as i, type AssetMapInput as j, AssetMapSchema as k, type AssetMapping as l, type AssetMappingInput as m, AssetMappingSchema as n, type AtomicEffect as o, type CallServiceEffect as p, type CheckpointLoadEffect as q, type CheckpointSaveEffect as r, type ComputedEventContract as s, ComputedEventContractSchema as t, type ComputedEventListener as u, ComputedEventListenerSchema as v, type ConfigFieldDeclaration as w, ConfigFieldDeclarationSchema as x, type CustomPatternDefinition as y, type CustomPatternDefinitionInput as z };
25402
+ export { EffectSchema as $, AGENT_DOMAIN_CATEGORIES as A, CustomPatternDefinitionSchema as B, type CallServiceConfig as C, type CustomPatternMap as D, type CustomPatternMapInput as E, CustomPatternMapSchema as F, type DeclaredTraitConfig as G, DeclaredTraitConfigSchema as H, type DerefEffect as I, type DesignPreferences as J, type DesignPreferencesInput as K, DesignPreferencesSchema as L, type DesignTokens as M, type DesignTokensInput as N, DesignTokensSchema as O, type DespawnEffect as P, type DoEffect as Q, type DomainCategory as R, DomainCategorySchema as S, type DomainContext as T, type DomainContextInput as U, DomainContextSchema as V, type DomainVocabulary as W, DomainVocabularySchema as X, ENTITY_ROLES as Y, type Effect as Z, type EffectInput as _, ALLOWED_CUSTOM_COMPONENTS as a, type NodeClassification as a$, type EmitConfig as a0, type EmitEffect as a1, type Entity as a2, type EntityCall as a3, EntityCallSchema as a4, type EntityData as a5, type EntityField as a6, type EntityFieldInput as a7, EntityFieldSchema as a8, type EntityPersistence as a9, type FetchOptions as aA, type FetchResult as aB, type Field as aC, type FieldFormat as aD, FieldFormatSchema as aE, FieldSchema as aF, type FieldType as aG, FieldTypeSchema as aH, type FieldValue as aI, type ForwardConfig as aJ, type ForwardEffect as aK, GAME_TYPES as aL, type GameSubCategory as aM, GameSubCategorySchema as aN, type GameType as aO, GameTypeSchema as aP, type Guard as aQ, type GuardInput as aR, GuardSchema as aS, type ListenSource as aT, ListenSourceSchema as aU, type LogEffect as aV, type McpServiceDef as aW, McpServiceDefSchema as aX, type NavigateEffect as aY, type NnConfig as aZ, type NnLayer as a_, EntityPersistenceSchema as aa, type EntityRef as ab, EntityRefSchema as ac, EntityRefStringSchema as ad, type EntityRole as ae, EntityRoleSchema as af, type EntityRow as ag, EntitySchema as ah, type EntitySemanticRole as ai, EntitySemanticRoleSchema as aj, type EvaluateConfig as ak, type EvaluateEffect as al, type Event as am, type EventInput as an, type EventListener as ao, EventListenerSchema as ap, type EventPayloadField as aq, EventPayloadFieldSchema as ar, EventSchema as as, type EventScope as at, EventScopeSchema as au, type EventSemanticRole as av, EventSemanticRoleSchema as aw, type EventSource as ax, EventSourceSchema as ay, type FetchEffect as az, type AgentDomainCategory as b, type SemanticAssetRefInput as b$, NodeClassificationSchema as b0, type NotifyEffect as b1, type Orbital as b2, type OrbitalConfig as b3, type OrbitalConfigInput as b4, OrbitalConfigSchema as b5, type OrbitalDefinition as b6, OrbitalDefinitionSchema as b7, type OrbitalEntity as b8, type OrbitalEntityInput as b9, type PayloadField as bA, PayloadFieldSchema as bB, type PersistData as bC, type PersistEffect as bD, type PersistEmitConfig as bE, type PresentationType as bF, type RefEffect as bG, type RelatedLink as bH, RelatedLinkSchema as bI, type RelationConfig as bJ, RelationConfigSchema as bK, type RenderItemLambda as bL, type RenderUIConfig as bM, type RenderUIEffect as bN, type RenderUINode as bO, type RequiredField as bP, RequiredFieldSchema as bQ, type ResolvedAsset as bR, type ResolvedAssetInput as bS, ResolvedAssetSchema as bT, type ResolvedPatternProps as bU, type RestAuthConfig as bV, RestAuthConfigSchema as bW, type RestServiceDef as bX, RestServiceDefSchema as bY, SERVICE_TYPES as bZ, type SemanticAssetRef as b_, OrbitalEntitySchema as ba, type OrbitalInput as bb, type OrbitalPage as bc, type OrbitalPageInput as bd, OrbitalPageSchema as be, type OrbitalPageStrictInput as bf, OrbitalPageStrictSchema as bg, type OrbitalSchema as bh, OrbitalSchema$1 as bi, type OrbitalSchemaInput as bj, OrbitalSchemaSchema as bk, type OrbitalSchemaWithTraits as bl, type OrbitalTraitRef as bm, OrbitalTraitRefSchema as bn, type OrbitalUnit as bo, OrbitalUnitSchema as bp, type OsEffect as bq, type Page as br, type PageRef as bs, type PageRefObject as bt, PageRefObjectSchema as bu, PageRefSchema as bv, PageRefStringSchema as bw, PageSchema as bx, type PageTraitRef as by, PageTraitRefSchema as bz, AgentDomainCategorySchema as c, type TraitScope as c$, SemanticAssetRefSchema as c0, type ServiceDefinition as c1, ServiceDefinitionSchema as c2, type ServiceParams as c3, type ServiceParamsValue as c4, type ServiceRef as c5, type ServiceRefObject as c6, ServiceRefObjectSchema as c7, ServiceRefSchema as c8, ServiceRefStringSchema as c9, type ThemeVariant as cA, ThemeVariantSchema as cB, type TrainConfig as cC, type TrainEffect as cD, type Trait as cE, type TraitCategory as cF, TraitCategorySchema as cG, type TraitConfig as cH, type TraitConfigObject as cI, TraitConfigSchema as cJ, type TraitConfigValue as cK, TraitConfigValueSchema as cL, type TraitDataEntity as cM, TraitDataEntitySchema as cN, type TraitEntityField as cO, TraitEntityFieldSchema as cP, type TraitEventContract as cQ, TraitEventContractSchema as cR, type TraitEventListener as cS, TraitEventListenerSchema as cT, type TraitInput as cU, type TraitRef as cV, TraitRefSchema as cW, type TraitReference as cX, type TraitReferenceInput as cY, TraitReferenceSchema as cZ, TraitSchema as c_, type ServiceType as ca, ServiceTypeSchema as cb, type SetEffect as cc, type SocketEvents as cd, SocketEventsSchema as ce, type SocketServiceDef as cf, SocketServiceDefSchema as cg, type SpawnEffect as ch, type State as ci, type StateInput as cj, type StateMachine as ck, type StateMachineInput as cl, StateMachineSchema as cm, StateSchema as cn, type StateSemanticRole as co, StateSemanticRoleSchema as cp, type SuggestedGuard as cq, SuggestedGuardSchema as cr, type SwapEffect as cs, type ThemeDefinition as ct, ThemeDefinitionSchema as cu, type ThemeRef as cv, ThemeRefSchema as cw, ThemeRefStringSchema as cx, type ThemeTokens as cy, ThemeTokensSchema as cz, type AgentEffect as d, parseEntityRef as d$, type TraitTick as d0, TraitTickSchema as d1, type TraitUIBinding as d2, type Transition as d3, type TransitionInput as d4, TransitionSchema as d5, type TypedEffect as d6, type UISlot as d7, UISlotSchema as d8, UI_SLOTS as d9, getTraitConfig as dA, getTraitName as dB, hasService as dC, isCircuitEvent as dD, isEffect as dE, isEntityCall as dF, isEntityReference as dG, isEntityReferenceAny as dH, isImportedTraitRef as dI, isInlineTrait as dJ, isMcpService as dK, isOrbitalDefinition as dL, isPageReference as dM, isPageReferenceObject as dN, isPageReferenceString as dO, isRestService as dP, isRuntimeEntity as dQ, isSExprEffect as dR, isServiceReference as dS, isServiceReferenceObject as dT, isSingletonEntity as dU, isSocketService as dV, isThemeReference as dW, navigate as dX, normalizeTraitRef as dY, notify as dZ, parseAssetKey as d_, type UXHints as da, UXHintsSchema as db, type UseDeclaration as dc, UseDeclarationSchema as dd, type UserPersona as de, type UserPersonaInput as df, UserPersonaSchema as dg, VISUAL_STYLES as dh, type ViewType as di, ViewTypeSchema as dj, type VisualStyle as dk, VisualStyleSchema as dl, type WatchEffect as dm, type WatchOptions as dn, atomic as dp, callService as dq, createAssetKey as dr, deref as ds, deriveCollection as dt, despawn as du, doEffects as dv, emit as dw, findService as dx, getDefaultAnimationsForRole as dy, getServiceNames as dz, type AllowedCustomComponent as e, parseImportedTraitRef as e0, parseOrbitalSchema as e1, parsePageRef as e2, parseServiceRef as e3, persist as e4, ref as e5, renderUI as e6, safeParseOrbitalSchema as e7, set as e8, spawn as e9, swap as ea, validateAssetAnimations as eb, watch as ec, type AnimationDef as f, type AnimationDefInput as g, AnimationDefSchema as h, type AssetMap as i, type AssetMapInput as j, AssetMapSchema as k, type AssetMapping as l, type AssetMappingInput as m, AssetMappingSchema as n, type AtomicEffect as o, type CallServiceEffect as p, type CheckpointLoadEffect as q, type CheckpointSaveEffect as r, type ComputedEventContract as s, ComputedEventContractSchema as t, type ComputedEventListener as u, ComputedEventListenerSchema as v, type ConfigFieldDeclaration as w, ConfigFieldDeclarationSchema as x, type CustomPatternDefinition as y, type CustomPatternDefinitionInput as z };