@statezero/core 0.2.54 → 0.2.56

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.
Files changed (72) hide show
  1. package/dist/adaptors/vue/components/StateZeroDebugPanel.js +42 -41
  2. package/dist/models/backend1/django_app/author.schema.json +16 -16
  3. package/dist/models/backend1/django_app/book.schema.json +11 -11
  4. package/dist/models/backend1/django_app/composeditem.schema.json +3 -3
  5. package/dist/models/backend1/django_app/comprehensivemodel.schema.json +3 -3
  6. package/dist/models/backend1/django_app/dailyrate.schema.json +7 -7
  7. package/dist/models/backend1/django_app/errortestcompoundunique.schema.json +4 -4
  8. package/dist/models/backend1/django_app/errortestonetoonemodel.schema.json +2 -2
  9. package/dist/models/backend1/django_app/errortestprotectedchild.schema.json +2 -2
  10. package/dist/models/backend1/django_app/errortestuniquemodel.schema.json +1 -1
  11. package/dist/models/backend1/django_app/excludeditem.schema.json +2 -2
  12. package/dist/models/backend1/django_app/hfchild.schema.json +2 -2
  13. package/dist/models/backend1/django_app/hfparent.schema.json +2 -2
  14. package/dist/models/backend1/django_app/index.js +2 -0
  15. package/dist/models/backend1/django_app/m2mdepthtestlevel1.schema.json +2 -2
  16. package/dist/models/backend1/django_app/m2mdepthtestlevel2.schema.json +2 -2
  17. package/dist/models/backend1/django_app/m2mdepthtestlevel3.schema.json +2 -2
  18. package/dist/models/backend1/django_app/modelwithrestrictedfields.schema.json +2 -2
  19. package/dist/models/backend1/django_app/nodeleteitem.schema.json +2 -2
  20. package/dist/models/backend1/django_app/objectlevelitem.schema.json +2 -2
  21. package/dist/models/backend1/django_app/order.schema.json +6 -6
  22. package/dist/models/backend1/django_app/orderitem.schema.json +4 -4
  23. package/dist/models/backend1/django_app/product.schema.json +11 -11
  24. package/dist/models/backend1/django_app/readonlyitem.schema.json +2 -2
  25. package/dist/models/backend1/django_app/restrictedcreateitem.schema.json +2 -2
  26. package/dist/models/backend1/django_app/restrictededititem.schema.json +2 -2
  27. package/dist/models/backend1/django_app/restrictedfieldrelatedmodel.schema.json +2 -2
  28. package/dist/models/backend1/django_app/rowfiltereditem.schema.json +2 -2
  29. package/dist/models/backend1/django_app/tag.schema.json +10 -10
  30. package/dist/models/backend1/django_app/uuidmessage.d.ts +156 -0
  31. package/dist/models/backend1/django_app/uuidmessage.js +72 -0
  32. package/dist/models/backend1/django_app/uuidmessage.schema.json +136 -0
  33. package/dist/models/backend1/django_app/uuiduser.d.ts +92 -0
  34. package/dist/models/backend1/django_app/uuiduser.js +69 -0
  35. package/dist/models/backend1/django_app/uuiduser.schema.json +70 -0
  36. package/dist/models/default/django_app/author.schema.json +16 -16
  37. package/dist/models/default/django_app/book.schema.json +11 -11
  38. package/dist/models/default/django_app/composeditem.schema.json +3 -3
  39. package/dist/models/default/django_app/comprehensivemodel.schema.json +3 -3
  40. package/dist/models/default/django_app/dailyrate.schema.json +7 -7
  41. package/dist/models/default/django_app/errortestcompoundunique.schema.json +4 -4
  42. package/dist/models/default/django_app/errortestonetoonemodel.schema.json +2 -2
  43. package/dist/models/default/django_app/errortestprotectedchild.schema.json +2 -2
  44. package/dist/models/default/django_app/errortestuniquemodel.schema.json +1 -1
  45. package/dist/models/default/django_app/excludeditem.schema.json +2 -2
  46. package/dist/models/default/django_app/hfchild.schema.json +2 -2
  47. package/dist/models/default/django_app/hfparent.schema.json +2 -2
  48. package/dist/models/default/django_app/index.js +2 -0
  49. package/dist/models/default/django_app/m2mdepthtestlevel1.schema.json +2 -2
  50. package/dist/models/default/django_app/m2mdepthtestlevel2.schema.json +2 -2
  51. package/dist/models/default/django_app/m2mdepthtestlevel3.schema.json +2 -2
  52. package/dist/models/default/django_app/modelwithrestrictedfields.schema.json +2 -2
  53. package/dist/models/default/django_app/nodeleteitem.schema.json +2 -2
  54. package/dist/models/default/django_app/objectlevelitem.schema.json +2 -2
  55. package/dist/models/default/django_app/order.schema.json +6 -6
  56. package/dist/models/default/django_app/orderitem.schema.json +4 -4
  57. package/dist/models/default/django_app/product.schema.json +11 -11
  58. package/dist/models/default/django_app/readonlyitem.schema.json +2 -2
  59. package/dist/models/default/django_app/restrictedcreateitem.schema.json +2 -2
  60. package/dist/models/default/django_app/restrictededititem.schema.json +2 -2
  61. package/dist/models/default/django_app/restrictedfieldrelatedmodel.schema.json +2 -2
  62. package/dist/models/default/django_app/rowfiltereditem.schema.json +2 -2
  63. package/dist/models/default/django_app/tag.schema.json +10 -10
  64. package/dist/models/default/django_app/uuidmessage.d.ts +156 -0
  65. package/dist/models/default/django_app/uuidmessage.js +72 -0
  66. package/dist/models/default/django_app/uuidmessage.schema.json +136 -0
  67. package/dist/models/default/django_app/uuiduser.d.ts +92 -0
  68. package/dist/models/default/django_app/uuiduser.js +69 -0
  69. package/dist/models/default/django_app/uuiduser.schema.json +70 -0
  70. package/dist/syncEngine/stores/querysetStore.d.ts +1 -0
  71. package/dist/syncEngine/stores/querysetStore.js +12 -8
  72. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { ref as J, computed as I, onMounted as hs, onBeforeUnmount as fs, watch as ot, createElementBlock as M, openBlock as A, createElementVNode as f, createVNode as St, toDisplayString as S, createCommentVNode as L, Fragment as W, renderList as ce, normalizeClass as Tt, normalizeStyle as it, withDirectives as Ue, createTextVNode as Qe, vModelCheckbox as Mt, vModelSelect as At, Transition as Ot, withCtx as $t } from "vue";
