@almadar/core 10.58.0 → 10.59.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.
@@ -178,7 +178,8 @@ var FIELD_TYPES = [
178
178
  "relation",
179
179
  "trait",
180
180
  "slot",
181
- "pattern"
181
+ "pattern",
182
+ "node"
182
183
  ];
183
184
  var SEMANTIC_STRING_TYPES = ["email", "url", "phone", "uuid", "image"];
184
185
  function isSemanticStringType(type) {
@@ -297,6 +298,7 @@ var EntityFieldSchema = z.lazy(() => {
297
298
  scalarVariant("trait"),
298
299
  scalarVariant("slot"),
299
300
  scalarVariant("pattern"),
301
+ scalarVariant("node"),
300
302
  // Enum variant — REQUIRES non-empty values.
301
303
  z.object({
302
304
  ...baseFieldShape,
@@ -439,7 +441,8 @@ var CameraSchema = z.object({
439
441
  zoom: z.number().optional(),
440
442
  fov: z.number().optional(),
441
443
  mode: CameraModeSchema.optional(),
442
- azimuth: z.number().optional()
444
+ azimuth: z.number().optional(),
445
+ elevation: z.number().optional()
443
446
  });
444
447
  function createAssetKey(role, category) {
445
448
  return `${role}:${category}`;
@@ -2555,7 +2558,11 @@ function inferTsType(schemaType) {
2555
2558
  timestamp: "number",
2556
2559
  array: "unknown[]",
2557
2560
  object: "Record<string, unknown>",
2558
- any: "unknown"
2561
+ any: "unknown",
2562
+ // Renderable UI content — the canonical pattern-tree type from
2563
+ // render-ui-edit.ts. Without this entry the raw tag `node` would leak
2564
+ // out as a (nonexistent) TS type name.
2565
+ node: "PatternNode | PatternNode[]"
2559
2566
  };
2560
2567
  if (schemaType.endsWith("[]")) {
2561
2568
  const baseType = schemaType.slice(0, -2);