@ai-matrx/records 0.98.11 → 0.98.12

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.
@@ -275,6 +275,7 @@ var VIEW_KEYS = [
275
275
  { path: "presentation.boardColorColumns", shape: "boolean", layouts: BOARD, writer: "caller" },
276
276
  { path: "presentation.boardCounts", shape: "boolean", layouts: BOARD, writer: "caller" },
277
277
  { path: "presentation.boardLanesShut", shape: "values", layouts: BOARD, writer: "caller" },
278
+ ...STORE_KEEPS_TIMELINE ? [{ path: "presentation.gantt", shape: "object", layouts: ["timeline"], writer: "caller" }] : [],
278
279
  { path: "presentation.locked", shape: "boolean", layouts: ALL, writer: "caller" },
279
280
  { path: "presentation.wrap", shape: "boolean", layouts: GRIDS, writer: "caller" },
280
281
  { path: "presentation.wrapColumns", shape: "fields", layouts: GRIDS, writer: "caller" },
@@ -283,6 +284,8 @@ var VIEW_KEYS = [
283
284
  { path: "presentation.footer", shape: "footer", layouts: GRIDS, writer: "caller" },
284
285
  { path: "presentation.summaries", shape: "summaries", layouts: GRIDS, writer: "caller" },
285
286
  { path: "grid", shape: "grid", layouts: GRIDS, writer: "caller" },
287
+ { path: "personal", shape: "boolean", layouts: ALL, writer: "caller" },
288
+ { path: "section", shape: "section", layouts: ALL, writer: "caller" },
286
289
  { path: "hidden_fields", shape: "input", layouts: HIDES, writer: "input" },
287
290
  { path: "table_id", shape: "server", layouts: ALL, writer: "server" },
288
291
  { path: "order", shape: "server", layouts: GRIDS, writer: "server" },
@@ -316,6 +319,8 @@ function viewSettings(definition, rowFilters, codec = plainCodec()) {
316
319
  sorts: parseSorts(data["sorts"]),
317
320
  ruleId: text("rule_id"),
318
321
  isDefault: data["is_default"] === true || data["is_default"] === "true",
322
+ personal: data["personal"] === true || data["personal"] === "true",
323
+ section: text("section"),
319
324
  presentation: codec.parse(data["presentation"]),
320
325
  movedFrom: isObject(moved) ? moved : null
321
326
  };
@@ -396,6 +401,8 @@ function viewFromRow(row, codec = plainCodec2()) {
396
401
  // the mover wrote the row's column, which `custom.views` does not return. Read as anything
397
402
  // else, the page would seed a second "All records" beside it and open on that.
398
403
  isDefault: k.isDefault || k.movedFrom?.["kind"] === "default_view",
404
+ personal: k.personal,
405
+ section: k.section,
399
406
  presentation: k.presentation,
400
407
  movedFrom: k.movedFrom
401
408
  };