2
2
  import { v7 as B } from "uuid";
3
- import { isNil as b, isEmpty as ve, trim as dt, isEqual as He } from "lodash-es";
3
+ import { isNil as b, isEmpty as Te, trim as dt, isEqual as He } from "lodash-es";
4
4
  import Oe from "mitt";
5
5
  import Ft from "handlebars";
6
6
  import Pt from "superjson";
@@ -374,7 +374,7 @@ class Ss {
374
374
  onHydrated() {
375
375
  if (this.groundTruthArray.length === 0 && this.operationsMap.size === 0) {
376
376
  let e = this.modelCache.get(this.cacheKey);
377
- !b(e) && !ve(e) && this.setGroundTruth(e);
377
+ !b(e) && !Te(e) && this.setGroundTruth(e);
378
378
  }
379
379
  }
380
380
  setCache(e) {
@@ -382,7 +382,7 @@ class Ss {
382
382
  let s = [];
383
383
  e.forEach((r) => {
384
384
  let o = r[t];
385
- if (!(typeof o == "string" && qe(o) && (o = Je(r[t]), b(o) || ve(dt(o)))))
385
+ if (!(typeof o == "string" && qe(o) && (o = Je(r[t]), b(o) || Te(dt(o)))))
386
386
  if (r && typeof r.serialize == "function") {
387
387
  const i = r.serialize(!0);
388
388
  i[t] = o, s.push(i);
@@ -398,7 +398,7 @@ class Ss {
398
398
  let r = [];
399
399
  if (e.forEach((c) => {
400
400
  let h = c[s];
401
- typeof h == "string" && qe(h) && (h = Je(c[s]), b(h) || ve(dt(h))) || (c[s] = h, r.push(c));
401
+ typeof h == "string" && qe(h) && (h = Je(c[s]), b(h) || Te(dt(h))) || (c[s] = h, r.push(c));
402
402
  }), t === null) {
403
403
  this.setCache(r);
404
404
  return;
@@ -1408,7 +1408,7 @@ const De = {
1408
1408
  };
1409
1409
  globalThis[es] = X;
1410
1410
  const Me = X.emitter, ue = X.buffer;
1411
- function Te(n) {
1411
+ function Se(n) {
1412
1412
  if (!X.enabled) return;
1413
1413
  const e = {
1414
1414
  id: X.nextId++,
@@ -1418,7 +1418,7 @@ function Te(n) {
1418
1418
  ue.push(e), ue.length > X.maxEntries && ue.shift(), Me.emit("record", e);
1419
1419
  }
1420
1420
  function G(n) {
1421
- Te(n);
1421
+ Se(n);
1422
1422
  }
1423
1423
  function Ls(n) {
1424
1424
  return Me.on("record", n), () => Me.off("record", n);
@@ -1438,7 +1438,7 @@ function Lt(n) {
1438
1438
  }
1439
1439
  function Gs() {
1440
1440
  X.started || (X.started = !0, ie.on(C.CREATED, (n) => {
1441
- Te({
1441
+ Se({
1442
1442
  type: "operation",
1443
1443
  subtype: C.CREATED,
1444
1444
  operationId: n.operationId,
@@ -1450,7 +1450,7 @@ function Gs() {
1450
1450
  instanceCount: n.instances?.length ?? 0
1451
1451
  });
1452
1452
  }), ie.on(C.MUTATED, (n) => {
1453
- Te({
1453
+ Se({
1454
1454
  type: "operation",
1455
1455
  subtype: C.MUTATED,
1456
1456
  operationId: n.operationId,
@@ -1462,7 +1462,7 @@ function Gs() {
1462
1462
  instanceCount: n.instances?.length ?? 0
1463
1463
  });
1464
1464
  }), ie.on(C.CONFIRMED, (n) => {
1465
- Te({
1465
+ Se({
1466
1466
  type: "operation",
1467
1467
  subtype: C.CONFIRMED,
1468
1468
  operationId: n.operationId,
@@ -1474,7 +1474,7 @@ function Gs() {
1474
1474
  instanceCount: n.instances?.length ?? 0
1475
1475
  });
1476
1476
  }), ie.on(C.REJECTED, (n) => {
1477
- Te({
1477
+ Se({
1478
1478
  type: "operation",
1479
1479
  subtype: C.REJECTED,
1480
1480
  operationId: n.operationId,
@@ -1486,7 +1486,7 @@ function Gs() {
1486
1486
  instanceCount: n.instances?.length ?? 0
1487
1487
  });
1488
1488
  }), ie.on(C.CLEAR, () => {
1489
- Te({ type: "operation", subtype: C.CLEAR });
1489
+ Se({ type: "operation", subtype: C.CLEAR });
1490
1490
  }));
1491
1491
  }
1492
1492
  const ct = /* @__PURE__ */ new Map();
@@ -1579,16 +1579,16 @@ async function V(n, e, t = {}, s, r = null, o = null, i = {}) {
1579
1579
  let z = await ms.post(Q, Je(w), { headers: N });
1580
1580
  typeof r == "function" && z?.data && await r(z.data);
1581
1581
  const D = z?.data?.data, K = z?.data?.included, me = Array.isArray(D) ? D.length : D != null ? 1 : 0, Ze = K ? Object.keys(K).length : 0, ye = 100, Re = Array.isArray(D) && D.length > ye ? D.slice(0, ye) : D, Ye = Array.isArray(D) && D.length > ye;
1582
- let Ke = K, ke = !1;
1582
+ let Ke = K, ve = !1;
1583
1583
  if (K && typeof K == "object") {
1584
1584
  const Ie = {};
1585
1585
  let ne = 0;
1586
1586
  for (const [Ne, xe] of Object.entries(K))
1587
1587
  if (Ie[Ne] = xe, ne += 1, ne >= ye) {
1588
- ke = !0;
1588
+ ve = !0;
1589
1589
  break;
1590
1590
  }
1591
- Ke = ke ? Ie : K;
1591
+ Ke = ve ? Ie : K;
1592
1592
  }
1593
1593
  return G({
1594
1594
  type: "response",
@@ -1605,7 +1605,7 @@ async function V(n, e, t = {}, s, r = null, o = null, i = {}) {
1605
1605
  data: Re,
1606
1606
  included: Ke,
1607
1607
  dataTruncated: Ye,
1608
- includedTruncated: ke
1608
+ includedTruncated: ve
1609
1609
  }), z.data;
1610
1610
  } catch (z) {
1611
1611
  if (G({
@@ -1791,7 +1791,7 @@ const Bt = {
1791
1791
  return console.warn(`Failed to parse date: ${n}`), n;
1792
1792
  }
1793
1793
  }
1794
- }, Ee = {
1794
+ }, be = {
1795
1795
  toInternal: (n, e = {}) => {
1796
1796
  if (b(n)) return n;
1797
1797
  const t = n.pk || n;
@@ -1832,23 +1832,23 @@ const Bt = {
1832
1832
  }
1833
1833
  return n;
1834
1834
  }
1835
- }, Se = {
1835
+ }, Ee = {
1836
1836
  string: {
1837
1837
  "file-path": Bt,
1838
1838
  "image-path": Bt,
1839
1839
  date: Gt,
1840
1840
  "date-time": Gt,
1841
- "foreign-key": Ee,
1842
- "one-to-one": Ee
1841
+ "foreign-key": be,
1842
+ "one-to-one": be
1843
1843
  },
1844
1844
  integer: {
1845
- "foreign-key": Ee,
1846
- "one-to-one": Ee
1845
+ "foreign-key": be,
1846
+ "one-to-one": be
1847
1847
  },
1848
1848
  // Add other PK types as needed
1849
1849
  uuid: {
1850
- "foreign-key": Ee,
1851
- "one-to-one": Ee
1850
+ "foreign-key": be,
1851
+ "one-to-one": be
1852
1852
  },
1853
1853
  array: {
1854
1854
  "many-to-many": Ws
@@ -1860,7 +1860,7 @@ class ts {
1860
1860
  }
1861
1861
  toInternalField(e, t, s = {}) {
1862
1862
  const r = this.modelClass.schema?.properties[e]?.type, o = this.modelClass.schema?.properties[e]?.format;
1863
- return Se[r] && Se[r][o] ? Se[r][o].toInternal(t, {
1863
+ return Ee[r] && Ee[r][o] ? Ee[r][o].toInternal(t, {
1864
1864
  model: this.modelClass,
1865
1865
  field: e,
1866
1866
  ...s
@@ -1874,8 +1874,8 @@ class ts {
1874
1874
  }
1875
1875
  toLiveField(e, t, s = {}) {
1876
1876
  const r = this.modelClass.schema?.properties[e]?.type, o = this.modelClass.schema?.properties[e]?.format;
1877
- if (Se[r] && Se[r][o])
1878
- return Se[r][o].toLive(t, {
1877
+ if (Ee[r] && Ee[r][o])
1878
+ return Ee[r][o].toLive(t, {
1879
1879
  model: this.modelClass,
1880
1880
  field: e,
1881
1881
  ...s
@@ -2464,7 +2464,7 @@ class ar {
2464
2464
  groundTruthPks;
2465
2465
  isSyncing;
2466
2466
  constructor(e, t, s, r = null, o = null, i = {}) {
2467
- if (this.modelClass = e, this.fetchFn = t, this.queryset = s, this.isSyncing = !1, this.lastSync = null, this._createdAt = Date.now(), this.isTemp = i.isTemp || !1, this.pruneThreshold = i.pruneThreshold || 10, this.groundTruthPks = r || [], this.operationsMap = /* @__PURE__ */ new Map(), this.includedPks = /* @__PURE__ */ new Map(), Array.isArray(o))
2467
+ if (this.modelClass = e, this.fetchFn = t, this.queryset = s, this.isSyncing = !1, this.lastSync = null, this.lastHydrated = null, this._createdAt = Date.now(), this.isTemp = i.isTemp || !1, this.pruneThreshold = i.pruneThreshold || 10, this.groundTruthPks = r || [], this.operationsMap = /* @__PURE__ */ new Map(), this.includedPks = /* @__PURE__ */ new Map(), Array.isArray(o))
2468
2468
  for (const l of o) {
2469
2469
  const c = Fe.get(l.operationId) || new q(l, !0);
2470
2470
  this.operationsMap.set(c.operationId, c);
@@ -2483,12 +2483,13 @@ class ar {
2483
2483
  onHydrated(e) {
2484
2484
  if (this.lastSync !== null || this.groundTruthPks.length > 0 || this.operationsMap.size > 0) return;
2485
2485
  const t = this.qsCache.get(this.cacheKey);
2486
- !b(t) && !ve(t) && (this.groundTruthPks = Array.isArray(t) ? t : [], this._emitRenderEvent());
2486
+ b(t) || (this.groundTruthPks = Array.isArray(t) ? t : [], this.lastHydrated = Date.now(), t.length > 0 && this._emitRenderEvent());
2487
2487
  }
2488
2488
  setCache(e) {
2489
+ if (this.lastSync === null) return;
2489
2490
  let t = [];
2490
2491
  e.forEach((s) => {
2491
- typeof s == "string" && qe(s) && (s = Je(s), b(s) || ve(dt(s))) || t.push(s);
2492
+ typeof s == "string" && qe(s) && (s = Je(s), b(s) || Te(dt(s))) || t.push(s);
2492
2493
  }), this.qsCache.set(this.cacheKey, t);
2493
2494
  }
2494
2495
  clearCache() {
@@ -2651,7 +2652,7 @@ class ar {
2651
2652
  const i = this.pkField;
2652
2653
  return t.render().map((l) => l[i]).filter((l) => l != null);
2653
2654
  }
2654
- if (!this.isTemp && this.lastSync === null && t) {
2655
+ if (!this.isTemp && this.lastSync === null && this.lastHydrated === null && t) {
2655
2656
  if (!((this.queryset._serializerOptions?.offset ?? 0) > 0)) {
2656
2657
  const c = this.pkField;
2657
2658
  return t.render().map((h) => h[c]).filter((h) => h != null);
@@ -2672,8 +2673,8 @@ class ar {
2672
2673
  _hasRecentOps(e) {
2673
2674
  const t = e.operations, s = this.lastSync ?? this._createdAt;
2674
2675
  for (let r = t.length - 1; r >= 0; r--)
2675
- if (t[r].status !== C.REJECTED)
2676
- return t[r].status !== C.CONFIRMED ? !0 : t[r].timestamp >= s;
2676
+ if (t[r].status !== C.REJECTED && (t[r].status !== C.CONFIRMED || t[r].timestamp >= s))
2677
+ return !0;
2677
2678
  return !1;
2678
2679
  }
2679
2680
  /** Build set of PKs from ops newer than lastSync. Only used for no-offset querysets. */
@@ -3129,7 +3130,7 @@ class dr {
3129
3130
  onHydrated() {
3130
3131
  if (this.groundTruthValue === null) {
3131
3132
  const e = this.metricCache.get(this.cacheKey);
3132
- !b(e) && !ve(e) && this.setGroundTruth(e?.value);
3133
+ !b(e) && !Te(e) && this.setGroundTruth(e?.value);
3133
3134
  }
3134
3135
  }
3135
3136
  setCache() {
@@ -3916,7 +3917,7 @@ class wt {
3916
3917
  if (b(e) || b(t) || b(t.ModelClass))
3917
3918
  return null;
3918
3919
  const o = this.getStore(e, t, s);
3919
- return o ? ((!b(o.groundTruthValue) || !ve(o.operations)) && o.reset(), o.setGroundTruth(r), r) : null;
3920
+ return o ? ((!b(o.groundTruthValue) || !Te(o.operations)) && o.reset(), o.setGroundTruth(r), r) : null;
3920
3921
  }
3921
3922
  /**
3922
3923
  * Sync a specific metric with the server
@@ -4348,14 +4349,14 @@ const _r = (n, e) => {
4348
4349
  return E.value && x._stores.get(E.value) || null;
4349
4350
  }), F = I(() => {
4350
4351
  a.value;
4351
- const u = N.value, d = Q.value, g = u?.modelClass?.modelName || d?.ModelClass?.modelName, R = u?.modelClass?.configKey || d?.ModelClass?.configKey, H = u?.groundTruthPks?.length ?? 0, oe = u?.operationsMap?.size ?? 0, le = u?.getInflightOperations?.() || [], be = u?.isSyncing ?? !1, je = u?.lastSync ? new Date(u.lastSync).toLocaleString() : "—", nt = u && Array.isArray(u._lastRenderedPks) ? u._lastRenderedPks.length : null, cs = u?.groundTruthPks?.length ?? 0, ds = u ? u.lastSync === null ? "model store" : "ground truth" : "—", us = be ? "Sync in progress — results may change." : oe > 0 ? "Optimistic operations are applied to results." : u?.lastSync === null ? "No ground truth yet — rendering from model store." : "Using ground truth + local filters.";
4352
+ const u = N.value, d = Q.value, g = u?.modelClass?.modelName || d?.ModelClass?.modelName, R = u?.modelClass?.configKey || d?.ModelClass?.configKey, H = u?.groundTruthPks?.length ?? 0, oe = u?.operationsMap?.size ?? 0, le = u?.getInflightOperations?.() || [], ke = u?.isSyncing ?? !1, je = u?.lastSync ? new Date(u.lastSync).toLocaleString() : "—", nt = u && Array.isArray(u._lastRenderedPks) ? u._lastRenderedPks.length : null, cs = u?.groundTruthPks?.length ?? 0, ds = u ? u.lastSync === null ? "model store" : "ground truth" : "—", us = ke ? "Sync in progress — results may change." : oe > 0 ? "Optimistic operations are applied to results." : u?.lastSync === null ? "No ground truth yet — rendering from model store." : "Using ground truth + local filters.";
4352
4353
  return {
4353
4354
  modelName: g,
4354
4355
  configKey: R,
4355
4356
  groundTruthCount: H,
4356
4357
  opsCount: oe,
4357
4358
  inFlightCount: le.length,
4358
- isSyncing: be,
4359
+ isSyncing: ke,
4359
4360
  lastSync: je,
4360
4361
  optimisticCount: nt,
4361
4362
  confirmedCount: cs,
@@ -4415,7 +4416,7 @@ const _r = (n, e) => {
4415
4416
  finalSample: [],
4416
4417
  limit: null
4417
4418
  };
4418
- const g = Array.isArray(u.groundTruthPks) ? [...u.groundTruthPks] : [], R = u.renderFromData(!0), H = u.renderFromData(!1), oe = u._getValidatedAndFilteredPks(R), le = [], be = d.build()?.serializerOptions?.limit ?? null, je = be ? oe.slice(0, be) : oe, nt = le.length > 0 ? D(
4419
+ const g = Array.isArray(u.groundTruthPks) ? [...u.groundTruthPks] : [], R = u.renderFromData(!0), H = u.renderFromData(!1), oe = u._getValidatedAndFilteredPks(R), le = [], ke = d.build()?.serializerOptions?.limit ?? null, je = ke ? oe.slice(0, ke) : oe, nt = le.length > 0 ? D(
4419
4420
  u.modelClass,
4420
4421
  d,
4421
4422
  le,
@@ -4452,7 +4453,7 @@ const _r = (n, e) => {
4452
4453
  je,
4453
4454
  e.sampleSize
4454
4455
  ),
4455
- limit: be,
4456
+ limit: ke,
4456
4457
  confirmed: H
4457
4458
  };
4458
4459
  }), me = I(() => [
@@ -4481,7 +4482,7 @@ const _r = (n, e) => {
4481
4482
  if (!E.value) return l.value;
4482
4483
  const u = N.value;
4483
4484
  return l.value.filter((d) => d.semanticKey === E.value ? !0 : u ? d.modelName === u.modelClass?.modelName && d.configKey === u.modelClass?.configKey : !1);
4484
- }), ke = I(() => Ke.value.filter((u) => y.value[u.type])), Ie = I(() => l.value.length), ne = I(
4485
+ }), ve = I(() => Ke.value.filter((u) => y.value[u.type])), Ie = I(() => l.value.length), ne = I(
4485
4486
  () => l.value.length ? l.value[l.value.length - 1] : null
4486
4487
  ), Ne = [
4487
4488
  { id: "request", label: "Requests", color: "#3b82f6" },
@@ -4749,7 +4750,7 @@ const _r = (n, e) => {
4749
4750
  ], 6)), 64))
4750
4751
  ]),
4751
4752
  f("div", cn, [
4752
- (A(!0), M(W, null, ce(ke.value, (g) => (A(), M("div", {
4753
+ (A(!0), M(W, null, ce(ve.value, (g) => (A(), M("div", {
4753
4754
  key: g.id,
4754
4755
  class: "szd-timeline__item",
4755
4756
  onClick: (R) => kt(g)
@@ -4761,7 +4762,7 @@ const _r = (n, e) => {
4761
4762
  }, S(g.type), 5),
4762
4763
  f("span", hn, S(vt(g)), 1)
4763
4764
  ], 8, dn))), 128)),
4764
- ke.value.length ? L("", !0) : (A(), M("div", fn, " No events match current filters "))
4765
+ ve.value.length ? L("", !0) : (A(), M("div", fn, " No events match current filters "))
4765
4766
  ])
4766
4767
  ])) : L("", !0),
4767
4768
  t.value === "data" ? (A(), M("div", pn, [
@@ -5,33 +5,33 @@
5
5
  "plural_title": "Authors",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "metadata",
9
- "rating",
10
- "name",
11
- "created_at",
12
8
  "salary",
13
- "email",
9
+ "is_active",
14
10
  "slug",
15
- "bio",
16
- "website",
11
+ "name",
12
+ "rating",
17
13
  "uuid",
14
+ "bio",
15
+ "birth_date",
16
+ "email",
18
17
  "age",
18
+ "created_at",
19
19
  "id",
20
- "is_active",
21
- "birth_date"
20
+ "website",
21
+ "metadata"
22
22
  ],
23
23
  "searchable_fields": [
24
24
  "bio",
25
- "name",
26
- "email"
25
+ "email",
26
+ "name"
27
27
  ],
28
28
  "ordering_fields": [
29
- "rating",
30
- "name",
31
- "created_at",
32
29
  "salary",
30
+ "name",
31
+ "rating",
32
+ "birth_date",
33
33
  "age",
34
- "birth_date"
34
+ "created_at"
35
35
  ],
36
36
  "properties": {
37
37
  "id": {
@@ -235,7 +235,7 @@
235
235
  "format": null,
236
236
  "max_length": 32,
237
237
  "choices": null,
238
- "default": "5782fd03-d9b2-4d2c-9d50-e46a4beca539",
238
+ "default": "79fc79e3-5653-4c96-8419-a5a18616bc2e",
239
239
  "validators": [],
240
240
  "max_digits": null,
241
241
  "decimal_places": null,
@@ -5,31 +5,31 @@
5
5
  "plural_title": "Books",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "weight",
9
8
  "last_updated",
10
- "metadata",
9
+ "description",
10
+ "publish_date",
11
11
  "pages",
12
- "author",
13
- "price",
14
12
  "title",
15
13
  "isbn",
16
- "is_published",
14
+ "price",
17
15
  "id",
18
- "publish_date",
19
- "description"
16
+ "weight",
17
+ "author",
18
+ "metadata",
19
+ "is_published"
20
20
  ],
21
21
  "searchable_fields": [
22
- "isbn",
23
22
  "title",
23
+ "isbn",
24
24
  "description"
25
25
  ],
26
26
  "ordering_fields": [
27
- "weight",
28
27
  "last_updated",
28
+ "publish_date",
29
29
  "pages",
30
- "price",
31
30
  "title",
32
- "publish_date"
31
+ "price",
32
+ "weight"
33
33
  ],
34
34
  "properties": {
35
35
  "id": {
@@ -5,11 +5,11 @@
5
5
  "plural_title": "Composed Items",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "secret",
9
8
  "name",
10
- "value",
11
9
  "owner",
12
- "id"
10
+ "secret",
11
+ "id",
12
+ "value"
13
13
  ],
14
14
  "searchable_fields": [
15
15
  "name"
@@ -5,8 +5,8 @@
5
5
  "plural_title": "Comprehensive Models",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "int_field",
9
- "char_field"
8
+ "char_field",
9
+ "int_field"
10
10
  ],
11
11
  "searchable_fields": [
12
12
  "char_field",
@@ -105,7 +105,7 @@
105
105
  "format": "date-time",
106
106
  "max_length": null,
107
107
  "choices": null,
108
- "default": "2026-02-23T18:47:00.073642+00:00",
108
+ "default": "2026-02-28T23:13:32.583653+00:00",
109
109
  "validators": [],
110
110
  "max_digits": null,
111
111
  "decimal_places": null,
@@ -5,16 +5,16 @@
5
5
  "plural_title": "Daily Rates",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "min_stay_arrival",
9
- "price",
10
- "rate_plan",
11
- "min_stay_through",
12
- "stop_sell",
13
8
  "closed_to_arrival",
14
- "max_stay",
9
+ "min_stay_through",
10
+ "min_stay_arrival",
11
+ "closed_to_departure",
15
12
  "date",
13
+ "max_stay",
14
+ "price",
16
15
  "id",
17
- "closed_to_departure"
16
+ "stop_sell",
17
+ "rate_plan"
18
18
  ],
19
19
  "searchable_fields": [],
20
20
  "ordering_fields": [
@@ -5,18 +5,18 @@
5
5
  "plural_title": "Error Test Compound Uniques",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
+ "rank",
8
9
  "label",
9
10
  "id",
10
- "group",
11
- "rank"
11
+ "group"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "label",
15
15
  "group"
16
16
  ],
17
17
  "ordering_fields": [
18
- "group",
19
- "rank"
18
+ "rank",
19
+ "group"
20
20
  ],
21
21
  "properties": {
22
22
  "id": {
@@ -5,9 +5,9 @@
5
5
  "plural_title": "Error Test One To One Models",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "note",
8
+ "parent",
9
9
  "id",
10
- "parent"
10
+ "note"
11
11
  ],
12
12
  "searchable_fields": [],
13
13
  "ordering_fields": [],
@@ -5,9 +5,9 @@
5
5
  "plural_title": "Error Test Protected Childs",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
+ "parent",
8
9
  "id",
9
- "name",
10
- "parent"
10
+ "name"
11
11
  ],
12
12
  "searchable_fields": [
13
13
  "name"
@@ -5,8 +5,8 @@
5
5
  "plural_title": "Error Test Unique Models",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "label",
9
8
  "id",
9
+ "label",
10
10
  "code"
11
11
  ],
12
12
  "searchable_fields": [
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "value",
9
- "secret",
10
9
  "id",
11
- "name"
10
+ "name",
11
+ "secret"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"
@@ -5,9 +5,9 @@
5
5
  "plural_title": "Hf Childs",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
+ "parent",
8
9
  "id",
9
- "name",
10
- "parent"
10
+ "name"
11
11
  ],
12
12
  "searchable_fields": [
13
13
  "name"
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "value",
9
- "secret",
10
9
  "id",
11
- "name"
10
+ "name",
11
+ "secret"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"
@@ -38,3 +38,5 @@ export * from './errortestuniquemodel';
38
38
  export * from './errortestonetoonemodel';
39
39
  export * from './errortestcompoundunique';
40
40
  export * from './updateonlyitem';
41
+ export * from './uuiduser';
42
+ export * from './uuidmessage';
@@ -6,8 +6,8 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "level2s",
9
- "id",
10
- "name"
9
+ "name",
10
+ "id"
11
11
  ],
12
12
  "searchable_fields": [
13
13
  "name"
@@ -5,9 +5,9 @@
5
5
  "plural_title": "M2M Depth Test Level2S",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
+ "level3s",
8
9
  "id",
9
- "name",
10
- "level3s"
10
+ "name"
11
11
  ],
12
12
  "searchable_fields": [
13
13
  "name"
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "value",
9
- "id",
9
+ "category",
10
10
  "name",
11
- "category"
11
+ "id"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "restricted_related",
9
+ "admin_only_field",
9
10
  "id",
10
- "name",
11
- "admin_only_field"
11
+ "name"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "value",
9
- "secret",
10
9
  "id",
11
- "name"
10
+ "name",
11
+ "secret"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"
@@ -6,9 +6,9 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "value",
9
- "id",
9
+ "owner",
10
10
  "name",
11
- "owner"
11
+ "id"
12
12
  ],
13
13
  "searchable_fields": [
14
14
  "name"