@statezero/core 0.2.55 → 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 (71) hide show
  1. package/dist/adaptors/vue/components/StateZeroDebugPanel.js +2 -2
  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.js +2 -1
  71. package/package.json +1 -1
@@ -2673,8 +2673,8 @@ class ar {
2673
2673
  _hasRecentOps(e) {
2674
2674
  const t = e.operations, s = this.lastSync ?? this._createdAt;
2675
2675
  for (let r = t.length - 1; r >= 0; r--)
2676
- if (t[r].status !== C.REJECTED)
2677
- 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;
2678
2678
  return !1;
2679
2679
  }
2680
2680
  /** Build set of PKs from ops newer than lastSync. Only used for no-offset querysets. */
@@ -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"
@@ -6,17 +6,17 @@
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
8
  "last_updated",
9
- "customer_email",
10
- "total",
11
- "created_at",
12
9
  "order_number",
10
+ "total",
13
11
  "status",
14
12
  "customer_name",
13
+ "created_at",
14
+ "customer_email",
15
15
  "id"
16
16
  ],
17
17
  "searchable_fields": [
18
- "customer_name",
19
- "order_number"
18
+ "order_number",
19
+ "customer_name"
20
20
  ],
21
21
  "ordering_fields": [
22
22
  "created_at",
@@ -134,7 +134,7 @@
134
134
  "format": "date-time",
135
135
  "max_length": null,
136
136
  "choices": null,
137
- "default": "2026-02-23T18:47:00.081929+00:00",
137
+ "default": "2026-02-28T23:13:32.591171+00:00",
138
138
  "validators": [],
139
139
  "max_digits": null,
140
140
  "decimal_places": null,
@@ -5,11 +5,11 @@
5
5
  "plural_title": "Order Items",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "price",
9
- "product",
10
8
  "quantity",
11
- "order",
12
- "id"
9
+ "product",
10
+ "price",
11
+ "id",
12
+ "order"
13
13
  ],
14
14
  "searchable_fields": [],
15
15
  "ordering_fields": [
@@ -5,23 +5,23 @@
5
5
  "plural_title": "Products",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "in_stock",
8
+ "description",
9
9
  "name",
10
- "price",
11
- "created_by",
12
- "created_at",
10
+ "in_stock",
13
11
  "category",
14
- "id",
15
- "description"
12
+ "created_at",
13
+ "created_by",
14
+ "price",
15
+ "id"
16
16
  ],
17
17
  "searchable_fields": [
18
- "name",
19
- "description"
18
+ "description",
19
+ "name"
20
20
  ],
21
21
  "ordering_fields": [
22
22
  "created_at",
23
- "name",
24
- "price"
23
+ "price",
24
+ "name"
25
25
  ],
26
26
  "properties": {
27
27
  "id": {
@@ -129,7 +129,7 @@
129
129
  "format": "date-time",
130
130
  "max_length": null,
131
131
  "choices": null,
132
- "default": "2026-02-23T18:47:00.080652+00:00",
132
+ "default": "2026-02-28T23:13:32.589971+00:00",
133
133
  "validators": [],
134
134
  "max_digits": null,
135
135
  "decimal_places": null,
@@ -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
- "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
- "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": "Restricted Field Related Models",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
+ "admin_only_field",
8
9
  "id",
9
- "name",
10
- "admin_only_field"
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"
@@ -5,25 +5,25 @@
5
5
  "plural_title": "Tags",
6
6
  "primary_key_field": "id",
7
7
  "filterable_fields": [
8
- "priority",
9
- "metadata",
10
- "cost_currency",
8
+ "slug",
9
+ "description",
11
10
  "name",
12
- "books",
13
11
  "created_at",
14
- "slug",
12
+ "cost_currency",
13
+ "id",
15
14
  "cost",
15
+ "books",
16
16
  "is_featured",
17
- "id",
18
- "description"
17
+ "metadata",
18
+ "priority"
19
19
  ],
20
20
  "searchable_fields": [
21
- "name",
22
- "description"
21
+ "description",
22
+ "name"
23
23
  ],
24
24
  "ordering_fields": [
25
- "priority",
26
25
  "created_at",
26
+ "priority",
27
27
  "name"
28
28
  ],
29
29
  "properties": {