@almadar/core 10.15.0 → 10.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +2 -4
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-Ds6d_mMY.d.ts → compose-behaviors-DEeRtnHP.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory/index.js +1 -4
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +3 -5
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +45 -8
- package/dist/index.js +15 -13
- package/dist/index.js.map +1 -1
- package/dist/{schema-BVcq7eXk.d.ts → schema-BOGLyI7O.d.ts} +401 -289
- package/dist/{trait-Ctj2l6ma.d.ts → trait-BnNByIRE.d.ts} +70 -63
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +3 -8
- package/dist/types/index.js.map +1 -1
- package/dist/{types-QQ9BTzkx.d.ts → types-By4AQApw.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1888,11 +1888,9 @@ declare function validateAssetAnimations(assetRef: SemanticAssetRef, requiredAni
|
|
|
1888
1888
|
*
|
|
1889
1889
|
* - persistent: Stored in database (has collection)
|
|
1890
1890
|
* - runtime: Exists only at runtime (not persisted)
|
|
1891
|
-
* - singleton: Single global instance
|
|
1892
|
-
* - instance: Static data (read-only instances)
|
|
1893
1891
|
*/
|
|
1894
|
-
type EntityPersistence = 'persistent' | 'runtime'
|
|
1895
|
-
declare const EntityPersistenceSchema: z.ZodEnum<["persistent", "runtime"
|
|
1892
|
+
type EntityPersistence = 'persistent' | 'runtime';
|
|
1893
|
+
declare const EntityPersistenceSchema: z.ZodEnum<["persistent", "runtime"]>;
|
|
1896
1894
|
/**
|
|
1897
1895
|
* OrbitalEntity - the nucleus of an Orbital Unit.
|
|
1898
1896
|
*
|
|
@@ -1904,6 +1902,8 @@ interface OrbitalEntity {
|
|
|
1904
1902
|
name: string;
|
|
1905
1903
|
/** Entity persistence type (defaults to 'persistent' if not specified) */
|
|
1906
1904
|
persistence?: EntityPersistence;
|
|
1905
|
+
/** Whether this entity's state is shared across all bound traits (vs per-trait copy). Orthogonal to persistence. */
|
|
1906
|
+
shared?: boolean;
|
|
1907
1907
|
/** Collection name (auto-derived if not provided for persistent entities) */
|
|
1908
1908
|
collection?: string;
|
|
1909
1909
|
/** Entity fields */
|
|
@@ -1923,7 +1923,8 @@ interface OrbitalEntity {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
declare const OrbitalEntitySchema: z.ZodObject<{
|
|
1925
1925
|
name: z.ZodString;
|
|
1926
|
-
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"
|
|
1926
|
+
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
1927
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
1927
1928
|
collection: z.ZodOptional<z.ZodString>;
|
|
1928
1929
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
1929
1930
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -1958,9 +1959,10 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1958
1959
|
}>>;
|
|
1959
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1960
1961
|
name: string;
|
|
1961
|
-
persistence: "persistent" | "runtime"
|
|
1962
|
+
persistence: "persistent" | "runtime";
|
|
1962
1963
|
fields: EntityField[];
|
|
1963
1964
|
description?: string | undefined;
|
|
1965
|
+
shared?: boolean | undefined;
|
|
1964
1966
|
collection?: string | undefined;
|
|
1965
1967
|
instances?: Record<string, unknown>[] | undefined;
|
|
1966
1968
|
timestamps?: boolean | undefined;
|
|
@@ -1979,7 +1981,8 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1979
1981
|
name: string;
|
|
1980
1982
|
fields: unknown[];
|
|
1981
1983
|
description?: string | undefined;
|
|
1982
|
-
persistence?: "persistent" | "runtime" |
|
|
1984
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
1985
|
+
shared?: boolean | undefined;
|
|
1983
1986
|
collection?: string | undefined;
|
|
1984
1987
|
instances?: Record<string, unknown>[] | undefined;
|
|
1985
1988
|
timestamps?: boolean | undefined;
|
|
@@ -2001,7 +2004,8 @@ type Entity = OrbitalEntity;
|
|
|
2001
2004
|
/** Alias for OrbitalEntitySchema - preferred name */
|
|
2002
2005
|
declare const EntitySchema: z.ZodObject<{
|
|
2003
2006
|
name: z.ZodString;
|
|
2004
|
-
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"
|
|
2007
|
+
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
2008
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
2005
2009
|
collection: z.ZodOptional<z.ZodString>;
|
|
2006
2010
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
2007
2011
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -2036,9 +2040,10 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2036
2040
|
}>>;
|
|
2037
2041
|
}, "strip", z.ZodTypeAny, {
|
|
2038
2042
|
name: string;
|
|
2039
|
-
persistence: "persistent" | "runtime"
|
|
2043
|
+
persistence: "persistent" | "runtime";
|
|
2040
2044
|
fields: EntityField[];
|
|
2041
2045
|
description?: string | undefined;
|
|
2046
|
+
shared?: boolean | undefined;
|
|
2042
2047
|
collection?: string | undefined;
|
|
2043
2048
|
instances?: Record<string, unknown>[] | undefined;
|
|
2044
2049
|
timestamps?: boolean | undefined;
|
|
@@ -2057,7 +2062,8 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2057
2062
|
name: string;
|
|
2058
2063
|
fields: unknown[];
|
|
2059
2064
|
description?: string | undefined;
|
|
2060
|
-
persistence?: "persistent" | "runtime" |
|
|
2065
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
2066
|
+
shared?: boolean | undefined;
|
|
2061
2067
|
collection?: string | undefined;
|
|
2062
2068
|
instances?: Record<string, unknown>[] | undefined;
|
|
2063
2069
|
timestamps?: boolean | undefined;
|
|
@@ -2078,7 +2084,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2078
2084
|
*
|
|
2079
2085
|
* Generates the database collection name by converting the entity name
|
|
2080
2086
|
* to lowercase and adding an 's' suffix (simple pluralization).
|
|
2081
|
-
* Returns undefined for non-persistent
|
|
2087
|
+
* Returns undefined for non-persistent (runtime) entities.
|
|
2082
2088
|
*
|
|
2083
2089
|
* @param {OrbitalEntity} entity - Entity to derive collection name for
|
|
2084
2090
|
* @returns {string | undefined} Collection name or undefined for non-persistent entities
|
|
@@ -2102,27 +2108,13 @@ declare function deriveCollection(entity: OrbitalEntity): string | undefined;
|
|
|
2102
2108
|
* isRuntimeEntity({ persistence: 'persistent' }); // returns false
|
|
2103
2109
|
*/
|
|
2104
2110
|
declare function isRuntimeEntity(entity: OrbitalEntity): boolean;
|
|
2105
|
-
/**
|
|
2106
|
-
* Checks if an entity is a singleton.
|
|
2107
|
-
*
|
|
2108
|
-
* Type guard to determine if an entity has a single global instance
|
|
2109
|
-
* rather than multiple records in a collection.
|
|
2110
|
-
*
|
|
2111
|
-
* @param {OrbitalEntity} entity - Entity to check
|
|
2112
|
-
* @returns {boolean} True if entity is a singleton, false otherwise
|
|
2113
|
-
*
|
|
2114
|
-
* @example
|
|
2115
|
-
* isSingletonEntity({ persistence: 'singleton' }); // returns true
|
|
2116
|
-
* isSingletonEntity({ persistence: 'persistent' }); // returns false
|
|
2117
|
-
*/
|
|
2118
|
-
declare function isSingletonEntity(entity: OrbitalEntity): boolean;
|
|
2119
2111
|
/**
|
|
2120
2112
|
* Checks whether an entity's persistence mode allows `persistence` /
|
|
2121
2113
|
* `collection` overrides at the factory call site.
|
|
2122
2114
|
*
|
|
2123
2115
|
* Only `persistent` entities (explicit or default) support these overrides.
|
|
2124
|
-
* Runtime
|
|
2125
|
-
*
|
|
2116
|
+
* Runtime entities are fixed; callers must not expose `persistence` or
|
|
2117
|
+
* `collection` params for them.
|
|
2126
2118
|
*
|
|
2127
2119
|
* @param persistence - The entity persistence mode (undefined = default persistent)
|
|
2128
2120
|
* @returns True when overrides are allowed, false otherwise
|
|
@@ -3476,10 +3468,10 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
3476
3468
|
}[];
|
|
3477
3469
|
description?: string | undefined;
|
|
3478
3470
|
runtime?: boolean | undefined;
|
|
3479
|
-
singleton?: boolean | undefined;
|
|
3480
3471
|
collection?: string | undefined;
|
|
3481
3472
|
timestamps?: boolean | undefined;
|
|
3482
3473
|
pages?: string[] | undefined;
|
|
3474
|
+
singleton?: boolean | undefined;
|
|
3483
3475
|
}, {
|
|
3484
3476
|
name: string;
|
|
3485
3477
|
fields: {
|
|
@@ -3491,10 +3483,10 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
3491
3483
|
}[];
|
|
3492
3484
|
description?: string | undefined;
|
|
3493
3485
|
runtime?: boolean | undefined;
|
|
3494
|
-
singleton?: boolean | undefined;
|
|
3495
3486
|
collection?: string | undefined;
|
|
3496
3487
|
timestamps?: boolean | undefined;
|
|
3497
3488
|
pages?: string[] | undefined;
|
|
3489
|
+
singleton?: boolean | undefined;
|
|
3498
3490
|
}>;
|
|
3499
3491
|
/**
|
|
3500
3492
|
* Tick rule for traits.
|
|
@@ -4284,10 +4276,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4284
4276
|
}[];
|
|
4285
4277
|
description?: string | undefined;
|
|
4286
4278
|
runtime?: boolean | undefined;
|
|
4287
|
-
singleton?: boolean | undefined;
|
|
4288
4279
|
collection?: string | undefined;
|
|
4289
4280
|
timestamps?: boolean | undefined;
|
|
4290
4281
|
pages?: string[] | undefined;
|
|
4282
|
+
singleton?: boolean | undefined;
|
|
4291
4283
|
}, {
|
|
4292
4284
|
name: string;
|
|
4293
4285
|
fields: {
|
|
@@ -4299,10 +4291,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4299
4291
|
}[];
|
|
4300
4292
|
description?: string | undefined;
|
|
4301
4293
|
runtime?: boolean | undefined;
|
|
4302
|
-
singleton?: boolean | undefined;
|
|
4303
4294
|
collection?: string | undefined;
|
|
4304
4295
|
timestamps?: boolean | undefined;
|
|
4305
4296
|
pages?: string[] | undefined;
|
|
4297
|
+
singleton?: boolean | undefined;
|
|
4306
4298
|
}>, "many">>;
|
|
4307
4299
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
4308
4300
|
states: z.ZodArray<z.ZodObject<{
|
|
@@ -4682,7 +4674,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4682
4674
|
}>>;
|
|
4683
4675
|
sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
|
|
4684
4676
|
name: z.ZodString;
|
|
4685
|
-
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"
|
|
4677
|
+
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
4678
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
4686
4679
|
collection: z.ZodOptional<z.ZodString>;
|
|
4687
4680
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
4688
4681
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -4717,9 +4710,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4717
4710
|
}>>;
|
|
4718
4711
|
}, "strip", z.ZodTypeAny, {
|
|
4719
4712
|
name: string;
|
|
4720
|
-
persistence: "persistent" | "runtime"
|
|
4713
|
+
persistence: "persistent" | "runtime";
|
|
4721
4714
|
fields: EntityField[];
|
|
4722
4715
|
description?: string | undefined;
|
|
4716
|
+
shared?: boolean | undefined;
|
|
4723
4717
|
collection?: string | undefined;
|
|
4724
4718
|
instances?: Record<string, unknown>[] | undefined;
|
|
4725
4719
|
timestamps?: boolean | undefined;
|
|
@@ -4738,7 +4732,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4738
4732
|
name: string;
|
|
4739
4733
|
fields: unknown[];
|
|
4740
4734
|
description?: string | undefined;
|
|
4741
|
-
persistence?: "persistent" | "runtime" |
|
|
4735
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
4736
|
+
shared?: boolean | undefined;
|
|
4742
4737
|
collection?: string | undefined;
|
|
4743
4738
|
instances?: Record<string, unknown>[] | undefined;
|
|
4744
4739
|
timestamps?: boolean | undefined;
|
|
@@ -4756,7 +4751,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4756
4751
|
}>>;
|
|
4757
4752
|
}, "strip", z.ZodTypeAny, {
|
|
4758
4753
|
name: string;
|
|
4759
|
-
scope: "
|
|
4754
|
+
scope: "collection" | "instance";
|
|
4760
4755
|
description?: string | undefined;
|
|
4761
4756
|
ui?: Record<string, unknown> | undefined;
|
|
4762
4757
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -4821,10 +4816,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4821
4816
|
}[];
|
|
4822
4817
|
description?: string | undefined;
|
|
4823
4818
|
runtime?: boolean | undefined;
|
|
4824
|
-
singleton?: boolean | undefined;
|
|
4825
4819
|
collection?: string | undefined;
|
|
4826
4820
|
timestamps?: boolean | undefined;
|
|
4827
4821
|
pages?: string[] | undefined;
|
|
4822
|
+
singleton?: boolean | undefined;
|
|
4828
4823
|
}[] | undefined;
|
|
4829
4824
|
stateMachine?: {
|
|
4830
4825
|
events: {
|
|
@@ -4883,9 +4878,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4883
4878
|
} | undefined;
|
|
4884
4879
|
sourceEntityDefinition?: {
|
|
4885
4880
|
name: string;
|
|
4886
|
-
persistence: "persistent" | "runtime"
|
|
4881
|
+
persistence: "persistent" | "runtime";
|
|
4887
4882
|
fields: EntityField[];
|
|
4888
4883
|
description?: string | undefined;
|
|
4884
|
+
shared?: boolean | undefined;
|
|
4889
4885
|
collection?: string | undefined;
|
|
4890
4886
|
instances?: Record<string, unknown>[] | undefined;
|
|
4891
4887
|
timestamps?: boolean | undefined;
|
|
@@ -4903,7 +4899,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4903
4899
|
} | undefined;
|
|
4904
4900
|
}, {
|
|
4905
4901
|
name: string;
|
|
4906
|
-
scope: "
|
|
4902
|
+
scope: "collection" | "instance";
|
|
4907
4903
|
description?: string | undefined;
|
|
4908
4904
|
ui?: Record<string, unknown> | undefined;
|
|
4909
4905
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -4968,10 +4964,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4968
4964
|
}[];
|
|
4969
4965
|
description?: string | undefined;
|
|
4970
4966
|
runtime?: boolean | undefined;
|
|
4971
|
-
singleton?: boolean | undefined;
|
|
4972
4967
|
collection?: string | undefined;
|
|
4973
4968
|
timestamps?: boolean | undefined;
|
|
4974
4969
|
pages?: string[] | undefined;
|
|
4970
|
+
singleton?: boolean | undefined;
|
|
4975
4971
|
}[] | undefined;
|
|
4976
4972
|
stateMachine?: {
|
|
4977
4973
|
events: {
|
|
@@ -5032,7 +5028,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
5032
5028
|
name: string;
|
|
5033
5029
|
fields: unknown[];
|
|
5034
5030
|
description?: string | undefined;
|
|
5035
|
-
persistence?: "persistent" | "runtime" |
|
|
5031
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
5032
|
+
shared?: boolean | undefined;
|
|
5036
5033
|
collection?: string | undefined;
|
|
5037
5034
|
instances?: Record<string, unknown>[] | undefined;
|
|
5038
5035
|
timestamps?: boolean | undefined;
|
|
@@ -5139,10 +5136,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5139
5136
|
}[];
|
|
5140
5137
|
description?: string | undefined;
|
|
5141
5138
|
runtime?: boolean | undefined;
|
|
5142
|
-
singleton?: boolean | undefined;
|
|
5143
5139
|
collection?: string | undefined;
|
|
5144
5140
|
timestamps?: boolean | undefined;
|
|
5145
5141
|
pages?: string[] | undefined;
|
|
5142
|
+
singleton?: boolean | undefined;
|
|
5146
5143
|
}, {
|
|
5147
5144
|
name: string;
|
|
5148
5145
|
fields: {
|
|
@@ -5154,10 +5151,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5154
5151
|
}[];
|
|
5155
5152
|
description?: string | undefined;
|
|
5156
5153
|
runtime?: boolean | undefined;
|
|
5157
|
-
singleton?: boolean | undefined;
|
|
5158
5154
|
collection?: string | undefined;
|
|
5159
5155
|
timestamps?: boolean | undefined;
|
|
5160
5156
|
pages?: string[] | undefined;
|
|
5157
|
+
singleton?: boolean | undefined;
|
|
5161
5158
|
}>, "many">>;
|
|
5162
5159
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
5163
5160
|
states: z.ZodArray<z.ZodObject<{
|
|
@@ -5537,7 +5534,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5537
5534
|
}>>;
|
|
5538
5535
|
sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
|
|
5539
5536
|
name: z.ZodString;
|
|
5540
|
-
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"
|
|
5537
|
+
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
5538
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
5541
5539
|
collection: z.ZodOptional<z.ZodString>;
|
|
5542
5540
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
5543
5541
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -5572,9 +5570,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5572
5570
|
}>>;
|
|
5573
5571
|
}, "strip", z.ZodTypeAny, {
|
|
5574
5572
|
name: string;
|
|
5575
|
-
persistence: "persistent" | "runtime"
|
|
5573
|
+
persistence: "persistent" | "runtime";
|
|
5576
5574
|
fields: EntityField[];
|
|
5577
5575
|
description?: string | undefined;
|
|
5576
|
+
shared?: boolean | undefined;
|
|
5578
5577
|
collection?: string | undefined;
|
|
5579
5578
|
instances?: Record<string, unknown>[] | undefined;
|
|
5580
5579
|
timestamps?: boolean | undefined;
|
|
@@ -5593,7 +5592,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5593
5592
|
name: string;
|
|
5594
5593
|
fields: unknown[];
|
|
5595
5594
|
description?: string | undefined;
|
|
5596
|
-
persistence?: "persistent" | "runtime" |
|
|
5595
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
5596
|
+
shared?: boolean | undefined;
|
|
5597
5597
|
collection?: string | undefined;
|
|
5598
5598
|
instances?: Record<string, unknown>[] | undefined;
|
|
5599
5599
|
timestamps?: boolean | undefined;
|
|
@@ -5611,7 +5611,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5611
5611
|
}>>;
|
|
5612
5612
|
}, "strip", z.ZodTypeAny, {
|
|
5613
5613
|
name: string;
|
|
5614
|
-
scope: "
|
|
5614
|
+
scope: "collection" | "instance";
|
|
5615
5615
|
description?: string | undefined;
|
|
5616
5616
|
ui?: Record<string, unknown> | undefined;
|
|
5617
5617
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -5676,10 +5676,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5676
5676
|
}[];
|
|
5677
5677
|
description?: string | undefined;
|
|
5678
5678
|
runtime?: boolean | undefined;
|
|
5679
|
-
singleton?: boolean | undefined;
|
|
5680
5679
|
collection?: string | undefined;
|
|
5681
5680
|
timestamps?: boolean | undefined;
|
|
5682
5681
|
pages?: string[] | undefined;
|
|
5682
|
+
singleton?: boolean | undefined;
|
|
5683
5683
|
}[] | undefined;
|
|
5684
5684
|
stateMachine?: {
|
|
5685
5685
|
events: {
|
|
@@ -5738,9 +5738,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5738
5738
|
} | undefined;
|
|
5739
5739
|
sourceEntityDefinition?: {
|
|
5740
5740
|
name: string;
|
|
5741
|
-
persistence: "persistent" | "runtime"
|
|
5741
|
+
persistence: "persistent" | "runtime";
|
|
5742
5742
|
fields: EntityField[];
|
|
5743
5743
|
description?: string | undefined;
|
|
5744
|
+
shared?: boolean | undefined;
|
|
5744
5745
|
collection?: string | undefined;
|
|
5745
5746
|
instances?: Record<string, unknown>[] | undefined;
|
|
5746
5747
|
timestamps?: boolean | undefined;
|
|
@@ -5758,7 +5759,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5758
5759
|
} | undefined;
|
|
5759
5760
|
}, {
|
|
5760
5761
|
name: string;
|
|
5761
|
-
scope: "
|
|
5762
|
+
scope: "collection" | "instance";
|
|
5762
5763
|
description?: string | undefined;
|
|
5763
5764
|
ui?: Record<string, unknown> | undefined;
|
|
5764
5765
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -5823,10 +5824,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5823
5824
|
}[];
|
|
5824
5825
|
description?: string | undefined;
|
|
5825
5826
|
runtime?: boolean | undefined;
|
|
5826
|
-
singleton?: boolean | undefined;
|
|
5827
5827
|
collection?: string | undefined;
|
|
5828
5828
|
timestamps?: boolean | undefined;
|
|
5829
5829
|
pages?: string[] | undefined;
|
|
5830
|
+
singleton?: boolean | undefined;
|
|
5830
5831
|
}[] | undefined;
|
|
5831
5832
|
stateMachine?: {
|
|
5832
5833
|
events: {
|
|
@@ -5887,7 +5888,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5887
5888
|
name: string;
|
|
5888
5889
|
fields: unknown[];
|
|
5889
5890
|
description?: string | undefined;
|
|
5890
|
-
persistence?: "persistent" | "runtime" |
|
|
5891
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
5892
|
+
shared?: boolean | undefined;
|
|
5891
5893
|
collection?: string | undefined;
|
|
5892
5894
|
instances?: Record<string, unknown>[] | undefined;
|
|
5893
5895
|
timestamps?: boolean | undefined;
|
|
@@ -6064,10 +6066,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6064
6066
|
}[];
|
|
6065
6067
|
description?: string | undefined;
|
|
6066
6068
|
runtime?: boolean | undefined;
|
|
6067
|
-
singleton?: boolean | undefined;
|
|
6068
6069
|
collection?: string | undefined;
|
|
6069
6070
|
timestamps?: boolean | undefined;
|
|
6070
6071
|
pages?: string[] | undefined;
|
|
6072
|
+
singleton?: boolean | undefined;
|
|
6071
6073
|
}, {
|
|
6072
6074
|
name: string;
|
|
6073
6075
|
fields: {
|
|
@@ -6079,10 +6081,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6079
6081
|
}[];
|
|
6080
6082
|
description?: string | undefined;
|
|
6081
6083
|
runtime?: boolean | undefined;
|
|
6082
|
-
singleton?: boolean | undefined;
|
|
6083
6084
|
collection?: string | undefined;
|
|
6084
6085
|
timestamps?: boolean | undefined;
|
|
6085
6086
|
pages?: string[] | undefined;
|
|
6087
|
+
singleton?: boolean | undefined;
|
|
6086
6088
|
}>, "many">>;
|
|
6087
6089
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
6088
6090
|
states: z.ZodArray<z.ZodObject<{
|
|
@@ -6462,7 +6464,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6462
6464
|
}>>;
|
|
6463
6465
|
sourceEntityDefinition: z.ZodOptional<z.ZodObject<{
|
|
6464
6466
|
name: z.ZodString;
|
|
6465
|
-
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"
|
|
6467
|
+
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
6468
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
6466
6469
|
collection: z.ZodOptional<z.ZodString>;
|
|
6467
6470
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
6468
6471
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -6497,9 +6500,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6497
6500
|
}>>;
|
|
6498
6501
|
}, "strip", z.ZodTypeAny, {
|
|
6499
6502
|
name: string;
|
|
6500
|
-
persistence: "persistent" | "runtime"
|
|
6503
|
+
persistence: "persistent" | "runtime";
|
|
6501
6504
|
fields: EntityField[];
|
|
6502
6505
|
description?: string | undefined;
|
|
6506
|
+
shared?: boolean | undefined;
|
|
6503
6507
|
collection?: string | undefined;
|
|
6504
6508
|
instances?: Record<string, unknown>[] | undefined;
|
|
6505
6509
|
timestamps?: boolean | undefined;
|
|
@@ -6518,7 +6522,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6518
6522
|
name: string;
|
|
6519
6523
|
fields: unknown[];
|
|
6520
6524
|
description?: string | undefined;
|
|
6521
|
-
persistence?: "persistent" | "runtime" |
|
|
6525
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
6526
|
+
shared?: boolean | undefined;
|
|
6522
6527
|
collection?: string | undefined;
|
|
6523
6528
|
instances?: Record<string, unknown>[] | undefined;
|
|
6524
6529
|
timestamps?: boolean | undefined;
|
|
@@ -6536,7 +6541,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6536
6541
|
}>>;
|
|
6537
6542
|
}, "strip", z.ZodTypeAny, {
|
|
6538
6543
|
name: string;
|
|
6539
|
-
scope: "
|
|
6544
|
+
scope: "collection" | "instance";
|
|
6540
6545
|
description?: string | undefined;
|
|
6541
6546
|
ui?: Record<string, unknown> | undefined;
|
|
6542
6547
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -6601,10 +6606,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6601
6606
|
}[];
|
|
6602
6607
|
description?: string | undefined;
|
|
6603
6608
|
runtime?: boolean | undefined;
|
|
6604
|
-
singleton?: boolean | undefined;
|
|
6605
6609
|
collection?: string | undefined;
|
|
6606
6610
|
timestamps?: boolean | undefined;
|
|
6607
6611
|
pages?: string[] | undefined;
|
|
6612
|
+
singleton?: boolean | undefined;
|
|
6608
6613
|
}[] | undefined;
|
|
6609
6614
|
stateMachine?: {
|
|
6610
6615
|
events: {
|
|
@@ -6663,9 +6668,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6663
6668
|
} | undefined;
|
|
6664
6669
|
sourceEntityDefinition?: {
|
|
6665
6670
|
name: string;
|
|
6666
|
-
persistence: "persistent" | "runtime"
|
|
6671
|
+
persistence: "persistent" | "runtime";
|
|
6667
6672
|
fields: EntityField[];
|
|
6668
6673
|
description?: string | undefined;
|
|
6674
|
+
shared?: boolean | undefined;
|
|
6669
6675
|
collection?: string | undefined;
|
|
6670
6676
|
instances?: Record<string, unknown>[] | undefined;
|
|
6671
6677
|
timestamps?: boolean | undefined;
|
|
@@ -6683,7 +6689,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6683
6689
|
} | undefined;
|
|
6684
6690
|
}, {
|
|
6685
6691
|
name: string;
|
|
6686
|
-
scope: "
|
|
6692
|
+
scope: "collection" | "instance";
|
|
6687
6693
|
description?: string | undefined;
|
|
6688
6694
|
ui?: Record<string, unknown> | undefined;
|
|
6689
6695
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
@@ -6748,10 +6754,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6748
6754
|
}[];
|
|
6749
6755
|
description?: string | undefined;
|
|
6750
6756
|
runtime?: boolean | undefined;
|
|
6751
|
-
singleton?: boolean | undefined;
|
|
6752
6757
|
collection?: string | undefined;
|
|
6753
6758
|
timestamps?: boolean | undefined;
|
|
6754
6759
|
pages?: string[] | undefined;
|
|
6760
|
+
singleton?: boolean | undefined;
|
|
6755
6761
|
}[] | undefined;
|
|
6756
6762
|
stateMachine?: {
|
|
6757
6763
|
events: {
|
|
@@ -6812,7 +6818,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6812
6818
|
name: string;
|
|
6813
6819
|
fields: unknown[];
|
|
6814
6820
|
description?: string | undefined;
|
|
6815
|
-
persistence?: "persistent" | "runtime" |
|
|
6821
|
+
persistence?: "persistent" | "runtime" | undefined;
|
|
6822
|
+
shared?: boolean | undefined;
|
|
6816
6823
|
collection?: string | undefined;
|
|
6817
6824
|
instances?: Record<string, unknown>[] | undefined;
|
|
6818
6825
|
timestamps?: boolean | undefined;
|
|
@@ -6830,4 +6837,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6830
6837
|
} | undefined;
|
|
6831
6838
|
}>]>;
|
|
6832
6839
|
|
|
6833
|
-
export { type
|
|
6840
|
+
export { type CallServiceConfig as $, ANIMATION_NAMES as A, type Asset as B, type CallSiteConfig as C, type AssetAspect as D, type Effect as E, type FieldValue as F, AssetAspectSchema as G, type AssetCatalog as H, type AssetCatalogEntry as I, type AssetCatalogEntryInput as J, AssetCatalogEntrySchema as K, AssetCatalogSchema as L, type AssetDimension as M, AssetDimensionSchema as N, type AssetMap as O, type AssetMapInput as P, AssetMapSchema as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type AssetMapping as V, type AssetMappingInput as W, AssetMappingSchema as X, AssetSchema as Y, type AssetUrl as Z, type AtomicEffect as _, type Trait as a, type OrbitalEntity as a$, type CallServiceEffect as a0, type CharacterKit as a1, type CharacterKitLayer as a2, CharacterKitLayerSchema as a3, CharacterKitSchema as a4, type CheckpointLoadEffect as a5, type CheckpointSaveEffect as a6, ConfigFieldDeclarationSchema as a7, type DeclaredTraitConfig as a8, DeclaredTraitConfigSchema as a9, EventScopeSchema as aA, type FetchEffect as aB, type FetchOptions as aC, type FetchResult as aD, type Field as aE, type FieldFormat as aF, FieldFormatSchema as aG, FieldSchema as aH, type FieldType as aI, FieldTypeSchema as aJ, type ForwardConfig as aK, type ForwardEffect as aL, GAME_TYPES as aM, type GameType as aN, GameTypeSchema as aO, type Guard as aP, type GuardInput as aQ, GuardSchema as aR, type ListenSource as aS, ListenSourceSchema as aT, type LogEffect as aU, type McpServiceDef as aV, McpServiceDefSchema as aW, type NavigateEffect as aX, type NnConfig as aY, type NnLayer as aZ, type NotifyEffect as a_, type DerefEffect as aa, type DespawnEffect as ab, type DoEffect as ac, ENTITY_ROLES as ad, type EffectInput as ae, EffectSchema as af, type EmitConfig as ag, type EmitEffect as ah, type EntityData as ai, type EntityFieldContract as aj, EntityFieldContractSchema as ak, type EntityFieldInput as al, EntityFieldSchema as am, EntityPersistenceSchema as an, type EntityRole as ao, EntityRoleSchema as ap, EntitySchema as aq, type EntityWith as ar, type EnumEntityField as as, type EvaluateConfig as at, type EvaluateEffect as au, type Event as av, type EventInput as aw, EventPayloadFieldSchema as ax, EventSchema as ay, type EventScope as az, type RenderUIEffect as b, type SwapEffect as b$, type OrbitalEntityInput as b0, OrbitalEntitySchema as b1, type OrbitalTraitRef as b2, OrbitalTraitRefSchema as b3, type OsEffect as b4, PACK_CLASSES as b5, type PackClass as b6, PackClassSchema as b7, type PayloadField as b8, PayloadFieldSchema as b9, ServiceDefinitionSchema as bA, type ServiceParams as bB, type ServiceParamsValue as bC, type ServiceRefObject as bD, ServiceRefObjectSchema as bE, ServiceRefSchema as bF, ServiceRefStringSchema as bG, type ServiceType as bH, ServiceTypeSchema as bI, type SetEffect as bJ, type SocketEvents as bK, SocketEventsSchema as bL, type SocketServiceDef as bM, SocketServiceDefSchema as bN, type SpawnEffect as bO, type SpriteDirection as bP, SpriteDirectionSchema as bQ, type SpriteSheetAtlas as bR, type SpriteSheetAtlasInput as bS, SpriteSheetAtlasSchema as bT, type StateInput as bU, type StateMachine as bV, type StateMachineInput as bW, StateMachineSchema as bX, StateSchema as bY, type SubTexture as bZ, SubTextureSchema as b_, type PersistData as ba, type PersistEffect as bb, type PersistEmitConfig as bc, type PresentationType as bd, type RefEffect as be, RelationConfigSchema as bf, type RelationEntityField as bg, type RenderItemLambda as bh, type RenderUIConfig as bi, type RenderUINode as bj, type RequiredField as bk, RequiredFieldSchema as bl, type ResolvedAsset as bm, type ResolvedAssetInput as bn, ResolvedAssetSchema as bo, type ResolvedPatternProps as bp, type RestAuthConfig as bq, RestAuthConfigSchema as br, type RestServiceDef as bs, RestServiceDefSchema as bt, SERVICE_TYPES as bu, SPRITE_DIRECTIONS as bv, type ScalarEntityField as bw, type SemanticAssetRef as bx, type SemanticAssetRefInput as by, SemanticAssetRefSchema as bz, type TraitEventContract as c, notify as c$, type TextureAtlas as c0, TextureAtlasSchema as c1, type Tilesheet as c2, TilesheetSchema as c3, type TrainConfig as c4, type TrainEffect as c5, type TraitCategory as c6, TraitCategorySchema as c7, TraitConfigSchema as c8, type TraitConfigValue as c9, atomic as cA, callService as cB, createAssetKey as cC, deref as cD, deriveCollection as cE, despawn as cF, doEffects as cG, emit as cH, findService as cI, getDefaultAnimationsForRole as cJ, getServiceNames as cK, getTraitConfig as cL, getTraitName as cM, hasService as cN, isCallSiteConfigDeclaration as cO, isCircuitEvent as cP, isEffect as cQ, isInlineTrait as cR, isMcpService as cS, isRestService as cT, isRuntimeEntity as cU, isSExprEffect as cV, isServiceReference as cW, isServiceReferenceObject as cX, isSocketService as cY, navigate as cZ, normalizeTraitRef as c_, TraitConfigValueSchema as ca, type TraitDataEntity as cb, TraitDataEntitySchema as cc, type TraitEntityField as cd, TraitEntityFieldSchema as ce, TraitEventContractSchema as cf, TraitEventListenerSchema as cg, type TraitInput as ch, TraitRefSchema as ci, type TraitReferenceInput as cj, TraitReferenceSchema as ck, TraitSchema as cl, type TraitTick as cm, TraitTickSchema as cn, type TraitUIBinding as co, type Transition as cp, type TransitionInput as cq, TransitionSchema as cr, type TypedEffect as cs, UISlotSchema as ct, UI_SLOTS as cu, VISUAL_STYLES as cv, type VisualStyle as cw, VisualStyleSchema as cx, type WatchEffect as cy, type WatchOptions as cz, type Entity as d, parseAssetKey as d0, parseServiceRef as d1, persist as d2, persistenceModeAllowsOverrides as d3, ref as d4, renderUI as d5, set as d6, spawn as d7, swap as d8, validateAssetAnimations as d9, watch as da, type TraitScope as db, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type RelationConfig as k, type TraitConfigObject as l, type EventPayloadField as m, type ConfigFieldDeclaration as n, type ServiceDefinition as o, type CallSiteConfigEntry as p, type State as q, ASSET_ASPECTS as r, ASSET_DIMENSIONS as s, type AgentEffect as t, type AnimationDef as u, type AnimationDefInput as v, AnimationDefSchema as w, type AnimationName as x, AnimationNameSchema as y, type ArrayEntityField as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-
|
|
3
|
-
import { bB as ServiceParams, a as Trait, d as Entity, h as EntityRow,
|
|
4
|
-
export { A as ANIMATION_NAMES,
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-BOGLyI7O.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-BOGLyI7O.js';
|
|
3
|
+
import { bB as ServiceParams, a as Trait, d as Entity, h as EntityRow, F as FieldValue, a8 as DeclaredTraitConfig, T as TraitConfig, E as Effect, n as ConfigFieldDeclaration, q as State, cp as Transition, f as EntityField, av as Event, c9 as TraitConfigValue, g as EntityPersistence, c6 as TraitCategory, db as TraitScope } from '../trait-BnNByIRE.js';
|
|
4
|
+
export { A as ANIMATION_NAMES, r as ASSET_ASPECTS, s as ASSET_DIMENSIONS, t as AgentEffect, u as AnimationDef, v as AnimationDefInput, w as AnimationDefSchema, x as AnimationName, y as AnimationNameSchema, z as ArrayEntityField, B as Asset, D as AssetAspect, G as AssetAspectSchema, H as AssetCatalog, I as AssetCatalogEntry, J as AssetCatalogEntryInput, K as AssetCatalogEntrySchema, L as AssetCatalogSchema, M as AssetDimension, N as AssetDimensionSchema, O as AssetMap, P as AssetMapInput, Q as AssetMapSchema, V as AssetMapping, W as AssetMappingInput, X as AssetMappingSchema, Y as AssetSchema, Z as AssetUrl, _ as AtomicEffect, $ as CallServiceConfig, a0 as CallServiceEffect, C as CallSiteConfig, p as CallSiteConfigEntry, a1 as CharacterKit, a2 as CharacterKitLayer, a3 as CharacterKitLayerSchema, a4 as CharacterKitSchema, a5 as CheckpointLoadEffect, a6 as CheckpointSaveEffect, a7 as ConfigFieldDeclarationSchema, a9 as DeclaredTraitConfigSchema, aa as DerefEffect, ab as DespawnEffect, ac as DoEffect, ad as ENTITY_ROLES, ae as EffectInput, af as EffectSchema, ag as EmitConfig, ah as EmitEffect, ai as EntityData, aj as EntityFieldContract, ak as EntityFieldContractSchema, al as EntityFieldInput, am as EntityFieldSchema, an as EntityPersistenceSchema, ao as EntityRole, ap as EntityRoleSchema, aq as EntitySchema, ar as EntityWith, as as EnumEntityField, at as EvaluateConfig, au as EvaluateEffect, aw as EventInput, m as EventPayloadField, ax as EventPayloadFieldSchema, ay as EventSchema, az as EventScope, aA as EventScopeSchema, aB as FetchEffect, aC as FetchOptions, aD as FetchResult, aE as Field, aF as FieldFormat, aG as FieldFormatSchema, aH as FieldSchema, aI as FieldType, aJ as FieldTypeSchema, aK as ForwardConfig, aL as ForwardEffect, aM as GAME_TYPES, aN as GameType, aO as GameTypeSchema, aP as Guard, aQ as GuardInput, aR as GuardSchema, aS as ListenSource, aT as ListenSourceSchema, aU as LogEffect, aV as McpServiceDef, aW as McpServiceDefSchema, aX as NavigateEffect, aY as NnConfig, aZ as NnLayer, a_ as NotifyEffect, a$ as OrbitalEntity, b0 as OrbitalEntityInput, b1 as OrbitalEntitySchema, b2 as OrbitalTraitRef, b3 as OrbitalTraitRefSchema, b4 as OsEffect, b5 as PACK_CLASSES, b6 as PackClass, b7 as PackClassSchema, b8 as PayloadField, b9 as PayloadFieldSchema, ba as PersistData, bb as PersistEffect, bc as PersistEmitConfig, bd as PresentationType, be as RefEffect, k as RelationConfig, bf as RelationConfigSchema, bg as RelationEntityField, R as RenderBinding, bh as RenderItemLambda, bi as RenderUIConfig, b as RenderUIEffect, bj as RenderUINode, bk as RequiredField, bl as RequiredFieldSchema, bm as ResolvedAsset, bn as ResolvedAssetInput, bo as ResolvedAssetSchema, bp as ResolvedPatternProps, bq as RestAuthConfig, br as RestAuthConfigSchema, bs as RestServiceDef, bt as RestServiceDefSchema, bu as SERVICE_TYPES, bv as SPRITE_DIRECTIONS, bw as ScalarEntityField, bx as SemanticAssetRef, by as SemanticAssetRefInput, bz as SemanticAssetRefSchema, o as ServiceDefinition, bA as ServiceDefinitionSchema, bC as ServiceParamsValue, S as ServiceRef, bD as ServiceRefObject, bE as ServiceRefObjectSchema, bF as ServiceRefSchema, bG as ServiceRefStringSchema, bH as ServiceType, bI as ServiceTypeSchema, bJ as SetEffect, bK as SocketEvents, bL as SocketEventsSchema, bM as SocketServiceDef, bN as SocketServiceDefSchema, bO as SpawnEffect, bP as SpriteDirection, bQ as SpriteDirectionSchema, bR as SpriteSheetAtlas, bS as SpriteSheetAtlasInput, bT as SpriteSheetAtlasSchema, bU as StateInput, bV as StateMachine, bW as StateMachineInput, bX as StateMachineSchema, bY as StateSchema, bZ as SubTexture, b_ as SubTextureSchema, b$ as SwapEffect, c0 as TextureAtlas, c1 as TextureAtlasSchema, c2 as Tilesheet, c3 as TilesheetSchema, c4 as TrainConfig, c5 as TrainEffect, c7 as TraitCategorySchema, l as TraitConfigObject, c8 as TraitConfigSchema, ca as TraitConfigValueSchema, cb as TraitDataEntity, cc as TraitDataEntitySchema, cd as TraitEntityField, ce as TraitEntityFieldSchema, c as TraitEventContract, cf as TraitEventContractSchema, e as TraitEventListener, cg as TraitEventListenerSchema, ch as TraitInput, i as TraitRef, ci as TraitRefSchema, j as TraitReference, cj as TraitReferenceInput, ck as TraitReferenceSchema, cl as TraitSchema, cm as TraitTick, cn as TraitTickSchema, co as TraitUIBinding, cq as TransitionInput, cr as TransitionSchema, cs as TypedEffect, U as UISlot, ct as UISlotSchema, cu as UI_SLOTS, cv as VISUAL_STYLES, cw as VisualStyle, cx as VisualStyleSchema, cy as WatchEffect, cz as WatchOptions, cA as atomic, cB as callService, cC as createAssetKey, cD as deref, cE as deriveCollection, cF as despawn, cG as doEffects, cH as emit, cI as findService, cJ as getDefaultAnimationsForRole, cK as getServiceNames, cL as getTraitConfig, cM as getTraitName, cN as hasService, cO as isCallSiteConfigDeclaration, cP as isCircuitEvent, cQ as isEffect, cR as isInlineTrait, cS as isMcpService, cT as isRestService, cU as isRuntimeEntity, cV as isSExprEffect, cW as isServiceReference, cX as isServiceReferenceObject, cY as isSocketService, cZ as navigate, c_ as normalizeTraitRef, c$ as notify, d0 as parseAssetKey, d1 as parseServiceRef, d2 as persist, d3 as persistenceModeAllowsOverrides, d4 as ref, d5 as renderUI, d6 as set, d7 as spawn, d8 as swap, d9 as validateAssetAnimations, da as watch } from '../trait-BnNByIRE.js';
|
|
5
5
|
import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BUIi9ezJ.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
9
9
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
10
|
-
import { l as JsonObject, T as ToolArgs, J as JsonValue, c as FactoryConfigTier } from '../types-
|
|
11
|
-
export { t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-
|
|
10
|
+
import { l as JsonObject, T as ToolArgs, J as JsonValue, c as FactoryConfigTier } from '../types-By4AQApw.js';
|
|
11
|
+
export { t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-By4AQApw.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
|
@@ -878,8 +878,8 @@ interface ResolvedEntity {
|
|
|
878
878
|
fields: ResolvedField[];
|
|
879
879
|
/** Whether this entity only exists in runtime (not persisted to Firestore) */
|
|
880
880
|
runtime?: boolean;
|
|
881
|
-
/** Whether this is
|
|
882
|
-
|
|
881
|
+
/** Whether this entity's state is shared across every bound trait (vs a per-trait copy). Orthogonal to `runtime`. */
|
|
882
|
+
shared?: boolean;
|
|
883
883
|
/** Whether this entity has pre-authored instances in the schema */
|
|
884
884
|
hasInstances?: boolean;
|
|
885
885
|
/** Pre-authored instances from the schema (seed data or static reference data) */
|