@rebasepro/client 0.29.0-canary.g0e3a0e7 → 0.29.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.
@@ -1,4 +1,4 @@
1
- import { a as byIdRead, c as invalidBulkBody, d as RebaseApiError$1, f as buildQueryString, g as rebaseReviver, l as SDKQueryBuilder, n as MemoryOfflineStore, r as createMutationId, s as etagOf, t as IndexedDBOfflineStore, u as RebaseClientError$1 } from "./offline-store-Cxhh99Q-.js";
1
+ import { a as byIdRead, c as invalidBulkBody, d as RebaseApiError$1, f as buildQueryString, g as rebaseReviver, l as SDKQueryBuilder, n as MemoryOfflineStore, r as createMutationId, s as etagOf, t as IndexedDBOfflineStore, u as RebaseClientError$1 } from "./offline-store-C2Sy3Kwl.js";
2
2
  import { EntityReference, EntityRelation, GeoPoint, Vector, hasFieldOperation, isUnsupported, parseRelationAggregateSort, toCanonicalOp } from "@rebasepro/types";
3
3
  import { collectAllPages, normalizeOrderBy, paginateFind, resolveFindWindow, withETag } from "@rebasepro/common";
4
4
  import { splitSearchTerms, unref } from "@rebasepro/utils";
@@ -517,6 +517,14 @@ function matchesOperator(rowValue, op, filterValue) {
517
517
  const wanted = asArray(filterValue);
518
518
  return rowValue.some((v) => wanted.some((w) => looseEquals(v, w)));
519
519
  }
520
+ case "array-contains-all":
521
+ if (!Array.isArray(rowValue)) return false;
522
+ return asArray(filterValue).every((w) => rowValue.some((v) => looseEquals(v, w)));
523
+ case "array-contained-by": {
524
+ if (!Array.isArray(rowValue)) return false;
525
+ const allowed = asArray(filterValue);
526
+ return rowValue.every((v) => allowed.some((w) => looseEquals(v, w)));
527
+ }
520
528
  case "like":
521
529
  case "not-like":
522
530
  case "ilike":
@@ -1827,6 +1835,7 @@ var OfflineManager = class {
1827
1835
  after: (cursor) => new SDKQueryBuilder(wrapped).after(cursor),
1828
1836
  trash: this.wrapTrash(slug, inner),
1829
1837
  aggregate: inner.aggregate,
1838
+ refresh: inner.refresh,
1830
1839
  listen: inner.listen,
1831
1840
  listenById: inner.listenById,
1832
1841
  listenCount: inner.listenCount
@@ -3418,4 +3427,4 @@ var OfflineManager = class {
3418
3427
  //#endregion
3419
3428
  export { OfflineManager };
3420
3429
 
3421
- //# sourceMappingURL=offline-BjJdcVBb.js.map
3430
+ //# sourceMappingURL=offline-Cy6woFyt.js.map