@uniformdev/canvas 19.114.0 → 19.114.1-alpha.7

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/dist/index.d.mts CHANGED
@@ -14194,7 +14194,9 @@ type ContentClientOptions = ClientOptions & {
14194
14194
  edgeApiHost?: string;
14195
14195
  disableSWR?: boolean;
14196
14196
  };
14197
- type FilterLhs = 'type' | 'locale' | 'uiStatus' | 'name' | 'slug' | 'creator' | 'author' | 'created' | 'modified' | `fields.${string}`;
14197
+ type BuiltinField = 'type' | 'locale' | 'uiStatus' | 'name' | 'slug' | 'creator' | 'author' | 'created' | 'modified';
14198
+ type Operator = 'match' | 'eq' | 'neq' | 'in' | 'nin' | 'gt' | 'gte' | 'lt' | 'lte' | 'def';
14199
+ type FilterLhs = BuiltinField | `${BuiltinField}[${Operator}]` | `fields.${string}` | `fields.${string}[${Operator}]`;
14198
14200
  type FilterRhs = string | number | boolean | {
14199
14201
  match: string;
14200
14202
  } | {
package/dist/index.d.ts CHANGED
@@ -14194,7 +14194,9 @@ type ContentClientOptions = ClientOptions & {
14194
14194
  edgeApiHost?: string;
14195
14195
  disableSWR?: boolean;
14196
14196
  };
14197
- type FilterLhs = 'type' | 'locale' | 'uiStatus' | 'name' | 'slug' | 'creator' | 'author' | 'created' | 'modified' | `fields.${string}`;
14197
+ type BuiltinField = 'type' | 'locale' | 'uiStatus' | 'name' | 'slug' | 'creator' | 'author' | 'created' | 'modified';
14198
+ type Operator = 'match' | 'eq' | 'neq' | 'in' | 'nin' | 'gt' | 'gte' | 'lt' | 'lte' | 'def';
14199
+ type FilterLhs = BuiltinField | `${BuiltinField}[${Operator}]` | `fields.${string}` | `fields.${string}[${Operator}]`;
14198
14200
  type FilterRhs = string | number | boolean | {
14199
14201
  match: string;
14200
14202
  } | {
package/dist/index.esm.js CHANGED
@@ -654,7 +654,11 @@ var _ContentClient = class _ContentClient extends ApiClient3 {
654
654
  const url = this.createUrl(__privateGet(_ContentClient, _entriesUrl), { ...params, ...rewrittenFilters, projectId });
655
655
  return this.apiClient(url);
656
656
  }
657
- const edgeUrl = this.createUrl(__privateGet(_ContentClient, _entriesUrl), this.getEdgeOptions(params), this.edgeApiHost);
657
+ const edgeUrl = this.createUrl(
658
+ __privateGet(_ContentClient, _entriesUrl),
659
+ { ...this.getEdgeOptions(params), ...rewrittenFilters },
660
+ this.edgeApiHost
661
+ );
658
662
  return this.apiClient(
659
663
  edgeUrl,
660
664
  this.options.disableSWR ? { headers: { "x-disable-swr": "true" } } : void 0
package/dist/index.js CHANGED
@@ -782,7 +782,11 @@ var _ContentClient = class _ContentClient extends import_api4.ApiClient {
782
782
  const url = this.createUrl(__privateGet(_ContentClient, _entriesUrl), { ...params, ...rewrittenFilters, projectId });
783
783
  return this.apiClient(url);
784
784
  }
785
- const edgeUrl = this.createUrl(__privateGet(_ContentClient, _entriesUrl), this.getEdgeOptions(params), this.edgeApiHost);
785
+ const edgeUrl = this.createUrl(
786
+ __privateGet(_ContentClient, _entriesUrl),
787
+ { ...this.getEdgeOptions(params), ...rewrittenFilters },
788
+ this.edgeApiHost
789
+ );
786
790
  return this.apiClient(
787
791
  edgeUrl,
788
792
  this.options.disableSWR ? { headers: { "x-disable-swr": "true" } } : void 0
package/dist/index.mjs CHANGED
@@ -654,7 +654,11 @@ var _ContentClient = class _ContentClient extends ApiClient3 {
654
654
  const url = this.createUrl(__privateGet(_ContentClient, _entriesUrl), { ...params, ...rewrittenFilters, projectId });
655
655
  return this.apiClient(url);
656
656
  }
657
- const edgeUrl = this.createUrl(__privateGet(_ContentClient, _entriesUrl), this.getEdgeOptions(params), this.edgeApiHost);
657
+ const edgeUrl = this.createUrl(
658
+ __privateGet(_ContentClient, _entriesUrl),
659
+ { ...this.getEdgeOptions(params), ...rewrittenFilters },
660
+ this.edgeApiHost
661
+ );
658
662
  return this.apiClient(
659
663
  edgeUrl,
660
664
  this.options.disableSWR ? { headers: { "x-disable-swr": "true" } } : void 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.114.0",
3
+ "version": "19.114.1-alpha.7+205e9240f9",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,8 +38,8 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "19.114.0",
42
- "@uniformdev/context": "19.114.0",
41
+ "@uniformdev/assets": "19.114.1-alpha.7+205e9240f9",
42
+ "@uniformdev/context": "19.114.1-alpha.7+205e9240f9",
43
43
  "immer": "10.0.3"
44
44
  },
45
45
  "files": [
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "c9d4260a191785215cdca52c78f869be809f6e06"
51
+ "gitHead": "205e9240f95b7c75d2cdaefb5588c56b8c1e9368"
52
52
  }