@uniformdev/canvas 19.61.1 → 19.62.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 +17 -5
- package/dist/index.d.ts +17 -5
- package/dist/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
@@ -2671,6 +2671,8 @@ interface paths$8 {
|
|
2671
2671
|
* If false, the `_id` will not be present in the API response.
|
2672
2672
|
*/
|
2673
2673
|
withComponentIDs?: components$4["parameters"]["withComponentIDs"];
|
2674
|
+
/** Performs keyword search on the entries. */
|
2675
|
+
keyword?: components$4["parameters"]["keyword"];
|
2674
2676
|
};
|
2675
2677
|
};
|
2676
2678
|
responses: {
|
@@ -2794,6 +2796,8 @@ interface components$4 {
|
|
2794
2796
|
* @description The public UUID of the entry.
|
2795
2797
|
*/
|
2796
2798
|
_id?: string;
|
2799
|
+
/** @description The name of the entry. */
|
2800
|
+
_name?: string;
|
2797
2801
|
/** @description The slug of the entry. */
|
2798
2802
|
_slug?: string;
|
2799
2803
|
/** @description Entry field values. */
|
@@ -2877,6 +2881,8 @@ interface components$4 {
|
|
2877
2881
|
* Has no effect when not fetching a list. This does impact performance when enabled.
|
2878
2882
|
*/
|
2879
2883
|
withTotalCount: boolean;
|
2884
|
+
/** @description Performs keyword search on the entries. */
|
2885
|
+
keyword: string;
|
2880
2886
|
};
|
2881
2887
|
}
|
2882
2888
|
interface external$9 {
|
@@ -5667,7 +5673,7 @@ interface components$3 {
|
|
5667
5673
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
5668
5674
|
* @enum {string}
|
5669
5675
|
*/
|
5670
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
5676
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
5671
5677
|
/**
|
5672
5678
|
* Format: uuid
|
5673
5679
|
* @description The project ID that this layout data is part of
|
@@ -7554,7 +7560,7 @@ interface external$3 {
|
|
7554
7560
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
7555
7561
|
* @enum {string}
|
7556
7562
|
*/
|
7557
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
7563
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
7558
7564
|
/**
|
7559
7565
|
* Format: uuid
|
7560
7566
|
* @description The project ID that this layout data is part of
|
@@ -7798,6 +7804,8 @@ interface external$3 {
|
|
7798
7804
|
* If false, the `_id` will not be present in the API response.
|
7799
7805
|
*/
|
7800
7806
|
withComponentIDs?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withComponentIDs"];
|
7807
|
+
/** Performs keyword search on the entries. */
|
7808
|
+
keyword?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["keyword"];
|
7801
7809
|
};
|
7802
7810
|
};
|
7803
7811
|
responses: {
|
@@ -7921,6 +7929,8 @@ interface external$3 {
|
|
7921
7929
|
* @description The public UUID of the entry.
|
7922
7930
|
*/
|
7923
7931
|
_id?: string;
|
7932
|
+
/** @description The name of the entry. */
|
7933
|
+
_name?: string;
|
7924
7934
|
/** @description The slug of the entry. */
|
7925
7935
|
_slug?: string;
|
7926
7936
|
/** @description Entry field values. */
|
@@ -8004,6 +8014,8 @@ interface external$3 {
|
|
8004
8014
|
* Has no effect when not fetching a list. This does impact performance when enabled.
|
8005
8015
|
*/
|
8006
8016
|
withTotalCount: boolean;
|
8017
|
+
/** @description Performs keyword search on the entries. */
|
8018
|
+
keyword: string;
|
8007
8019
|
};
|
8008
8020
|
};
|
8009
8021
|
operations: {};
|
@@ -9338,7 +9350,7 @@ interface external$2 {
|
|
9338
9350
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
9339
9351
|
* @enum {string}
|
9340
9352
|
*/
|
9341
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
9353
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
9342
9354
|
/**
|
9343
9355
|
* Format: uuid
|
9344
9356
|
* @description The project ID that this layout data is part of
|
@@ -9934,7 +9946,7 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
|
|
9934
9946
|
getCompositionList(options?: Omit<CompositionGetParameters, 'projectId' | 'componentId' | 'compositionId' | 'slug'>): Promise<{
|
9935
9947
|
compositions: {
|
9936
9948
|
state: number;
|
9937
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | undefined;
|
9949
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown" | undefined;
|
9938
9950
|
projectId: string;
|
9939
9951
|
created: string;
|
9940
9952
|
modified: string;
|
@@ -10261,7 +10273,7 @@ interface paths$1 {
|
|
10261
10273
|
id: string;
|
10262
10274
|
compositions?: {
|
10263
10275
|
/** @enum {string} */
|
10264
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan";
|
10276
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Unknown" | "Previous";
|
10265
10277
|
composition: {
|
10266
10278
|
_id: string;
|
10267
10279
|
_name: string;
|
package/dist/index.d.ts
CHANGED
@@ -2671,6 +2671,8 @@ interface paths$8 {
|
|
2671
2671
|
* If false, the `_id` will not be present in the API response.
|
2672
2672
|
*/
|
2673
2673
|
withComponentIDs?: components$4["parameters"]["withComponentIDs"];
|
2674
|
+
/** Performs keyword search on the entries. */
|
2675
|
+
keyword?: components$4["parameters"]["keyword"];
|
2674
2676
|
};
|
2675
2677
|
};
|
2676
2678
|
responses: {
|
@@ -2794,6 +2796,8 @@ interface components$4 {
|
|
2794
2796
|
* @description The public UUID of the entry.
|
2795
2797
|
*/
|
2796
2798
|
_id?: string;
|
2799
|
+
/** @description The name of the entry. */
|
2800
|
+
_name?: string;
|
2797
2801
|
/** @description The slug of the entry. */
|
2798
2802
|
_slug?: string;
|
2799
2803
|
/** @description Entry field values. */
|
@@ -2877,6 +2881,8 @@ interface components$4 {
|
|
2877
2881
|
* Has no effect when not fetching a list. This does impact performance when enabled.
|
2878
2882
|
*/
|
2879
2883
|
withTotalCount: boolean;
|
2884
|
+
/** @description Performs keyword search on the entries. */
|
2885
|
+
keyword: string;
|
2880
2886
|
};
|
2881
2887
|
}
|
2882
2888
|
interface external$9 {
|
@@ -5667,7 +5673,7 @@ interface components$3 {
|
|
5667
5673
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
5668
5674
|
* @enum {string}
|
5669
5675
|
*/
|
5670
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
5676
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
5671
5677
|
/**
|
5672
5678
|
* Format: uuid
|
5673
5679
|
* @description The project ID that this layout data is part of
|
@@ -7554,7 +7560,7 @@ interface external$3 {
|
|
7554
7560
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
7555
7561
|
* @enum {string}
|
7556
7562
|
*/
|
7557
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
7563
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
7558
7564
|
/**
|
7559
7565
|
* Format: uuid
|
7560
7566
|
* @description The project ID that this layout data is part of
|
@@ -7798,6 +7804,8 @@ interface external$3 {
|
|
7798
7804
|
* If false, the `_id` will not be present in the API response.
|
7799
7805
|
*/
|
7800
7806
|
withComponentIDs?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withComponentIDs"];
|
7807
|
+
/** Performs keyword search on the entries. */
|
7808
|
+
keyword?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["keyword"];
|
7801
7809
|
};
|
7802
7810
|
};
|
7803
7811
|
responses: {
|
@@ -7921,6 +7929,8 @@ interface external$3 {
|
|
7921
7929
|
* @description The public UUID of the entry.
|
7922
7930
|
*/
|
7923
7931
|
_id?: string;
|
7932
|
+
/** @description The name of the entry. */
|
7933
|
+
_name?: string;
|
7924
7934
|
/** @description The slug of the entry. */
|
7925
7935
|
_slug?: string;
|
7926
7936
|
/** @description Entry field values. */
|
@@ -8004,6 +8014,8 @@ interface external$3 {
|
|
8004
8014
|
* Has no effect when not fetching a list. This does impact performance when enabled.
|
8005
8015
|
*/
|
8006
8016
|
withTotalCount: boolean;
|
8017
|
+
/** @description Performs keyword search on the entries. */
|
8018
|
+
keyword: string;
|
8007
8019
|
};
|
8008
8020
|
};
|
8009
8021
|
operations: {};
|
@@ -9338,7 +9350,7 @@ interface external$2 {
|
|
9338
9350
|
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
9339
9351
|
* @enum {string}
|
9340
9352
|
*/
|
9341
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
9353
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown";
|
9342
9354
|
/**
|
9343
9355
|
* Format: uuid
|
9344
9356
|
* @description The project ID that this layout data is part of
|
@@ -9934,7 +9946,7 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
|
|
9934
9946
|
getCompositionList(options?: Omit<CompositionGetParameters, 'projectId' | 'componentId' | 'compositionId' | 'slug'>): Promise<{
|
9935
9947
|
compositions: {
|
9936
9948
|
state: number;
|
9937
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | undefined;
|
9949
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous" | "Unknown" | undefined;
|
9938
9950
|
projectId: string;
|
9939
9951
|
created: string;
|
9940
9952
|
modified: string;
|
@@ -10261,7 +10273,7 @@ interface paths$1 {
|
|
10261
10273
|
id: string;
|
10262
10274
|
compositions?: {
|
10263
10275
|
/** @enum {string} */
|
10264
|
-
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan";
|
10276
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Unknown" | "Previous";
|
10265
10277
|
composition: {
|
10266
10278
|
_id: string;
|
10267
10279
|
_name: string;
|
package/dist/index.esm.js
CHANGED
package/dist/index.js
CHANGED
@@ -1106,6 +1106,7 @@ function convertEntryToPutEntry(entry) {
|
|
1106
1106
|
type: entry.entry.type,
|
1107
1107
|
_dataResources: entry.entry._dataResources,
|
1108
1108
|
_id: entry.entry._id,
|
1109
|
+
_name: entry.entry._name,
|
1109
1110
|
_slug: entry.entry._slug,
|
1110
1111
|
fields: entry.entry.fields
|
1111
1112
|
},
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.62.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,7 +38,7 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/context": "19.62.0",
|
42
42
|
"immer": "9.0.21"
|
43
43
|
},
|
44
44
|
"files": [
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "dcaa272276caccfec3318d2a028cf4efa8a569a8"
|
51
51
|
}
|