@uniformdev/canvas 20.85.0 → 20.86.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 +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -12560,6 +12560,8 @@ interface paths$7 {
|
|
|
12560
12560
|
icon: string;
|
|
12561
12561
|
/** Width in pixels */
|
|
12562
12562
|
width: number;
|
|
12563
|
+
/** Present and true only on the default viewport, which the editor opens the preview at when the editor has not picked one. At most one viewport per project is the default. */
|
|
12564
|
+
isDefault?: boolean;
|
|
12563
12565
|
}[];
|
|
12564
12566
|
};
|
|
12565
12567
|
};
|
|
@@ -12595,6 +12597,8 @@ interface paths$7 {
|
|
|
12595
12597
|
icon: string;
|
|
12596
12598
|
/** Width in pixels */
|
|
12597
12599
|
width: number;
|
|
12600
|
+
/** Makes this the default viewport and clears the flag on the other viewports of the project. When omitted, the viewport is not the default. */
|
|
12601
|
+
isDefault?: boolean;
|
|
12598
12602
|
};
|
|
12599
12603
|
};
|
|
12600
12604
|
};
|
|
@@ -12631,6 +12635,13 @@ interface paths$7 {
|
|
|
12631
12635
|
};
|
|
12632
12636
|
content?: never;
|
|
12633
12637
|
};
|
|
12638
|
+
/** Conflict: a concurrent request made another viewport the default. Reload the viewports and retry. */
|
|
12639
|
+
409: {
|
|
12640
|
+
headers: {
|
|
12641
|
+
[name: string]: unknown;
|
|
12642
|
+
};
|
|
12643
|
+
content?: never;
|
|
12644
|
+
};
|
|
12634
12645
|
429: components$7["responses"]["RateLimitError"];
|
|
12635
12646
|
500: components$7["responses"]["InternalServerError"];
|
|
12636
12647
|
};
|
|
@@ -15069,6 +15080,7 @@ declare class PreviewClient extends ApiClient {
|
|
|
15069
15080
|
name: string;
|
|
15070
15081
|
icon: string;
|
|
15071
15082
|
width: number;
|
|
15083
|
+
isDefault?: boolean;
|
|
15072
15084
|
}>;
|
|
15073
15085
|
/** Fetches all preview viewports for a project */
|
|
15074
15086
|
getPreviewViewports(options?: ExceptProject<PreviewViewportsGetParameters>): Promise<{
|
|
@@ -15077,6 +15089,7 @@ declare class PreviewClient extends ApiClient {
|
|
|
15077
15089
|
name: string;
|
|
15078
15090
|
icon: string;
|
|
15079
15091
|
width: number;
|
|
15092
|
+
isDefault?: boolean;
|
|
15080
15093
|
}[];
|
|
15081
15094
|
}>;
|
|
15082
15095
|
/** Creates or updates a preview viewport */
|
|
@@ -16198,7 +16211,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
16198
16211
|
*/
|
|
16199
16212
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
16200
16213
|
|
|
16201
|
-
declare const version = "20.
|
|
16214
|
+
declare const version = "20.86.0";
|
|
16202
16215
|
|
|
16203
16216
|
/** API client to enable managing workflow definitions */
|
|
16204
16217
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.d.ts
CHANGED
|
@@ -12560,6 +12560,8 @@ interface paths$7 {
|
|
|
12560
12560
|
icon: string;
|
|
12561
12561
|
/** Width in pixels */
|
|
12562
12562
|
width: number;
|
|
12563
|
+
/** Present and true only on the default viewport, which the editor opens the preview at when the editor has not picked one. At most one viewport per project is the default. */
|
|
12564
|
+
isDefault?: boolean;
|
|
12563
12565
|
}[];
|
|
12564
12566
|
};
|
|
12565
12567
|
};
|
|
@@ -12595,6 +12597,8 @@ interface paths$7 {
|
|
|
12595
12597
|
icon: string;
|
|
12596
12598
|
/** Width in pixels */
|
|
12597
12599
|
width: number;
|
|
12600
|
+
/** Makes this the default viewport and clears the flag on the other viewports of the project. When omitted, the viewport is not the default. */
|
|
12601
|
+
isDefault?: boolean;
|
|
12598
12602
|
};
|
|
12599
12603
|
};
|
|
12600
12604
|
};
|
|
@@ -12631,6 +12635,13 @@ interface paths$7 {
|
|
|
12631
12635
|
};
|
|
12632
12636
|
content?: never;
|
|
12633
12637
|
};
|
|
12638
|
+
/** Conflict: a concurrent request made another viewport the default. Reload the viewports and retry. */
|
|
12639
|
+
409: {
|
|
12640
|
+
headers: {
|
|
12641
|
+
[name: string]: unknown;
|
|
12642
|
+
};
|
|
12643
|
+
content?: never;
|
|
12644
|
+
};
|
|
12634
12645
|
429: components$7["responses"]["RateLimitError"];
|
|
12635
12646
|
500: components$7["responses"]["InternalServerError"];
|
|
12636
12647
|
};
|
|
@@ -15069,6 +15080,7 @@ declare class PreviewClient extends ApiClient {
|
|
|
15069
15080
|
name: string;
|
|
15070
15081
|
icon: string;
|
|
15071
15082
|
width: number;
|
|
15083
|
+
isDefault?: boolean;
|
|
15072
15084
|
}>;
|
|
15073
15085
|
/** Fetches all preview viewports for a project */
|
|
15074
15086
|
getPreviewViewports(options?: ExceptProject<PreviewViewportsGetParameters>): Promise<{
|
|
@@ -15077,6 +15089,7 @@ declare class PreviewClient extends ApiClient {
|
|
|
15077
15089
|
name: string;
|
|
15078
15090
|
icon: string;
|
|
15079
15091
|
width: number;
|
|
15092
|
+
isDefault?: boolean;
|
|
15080
15093
|
}[];
|
|
15081
15094
|
}>;
|
|
15082
15095
|
/** Creates or updates a preview viewport */
|
|
@@ -16198,7 +16211,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
16198
16211
|
*/
|
|
16199
16212
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
16200
16213
|
|
|
16201
|
-
declare const version = "20.
|
|
16214
|
+
declare const version = "20.86.0";
|
|
16202
16215
|
|
|
16203
16216
|
/** API client to enable managing workflow definitions */
|
|
16204
16217
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.esm.js
CHANGED
|
@@ -4063,7 +4063,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4063
4063
|
import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
|
|
4064
4064
|
|
|
4065
4065
|
// src/.version.ts
|
|
4066
|
-
var version = "20.
|
|
4066
|
+
var version = "20.86.0";
|
|
4067
4067
|
|
|
4068
4068
|
// src/WorkflowClient.ts
|
|
4069
4069
|
import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
|
package/dist/index.js
CHANGED
|
@@ -4278,7 +4278,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4278
4278
|
var import_api27 = require("@uniformdev/context/api");
|
|
4279
4279
|
|
|
4280
4280
|
// src/.version.ts
|
|
4281
|
-
var version = "20.
|
|
4281
|
+
var version = "20.86.0";
|
|
4282
4282
|
|
|
4283
4283
|
// src/WorkflowClient.ts
|
|
4284
4284
|
var import_api26 = require("@uniformdev/context/api");
|
package/dist/index.mjs
CHANGED
|
@@ -4063,7 +4063,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4063
4063
|
import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
|
|
4064
4064
|
|
|
4065
4065
|
// src/.version.ts
|
|
4066
|
-
var version = "20.
|
|
4066
|
+
var version = "20.86.0";
|
|
4067
4067
|
|
|
4068
4068
|
// src/WorkflowClient.ts
|
|
4069
4069
|
import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.86.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",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"svix": "1.96.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@uniformdev/assets": "20.
|
|
40
|
-
"@uniformdev/context": "20.
|
|
41
|
-
"@uniformdev/richtext": "20.
|
|
39
|
+
"@uniformdev/assets": "20.86.0",
|
|
40
|
+
"@uniformdev/context": "20.86.0",
|
|
41
|
+
"@uniformdev/richtext": "20.86.0",
|
|
42
42
|
"immer": "10.2.0",
|
|
43
43
|
"p-limit": "6.2.0",
|
|
44
44
|
"p-retry": "6.2.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "f0e4c0eb0eac24eb1e38a5bd536832f0261b003b"
|
|
54
54
|
}
|