@ai-matrx/records 0.99.2 → 0.99.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records
2
2
 
3
+ ## 0.99.3
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records/v0.99.2..npm/records/v0.99.3 -- apps/shared/records`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.99.2
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -308,6 +308,7 @@ var VIEW_KEYS = [
308
308
  { path: "grid", shape: "grid", layouts: GRIDS, writer: "caller" },
309
309
  { path: "personal", shape: "boolean", layouts: ALL, writer: "caller" },
310
310
  { path: "section", shape: "section", layouts: ALL, writer: "caller" },
311
+ { path: "position", shape: "position", layouts: ALL, writer: "caller" },
311
312
  { path: "hidden_fields", shape: "input", layouts: HIDES, writer: "input" },
312
313
  { path: "table_id", shape: "server", layouts: ALL, writer: "server" },
313
314
  { path: "order", shape: "server", layouts: GRIDS, writer: "server" },
@@ -343,6 +344,7 @@ function viewSettings(definition, rowFilters, codec = plainCodec()) {
343
344
  isDefault: data["is_default"] === true || data["is_default"] === "true",
344
345
  personal: data["personal"] === true || data["personal"] === "true",
345
346
  section: text("section"),
347
+ position: typeof data["position"] === "number" && Number.isFinite(data["position"]) ? data["position"] : null,
346
348
  presentation: codec.parse(data["presentation"]),
347
349
  movedFrom: isObject(moved) ? moved : null
348
350
  };
@@ -425,6 +427,7 @@ function viewFromRow(row, codec = plainCodec2()) {
425
427
  isDefault: k.isDefault || k.movedFrom?.["kind"] === "default_view",
426
428
  personal: k.personal,
427
429
  section: k.section,
430
+ position: k.position,
428
431
  presentation: k.presentation,
429
432
  movedFrom: k.movedFrom
430
433
  };