@replohq/canopy-sdk 3.0.5 → 3.0.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/_vendor/replo-utils/lib/crypto.d.ts +8 -0
- package/_vendor/replo-utils/lib/errors.d.ts +1 -0
- package/_vendor/replo-utils/lib/fonts.d.ts +12 -1
- package/_vendor/replo-utils/lib/fonts.mjs +61 -12
- package/_vendor/replo-utils/lib/geometry.mjs +0 -2
- package/_vendor/replo-utils/lib/json.d.ts +0 -4
- package/_vendor/replo-utils/lib/json.mjs +1 -4
- package/_vendor/replo-utils/lib/misc.d.ts +4 -0
- package/_vendor/replo-utils/lib/misc.mjs +2 -4
- package/_vendor/replo-utils/lib/posthogReplay.mjs +0 -2
- package/_vendor/replo-utils/lib/string.d.ts +0 -12
- package/_vendor/replo-utils/lib/url.d.ts +10 -3
- package/_vendor/replo-utils/lib/url.mjs +3 -4
- package/_vendor/replo-utils/react/use-iframe-rpc-channel.mjs +0 -1
- package/_vendor/schemas/agentBillingFeatureType.d.ts +1 -0
- package/_vendor/schemas/comments.d.ts +932 -0
- package/_vendor/schemas/designLibrary.d.ts +24 -1
- package/_vendor/schemas/designLibrary.mjs +76 -70
- package/_vendor/schemas/errors.d.ts +50 -45
- package/_vendor/schemas/generated/comments.d.ts +244 -0
- package/_vendor/schemas/generated/consent.d.ts +43 -2
- package/_vendor/schemas/generated/errors.d.ts +1 -0
- package/_vendor/schemas/generated/selectMode.d.ts +52 -1
- package/_vendor/schemas/generated/selectModeIframeRpc.d.ts +64 -8
- package/_vendor/schemas/iframeRpcChannel.d.ts +13 -1
- package/_vendor/schemas/iframeRpcChannel.mjs +202 -19
- package/_vendor/schemas/loaderKeys.mjs +2 -4
- package/_vendor/schemas/{money.d.ts → moneyFormat.d.ts} +11 -9
- package/_vendor/schemas/moneyFormat.mjs +119 -0
- package/_vendor/schemas/pageAnnotations.d.ts +1 -1
- package/_vendor/schemas/pageAnnotations.mjs +1 -2
- package/_vendor/schemas/reploError.d.ts +43 -0
- package/_vendor/schemas/routing/match.mjs +0 -1
- package/_vendor/schemas/routing/rules.d.ts +2 -2
- package/_vendor/schemas/routing/rules.mjs +5 -8
- package/_vendor/schemas/savedStyles.d.ts +1 -1
- package/_vendor/schemas/selectMode.d.ts +272 -4
- package/_vendor/schemas/selectMode.mjs +4 -6
- package/_vendor/schemas/selectModeIframeRpc.d.ts +802 -111
- package/_vendor/schemas/selectModeIframeRpc.mjs +142 -47
- package/chunk-B7XDEXPL.mjs +19 -0
- package/chunk-CJIK4NVP.mjs +547 -0
- package/chunk-DINTPZM2.mjs +71 -0
- package/{chunk-AKZNN7F2.mjs → chunk-IQCJXNJU.mjs} +1 -1
- package/{chunk-H36NDYLG.mjs → chunk-PQEA6P4V.mjs} +40 -3
- package/{chunk-3A2F6BOM.mjs → chunk-YGLYUC6R.mjs} +21 -8
- package/editor/select-mode/iframeRpcChannel.d.ts +4 -4
- package/lib/tombstone.js +2 -2
- package/money.d.ts +1 -1
- package/orders/order-status-schema.d.ts +3 -3
- package/package.json +2 -2
- package/_vendor/replo-utils/lib/object.d.ts +0 -31
- package/_vendor/schemas/money.mjs +0 -1937
- package/chunk-544ZM65A.mjs +0 -203
- package/chunk-HGXQNZW7.mjs +0 -38
- package/chunk-ILGEM42C.mjs +0 -21
- package/chunk-QPGBIWJK.mjs +0 -195
- package/chunk-UJCSKKID.mjs +0 -23
- /package/{chunk-FNTGY7I5.mjs → chunk-JELVREEB.mjs} +0 -0
|
@@ -1,22 +1,115 @@
|
|
|
1
1
|
import type { SelectModeIframeMessage, SelectModeParentMessage } from "./generated/selectModeIframeRpc";
|
|
2
|
-
import
|
|
2
|
+
import * as z from "zod";
|
|
3
3
|
export declare const SELECT_MODE_IFRAME_RPC_CHANNEL_ID: "replo:select-mode-iframe-rpc";
|
|
4
4
|
export declare const SELECT_MODE_IFRAME_RPC_CHANNEL_VERSION: 1;
|
|
5
|
+
export declare const inlineEditFeedbackSchema: z.ZodObject<{
|
|
6
|
+
status: z.ZodEnum<{
|
|
7
|
+
pending: "pending";
|
|
8
|
+
unavailable: "unavailable";
|
|
9
|
+
failed: "failed";
|
|
10
|
+
}>;
|
|
11
|
+
rect: z.ZodObject<{
|
|
12
|
+
x: z.ZodNumber;
|
|
13
|
+
y: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
top: z.ZodNumber;
|
|
16
|
+
right: z.ZodNumber;
|
|
17
|
+
bottom: z.ZodNumber;
|
|
18
|
+
width: z.ZodNumber;
|
|
19
|
+
height: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
}, z.core.$strip>;
|
|
5
22
|
export declare const iframeRuntimeBuildMetadataSchema: z.ZodObject<{
|
|
6
23
|
packageName: z.ZodString;
|
|
7
24
|
version: z.ZodString;
|
|
8
25
|
branch: z.ZodNullable<z.ZodString>;
|
|
9
26
|
commit: z.ZodNullable<z.ZodString>;
|
|
10
27
|
builtAt: z.ZodNullable<z.ZodString>;
|
|
28
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
/** Runtimes listing this draw section insert and drag controls on the canvas and accept `setSectionCanvas`. */
|
|
31
|
+
export declare const SECTION_CANVAS_CAPABILITY = "sectionCanvas";
|
|
32
|
+
export declare const sectionCanvasSectionSchema: z.ZodObject<{
|
|
33
|
+
index: z.ZodNumber;
|
|
34
|
+
startLine: z.ZodNumber;
|
|
35
|
+
endLine: z.ZodNumber;
|
|
36
|
+
label: z.ZodString;
|
|
37
|
+
isLocked: z.ZodBoolean;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
/**
|
|
40
|
+
* Whether a source location's file is the canvas's page file. Locations arrive as `file://` URLs,
|
|
41
|
+
* `./`-relative or absolute paths, and the page file is workspace-relative, so either may be a path
|
|
42
|
+
* suffix of the other. The builder's selection sync and the runtime's section finding both use this.
|
|
43
|
+
*/
|
|
44
|
+
export declare function isSectionCanvasPageFile({ filePath, pageFilePath, }: {
|
|
45
|
+
filePath: string;
|
|
46
|
+
pageFilePath: string;
|
|
47
|
+
}): boolean;
|
|
48
|
+
export declare const sectionCanvasStateSchema: z.ZodObject<{
|
|
49
|
+
pageFilePath: z.ZodString;
|
|
50
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
51
|
+
index: z.ZodNumber;
|
|
52
|
+
startLine: z.ZodNumber;
|
|
53
|
+
endLine: z.ZodNumber;
|
|
54
|
+
label: z.ZodString;
|
|
55
|
+
isLocked: z.ZodBoolean;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
previewScale: z.ZodNumber;
|
|
58
|
+
isDisabled: z.ZodBoolean;
|
|
59
|
+
insertingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
+
occludedInsets: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
61
|
+
left: z.ZodNumber;
|
|
62
|
+
right: z.ZodNumber;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
11
64
|
}, z.core.$strip>;
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
65
|
+
export declare const sectionCanvasRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
66
|
+
type: z.ZodLiteral<"insert">;
|
|
67
|
+
at: z.ZodNumber;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"move">;
|
|
70
|
+
moveId: z.ZodString;
|
|
71
|
+
index: z.ZodNumber;
|
|
72
|
+
to: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"remove">;
|
|
75
|
+
index: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
type: z.ZodLiteral<"undo">;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
type: z.ZodLiteral<"redo">;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"cancelInsert">;
|
|
82
|
+
}, z.core.$strip>], "type">;
|
|
83
|
+
export declare const sectionCanvasLayoutEntrySchema: z.ZodObject<{
|
|
84
|
+
index: z.ZodNumber;
|
|
85
|
+
startLine: z.ZodNumber;
|
|
86
|
+
endLine: z.ZodNumber;
|
|
87
|
+
rect: z.ZodObject<{
|
|
88
|
+
x: z.ZodNumber;
|
|
89
|
+
y: z.ZodNumber;
|
|
90
|
+
left: z.ZodNumber;
|
|
91
|
+
top: z.ZodNumber;
|
|
92
|
+
right: z.ZodNumber;
|
|
93
|
+
bottom: z.ZodNumber;
|
|
94
|
+
width: z.ZodNumber;
|
|
95
|
+
height: z.ZodNumber;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
export declare const selectModeEventInputSchemas: {
|
|
99
|
+
hover: z.ZodObject<{
|
|
100
|
+
rect: z.ZodNullable<z.ZodObject<{
|
|
101
|
+
x: z.ZodNumber;
|
|
102
|
+
y: z.ZodNumber;
|
|
103
|
+
left: z.ZodNumber;
|
|
104
|
+
top: z.ZodNumber;
|
|
105
|
+
right: z.ZodNumber;
|
|
106
|
+
bottom: z.ZodNumber;
|
|
107
|
+
width: z.ZodNumber;
|
|
108
|
+
height: z.ZodNumber;
|
|
109
|
+
isSection: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
areaSelection: z.ZodObject<{
|
|
20
113
|
rect: z.ZodObject<{
|
|
21
114
|
x: z.ZodNumber;
|
|
22
115
|
y: z.ZodNumber;
|
|
@@ -27,58 +120,223 @@ export declare const selectedComponentEditRequestSchema: z.ZodObject<{
|
|
|
27
120
|
width: z.ZodNumber;
|
|
28
121
|
height: z.ZodNumber;
|
|
29
122
|
}, z.core.$strip>;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
123
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
124
|
+
kind: z.ZodLiteral<"react-element">;
|
|
125
|
+
selector: z.ZodString;
|
|
126
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
selector: z.ZodString;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
tagName: z.ZodString;
|
|
130
|
+
elementType: z.ZodString;
|
|
131
|
+
textContent: z.ZodNullable<z.ZodString>;
|
|
132
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
133
|
+
rect: z.ZodObject<{
|
|
134
|
+
x: z.ZodNumber;
|
|
135
|
+
y: z.ZodNumber;
|
|
136
|
+
left: z.ZodNumber;
|
|
137
|
+
top: z.ZodNumber;
|
|
138
|
+
right: z.ZodNumber;
|
|
139
|
+
bottom: z.ZodNumber;
|
|
140
|
+
width: z.ZodNumber;
|
|
141
|
+
height: z.ZodNumber;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
textMetrics: z.ZodNullable<z.ZodObject<{
|
|
144
|
+
tightWidth: z.ZodNumber;
|
|
145
|
+
lineCount: z.ZodNumber;
|
|
146
|
+
lineHeight: z.ZodNumber;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
outerHTML: z.ZodString;
|
|
149
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
src: z.ZodString;
|
|
151
|
+
currentSrc: z.ZodString;
|
|
152
|
+
srcSet: z.ZodString;
|
|
153
|
+
sizes: z.ZodString;
|
|
154
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
155
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
156
|
+
srcSet: z.ZodString;
|
|
157
|
+
sizes: z.ZodString;
|
|
158
|
+
media: z.ZodString;
|
|
40
159
|
type: z.ZodString;
|
|
41
|
-
|
|
160
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
42
161
|
}, z.core.$strip>>;
|
|
43
|
-
pseudo: z.ZodNullable<z.ZodString>;
|
|
44
162
|
}, z.core.$strip>>;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
163
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
src: z.ZodString;
|
|
165
|
+
currentSrc: z.ZodString;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
168
|
+
property: z.ZodString;
|
|
169
|
+
variant: z.ZodNullable<z.ZodObject<{
|
|
170
|
+
atRules: z.ZodArray<z.ZodObject<{
|
|
171
|
+
type: z.ZodString;
|
|
172
|
+
text: z.ZodString;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
pseudo: z.ZodNullable<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
className: z.ZodNullable<z.ZodString>;
|
|
177
|
+
raw: z.ZodString;
|
|
178
|
+
resolved: z.ZodString;
|
|
179
|
+
}, z.core.$strip>>>;
|
|
180
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
181
|
+
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
182
|
+
clickPosition: z.ZodObject<{
|
|
183
|
+
x: z.ZodNumber;
|
|
184
|
+
y: z.ZodNumber;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
sourceLocation: z.ZodOptional<z.ZodObject<{
|
|
62
187
|
filePath: z.ZodString;
|
|
63
188
|
lineNumber: z.ZodNumber;
|
|
64
189
|
columnNumber: z.ZodOptional<z.ZodNumber>;
|
|
65
190
|
componentName: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
fiberChain: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
193
|
+
sourceLocation: z.ZodObject<{
|
|
194
|
+
filePath: z.ZodString;
|
|
195
|
+
lineNumber: z.ZodNumber;
|
|
196
|
+
columnNumber: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
componentName: z.ZodOptional<z.ZodString>;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
tagName: z.ZodOptional<z.ZodString>;
|
|
200
|
+
componentName: z.ZodOptional<z.ZodString>;
|
|
201
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
202
|
+
}, z.core.$strip>>>;
|
|
203
|
+
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
204
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
type: z.ZodLiteral<"element">;
|
|
206
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
207
|
+
selector: z.ZodString;
|
|
208
|
+
nthOfTypePath: z.ZodString;
|
|
209
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
filePath: z.ZodString;
|
|
211
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
212
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
216
|
+
tagName: z.ZodString;
|
|
217
|
+
textPreview: z.ZodString;
|
|
218
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
exact: z.ZodString;
|
|
220
|
+
prefix: z.ZodString;
|
|
221
|
+
suffix: z.ZodString;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
offset: z.ZodObject<{
|
|
224
|
+
x: z.ZodNumber;
|
|
225
|
+
y: z.ZodNumber;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
url: z.ZodString;
|
|
229
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"plan">;
|
|
234
|
+
planId: z.ZodString;
|
|
235
|
+
label: z.ZodString;
|
|
236
|
+
rect: z.ZodObject<{
|
|
237
|
+
x: z.ZodNumber;
|
|
238
|
+
y: z.ZodNumber;
|
|
239
|
+
left: z.ZodNumber;
|
|
240
|
+
top: z.ZodNumber;
|
|
241
|
+
right: z.ZodNumber;
|
|
242
|
+
bottom: z.ZodNumber;
|
|
243
|
+
width: z.ZodNumber;
|
|
244
|
+
height: z.ZodNumber;
|
|
66
245
|
}, z.core.$strip>;
|
|
67
|
-
|
|
68
|
-
componentName: z.ZodOptional<z.ZodString>;
|
|
69
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
70
|
-
}, z.core.$strip>>>;
|
|
71
|
-
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
246
|
+
}, z.core.$strip>], "kind">>;
|
|
72
247
|
}, z.core.$strip>;
|
|
73
|
-
|
|
74
|
-
|
|
248
|
+
dragRect: z.ZodObject<{
|
|
249
|
+
dragRect: z.ZodNullable<z.ZodObject<{
|
|
250
|
+
x: z.ZodNumber;
|
|
251
|
+
y: z.ZodNumber;
|
|
252
|
+
left: z.ZodNumber;
|
|
253
|
+
top: z.ZodNumber;
|
|
254
|
+
right: z.ZodNumber;
|
|
255
|
+
bottom: z.ZodNumber;
|
|
256
|
+
width: z.ZodNumber;
|
|
257
|
+
height: z.ZodNumber;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
selectionRects: z.ZodArray<z.ZodObject<{
|
|
260
|
+
id: z.ZodString;
|
|
261
|
+
rect: z.ZodObject<{
|
|
262
|
+
x: z.ZodNumber;
|
|
263
|
+
y: z.ZodNumber;
|
|
264
|
+
left: z.ZodNumber;
|
|
265
|
+
top: z.ZodNumber;
|
|
266
|
+
right: z.ZodNumber;
|
|
267
|
+
bottom: z.ZodNumber;
|
|
268
|
+
width: z.ZodNumber;
|
|
269
|
+
height: z.ZodNumber;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
inlineEditState: z.ZodObject<{
|
|
274
|
+
activeMarks: z.ZodObject<{
|
|
275
|
+
bold: z.ZodBoolean;
|
|
276
|
+
italic: z.ZodBoolean;
|
|
277
|
+
underline: z.ZodBoolean;
|
|
278
|
+
strike: z.ZodBoolean;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
isInlineEditing: z.ZodBoolean;
|
|
281
|
+
isInlineEditPending: z.ZodBoolean;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
};
|
|
284
|
+
export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
285
|
+
setSectionCanvas: {
|
|
286
|
+
inputSchema: z.ZodObject<{
|
|
287
|
+
canvas: z.ZodNullable<z.ZodObject<{
|
|
288
|
+
pageFilePath: z.ZodString;
|
|
289
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
290
|
+
index: z.ZodNumber;
|
|
291
|
+
startLine: z.ZodNumber;
|
|
292
|
+
endLine: z.ZodNumber;
|
|
293
|
+
label: z.ZodString;
|
|
294
|
+
isLocked: z.ZodBoolean;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
previewScale: z.ZodNumber;
|
|
297
|
+
isDisabled: z.ZodBoolean;
|
|
298
|
+
insertingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
299
|
+
occludedInsets: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
300
|
+
left: z.ZodNumber;
|
|
301
|
+
right: z.ZodNumber;
|
|
302
|
+
}, z.core.$strip>>>;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
outputSchema: z.ZodVoid;
|
|
306
|
+
};
|
|
307
|
+
settleSectionMove: {
|
|
308
|
+
inputSchema: z.ZodObject<{
|
|
309
|
+
moveId: z.ZodString;
|
|
310
|
+
outcome: z.ZodEnum<{
|
|
311
|
+
failed: "failed";
|
|
312
|
+
persisted: "persisted";
|
|
313
|
+
}>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
outputSchema: z.ZodVoid;
|
|
316
|
+
};
|
|
317
|
+
expandToSection: {
|
|
318
|
+
inputSchema: z.ZodObject<{
|
|
319
|
+
targetSelector: z.ZodString;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
outputSchema: z.ZodVoid;
|
|
322
|
+
};
|
|
323
|
+
setSectionPreview: {
|
|
324
|
+
inputSchema: z.ZodObject<{
|
|
325
|
+
targetSelector: z.ZodNullable<z.ZodString>;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
outputSchema: z.ZodVoid;
|
|
328
|
+
};
|
|
75
329
|
symbolicateSelectedElement: {
|
|
76
330
|
inputSchema: z.ZodObject<{
|
|
77
331
|
kind: z.ZodLiteral<"react-element">;
|
|
78
332
|
selector: z.ZodString;
|
|
333
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
selector: z.ZodString;
|
|
335
|
+
}, z.core.$strip>>;
|
|
79
336
|
tagName: z.ZodString;
|
|
80
337
|
elementType: z.ZodString;
|
|
81
338
|
textContent: z.ZodNullable<z.ZodString>;
|
|
339
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
82
340
|
rect: z.ZodObject<{
|
|
83
341
|
x: z.ZodNumber;
|
|
84
342
|
y: z.ZodNumber;
|
|
@@ -95,6 +353,24 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
95
353
|
lineHeight: z.ZodNumber;
|
|
96
354
|
}, z.core.$strip>>;
|
|
97
355
|
outerHTML: z.ZodString;
|
|
356
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
src: z.ZodString;
|
|
358
|
+
currentSrc: z.ZodString;
|
|
359
|
+
srcSet: z.ZodString;
|
|
360
|
+
sizes: z.ZodString;
|
|
361
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
362
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
363
|
+
srcSet: z.ZodString;
|
|
364
|
+
sizes: z.ZodString;
|
|
365
|
+
media: z.ZodString;
|
|
366
|
+
type: z.ZodString;
|
|
367
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
}, z.core.$strip>>;
|
|
370
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
src: z.ZodString;
|
|
372
|
+
currentSrc: z.ZodString;
|
|
373
|
+
}, z.core.$strip>>;
|
|
98
374
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
99
375
|
property: z.ZodString;
|
|
100
376
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -108,6 +384,7 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
108
384
|
raw: z.ZodString;
|
|
109
385
|
resolved: z.ZodString;
|
|
110
386
|
}, z.core.$strip>>>;
|
|
387
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
111
388
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
112
389
|
clickPosition: z.ZodObject<{
|
|
113
390
|
x: z.ZodNumber;
|
|
@@ -131,13 +408,45 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
131
408
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
132
409
|
}, z.core.$strip>>>;
|
|
133
410
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
411
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
type: z.ZodLiteral<"element">;
|
|
413
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
414
|
+
selector: z.ZodString;
|
|
415
|
+
nthOfTypePath: z.ZodString;
|
|
416
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
417
|
+
filePath: z.ZodString;
|
|
418
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
419
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
}, z.core.$strip>>;
|
|
422
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
423
|
+
tagName: z.ZodString;
|
|
424
|
+
textPreview: z.ZodString;
|
|
425
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
426
|
+
exact: z.ZodString;
|
|
427
|
+
prefix: z.ZodString;
|
|
428
|
+
suffix: z.ZodString;
|
|
429
|
+
}, z.core.$strip>>;
|
|
430
|
+
offset: z.ZodObject<{
|
|
431
|
+
x: z.ZodNumber;
|
|
432
|
+
y: z.ZodNumber;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
url: z.ZodString;
|
|
436
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
438
|
+
}, z.core.$strip>>;
|
|
134
439
|
}, z.core.$strip>;
|
|
135
440
|
outputSchema: z.ZodObject<{
|
|
136
441
|
kind: z.ZodLiteral<"react-element">;
|
|
137
442
|
selector: z.ZodString;
|
|
443
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
selector: z.ZodString;
|
|
445
|
+
}, z.core.$strip>>;
|
|
138
446
|
tagName: z.ZodString;
|
|
139
447
|
elementType: z.ZodString;
|
|
140
448
|
textContent: z.ZodNullable<z.ZodString>;
|
|
449
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
141
450
|
rect: z.ZodObject<{
|
|
142
451
|
x: z.ZodNumber;
|
|
143
452
|
y: z.ZodNumber;
|
|
@@ -154,6 +463,24 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
154
463
|
lineHeight: z.ZodNumber;
|
|
155
464
|
}, z.core.$strip>>;
|
|
156
465
|
outerHTML: z.ZodString;
|
|
466
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
467
|
+
src: z.ZodString;
|
|
468
|
+
currentSrc: z.ZodString;
|
|
469
|
+
srcSet: z.ZodString;
|
|
470
|
+
sizes: z.ZodString;
|
|
471
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
472
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
473
|
+
srcSet: z.ZodString;
|
|
474
|
+
sizes: z.ZodString;
|
|
475
|
+
media: z.ZodString;
|
|
476
|
+
type: z.ZodString;
|
|
477
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
src: z.ZodString;
|
|
482
|
+
currentSrc: z.ZodString;
|
|
483
|
+
}, z.core.$strip>>;
|
|
157
484
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
158
485
|
property: z.ZodString;
|
|
159
486
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -167,6 +494,7 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
167
494
|
raw: z.ZodString;
|
|
168
495
|
resolved: z.ZodString;
|
|
169
496
|
}, z.core.$strip>>>;
|
|
497
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
170
498
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
171
499
|
clickPosition: z.ZodObject<{
|
|
172
500
|
x: z.ZodNumber;
|
|
@@ -190,6 +518,34 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
190
518
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
191
519
|
}, z.core.$strip>>>;
|
|
192
520
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
521
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
type: z.ZodLiteral<"element">;
|
|
523
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
524
|
+
selector: z.ZodString;
|
|
525
|
+
nthOfTypePath: z.ZodString;
|
|
526
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
filePath: z.ZodString;
|
|
528
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
529
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
530
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
533
|
+
tagName: z.ZodString;
|
|
534
|
+
textPreview: z.ZodString;
|
|
535
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
exact: z.ZodString;
|
|
537
|
+
prefix: z.ZodString;
|
|
538
|
+
suffix: z.ZodString;
|
|
539
|
+
}, z.core.$strip>>;
|
|
540
|
+
offset: z.ZodObject<{
|
|
541
|
+
x: z.ZodNumber;
|
|
542
|
+
y: z.ZodNumber;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
545
|
+
url: z.ZodString;
|
|
546
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
547
|
+
}, z.core.$strip>>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
193
549
|
}, z.core.$strip>;
|
|
194
550
|
timeoutMs: number;
|
|
195
551
|
};
|
|
@@ -204,6 +560,7 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
204
560
|
displayMode: z.ZodEnum<{
|
|
205
561
|
browse: "browse";
|
|
206
562
|
selection: "selection";
|
|
563
|
+
comment: "comment";
|
|
207
564
|
}>;
|
|
208
565
|
}, z.core.$strip>;
|
|
209
566
|
outputSchema: z.ZodVoid;
|
|
@@ -224,7 +581,27 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
224
581
|
inputSchema: z.ZodObject<{
|
|
225
582
|
editId: z.ZodString;
|
|
226
583
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
584
|
+
kind: z.ZodLiteral<"image">;
|
|
585
|
+
image: z.ZodObject<{
|
|
586
|
+
src: z.ZodString;
|
|
587
|
+
currentSrc: z.ZodString;
|
|
588
|
+
srcSet: z.ZodString;
|
|
589
|
+
sizes: z.ZodString;
|
|
590
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
591
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
592
|
+
srcSet: z.ZodString;
|
|
593
|
+
sizes: z.ZodString;
|
|
594
|
+
media: z.ZodString;
|
|
595
|
+
type: z.ZodString;
|
|
596
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
597
|
+
}, z.core.$strip>>;
|
|
598
|
+
}, z.core.$strip>;
|
|
599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
600
|
kind: z.ZodLiteral<"css">;
|
|
601
|
+
fontSource: z.ZodOptional<z.ZodEnum<{
|
|
602
|
+
google: "google";
|
|
603
|
+
site: "site";
|
|
604
|
+
}>>;
|
|
228
605
|
property: z.ZodString;
|
|
229
606
|
value: z.ZodNullable<z.ZodString>;
|
|
230
607
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -254,8 +631,8 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
254
631
|
inputSchema: z.ZodObject<{
|
|
255
632
|
sessionId: z.ZodString;
|
|
256
633
|
outcome: z.ZodEnum<{
|
|
257
|
-
persisted: "persisted";
|
|
258
634
|
failed: "failed";
|
|
635
|
+
persisted: "persisted";
|
|
259
636
|
}>;
|
|
260
637
|
}, z.core.$strip>;
|
|
261
638
|
outputSchema: z.ZodVoid;
|
|
@@ -286,16 +663,63 @@ export declare const websiteBuilderToCanopyMethodConfig: {
|
|
|
286
663
|
outputSchema: z.ZodVoid;
|
|
287
664
|
};
|
|
288
665
|
};
|
|
289
|
-
export declare const
|
|
666
|
+
export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
667
|
+
sectionCanvasRequest: {
|
|
668
|
+
inputSchema: z.ZodObject<{
|
|
669
|
+
request: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
670
|
+
type: z.ZodLiteral<"insert">;
|
|
671
|
+
at: z.ZodNumber;
|
|
672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
673
|
+
type: z.ZodLiteral<"move">;
|
|
674
|
+
moveId: z.ZodString;
|
|
675
|
+
index: z.ZodNumber;
|
|
676
|
+
to: z.ZodNumber;
|
|
677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
678
|
+
type: z.ZodLiteral<"remove">;
|
|
679
|
+
index: z.ZodNumber;
|
|
680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
681
|
+
type: z.ZodLiteral<"undo">;
|
|
682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
683
|
+
type: z.ZodLiteral<"redo">;
|
|
684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
685
|
+
type: z.ZodLiteral<"cancelInsert">;
|
|
686
|
+
}, z.core.$strip>], "type">;
|
|
687
|
+
}, z.core.$strip>;
|
|
688
|
+
outputSchema: z.ZodVoid;
|
|
689
|
+
};
|
|
690
|
+
sectionCanvasLayoutChanged: {
|
|
691
|
+
inputSchema: z.ZodObject<{
|
|
692
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
693
|
+
index: z.ZodNumber;
|
|
694
|
+
startLine: z.ZodNumber;
|
|
695
|
+
endLine: z.ZodNumber;
|
|
696
|
+
rect: z.ZodObject<{
|
|
697
|
+
x: z.ZodNumber;
|
|
698
|
+
y: z.ZodNumber;
|
|
699
|
+
left: z.ZodNumber;
|
|
700
|
+
top: z.ZodNumber;
|
|
701
|
+
right: z.ZodNumber;
|
|
702
|
+
bottom: z.ZodNumber;
|
|
703
|
+
width: z.ZodNumber;
|
|
704
|
+
height: z.ZodNumber;
|
|
705
|
+
}, z.core.$strip>;
|
|
706
|
+
}, z.core.$strip>>;
|
|
707
|
+
}, z.core.$strip>;
|
|
708
|
+
outputSchema: z.ZodVoid;
|
|
709
|
+
};
|
|
290
710
|
requestInlineTextEdit: {
|
|
291
711
|
inputSchema: z.ZodObject<{
|
|
292
712
|
editId: z.ZodString;
|
|
293
713
|
element: z.ZodObject<{
|
|
294
714
|
kind: z.ZodLiteral<"react-element">;
|
|
295
715
|
selector: z.ZodString;
|
|
716
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
717
|
+
selector: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>;
|
|
296
719
|
tagName: z.ZodString;
|
|
297
720
|
elementType: z.ZodString;
|
|
298
721
|
textContent: z.ZodNullable<z.ZodString>;
|
|
722
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
299
723
|
rect: z.ZodObject<{
|
|
300
724
|
x: z.ZodNumber;
|
|
301
725
|
y: z.ZodNumber;
|
|
@@ -312,6 +736,24 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
312
736
|
lineHeight: z.ZodNumber;
|
|
313
737
|
}, z.core.$strip>>;
|
|
314
738
|
outerHTML: z.ZodString;
|
|
739
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
740
|
+
src: z.ZodString;
|
|
741
|
+
currentSrc: z.ZodString;
|
|
742
|
+
srcSet: z.ZodString;
|
|
743
|
+
sizes: z.ZodString;
|
|
744
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
745
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
746
|
+
srcSet: z.ZodString;
|
|
747
|
+
sizes: z.ZodString;
|
|
748
|
+
media: z.ZodString;
|
|
749
|
+
type: z.ZodString;
|
|
750
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
751
|
+
}, z.core.$strip>>;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
754
|
+
src: z.ZodString;
|
|
755
|
+
currentSrc: z.ZodString;
|
|
756
|
+
}, z.core.$strip>>;
|
|
315
757
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
316
758
|
property: z.ZodString;
|
|
317
759
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -325,6 +767,7 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
325
767
|
raw: z.ZodString;
|
|
326
768
|
resolved: z.ZodString;
|
|
327
769
|
}, z.core.$strip>>>;
|
|
770
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
328
771
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
329
772
|
clickPosition: z.ZodObject<{
|
|
330
773
|
x: z.ZodNumber;
|
|
@@ -348,6 +791,34 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
348
791
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
349
792
|
}, z.core.$strip>>>;
|
|
350
793
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
794
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
795
|
+
type: z.ZodLiteral<"element">;
|
|
796
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
797
|
+
selector: z.ZodString;
|
|
798
|
+
nthOfTypePath: z.ZodString;
|
|
799
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
filePath: z.ZodString;
|
|
801
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
802
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
803
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
804
|
+
}, z.core.$strip>>;
|
|
805
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
806
|
+
tagName: z.ZodString;
|
|
807
|
+
textPreview: z.ZodString;
|
|
808
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
809
|
+
exact: z.ZodString;
|
|
810
|
+
prefix: z.ZodString;
|
|
811
|
+
suffix: z.ZodString;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
offset: z.ZodObject<{
|
|
814
|
+
x: z.ZodNumber;
|
|
815
|
+
y: z.ZodNumber;
|
|
816
|
+
}, z.core.$strip>;
|
|
817
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
url: z.ZodString;
|
|
819
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
820
|
+
}, z.core.$strip>>;
|
|
821
|
+
}, z.core.$strip>>;
|
|
351
822
|
}, z.core.$strip>;
|
|
352
823
|
}, z.core.$strip>;
|
|
353
824
|
outputSchema: z.ZodObject<{
|
|
@@ -362,6 +833,7 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
362
833
|
branch: z.ZodNullable<z.ZodString>;
|
|
363
834
|
commit: z.ZodNullable<z.ZodString>;
|
|
364
835
|
builtAt: z.ZodNullable<z.ZodString>;
|
|
836
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
365
837
|
}, z.core.$strip>;
|
|
366
838
|
outputSchema: z.ZodVoid;
|
|
367
839
|
};
|
|
@@ -370,9 +842,13 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
370
842
|
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
371
843
|
kind: z.ZodLiteral<"react-element">;
|
|
372
844
|
selector: z.ZodString;
|
|
845
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
846
|
+
selector: z.ZodString;
|
|
847
|
+
}, z.core.$strip>>;
|
|
373
848
|
tagName: z.ZodString;
|
|
374
849
|
elementType: z.ZodString;
|
|
375
850
|
textContent: z.ZodNullable<z.ZodString>;
|
|
851
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
376
852
|
rect: z.ZodObject<{
|
|
377
853
|
x: z.ZodNumber;
|
|
378
854
|
y: z.ZodNumber;
|
|
@@ -389,6 +865,24 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
389
865
|
lineHeight: z.ZodNumber;
|
|
390
866
|
}, z.core.$strip>>;
|
|
391
867
|
outerHTML: z.ZodString;
|
|
868
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
src: z.ZodString;
|
|
870
|
+
currentSrc: z.ZodString;
|
|
871
|
+
srcSet: z.ZodString;
|
|
872
|
+
sizes: z.ZodString;
|
|
873
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
874
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
875
|
+
srcSet: z.ZodString;
|
|
876
|
+
sizes: z.ZodString;
|
|
877
|
+
media: z.ZodString;
|
|
878
|
+
type: z.ZodString;
|
|
879
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
880
|
+
}, z.core.$strip>>;
|
|
881
|
+
}, z.core.$strip>>;
|
|
882
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
src: z.ZodString;
|
|
884
|
+
currentSrc: z.ZodString;
|
|
885
|
+
}, z.core.$strip>>;
|
|
392
886
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
393
887
|
property: z.ZodString;
|
|
394
888
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -402,6 +896,7 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
402
896
|
raw: z.ZodString;
|
|
403
897
|
resolved: z.ZodString;
|
|
404
898
|
}, z.core.$strip>>>;
|
|
899
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
405
900
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
406
901
|
clickPosition: z.ZodObject<{
|
|
407
902
|
x: z.ZodNumber;
|
|
@@ -425,6 +920,34 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
425
920
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
426
921
|
}, z.core.$strip>>>;
|
|
427
922
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
923
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
924
|
+
type: z.ZodLiteral<"element">;
|
|
925
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
926
|
+
selector: z.ZodString;
|
|
927
|
+
nthOfTypePath: z.ZodString;
|
|
928
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
filePath: z.ZodString;
|
|
930
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
931
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
932
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
933
|
+
}, z.core.$strip>>;
|
|
934
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
935
|
+
tagName: z.ZodString;
|
|
936
|
+
textPreview: z.ZodString;
|
|
937
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
exact: z.ZodString;
|
|
939
|
+
prefix: z.ZodString;
|
|
940
|
+
suffix: z.ZodString;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
offset: z.ZodObject<{
|
|
943
|
+
x: z.ZodNumber;
|
|
944
|
+
y: z.ZodNumber;
|
|
945
|
+
}, z.core.$strip>;
|
|
946
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
947
|
+
url: z.ZodString;
|
|
948
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
949
|
+
}, z.core.$strip>>;
|
|
950
|
+
}, z.core.$strip>>;
|
|
428
951
|
}, z.core.$strip>, z.ZodObject<{
|
|
429
952
|
kind: z.ZodLiteral<"plan">;
|
|
430
953
|
planId: z.ZodString;
|
|
@@ -454,6 +977,7 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
454
977
|
bottom: z.ZodNumber;
|
|
455
978
|
width: z.ZodNumber;
|
|
456
979
|
height: z.ZodNumber;
|
|
980
|
+
isSection: z.ZodOptional<z.ZodBoolean>;
|
|
457
981
|
}, z.core.$strip>>;
|
|
458
982
|
}, z.core.$strip>;
|
|
459
983
|
outputSchema: z.ZodVoid;
|
|
@@ -535,9 +1059,13 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
535
1059
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
536
1060
|
kind: z.ZodLiteral<"react-element">;
|
|
537
1061
|
selector: z.ZodString;
|
|
1062
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
1063
|
+
selector: z.ZodString;
|
|
1064
|
+
}, z.core.$strip>>;
|
|
538
1065
|
tagName: z.ZodString;
|
|
539
1066
|
elementType: z.ZodString;
|
|
540
1067
|
textContent: z.ZodNullable<z.ZodString>;
|
|
1068
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
541
1069
|
rect: z.ZodObject<{
|
|
542
1070
|
x: z.ZodNumber;
|
|
543
1071
|
y: z.ZodNumber;
|
|
@@ -554,6 +1082,24 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
554
1082
|
lineHeight: z.ZodNumber;
|
|
555
1083
|
}, z.core.$strip>>;
|
|
556
1084
|
outerHTML: z.ZodString;
|
|
1085
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1086
|
+
src: z.ZodString;
|
|
1087
|
+
currentSrc: z.ZodString;
|
|
1088
|
+
srcSet: z.ZodString;
|
|
1089
|
+
sizes: z.ZodString;
|
|
1090
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1091
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1092
|
+
srcSet: z.ZodString;
|
|
1093
|
+
sizes: z.ZodString;
|
|
1094
|
+
media: z.ZodString;
|
|
1095
|
+
type: z.ZodString;
|
|
1096
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1097
|
+
}, z.core.$strip>>;
|
|
1098
|
+
}, z.core.$strip>>;
|
|
1099
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
1100
|
+
src: z.ZodString;
|
|
1101
|
+
currentSrc: z.ZodString;
|
|
1102
|
+
}, z.core.$strip>>;
|
|
557
1103
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
558
1104
|
property: z.ZodString;
|
|
559
1105
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -567,6 +1113,7 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
567
1113
|
raw: z.ZodString;
|
|
568
1114
|
resolved: z.ZodString;
|
|
569
1115
|
}, z.core.$strip>>>;
|
|
1116
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
570
1117
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
571
1118
|
clickPosition: z.ZodObject<{
|
|
572
1119
|
x: z.ZodNumber;
|
|
@@ -590,6 +1137,34 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
590
1137
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
591
1138
|
}, z.core.$strip>>>;
|
|
592
1139
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1140
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
type: z.ZodLiteral<"element">;
|
|
1142
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
selector: z.ZodString;
|
|
1144
|
+
nthOfTypePath: z.ZodString;
|
|
1145
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1146
|
+
filePath: z.ZodString;
|
|
1147
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
1148
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1149
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
1150
|
+
}, z.core.$strip>>;
|
|
1151
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
tagName: z.ZodString;
|
|
1153
|
+
textPreview: z.ZodString;
|
|
1154
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
1155
|
+
exact: z.ZodString;
|
|
1156
|
+
prefix: z.ZodString;
|
|
1157
|
+
suffix: z.ZodString;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1159
|
+
offset: z.ZodObject<{
|
|
1160
|
+
x: z.ZodNumber;
|
|
1161
|
+
y: z.ZodNumber;
|
|
1162
|
+
}, z.core.$strip>;
|
|
1163
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1164
|
+
url: z.ZodString;
|
|
1165
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
+
}, z.core.$strip>>;
|
|
1167
|
+
}, z.core.$strip>>;
|
|
593
1168
|
}, z.core.$strip>, z.ZodObject<{
|
|
594
1169
|
kind: z.ZodLiteral<"plan">;
|
|
595
1170
|
planId: z.ZodString;
|
|
@@ -617,6 +1192,28 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
617
1192
|
}, z.core.$strip>;
|
|
618
1193
|
outputSchema: z.ZodVoid;
|
|
619
1194
|
};
|
|
1195
|
+
inlineEditFeedbackChanged: {
|
|
1196
|
+
inputSchema: z.ZodObject<{
|
|
1197
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
1198
|
+
status: z.ZodEnum<{
|
|
1199
|
+
pending: "pending";
|
|
1200
|
+
unavailable: "unavailable";
|
|
1201
|
+
failed: "failed";
|
|
1202
|
+
}>;
|
|
1203
|
+
rect: z.ZodObject<{
|
|
1204
|
+
x: z.ZodNumber;
|
|
1205
|
+
y: z.ZodNumber;
|
|
1206
|
+
left: z.ZodNumber;
|
|
1207
|
+
top: z.ZodNumber;
|
|
1208
|
+
right: z.ZodNumber;
|
|
1209
|
+
bottom: z.ZodNumber;
|
|
1210
|
+
width: z.ZodNumber;
|
|
1211
|
+
height: z.ZodNumber;
|
|
1212
|
+
}, z.core.$strip>;
|
|
1213
|
+
}, z.core.$strip>>;
|
|
1214
|
+
}, z.core.$strip>;
|
|
1215
|
+
outputSchema: z.ZodVoid;
|
|
1216
|
+
};
|
|
620
1217
|
editorStateUpdate: {
|
|
621
1218
|
inputSchema: z.ZodObject<{
|
|
622
1219
|
activeMarks: z.ZodObject<{
|
|
@@ -625,7 +1222,8 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
625
1222
|
underline: z.ZodBoolean;
|
|
626
1223
|
strike: z.ZodBoolean;
|
|
627
1224
|
}, z.core.$strip>;
|
|
628
|
-
|
|
1225
|
+
isInlineEditing: z.ZodBoolean;
|
|
1226
|
+
isInlineEditPending: z.ZodBoolean;
|
|
629
1227
|
}, z.core.$strip>;
|
|
630
1228
|
outputSchema: z.ZodVoid;
|
|
631
1229
|
};
|
|
@@ -635,68 +1233,14 @@ export declare const canopyToWebsiteBuilderMethodConfig: {
|
|
|
635
1233
|
};
|
|
636
1234
|
};
|
|
637
1235
|
export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
638
|
-
method: z.ZodLiteral<"
|
|
1236
|
+
method: z.ZodLiteral<"expandToSection">;
|
|
639
1237
|
data: z.ZodObject<{
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
textContent: z.ZodNullable<z.ZodString>;
|
|
647
|
-
rect: z.ZodObject<{
|
|
648
|
-
x: z.ZodNumber;
|
|
649
|
-
y: z.ZodNumber;
|
|
650
|
-
left: z.ZodNumber;
|
|
651
|
-
top: z.ZodNumber;
|
|
652
|
-
right: z.ZodNumber;
|
|
653
|
-
bottom: z.ZodNumber;
|
|
654
|
-
width: z.ZodNumber;
|
|
655
|
-
height: z.ZodNumber;
|
|
656
|
-
}, z.core.$strip>;
|
|
657
|
-
textMetrics: z.ZodNullable<z.ZodObject<{
|
|
658
|
-
tightWidth: z.ZodNumber;
|
|
659
|
-
lineCount: z.ZodNumber;
|
|
660
|
-
lineHeight: z.ZodNumber;
|
|
661
|
-
}, z.core.$strip>>;
|
|
662
|
-
outerHTML: z.ZodString;
|
|
663
|
-
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
664
|
-
property: z.ZodString;
|
|
665
|
-
variant: z.ZodNullable<z.ZodObject<{
|
|
666
|
-
atRules: z.ZodArray<z.ZodObject<{
|
|
667
|
-
type: z.ZodString;
|
|
668
|
-
text: z.ZodString;
|
|
669
|
-
}, z.core.$strip>>;
|
|
670
|
-
pseudo: z.ZodNullable<z.ZodString>;
|
|
671
|
-
}, z.core.$strip>>;
|
|
672
|
-
className: z.ZodNullable<z.ZodString>;
|
|
673
|
-
raw: z.ZodString;
|
|
674
|
-
resolved: z.ZodString;
|
|
675
|
-
}, z.core.$strip>>>;
|
|
676
|
-
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
677
|
-
clickPosition: z.ZodObject<{
|
|
678
|
-
x: z.ZodNumber;
|
|
679
|
-
y: z.ZodNumber;
|
|
680
|
-
}, z.core.$strip>;
|
|
681
|
-
sourceLocation: z.ZodOptional<z.ZodObject<{
|
|
682
|
-
filePath: z.ZodString;
|
|
683
|
-
lineNumber: z.ZodNumber;
|
|
684
|
-
columnNumber: z.ZodOptional<z.ZodNumber>;
|
|
685
|
-
componentName: z.ZodOptional<z.ZodString>;
|
|
686
|
-
}, z.core.$strip>>;
|
|
687
|
-
fiberChain: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
688
|
-
sourceLocation: z.ZodObject<{
|
|
689
|
-
filePath: z.ZodString;
|
|
690
|
-
lineNumber: z.ZodNumber;
|
|
691
|
-
columnNumber: z.ZodOptional<z.ZodNumber>;
|
|
692
|
-
componentName: z.ZodOptional<z.ZodString>;
|
|
693
|
-
}, z.core.$strip>;
|
|
694
|
-
tagName: z.ZodOptional<z.ZodString>;
|
|
695
|
-
componentName: z.ZodOptional<z.ZodString>;
|
|
696
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
697
|
-
}, z.core.$strip>>>;
|
|
698
|
-
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
699
|
-
}, z.core.$strip>;
|
|
1238
|
+
targetSelector: z.ZodString;
|
|
1239
|
+
}, z.core.$strip>;
|
|
1240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1241
|
+
method: z.ZodLiteral<"setSectionPreview">;
|
|
1242
|
+
data: z.ZodObject<{
|
|
1243
|
+
targetSelector: z.ZodNullable<z.ZodString>;
|
|
700
1244
|
}, z.core.$strip>;
|
|
701
1245
|
}, z.core.$strip>, z.ZodObject<{
|
|
702
1246
|
method: z.ZodLiteral<"setDisplayMode">;
|
|
@@ -704,6 +1248,7 @@ export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
704
1248
|
displayMode: z.ZodEnum<{
|
|
705
1249
|
browse: "browse";
|
|
706
1250
|
selection: "selection";
|
|
1251
|
+
comment: "comment";
|
|
707
1252
|
}>;
|
|
708
1253
|
}, z.core.$strip>;
|
|
709
1254
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -722,7 +1267,27 @@ export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
722
1267
|
data: z.ZodObject<{
|
|
723
1268
|
editId: z.ZodString;
|
|
724
1269
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1270
|
+
kind: z.ZodLiteral<"image">;
|
|
1271
|
+
image: z.ZodObject<{
|
|
1272
|
+
src: z.ZodString;
|
|
1273
|
+
currentSrc: z.ZodString;
|
|
1274
|
+
srcSet: z.ZodString;
|
|
1275
|
+
sizes: z.ZodString;
|
|
1276
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1277
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1278
|
+
srcSet: z.ZodString;
|
|
1279
|
+
sizes: z.ZodString;
|
|
1280
|
+
media: z.ZodString;
|
|
1281
|
+
type: z.ZodString;
|
|
1282
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1283
|
+
}, z.core.$strip>>;
|
|
1284
|
+
}, z.core.$strip>;
|
|
1285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
725
1286
|
kind: z.ZodLiteral<"css">;
|
|
1287
|
+
fontSource: z.ZodOptional<z.ZodEnum<{
|
|
1288
|
+
google: "google";
|
|
1289
|
+
site: "site";
|
|
1290
|
+
}>>;
|
|
726
1291
|
property: z.ZodString;
|
|
727
1292
|
value: z.ZodNullable<z.ZodString>;
|
|
728
1293
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -750,8 +1315,8 @@ export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
750
1315
|
data: z.ZodObject<{
|
|
751
1316
|
sessionId: z.ZodString;
|
|
752
1317
|
outcome: z.ZodEnum<{
|
|
753
|
-
persisted: "persisted";
|
|
754
1318
|
failed: "failed";
|
|
1319
|
+
persisted: "persisted";
|
|
755
1320
|
}>;
|
|
756
1321
|
}, z.core.$strip>;
|
|
757
1322
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -782,6 +1347,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
782
1347
|
branch: z.ZodNullable<z.ZodString>;
|
|
783
1348
|
commit: z.ZodNullable<z.ZodString>;
|
|
784
1349
|
builtAt: z.ZodNullable<z.ZodString>;
|
|
1350
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
785
1351
|
}, z.core.$strip>;
|
|
786
1352
|
}, z.core.$strip>, z.ZodObject<{
|
|
787
1353
|
method: z.ZodLiteral<"elementSelected">;
|
|
@@ -789,9 +1355,13 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
789
1355
|
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
790
1356
|
kind: z.ZodLiteral<"react-element">;
|
|
791
1357
|
selector: z.ZodString;
|
|
1358
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
1359
|
+
selector: z.ZodString;
|
|
1360
|
+
}, z.core.$strip>>;
|
|
792
1361
|
tagName: z.ZodString;
|
|
793
1362
|
elementType: z.ZodString;
|
|
794
1363
|
textContent: z.ZodNullable<z.ZodString>;
|
|
1364
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
795
1365
|
rect: z.ZodObject<{
|
|
796
1366
|
x: z.ZodNumber;
|
|
797
1367
|
y: z.ZodNumber;
|
|
@@ -808,6 +1378,24 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
808
1378
|
lineHeight: z.ZodNumber;
|
|
809
1379
|
}, z.core.$strip>>;
|
|
810
1380
|
outerHTML: z.ZodString;
|
|
1381
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1382
|
+
src: z.ZodString;
|
|
1383
|
+
currentSrc: z.ZodString;
|
|
1384
|
+
srcSet: z.ZodString;
|
|
1385
|
+
sizes: z.ZodString;
|
|
1386
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1387
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1388
|
+
srcSet: z.ZodString;
|
|
1389
|
+
sizes: z.ZodString;
|
|
1390
|
+
media: z.ZodString;
|
|
1391
|
+
type: z.ZodString;
|
|
1392
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1393
|
+
}, z.core.$strip>>;
|
|
1394
|
+
}, z.core.$strip>>;
|
|
1395
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
1396
|
+
src: z.ZodString;
|
|
1397
|
+
currentSrc: z.ZodString;
|
|
1398
|
+
}, z.core.$strip>>;
|
|
811
1399
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
812
1400
|
property: z.ZodString;
|
|
813
1401
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -821,6 +1409,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
821
1409
|
raw: z.ZodString;
|
|
822
1410
|
resolved: z.ZodString;
|
|
823
1411
|
}, z.core.$strip>>>;
|
|
1412
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
824
1413
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
825
1414
|
clickPosition: z.ZodObject<{
|
|
826
1415
|
x: z.ZodNumber;
|
|
@@ -844,6 +1433,34 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
844
1433
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
845
1434
|
}, z.core.$strip>>>;
|
|
846
1435
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1436
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1437
|
+
type: z.ZodLiteral<"element">;
|
|
1438
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
selector: z.ZodString;
|
|
1440
|
+
nthOfTypePath: z.ZodString;
|
|
1441
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
filePath: z.ZodString;
|
|
1443
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
1444
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1445
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
1446
|
+
}, z.core.$strip>>;
|
|
1447
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
tagName: z.ZodString;
|
|
1449
|
+
textPreview: z.ZodString;
|
|
1450
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
1451
|
+
exact: z.ZodString;
|
|
1452
|
+
prefix: z.ZodString;
|
|
1453
|
+
suffix: z.ZodString;
|
|
1454
|
+
}, z.core.$strip>>;
|
|
1455
|
+
offset: z.ZodObject<{
|
|
1456
|
+
x: z.ZodNumber;
|
|
1457
|
+
y: z.ZodNumber;
|
|
1458
|
+
}, z.core.$strip>;
|
|
1459
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1460
|
+
url: z.ZodString;
|
|
1461
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1462
|
+
}, z.core.$strip>>;
|
|
1463
|
+
}, z.core.$strip>>;
|
|
847
1464
|
}, z.core.$strip>, z.ZodObject<{
|
|
848
1465
|
kind: z.ZodLiteral<"plan">;
|
|
849
1466
|
planId: z.ZodString;
|
|
@@ -872,6 +1489,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
872
1489
|
bottom: z.ZodNumber;
|
|
873
1490
|
width: z.ZodNumber;
|
|
874
1491
|
height: z.ZodNumber;
|
|
1492
|
+
isSection: z.ZodOptional<z.ZodBoolean>;
|
|
875
1493
|
}, z.core.$strip>>;
|
|
876
1494
|
}, z.core.$strip>;
|
|
877
1495
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -949,9 +1567,13 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
949
1567
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
950
1568
|
kind: z.ZodLiteral<"react-element">;
|
|
951
1569
|
selector: z.ZodString;
|
|
1570
|
+
section: z.ZodOptional<z.ZodObject<{
|
|
1571
|
+
selector: z.ZodString;
|
|
1572
|
+
}, z.core.$strip>>;
|
|
952
1573
|
tagName: z.ZodString;
|
|
953
1574
|
elementType: z.ZodString;
|
|
954
1575
|
textContent: z.ZodNullable<z.ZodString>;
|
|
1576
|
+
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
955
1577
|
rect: z.ZodObject<{
|
|
956
1578
|
x: z.ZodNumber;
|
|
957
1579
|
y: z.ZodNumber;
|
|
@@ -968,6 +1590,24 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
968
1590
|
lineHeight: z.ZodNumber;
|
|
969
1591
|
}, z.core.$strip>>;
|
|
970
1592
|
outerHTML: z.ZodString;
|
|
1593
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
src: z.ZodString;
|
|
1595
|
+
currentSrc: z.ZodString;
|
|
1596
|
+
srcSet: z.ZodString;
|
|
1597
|
+
sizes: z.ZodString;
|
|
1598
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1599
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1600
|
+
srcSet: z.ZodString;
|
|
1601
|
+
sizes: z.ZodString;
|
|
1602
|
+
media: z.ZodString;
|
|
1603
|
+
type: z.ZodString;
|
|
1604
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
1605
|
+
}, z.core.$strip>>;
|
|
1606
|
+
}, z.core.$strip>>;
|
|
1607
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
1608
|
+
src: z.ZodString;
|
|
1609
|
+
currentSrc: z.ZodString;
|
|
1610
|
+
}, z.core.$strip>>;
|
|
971
1611
|
definedStyles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
972
1612
|
property: z.ZodString;
|
|
973
1613
|
variant: z.ZodNullable<z.ZodObject<{
|
|
@@ -981,6 +1621,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
981
1621
|
raw: z.ZodString;
|
|
982
1622
|
resolved: z.ZodString;
|
|
983
1623
|
}, z.core.$strip>>>;
|
|
1624
|
+
authoredStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
984
1625
|
inheritedStyles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
985
1626
|
clickPosition: z.ZodObject<{
|
|
986
1627
|
x: z.ZodNumber;
|
|
@@ -1004,6 +1645,34 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1004
1645
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1005
1646
|
}, z.core.$strip>>>;
|
|
1006
1647
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1648
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1649
|
+
type: z.ZodLiteral<"element">;
|
|
1650
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
1651
|
+
selector: z.ZodString;
|
|
1652
|
+
nthOfTypePath: z.ZodString;
|
|
1653
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1654
|
+
filePath: z.ZodString;
|
|
1655
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
1656
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1657
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
1658
|
+
}, z.core.$strip>>;
|
|
1659
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
tagName: z.ZodString;
|
|
1661
|
+
textPreview: z.ZodString;
|
|
1662
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
1663
|
+
exact: z.ZodString;
|
|
1664
|
+
prefix: z.ZodString;
|
|
1665
|
+
suffix: z.ZodString;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
1667
|
+
offset: z.ZodObject<{
|
|
1668
|
+
x: z.ZodNumber;
|
|
1669
|
+
y: z.ZodNumber;
|
|
1670
|
+
}, z.core.$strip>;
|
|
1671
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1672
|
+
url: z.ZodString;
|
|
1673
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1674
|
+
}, z.core.$strip>>;
|
|
1675
|
+
}, z.core.$strip>>;
|
|
1007
1676
|
}, z.core.$strip>, z.ZodObject<{
|
|
1008
1677
|
kind: z.ZodLiteral<"plan">;
|
|
1009
1678
|
planId: z.ZodString;
|
|
@@ -1028,6 +1697,27 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1028
1697
|
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1029
1698
|
originalInnerHTML: z.ZodString;
|
|
1030
1699
|
}, z.core.$strip>;
|
|
1700
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1701
|
+
method: z.ZodLiteral<"inlineEditFeedbackChanged">;
|
|
1702
|
+
data: z.ZodObject<{
|
|
1703
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
1704
|
+
status: z.ZodEnum<{
|
|
1705
|
+
pending: "pending";
|
|
1706
|
+
unavailable: "unavailable";
|
|
1707
|
+
failed: "failed";
|
|
1708
|
+
}>;
|
|
1709
|
+
rect: z.ZodObject<{
|
|
1710
|
+
x: z.ZodNumber;
|
|
1711
|
+
y: z.ZodNumber;
|
|
1712
|
+
left: z.ZodNumber;
|
|
1713
|
+
top: z.ZodNumber;
|
|
1714
|
+
right: z.ZodNumber;
|
|
1715
|
+
bottom: z.ZodNumber;
|
|
1716
|
+
width: z.ZodNumber;
|
|
1717
|
+
height: z.ZodNumber;
|
|
1718
|
+
}, z.core.$strip>;
|
|
1719
|
+
}, z.core.$strip>>;
|
|
1720
|
+
}, z.core.$strip>;
|
|
1031
1721
|
}, z.core.$strip>, z.ZodObject<{
|
|
1032
1722
|
method: z.ZodLiteral<"editorStateUpdate">;
|
|
1033
1723
|
data: z.ZodObject<{
|
|
@@ -1037,7 +1727,8 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1037
1727
|
underline: z.ZodBoolean;
|
|
1038
1728
|
strike: z.ZodBoolean;
|
|
1039
1729
|
}, z.core.$strip>;
|
|
1040
|
-
|
|
1730
|
+
isInlineEditing: z.ZodBoolean;
|
|
1731
|
+
isInlineEditPending: z.ZodBoolean;
|
|
1041
1732
|
}, z.core.$strip>;
|
|
1042
1733
|
}, z.core.$strip>, z.ZodObject<{
|
|
1043
1734
|
method: z.ZodLiteral<"fastRefreshComplete">;
|