@replohq/canopy-sdk 3.0.6 → 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/fonts.mjs +2 -3
- 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.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 +1 -1
- package/_vendor/schemas/designLibrary.mjs +72 -73
- package/_vendor/schemas/errors.d.ts +36 -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 +3 -1
- package/_vendor/schemas/generated/selectModeIframeRpc.d.ts +43 -0
- package/_vendor/schemas/iframeRpcChannel.d.ts +13 -1
- package/_vendor/schemas/iframeRpcChannel.mjs +167 -8
- package/_vendor/schemas/loaderKeys.mjs +0 -2
- 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 +117 -4
- package/_vendor/schemas/selectMode.mjs +4 -6
- package/_vendor/schemas/selectModeIframeRpc.d.ts +373 -1
- package/_vendor/schemas/selectModeIframeRpc.mjs +77 -9
- 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-EXI4VDHP.mjs → chunk-PQEA6P4V.mjs} +20 -3
- package/{chunk-DINXH6YP.mjs → chunk-YGLYUC6R.mjs} +18 -7
- package/money.d.ts +1 -1
- package/package.json +2 -2
- package/_vendor/replo-utils/lib/object.d.ts +0 -31
- package/_vendor/schemas/money.mjs +0 -1937
- package/chunk-HGXQNZW7.mjs +0 -38
- package/chunk-ILGEM42C.mjs +0 -21
- package/chunk-RLFL66ST.mjs +0 -242
- package/chunk-UJCSKKID.mjs +0 -23
- package/chunk-VUXOGD76.mjs +0 -206
- /package/{chunk-FNTGY7I5.mjs → chunk-JELVREEB.mjs} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "zod";
|
|
2
2
|
export declare const SELECT_MODE_SELECTABLE_ATTRIBUTE = "data-replo-selectable";
|
|
3
3
|
export declare const SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE = "data-replo-selectable-payload";
|
|
4
4
|
export declare const displayModeSchema: z.ZodEnum<{
|
|
5
5
|
browse: "browse";
|
|
6
6
|
selection: "selection";
|
|
7
|
+
comment: "comment";
|
|
7
8
|
}>;
|
|
8
9
|
export declare const selectModeInlineTextStatusSchema: z.ZodNullable<z.ZodEnum<{
|
|
9
10
|
editable: "editable";
|
|
@@ -221,6 +222,34 @@ export declare const selectedElementSchema: z.ZodObject<{
|
|
|
221
222
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
222
223
|
}, z.core.$strip>>>;
|
|
223
224
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
225
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
type: z.ZodLiteral<"element">;
|
|
227
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
228
|
+
selector: z.ZodString;
|
|
229
|
+
nthOfTypePath: z.ZodString;
|
|
230
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
filePath: z.ZodString;
|
|
232
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
233
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
237
|
+
tagName: z.ZodString;
|
|
238
|
+
textPreview: z.ZodString;
|
|
239
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
exact: z.ZodString;
|
|
241
|
+
prefix: z.ZodString;
|
|
242
|
+
suffix: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
offset: z.ZodObject<{
|
|
245
|
+
x: z.ZodNumber;
|
|
246
|
+
y: z.ZodNumber;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
url: z.ZodString;
|
|
250
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
251
|
+
}, z.core.$strip>>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
224
253
|
}, z.core.$strip>;
|
|
225
254
|
export declare const selectablePlanDataSchema: z.ZodObject<{
|
|
226
255
|
kind: z.ZodLiteral<"plan">;
|
|
@@ -239,13 +268,13 @@ export declare const selectablePlanDataSchema: z.ZodObject<{
|
|
|
239
268
|
}, z.core.$strip>;
|
|
240
269
|
export declare const selectablePlanPayloadSchema: z.ZodObject<{
|
|
241
270
|
kind: z.ZodLiteral<"plan">;
|
|
242
|
-
planId: z.ZodString;
|
|
243
271
|
label: z.ZodString;
|
|
272
|
+
planId: z.ZodString;
|
|
244
273
|
}, z.core.$strip>;
|
|
245
274
|
export declare const selectableDataPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
275
|
kind: z.ZodLiteral<"plan">;
|
|
247
|
-
planId: z.ZodString;
|
|
248
276
|
label: z.ZodString;
|
|
277
|
+
planId: z.ZodString;
|
|
249
278
|
}, z.core.$strip>], "kind">;
|
|
250
279
|
export declare const selectableDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
251
280
|
kind: z.ZodLiteral<"react-element">;
|
|
@@ -328,6 +357,34 @@ export declare const selectableDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
328
357
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
358
|
}, z.core.$strip>>>;
|
|
330
359
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
360
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
361
|
+
type: z.ZodLiteral<"element">;
|
|
362
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
363
|
+
selector: z.ZodString;
|
|
364
|
+
nthOfTypePath: z.ZodString;
|
|
365
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
filePath: z.ZodString;
|
|
367
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
368
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
372
|
+
tagName: z.ZodString;
|
|
373
|
+
textPreview: z.ZodString;
|
|
374
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
375
|
+
exact: z.ZodString;
|
|
376
|
+
prefix: z.ZodString;
|
|
377
|
+
suffix: z.ZodString;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
offset: z.ZodObject<{
|
|
380
|
+
x: z.ZodNumber;
|
|
381
|
+
y: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>;
|
|
383
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
384
|
+
url: z.ZodString;
|
|
385
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
+
}, z.core.$strip>>;
|
|
387
|
+
}, z.core.$strip>>;
|
|
331
388
|
}, z.core.$strip>, z.ZodObject<{
|
|
332
389
|
kind: z.ZodLiteral<"plan">;
|
|
333
390
|
planId: z.ZodString;
|
|
@@ -359,8 +416,8 @@ export declare function transformSelectableData({ data, offset, }: {
|
|
|
359
416
|
}): SelectableData;
|
|
360
417
|
export declare function readSelectablePayload(rawPayload: string | null): {
|
|
361
418
|
kind: "plan";
|
|
362
|
-
planId: string;
|
|
363
419
|
label: string;
|
|
420
|
+
planId: string;
|
|
364
421
|
} | null;
|
|
365
422
|
export declare const selectModeOptimisticUpdatePayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
366
423
|
kind: z.ZodLiteral<"image">;
|
|
@@ -530,6 +587,34 @@ export declare const selectModeSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
530
587
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
531
588
|
}, z.core.$strip>>>;
|
|
532
589
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
590
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
591
|
+
type: z.ZodLiteral<"element">;
|
|
592
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
593
|
+
selector: z.ZodString;
|
|
594
|
+
nthOfTypePath: z.ZodString;
|
|
595
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
filePath: z.ZodString;
|
|
597
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
598
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
599
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
600
|
+
}, z.core.$strip>>;
|
|
601
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
602
|
+
tagName: z.ZodString;
|
|
603
|
+
textPreview: z.ZodString;
|
|
604
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
605
|
+
exact: z.ZodString;
|
|
606
|
+
prefix: z.ZodString;
|
|
607
|
+
suffix: z.ZodString;
|
|
608
|
+
}, z.core.$strip>>;
|
|
609
|
+
offset: z.ZodObject<{
|
|
610
|
+
x: z.ZodNumber;
|
|
611
|
+
y: z.ZodNumber;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
614
|
+
url: z.ZodString;
|
|
615
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
616
|
+
}, z.core.$strip>>;
|
|
617
|
+
}, z.core.$strip>>;
|
|
533
618
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
619
|
kind: z.ZodLiteral<"plan">;
|
|
535
620
|
planId: z.ZodString;
|
|
@@ -638,6 +723,34 @@ export declare const selectModeSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
638
723
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
639
724
|
}, z.core.$strip>>>;
|
|
640
725
|
siblingSelectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
726
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
727
|
+
type: z.ZodLiteral<"element">;
|
|
728
|
+
semanticSelector: z.ZodOptional<z.ZodString>;
|
|
729
|
+
selector: z.ZodString;
|
|
730
|
+
nthOfTypePath: z.ZodString;
|
|
731
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
filePath: z.ZodString;
|
|
733
|
+
componentChain: z.ZodArray<z.ZodString>;
|
|
734
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
col: z.ZodOptional<z.ZodNumber>;
|
|
736
|
+
}, z.core.$strip>>;
|
|
737
|
+
listKey: z.ZodOptional<z.ZodString>;
|
|
738
|
+
tagName: z.ZodString;
|
|
739
|
+
textPreview: z.ZodString;
|
|
740
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
741
|
+
exact: z.ZodString;
|
|
742
|
+
prefix: z.ZodString;
|
|
743
|
+
suffix: z.ZodString;
|
|
744
|
+
}, z.core.$strip>>;
|
|
745
|
+
offset: z.ZodObject<{
|
|
746
|
+
x: z.ZodNumber;
|
|
747
|
+
y: z.ZodNumber;
|
|
748
|
+
}, z.core.$strip>;
|
|
749
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
750
|
+
url: z.ZodString;
|
|
751
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
}, z.core.$strip>>;
|
|
641
754
|
}, z.core.$strip>, z.ZodObject<{
|
|
642
755
|
kind: z.ZodLiteral<"plan">;
|
|
643
756
|
planId: z.ZodString;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, isSelectedSection, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeDefinedStyleSchema, selectModeFiberChainEntrySchema, selectModeFormatCommandSchema, selectModeHoverRectSchema, selectModeImageSchema, selectModeImageScopeSchema, selectModeImageSourceSchema, selectModeInlineTextStatusSchema, selectModeOptimisticUpdatePayloadSchema, selectModeSelectionRectSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeStyleAtRuleSchema, selectModeStyleVariantSchema, selectModeTextMetricsSchema, selectModeTiptapActiveMarksSchema, selectModeVideoSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData, transformSelectedElement } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-FNTGY7I5.mjs';
|
|
6
|
-
import '../../chunk-UJCSKKID.mjs';
|
|
1
|
+
export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, isSelectedSection, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeDefinedStyleSchema, selectModeFiberChainEntrySchema, selectModeFormatCommandSchema, selectModeHoverRectSchema, selectModeImageSchema, selectModeImageScopeSchema, selectModeImageSourceSchema, selectModeInlineTextStatusSchema, selectModeOptimisticUpdatePayloadSchema, selectModeSelectionRectSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeStyleAtRuleSchema, selectModeStyleVariantSchema, selectModeTextMetricsSchema, selectModeTiptapActiveMarksSchema, selectModeVideoSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData, transformSelectedElement } from '../../chunk-CJIK4NVP.mjs';
|
|
2
|
+
import '../../chunk-PQEA6P4V.mjs';
|
|
3
|
+
import '../../chunk-B7XDEXPL.mjs';
|
|
4
|
+
import '../../chunk-JELVREEB.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
export declare const inlineEditFeedbackSchema: z.ZodObject<{
|
|
@@ -25,6 +25,75 @@ export declare const iframeRuntimeBuildMetadataSchema: z.ZodObject<{
|
|
|
25
25
|
branch: z.ZodNullable<z.ZodString>;
|
|
26
26
|
commit: z.ZodNullable<z.ZodString>;
|
|
27
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>>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
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>;
|
|
28
97
|
}, z.core.$strip>;
|
|
29
98
|
export declare const selectModeEventInputSchemas: {
|
|
30
99
|
hover: z.ZodObject<{
|
|
@@ -132,6 +201,34 @@ export declare const selectModeEventInputSchemas: {
|
|
|
132
201
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
202
|
}, z.core.$strip>>>;
|
|
134
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>>;
|
|
135
232
|
}, z.core.$strip>, z.ZodObject<{
|
|
136
233
|
kind: z.ZodLiteral<"plan">;
|
|
137
234
|
planId: z.ZodString;
|
|
@@ -185,6 +282,38 @@ export declare const selectModeEventInputSchemas: {
|
|
|
185
282
|
}, z.core.$strip>;
|
|
186
283
|
};
|
|
187
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
|
+
};
|
|
188
317
|
expandToSection: {
|
|
189
318
|
inputSchema: z.ZodObject<{
|
|
190
319
|
targetSelector: z.ZodString;
|
|
@@ -279,6 +408,34 @@ export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
|
279
408
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
280
409
|
}, z.core.$strip>>>;
|
|
281
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>>;
|
|
282
439
|
}, z.core.$strip>;
|
|
283
440
|
outputSchema: z.ZodObject<{
|
|
284
441
|
kind: z.ZodLiteral<"react-element">;
|
|
@@ -361,6 +518,34 @@ export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
|
361
518
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
362
519
|
}, z.core.$strip>>>;
|
|
363
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>>;
|
|
364
549
|
}, z.core.$strip>;
|
|
365
550
|
timeoutMs: number;
|
|
366
551
|
};
|
|
@@ -375,6 +560,7 @@ export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
|
375
560
|
displayMode: z.ZodEnum<{
|
|
376
561
|
browse: "browse";
|
|
377
562
|
selection: "selection";
|
|
563
|
+
comment: "comment";
|
|
378
564
|
}>;
|
|
379
565
|
}, z.core.$strip>;
|
|
380
566
|
outputSchema: z.ZodVoid;
|
|
@@ -478,6 +664,49 @@ export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
|
478
664
|
};
|
|
479
665
|
};
|
|
480
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
|
+
};
|
|
481
710
|
requestInlineTextEdit: {
|
|
482
711
|
inputSchema: z.ZodObject<{
|
|
483
712
|
editId: z.ZodString;
|
|
@@ -562,6 +791,34 @@ export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
|
562
791
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
563
792
|
}, z.core.$strip>>>;
|
|
564
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>>;
|
|
565
822
|
}, z.core.$strip>;
|
|
566
823
|
}, z.core.$strip>;
|
|
567
824
|
outputSchema: z.ZodObject<{
|
|
@@ -576,6 +833,7 @@ export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
|
576
833
|
branch: z.ZodNullable<z.ZodString>;
|
|
577
834
|
commit: z.ZodNullable<z.ZodString>;
|
|
578
835
|
builtAt: z.ZodNullable<z.ZodString>;
|
|
836
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
579
837
|
}, z.core.$strip>;
|
|
580
838
|
outputSchema: z.ZodVoid;
|
|
581
839
|
};
|
|
@@ -662,6 +920,34 @@ export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
|
662
920
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
663
921
|
}, z.core.$strip>>>;
|
|
664
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>>;
|
|
665
951
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
952
|
kind: z.ZodLiteral<"plan">;
|
|
667
953
|
planId: z.ZodString;
|
|
@@ -851,6 +1137,34 @@ export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
|
851
1137
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
852
1138
|
}, z.core.$strip>>>;
|
|
853
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>>;
|
|
854
1168
|
}, z.core.$strip>, z.ZodObject<{
|
|
855
1169
|
kind: z.ZodLiteral<"plan">;
|
|
856
1170
|
planId: z.ZodString;
|
|
@@ -934,6 +1248,7 @@ export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
934
1248
|
displayMode: z.ZodEnum<{
|
|
935
1249
|
browse: "browse";
|
|
936
1250
|
selection: "selection";
|
|
1251
|
+
comment: "comment";
|
|
937
1252
|
}>;
|
|
938
1253
|
}, z.core.$strip>;
|
|
939
1254
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1032,6 +1347,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1032
1347
|
branch: z.ZodNullable<z.ZodString>;
|
|
1033
1348
|
commit: z.ZodNullable<z.ZodString>;
|
|
1034
1349
|
builtAt: z.ZodNullable<z.ZodString>;
|
|
1350
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1035
1351
|
}, z.core.$strip>;
|
|
1036
1352
|
}, z.core.$strip>, z.ZodObject<{
|
|
1037
1353
|
method: z.ZodLiteral<"elementSelected">;
|
|
@@ -1117,6 +1433,34 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1117
1433
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1118
1434
|
}, z.core.$strip>>>;
|
|
1119
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>>;
|
|
1120
1464
|
}, z.core.$strip>, z.ZodObject<{
|
|
1121
1465
|
kind: z.ZodLiteral<"plan">;
|
|
1122
1466
|
planId: z.ZodString;
|
|
@@ -1301,6 +1645,34 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1301
1645
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1302
1646
|
}, z.core.$strip>>>;
|
|
1303
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>>;
|
|
1304
1676
|
}, z.core.$strip>, z.ZodObject<{
|
|
1305
1677
|
kind: z.ZodLiteral<"plan">;
|
|
1306
1678
|
planId: z.ZodString;
|