@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.
@@ -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}`;
@@ -2222,6 +2225,7 @@ var PATTERN_TYPES = [
2222
2225
  "action-tile",
2223
2226
  "activation-block",
2224
2227
  "alert",
2228
+ "algo-graph-canvas",
2225
2229
  "algorithm-canvas",
2226
2230
  "animated-counter",
2227
2231
  "animated-graphic",
@@ -2555,7 +2559,11 @@ function inferTsType(schemaType) {
2555
2559
  timestamp: "number",
2556
2560
  array: "unknown[]",
2557
2561
  object: "Record<string, unknown>",
2558
- any: "unknown"
2562
+ any: "unknown",
2563
+ // Renderable UI content — the canonical pattern-tree type from
2564
+ // render-ui-edit.ts. Without this entry the raw tag `node` would leak
2565
+ // out as a (nonexistent) TS type name.
2566
+ node: "PatternNode | PatternNode[]"
2559
2567
  };
2560
2568
  if (schemaType.endsWith("[]")) {
2561
2569
  const baseType = schemaType.slice(0, -2);