@almadar/core 10.58.0 → 10.60.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 +5 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BH2k4oK6.d.ts → effect-a1W_hXyG.d.ts} +96 -9
- package/dist/{entityAccess-QAurFO7l.d.ts → entityAccess-BTHElnAf.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +2 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +5 -2
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index-D9aomsLC.d.ts +3178 -0
- package/dist/index.d.ts +11 -98
- package/dist/index.js +5481 -1309
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +8 -2
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +31751 -22732
- package/dist/patterns/index.js +5469 -1306
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +6105 -1948
- package/dist/patterns/registry.json +6105 -1948
- package/dist/{schema-Sk_irLOY.d.ts → schema-WnERh-P-.d.ts} +2259 -2259
- package/dist/{trait-Bw4nWHu1.d.ts → trait-DgZ5Exel.d.ts} +2 -2
- package/dist/types/index.d.ts +8 -3095
- package/dist/types/index.js +11 -3
- package/dist/types/index.js.map +1 -1
- package/dist/{types-D71hY_4A.d.ts → types-CGjZ7Odu.d.ts} +3 -3
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-
|
|
2
|
-
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-
|
|
3
|
-
import { b as TraitConfig, g as Trait, T as TraitEventListener, h as CallSiteConfig, j as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-
|
|
1
|
+
import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-a1W_hXyG.js';
|
|
2
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-WnERh-P-.js';
|
|
3
|
+
import { b as TraitConfig, g as Trait, T as TraitEventListener, h as CallSiteConfig, j as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DgZ5Exel.js';
|
|
4
4
|
import { S as SExpr } from './expression-Fk8bQWef.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/builders.js
CHANGED
|
@@ -98,7 +98,8 @@ var FIELD_TYPES = [
|
|
|
98
98
|
"relation",
|
|
99
99
|
"trait",
|
|
100
100
|
"slot",
|
|
101
|
-
"pattern"
|
|
101
|
+
"pattern",
|
|
102
|
+
"node"
|
|
102
103
|
];
|
|
103
104
|
z.enum(FIELD_TYPES);
|
|
104
105
|
var RelationCardinalitySchema = z.enum([
|
|
@@ -184,6 +185,7 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
184
185
|
scalarVariant("trait"),
|
|
185
186
|
scalarVariant("slot"),
|
|
186
187
|
scalarVariant("pattern"),
|
|
188
|
+
scalarVariant("node"),
|
|
187
189
|
// Enum variant — REQUIRES non-empty values.
|
|
188
190
|
z.object({
|
|
189
191
|
...baseFieldShape,
|
|
@@ -325,7 +327,8 @@ z.object({
|
|
|
325
327
|
zoom: z.number().optional(),
|
|
326
328
|
fov: z.number().optional(),
|
|
327
329
|
mode: CameraModeSchema.optional(),
|
|
328
|
-
azimuth: z.number().optional()
|
|
330
|
+
azimuth: z.number().optional(),
|
|
331
|
+
elevation: z.number().optional()
|
|
329
332
|
});
|
|
330
333
|
var SExprDataSchema = z.lazy(
|
|
331
334
|
() => z.union([SExprAtomSchema, z.array(SExprDataSchema)])
|