@uniformdev/canvas 19.114.0 → 19.115.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.
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +4 -4
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
|
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
|
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(
|
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(
|
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(
|
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.
|
3
|
+
"version": "19.115.0",
|
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.
|
42
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/assets": "19.115.0",
|
42
|
+
"@uniformdev/context": "19.115.0",
|
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": "
|
51
|
+
"gitHead": "739467c9c4e6daee786fac0f1b7c2bf443243a54"
|
52
52
|
}
|