@plitzi/sdk-mcp 0.38.7 → 0.38.9
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/CHANGELOG.md +204 -0
- package/README.md +9 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -3
- package/dist/modules/mcp/helpers/guide.js +37 -21
- package/dist/modules/mcp/index.d.ts +2 -2
- package/dist/modules/mcp/server.d.ts +4 -4
- package/dist/modules/mcp/server.js +10 -5
- package/dist/modules/mcp/tests/cheapMistakes.test.d.ts +1 -0
- package/dist/modules/mcp/tests/helpers.d.ts +9 -2
- package/dist/modules/mcp/tests/intents.test.d.ts +1 -0
- package/dist/modules/mcp/tests/look.test.d.ts +1 -0
- package/dist/modules/mcp/tools/apply/index.d.ts +64 -50
- package/dist/modules/mcp/tools/apply/index.js +70 -20
- package/dist/modules/mcp/tools/describeOperation.d.ts +11 -0
- package/dist/modules/mcp/tools/describeOperation.js +40 -0
- package/dist/modules/mcp/tools/describeOperation.test.d.ts +1 -0
- package/dist/modules/mcp/tools/index.d.ts +1 -6
- package/dist/modules/mcp/tools/index.js +12 -9
- package/dist/modules/mcp/tools/intents.d.ts +5 -0
- package/dist/modules/mcp/tools/intents.js +201 -0
- package/dist/modules/mcp/tools/look.d.ts +17 -0
- package/dist/modules/mcp/tools/look.js +32 -0
- package/dist/modules/mcp/tools/operations/closed.d.ts +7 -0
- package/dist/modules/mcp/tools/operations/closed.js +29 -0
- package/dist/modules/mcp/tools/operations/index.d.ts +229 -180
- package/dist/modules/mcp/tools/operations/index.js +72 -51
- package/dist/modules/mcp/tools/operations/schema/bindings/upsertBinding.d.ts +1 -1
- package/dist/modules/mcp/tools/operations/schema/interactions/upsertInteractionFlow.d.ts +1 -1
- package/dist/modules/mcp/tools/operations/schema/operations.d.ts +2 -2
- package/dist/modules/mcp/tools/operations/schema/shared.d.ts +2 -2
- package/dist/modules/mcp/tools/operations/schema/shared.js +7 -6
- package/dist/modules/mcp/tools/operations/schemaIds.js +4 -4
- package/dist/modules/mcp/tools/render.d.ts +40 -40
- package/dist/modules/mcp/tools/render.js +5 -1
- package/dist/modules/mcp/tools/shared/draftBatch.d.ts +3 -2
- package/dist/modules/mcp/tools/shared/draftBatch.js +16 -5
- package/dist/modules/mcp/tools/shared/effects.d.ts +2 -0
- package/dist/modules/mcp/tools/shared/effects.js +155 -0
- package/dist/modules/mcp/tools/shared/effects.test.d.ts +1 -0
- package/dist/modules/mcp/tools/shared/look.d.ts +32 -0
- package/dist/modules/mcp/tools/shared/look.js +128 -0
- package/dist/modules/mcp/tools/shared/normalizeOperations.d.ts +6 -0
- package/dist/modules/mcp/tools/shared/normalizeOperations.js +37 -0
- package/dist/modules/mcp/tools/shared/repeats.d.ts +13 -0
- package/dist/modules/mcp/tools/shared/repeats.js +38 -0
- package/dist/modules/mcp/tools/shared/tool.d.ts +9 -6
- package/dist/modules/mcp/tools/shared/tool.js +2 -1
- package/dist/modules/mcp/tools/shared/validator/context.d.ts +0 -1
- package/dist/modules/mcp/tools/shared/validator/elements.js +0 -1
- package/dist/modules/mcp/tools/shared/validator/index.js +25 -2
- package/dist/modules/mcp/types/screenshotTypes.d.ts +3 -3
- package/dist/modules/mcp/types/toolTypes.d.ts +2 -4
- package/dist/options.d.ts +4 -5
- package/dist/preview/createPreview.js +9 -18
- package/package.json +7 -7
- package/skills/plitzi-render/SKILL.md +8 -184
- package/skills/plitzi-render/reference/good-call.md +88 -0
- package/skills/plitzi-render/reference/interactive.md +64 -0
- package/skills/plitzi-render/reference/looks.md +29 -0
- package/dist/modules/mcp/tools/preview.d.ts +0 -1423
- package/dist/modules/mcp/tools/preview.js +0 -37
- package/dist/modules/mcp/tools/screenshot.d.ts +0 -1708
- package/dist/modules/mcp/tools/screenshot.js +0 -127
- package/dist/modules/mcp/tools/validate.d.ts +0 -1699
- package/dist/modules/mcp/tools/validate.js +0 -32
|
@@ -11,7 +11,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
11
11
|
after: "after";
|
|
12
12
|
inside: "inside";
|
|
13
13
|
}>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15
15
|
type: z.ZodLiteral<"repeatElement">;
|
|
16
16
|
pageRef: z.ZodString;
|
|
17
17
|
ref: z.ZodString;
|
|
@@ -29,7 +29,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
29
29
|
}>>;
|
|
30
30
|
template: z.ZodType<import('./schema').TemplateElement, unknown, z.core.$ZodTypeInternals<import('./schema').TemplateElement, unknown>>;
|
|
31
31
|
items: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"patchElement">;
|
|
34
34
|
pageRef: z.ZodString;
|
|
35
35
|
ref: z.ZodString;
|
|
@@ -54,11 +54,11 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
54
54
|
anchor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
motion: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
56
56
|
quiet: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
58
58
|
type: z.ZodLiteral<"deleteElement">;
|
|
59
59
|
pageRef: z.ZodString;
|
|
60
60
|
ref: z.ZodString;
|
|
61
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
62
62
|
type: z.ZodLiteral<"moveElement">;
|
|
63
63
|
pageRef: z.ZodString;
|
|
64
64
|
ref: z.ZodString;
|
|
@@ -68,7 +68,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
68
68
|
after: "after";
|
|
69
69
|
inside: "inside";
|
|
70
70
|
}>;
|
|
71
|
-
}, z.core.$
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
72
|
type: z.ZodLiteral<"upsertPage">;
|
|
73
73
|
ref: z.ZodString;
|
|
74
74
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -79,10 +79,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
79
79
|
layoutContainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
flag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
83
83
|
type: z.ZodLiteral<"deletePage">;
|
|
84
84
|
ref: z.ZodString;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
86
|
type: z.ZodLiteral<"upsertLayout">;
|
|
87
87
|
ref: z.ZodString;
|
|
88
88
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -98,19 +98,19 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
98
98
|
address: "address";
|
|
99
99
|
figure: "figure";
|
|
100
100
|
}>>;
|
|
101
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
102
102
|
type: z.ZodLiteral<"deleteLayout">;
|
|
103
103
|
ref: z.ZodString;
|
|
104
|
-
}, z.core.$
|
|
104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
105
105
|
type: z.ZodLiteral<"upsertFolder">;
|
|
106
106
|
ref: z.ZodString;
|
|
107
107
|
name: z.ZodOptional<z.ZodString>;
|
|
108
108
|
slug: z.ZodOptional<z.ZodString>;
|
|
109
109
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
-
}, z.core.$
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
111
|
type: z.ZodLiteral<"deleteFolder">;
|
|
112
112
|
ref: z.ZodString;
|
|
113
|
-
}, z.core.$
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
114
|
type: z.ZodLiteral<"upsertVariable">;
|
|
115
115
|
name: z.ZodString;
|
|
116
116
|
variableType: z.ZodString;
|
|
@@ -120,10 +120,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
120
120
|
when: z.ZodUnknown;
|
|
121
121
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
122
122
|
}, z.core.$strip>>>;
|
|
123
|
-
}, z.core.$
|
|
123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
124
124
|
type: z.ZodLiteral<"deleteVariable">;
|
|
125
125
|
name: z.ZodString;
|
|
126
|
-
}, z.core.$
|
|
126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127
127
|
type: z.ZodLiteral<"upsertFlag">;
|
|
128
128
|
name: z.ZodString;
|
|
129
129
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -132,10 +132,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
132
132
|
when: z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>;
|
|
133
133
|
value: z.ZodBoolean;
|
|
134
134
|
}, z.core.$strip>>>;
|
|
135
|
-
}, z.core.$
|
|
135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
136
|
type: z.ZodLiteral<"deleteFlag">;
|
|
137
137
|
name: z.ZodString;
|
|
138
|
-
}, z.core.$
|
|
138
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
139
139
|
type: z.ZodLiteral<"upsertBinding">;
|
|
140
140
|
pageRef: z.ZodString;
|
|
141
141
|
ref: z.ZodString;
|
|
@@ -155,8 +155,8 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
155
155
|
}, z.core.$strip>>>;
|
|
156
156
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
157
157
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
}, z.core.$
|
|
159
|
-
}, z.core.$
|
|
158
|
+
}, z.core.$strict>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
160
|
type: z.ZodLiteral<"patchBinding">;
|
|
161
161
|
pageRef: z.ZodString;
|
|
162
162
|
ref: z.ZodString;
|
|
@@ -175,7 +175,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
175
175
|
}, z.core.$strip>>>;
|
|
176
176
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
177
177
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
-
}, z.core.$
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
179
|
type: z.ZodLiteral<"deleteBinding">;
|
|
180
180
|
pageRef: z.ZodString;
|
|
181
181
|
ref: z.ZodString;
|
|
@@ -186,7 +186,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
186
186
|
}>;
|
|
187
187
|
to: z.ZodString;
|
|
188
188
|
id: z.ZodOptional<z.ZodString>;
|
|
189
|
-
}, z.core.$
|
|
189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
190
190
|
type: z.ZodLiteral<"upsertInteractionFlow">;
|
|
191
191
|
pageRef: z.ZodString;
|
|
192
192
|
ref: z.ZodString;
|
|
@@ -212,8 +212,8 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
212
212
|
}>>;
|
|
213
213
|
elementId: z.ZodOptional<z.ZodString>;
|
|
214
214
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
215
|
-
}, z.core.$
|
|
216
|
-
}, z.core.$
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
217
|
type: z.ZodLiteral<"patchInteractionNode">;
|
|
218
218
|
pageRef: z.ZodString;
|
|
219
219
|
ref: z.ZodString;
|
|
@@ -231,13 +231,13 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
231
231
|
}>>;
|
|
232
232
|
elementId: z.ZodOptional<z.ZodString>;
|
|
233
233
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
234
|
-
}, z.core.$
|
|
234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
235
235
|
type: z.ZodLiteral<"deleteInteraction">;
|
|
236
236
|
pageRef: z.ZodString;
|
|
237
237
|
ref: z.ZodString;
|
|
238
238
|
flowId: z.ZodOptional<z.ZodString>;
|
|
239
239
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
240
|
-
}, z.core.$
|
|
240
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
241
241
|
type: z.ZodLiteral<"patchSettings">;
|
|
242
242
|
customCss: z.ZodOptional<z.ZodString>;
|
|
243
243
|
notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
@@ -285,7 +285,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
285
285
|
}>>;
|
|
286
286
|
presence: z.ZodOptional<z.ZodBoolean>;
|
|
287
287
|
}, z.core.$strip>>>>;
|
|
288
|
-
}, z.core.$
|
|
288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
289
289
|
type: z.ZodLiteral<"upsertComponent">;
|
|
290
290
|
ref: z.ZodString;
|
|
291
291
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -293,10 +293,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
293
293
|
slots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
294
294
|
fromRef: z.ZodOptional<z.ZodString>;
|
|
295
295
|
instanceRef: z.ZodOptional<z.ZodString>;
|
|
296
|
-
}, z.core.$
|
|
296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
297
297
|
type: z.ZodLiteral<"deleteComponent">;
|
|
298
298
|
ref: z.ZodString;
|
|
299
|
-
}, z.core.$
|
|
299
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
300
300
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
301
301
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
302
302
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -447,7 +447,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
447
447
|
}, z.core.$strip>>>;
|
|
448
448
|
type: z.ZodLiteral<"upsertDefinition">;
|
|
449
449
|
ref: z.ZodString;
|
|
450
|
-
}, z.core.$
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
451
|
type: z.ZodLiteral<"upsertDefinitions">;
|
|
452
452
|
definitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
453
453
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -599,7 +599,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
599
599
|
}, z.core.$strip>>>;
|
|
600
600
|
}, z.core.$strip>>>;
|
|
601
601
|
}, z.core.$strip>>;
|
|
602
|
-
}, z.core.$
|
|
602
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
603
603
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
604
604
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
605
605
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -750,10 +750,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
750
750
|
}, z.core.$strip>>>;
|
|
751
751
|
type: z.ZodLiteral<"patchDefinition">;
|
|
752
752
|
ref: z.ZodString;
|
|
753
|
-
}, z.core.$
|
|
753
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
754
754
|
type: z.ZodLiteral<"deleteDefinition">;
|
|
755
755
|
ref: z.ZodString;
|
|
756
|
-
}, z.core.$
|
|
756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
757
757
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
758
758
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
759
759
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -904,7 +904,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
904
904
|
}, z.core.$strip>>>;
|
|
905
905
|
type: z.ZodLiteral<"upsertGlobalStyle">;
|
|
906
906
|
componentType: z.ZodString;
|
|
907
|
-
}, z.core.$
|
|
907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
908
908
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
909
909
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
910
910
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -1055,10 +1055,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1055
1055
|
}, z.core.$strip>>>;
|
|
1056
1056
|
type: z.ZodLiteral<"patchGlobalStyle">;
|
|
1057
1057
|
componentType: z.ZodString;
|
|
1058
|
-
}, z.core.$
|
|
1058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1059
1059
|
type: z.ZodLiteral<"deleteGlobalStyle">;
|
|
1060
1060
|
componentType: z.ZodString;
|
|
1061
|
-
}, z.core.$
|
|
1061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1062
1062
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1063
1063
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1064
1064
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -1209,7 +1209,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1209
1209
|
}, z.core.$strip>>>;
|
|
1210
1210
|
type: z.ZodLiteral<"upsertIdStyle">;
|
|
1211
1211
|
targetId: z.ZodString;
|
|
1212
|
-
}, z.core.$
|
|
1212
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1213
1213
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
1214
1214
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
1215
1215
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -1360,10 +1360,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1360
1360
|
}, z.core.$strip>>>;
|
|
1361
1361
|
type: z.ZodLiteral<"patchIdStyle">;
|
|
1362
1362
|
targetId: z.ZodString;
|
|
1363
|
-
}, z.core.$
|
|
1363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1364
1364
|
type: z.ZodLiteral<"deleteIdStyle">;
|
|
1365
1365
|
targetId: z.ZodString;
|
|
1366
|
-
}, z.core.$
|
|
1366
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1367
1367
|
type: z.ZodLiteral<"upsertStyleVariable">;
|
|
1368
1368
|
category: z.ZodEnum<{
|
|
1369
1369
|
color: "color";
|
|
@@ -1377,7 +1377,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1377
1377
|
dark: z.ZodOptional<z.ZodString>;
|
|
1378
1378
|
default: z.ZodOptional<z.ZodString>;
|
|
1379
1379
|
}, z.core.$strip>]>;
|
|
1380
|
-
}, z.core.$
|
|
1380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1381
1381
|
type: z.ZodLiteral<"deleteStyleVariable">;
|
|
1382
1382
|
category: z.ZodEnum<{
|
|
1383
1383
|
color: "color";
|
|
@@ -1386,7 +1386,7 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1386
1386
|
custom: "custom";
|
|
1387
1387
|
}>;
|
|
1388
1388
|
name: z.ZodString;
|
|
1389
|
-
}, z.core.$
|
|
1389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1390
1390
|
type: z.ZodLiteral<"upsertFont">;
|
|
1391
1391
|
family: z.ZodString;
|
|
1392
1392
|
source: z.ZodEnum<{
|
|
@@ -1415,10 +1415,10 @@ export declare const documentOperation: z.ZodDiscriminatedUnion<readonly [z.ZodO
|
|
|
1415
1415
|
url: z.ZodOptional<z.ZodString>;
|
|
1416
1416
|
path: z.ZodOptional<z.ZodString>;
|
|
1417
1417
|
}, z.core.$strip>>>;
|
|
1418
|
-
}, z.core.$
|
|
1418
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1419
1419
|
type: z.ZodLiteral<"deleteFont">;
|
|
1420
1420
|
family: z.ZodString;
|
|
1421
|
-
}, z.core.$
|
|
1421
|
+
}, z.core.$strict>], "type">;
|
|
1422
1422
|
export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1423
1423
|
type: z.ZodLiteral<"upsertElement">;
|
|
1424
1424
|
pageRef: z.ZodString;
|
|
@@ -1429,7 +1429,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1429
1429
|
after: "after";
|
|
1430
1430
|
inside: "inside";
|
|
1431
1431
|
}>>;
|
|
1432
|
-
}, z.core.$
|
|
1432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1433
1433
|
type: z.ZodLiteral<"repeatElement">;
|
|
1434
1434
|
pageRef: z.ZodString;
|
|
1435
1435
|
ref: z.ZodString;
|
|
@@ -1447,7 +1447,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1447
1447
|
}>>;
|
|
1448
1448
|
template: z.ZodType<import('./schema').TemplateElement, unknown, z.core.$ZodTypeInternals<import('./schema').TemplateElement, unknown>>;
|
|
1449
1449
|
items: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1450
|
-
}, z.core.$
|
|
1450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1451
1451
|
type: z.ZodLiteral<"patchElement">;
|
|
1452
1452
|
pageRef: z.ZodString;
|
|
1453
1453
|
ref: z.ZodString;
|
|
@@ -1472,11 +1472,11 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1472
1472
|
anchor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1473
1473
|
motion: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1474
1474
|
quiet: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1475
|
-
}, z.core.$
|
|
1475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1476
1476
|
type: z.ZodLiteral<"deleteElement">;
|
|
1477
1477
|
pageRef: z.ZodString;
|
|
1478
1478
|
ref: z.ZodString;
|
|
1479
|
-
}, z.core.$
|
|
1479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1480
1480
|
type: z.ZodLiteral<"moveElement">;
|
|
1481
1481
|
pageRef: z.ZodString;
|
|
1482
1482
|
ref: z.ZodString;
|
|
@@ -1486,7 +1486,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1486
1486
|
after: "after";
|
|
1487
1487
|
inside: "inside";
|
|
1488
1488
|
}>;
|
|
1489
|
-
}, z.core.$
|
|
1489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1490
1490
|
type: z.ZodLiteral<"upsertPage">;
|
|
1491
1491
|
ref: z.ZodString;
|
|
1492
1492
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1497,10 +1497,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1497
1497
|
layoutContainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1498
1498
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1499
1499
|
flag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1500
|
-
}, z.core.$
|
|
1500
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1501
1501
|
type: z.ZodLiteral<"deletePage">;
|
|
1502
1502
|
ref: z.ZodString;
|
|
1503
|
-
}, z.core.$
|
|
1503
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1504
1504
|
type: z.ZodLiteral<"upsertLayout">;
|
|
1505
1505
|
ref: z.ZodString;
|
|
1506
1506
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1516,19 +1516,19 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1516
1516
|
address: "address";
|
|
1517
1517
|
figure: "figure";
|
|
1518
1518
|
}>>;
|
|
1519
|
-
}, z.core.$
|
|
1519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1520
1520
|
type: z.ZodLiteral<"deleteLayout">;
|
|
1521
1521
|
ref: z.ZodString;
|
|
1522
|
-
}, z.core.$
|
|
1522
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1523
1523
|
type: z.ZodLiteral<"upsertFolder">;
|
|
1524
1524
|
ref: z.ZodString;
|
|
1525
1525
|
name: z.ZodOptional<z.ZodString>;
|
|
1526
1526
|
slug: z.ZodOptional<z.ZodString>;
|
|
1527
1527
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1528
|
-
}, z.core.$
|
|
1528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1529
1529
|
type: z.ZodLiteral<"deleteFolder">;
|
|
1530
1530
|
ref: z.ZodString;
|
|
1531
|
-
}, z.core.$
|
|
1531
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1532
1532
|
type: z.ZodLiteral<"upsertVariable">;
|
|
1533
1533
|
name: z.ZodString;
|
|
1534
1534
|
variableType: z.ZodString;
|
|
@@ -1538,10 +1538,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1538
1538
|
when: z.ZodUnknown;
|
|
1539
1539
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1540
1540
|
}, z.core.$strip>>>;
|
|
1541
|
-
}, z.core.$
|
|
1541
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1542
1542
|
type: z.ZodLiteral<"deleteVariable">;
|
|
1543
1543
|
name: z.ZodString;
|
|
1544
|
-
}, z.core.$
|
|
1544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1545
1545
|
type: z.ZodLiteral<"upsertFlag">;
|
|
1546
1546
|
name: z.ZodString;
|
|
1547
1547
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1550,10 +1550,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1550
1550
|
when: z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>;
|
|
1551
1551
|
value: z.ZodBoolean;
|
|
1552
1552
|
}, z.core.$strip>>>;
|
|
1553
|
-
}, z.core.$
|
|
1553
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1554
1554
|
type: z.ZodLiteral<"deleteFlag">;
|
|
1555
1555
|
name: z.ZodString;
|
|
1556
|
-
}, z.core.$
|
|
1556
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1557
1557
|
type: z.ZodLiteral<"upsertBinding">;
|
|
1558
1558
|
pageRef: z.ZodString;
|
|
1559
1559
|
ref: z.ZodString;
|
|
@@ -1573,8 +1573,8 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1573
1573
|
}, z.core.$strip>>>;
|
|
1574
1574
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
1575
1575
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1576
|
-
}, z.core.$
|
|
1577
|
-
}, z.core.$
|
|
1576
|
+
}, z.core.$strict>;
|
|
1577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1578
1578
|
type: z.ZodLiteral<"patchBinding">;
|
|
1579
1579
|
pageRef: z.ZodString;
|
|
1580
1580
|
ref: z.ZodString;
|
|
@@ -1593,7 +1593,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1593
1593
|
}, z.core.$strip>>>;
|
|
1594
1594
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
1595
1595
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1596
|
-
}, z.core.$
|
|
1596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1597
1597
|
type: z.ZodLiteral<"deleteBinding">;
|
|
1598
1598
|
pageRef: z.ZodString;
|
|
1599
1599
|
ref: z.ZodString;
|
|
@@ -1604,7 +1604,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1604
1604
|
}>;
|
|
1605
1605
|
to: z.ZodString;
|
|
1606
1606
|
id: z.ZodOptional<z.ZodString>;
|
|
1607
|
-
}, z.core.$
|
|
1607
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1608
1608
|
type: z.ZodLiteral<"upsertInteractionFlow">;
|
|
1609
1609
|
pageRef: z.ZodString;
|
|
1610
1610
|
ref: z.ZodString;
|
|
@@ -1630,8 +1630,8 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1630
1630
|
}>>;
|
|
1631
1631
|
elementId: z.ZodOptional<z.ZodString>;
|
|
1632
1632
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1633
|
-
}, z.core.$
|
|
1634
|
-
}, z.core.$
|
|
1633
|
+
}, z.core.$strict>>;
|
|
1634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1635
1635
|
type: z.ZodLiteral<"patchInteractionNode">;
|
|
1636
1636
|
pageRef: z.ZodString;
|
|
1637
1637
|
ref: z.ZodString;
|
|
@@ -1649,13 +1649,13 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1649
1649
|
}>>;
|
|
1650
1650
|
elementId: z.ZodOptional<z.ZodString>;
|
|
1651
1651
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1652
|
-
}, z.core.$
|
|
1652
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1653
1653
|
type: z.ZodLiteral<"deleteInteraction">;
|
|
1654
1654
|
pageRef: z.ZodString;
|
|
1655
1655
|
ref: z.ZodString;
|
|
1656
1656
|
flowId: z.ZodOptional<z.ZodString>;
|
|
1657
1657
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
1658
|
-
}, z.core.$
|
|
1658
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1659
1659
|
type: z.ZodLiteral<"patchSettings">;
|
|
1660
1660
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1661
1661
|
notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
@@ -1703,7 +1703,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1703
1703
|
}>>;
|
|
1704
1704
|
presence: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1705
|
}, z.core.$strip>>>>;
|
|
1706
|
-
}, z.core.$
|
|
1706
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1707
1707
|
type: z.ZodLiteral<"upsertComponent">;
|
|
1708
1708
|
ref: z.ZodString;
|
|
1709
1709
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1711,10 +1711,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1711
1711
|
slots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1712
1712
|
fromRef: z.ZodOptional<z.ZodString>;
|
|
1713
1713
|
instanceRef: z.ZodOptional<z.ZodString>;
|
|
1714
|
-
}, z.core.$
|
|
1714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1715
1715
|
type: z.ZodLiteral<"deleteComponent">;
|
|
1716
1716
|
ref: z.ZodString;
|
|
1717
|
-
}, z.core.$
|
|
1717
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1718
1718
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1719
1719
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1720
1720
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -1865,7 +1865,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1865
1865
|
}, z.core.$strip>>>;
|
|
1866
1866
|
type: z.ZodLiteral<"upsertDefinition">;
|
|
1867
1867
|
ref: z.ZodString;
|
|
1868
|
-
}, z.core.$
|
|
1868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1869
1869
|
type: z.ZodLiteral<"upsertDefinitions">;
|
|
1870
1870
|
definitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1871
1871
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -2017,7 +2017,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2017
2017
|
}, z.core.$strip>>>;
|
|
2018
2018
|
}, z.core.$strip>>>;
|
|
2019
2019
|
}, z.core.$strip>>;
|
|
2020
|
-
}, z.core.$
|
|
2020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2021
2021
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2022
2022
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2023
2023
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -2168,10 +2168,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2168
2168
|
}, z.core.$strip>>>;
|
|
2169
2169
|
type: z.ZodLiteral<"patchDefinition">;
|
|
2170
2170
|
ref: z.ZodString;
|
|
2171
|
-
}, z.core.$
|
|
2171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2172
2172
|
type: z.ZodLiteral<"deleteDefinition">;
|
|
2173
2173
|
ref: z.ZodString;
|
|
2174
|
-
}, z.core.$
|
|
2174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2175
2175
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2176
2176
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2177
2177
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -2322,7 +2322,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2322
2322
|
}, z.core.$strip>>>;
|
|
2323
2323
|
type: z.ZodLiteral<"upsertGlobalStyle">;
|
|
2324
2324
|
componentType: z.ZodString;
|
|
2325
|
-
}, z.core.$
|
|
2325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2326
2326
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2327
2327
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2328
2328
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -2473,10 +2473,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2473
2473
|
}, z.core.$strip>>>;
|
|
2474
2474
|
type: z.ZodLiteral<"patchGlobalStyle">;
|
|
2475
2475
|
componentType: z.ZodString;
|
|
2476
|
-
}, z.core.$
|
|
2476
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2477
2477
|
type: z.ZodLiteral<"deleteGlobalStyle">;
|
|
2478
2478
|
componentType: z.ZodString;
|
|
2479
|
-
}, z.core.$
|
|
2479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2480
2480
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2481
2481
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2482
2482
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -2627,7 +2627,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2627
2627
|
}, z.core.$strip>>>;
|
|
2628
2628
|
type: z.ZodLiteral<"upsertIdStyle">;
|
|
2629
2629
|
targetId: z.ZodString;
|
|
2630
|
-
}, z.core.$
|
|
2630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2631
2631
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2632
2632
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
2633
2633
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -2778,10 +2778,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2778
2778
|
}, z.core.$strip>>>;
|
|
2779
2779
|
type: z.ZodLiteral<"patchIdStyle">;
|
|
2780
2780
|
targetId: z.ZodString;
|
|
2781
|
-
}, z.core.$
|
|
2781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2782
2782
|
type: z.ZodLiteral<"deleteIdStyle">;
|
|
2783
2783
|
targetId: z.ZodString;
|
|
2784
|
-
}, z.core.$
|
|
2784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2785
2785
|
type: z.ZodLiteral<"upsertStyleVariable">;
|
|
2786
2786
|
category: z.ZodEnum<{
|
|
2787
2787
|
color: "color";
|
|
@@ -2795,7 +2795,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2795
2795
|
dark: z.ZodOptional<z.ZodString>;
|
|
2796
2796
|
default: z.ZodOptional<z.ZodString>;
|
|
2797
2797
|
}, z.core.$strip>]>;
|
|
2798
|
-
}, z.core.$
|
|
2798
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2799
2799
|
type: z.ZodLiteral<"deleteStyleVariable">;
|
|
2800
2800
|
category: z.ZodEnum<{
|
|
2801
2801
|
color: "color";
|
|
@@ -2804,7 +2804,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2804
2804
|
custom: "custom";
|
|
2805
2805
|
}>;
|
|
2806
2806
|
name: z.ZodString;
|
|
2807
|
-
}, z.core.$
|
|
2807
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2808
2808
|
type: z.ZodLiteral<"upsertFont">;
|
|
2809
2809
|
family: z.ZodString;
|
|
2810
2810
|
source: z.ZodEnum<{
|
|
@@ -2833,10 +2833,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2833
2833
|
url: z.ZodOptional<z.ZodString>;
|
|
2834
2834
|
path: z.ZodOptional<z.ZodString>;
|
|
2835
2835
|
}, z.core.$strip>>>;
|
|
2836
|
-
}, z.core.$
|
|
2836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2837
2837
|
type: z.ZodLiteral<"deleteFont">;
|
|
2838
2838
|
family: z.ZodString;
|
|
2839
|
-
}, z.core.$
|
|
2839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2840
2840
|
type: z.ZodLiteral<"upsertConnector">;
|
|
2841
2841
|
ref: z.ZodString;
|
|
2842
2842
|
name: z.ZodString;
|
|
@@ -2924,7 +2924,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2924
2924
|
}, z.core.$strip>>;
|
|
2925
2925
|
}, z.core.$strip>>>;
|
|
2926
2926
|
}, z.core.$strip>;
|
|
2927
|
-
}, z.core.$
|
|
2927
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2928
2928
|
type: z.ZodLiteral<"patchConnector">;
|
|
2929
2929
|
ref: z.ZodString;
|
|
2930
2930
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3012,10 +3012,10 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3012
3012
|
}, z.core.$strip>>;
|
|
3013
3013
|
}, z.core.$strip>>>>;
|
|
3014
3014
|
}, z.core.$strip>>;
|
|
3015
|
-
}, z.core.$
|
|
3015
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3016
3016
|
type: z.ZodLiteral<"deleteConnector">;
|
|
3017
3017
|
ref: z.ZodString;
|
|
3018
|
-
}, z.core.$
|
|
3018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3019
3019
|
type: z.ZodLiteral<"upsertAction">;
|
|
3020
3020
|
ref: z.ZodString;
|
|
3021
3021
|
name: z.ZodString;
|
|
@@ -3054,7 +3054,7 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3054
3054
|
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
3055
3055
|
maxRequests: z.ZodOptional<z.ZodNumber>;
|
|
3056
3056
|
}, z.core.$strip>>;
|
|
3057
|
-
}, z.core.$
|
|
3057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3058
3058
|
type: z.ZodLiteral<"patchAction">;
|
|
3059
3059
|
ref: z.ZodString;
|
|
3060
3060
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3093,24 +3093,24 @@ export declare const operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3093
3093
|
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
3094
3094
|
maxRequests: z.ZodOptional<z.ZodNumber>;
|
|
3095
3095
|
}, z.core.$strip>>;
|
|
3096
|
-
}, z.core.$
|
|
3096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3097
3097
|
type: z.ZodLiteral<"deleteAction">;
|
|
3098
3098
|
ref: z.ZodString;
|
|
3099
|
-
}, z.core.$
|
|
3099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3100
3100
|
type: z.ZodLiteral<"upsertFunctionFile">;
|
|
3101
3101
|
path: z.ZodString;
|
|
3102
3102
|
content: z.ZodString;
|
|
3103
|
-
}, z.core.$
|
|
3103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3104
3104
|
type: z.ZodLiteral<"deleteFunctionFile">;
|
|
3105
3105
|
path: z.ZodString;
|
|
3106
|
-
}, z.core.$
|
|
3106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3107
3107
|
type: z.ZodLiteral<"upsertDataFile">;
|
|
3108
3108
|
path: z.ZodString;
|
|
3109
3109
|
content: z.ZodString;
|
|
3110
|
-
}, z.core.$
|
|
3110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3111
3111
|
type: z.ZodLiteral<"deleteDataFile">;
|
|
3112
3112
|
path: z.ZodString;
|
|
3113
|
-
}, z.core.$
|
|
3113
|
+
}, z.core.$strict>], "type">;
|
|
3114
3114
|
export type Operation = z.infer<typeof operation>;
|
|
3115
3115
|
export type OperationType = Operation['type'];
|
|
3116
3116
|
export declare const isStyleOp: (type: OperationType) => boolean;
|
|
@@ -3126,7 +3126,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3126
3126
|
after: "after";
|
|
3127
3127
|
inside: "inside";
|
|
3128
3128
|
}>>;
|
|
3129
|
-
}, z.core.$
|
|
3129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3130
3130
|
type: z.ZodLiteral<"repeatElement">;
|
|
3131
3131
|
pageRef: z.ZodString;
|
|
3132
3132
|
ref: z.ZodString;
|
|
@@ -3144,7 +3144,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3144
3144
|
}>>;
|
|
3145
3145
|
template: z.ZodType<import('./schema').TemplateElement, unknown, z.core.$ZodTypeInternals<import('./schema').TemplateElement, unknown>>;
|
|
3146
3146
|
items: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3147
|
-
}, z.core.$
|
|
3147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3148
3148
|
type: z.ZodLiteral<"patchElement">;
|
|
3149
3149
|
pageRef: z.ZodString;
|
|
3150
3150
|
ref: z.ZodString;
|
|
@@ -3169,11 +3169,11 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3169
3169
|
anchor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3170
3170
|
motion: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3171
3171
|
quiet: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
3172
|
-
}, z.core.$
|
|
3172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3173
3173
|
type: z.ZodLiteral<"deleteElement">;
|
|
3174
3174
|
pageRef: z.ZodString;
|
|
3175
3175
|
ref: z.ZodString;
|
|
3176
|
-
}, z.core.$
|
|
3176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3177
3177
|
type: z.ZodLiteral<"moveElement">;
|
|
3178
3178
|
pageRef: z.ZodString;
|
|
3179
3179
|
ref: z.ZodString;
|
|
@@ -3183,7 +3183,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3183
3183
|
after: "after";
|
|
3184
3184
|
inside: "inside";
|
|
3185
3185
|
}>;
|
|
3186
|
-
}, z.core.$
|
|
3186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3187
3187
|
type: z.ZodLiteral<"upsertPage">;
|
|
3188
3188
|
ref: z.ZodString;
|
|
3189
3189
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3194,10 +3194,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3194
3194
|
layoutContainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3195
3195
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3196
3196
|
flag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3197
|
-
}, z.core.$
|
|
3197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3198
3198
|
type: z.ZodLiteral<"deletePage">;
|
|
3199
3199
|
ref: z.ZodString;
|
|
3200
|
-
}, z.core.$
|
|
3200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3201
3201
|
type: z.ZodLiteral<"upsertLayout">;
|
|
3202
3202
|
ref: z.ZodString;
|
|
3203
3203
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3213,19 +3213,19 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3213
3213
|
address: "address";
|
|
3214
3214
|
figure: "figure";
|
|
3215
3215
|
}>>;
|
|
3216
|
-
}, z.core.$
|
|
3216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3217
3217
|
type: z.ZodLiteral<"deleteLayout">;
|
|
3218
3218
|
ref: z.ZodString;
|
|
3219
|
-
}, z.core.$
|
|
3219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3220
3220
|
type: z.ZodLiteral<"upsertFolder">;
|
|
3221
3221
|
ref: z.ZodString;
|
|
3222
3222
|
name: z.ZodOptional<z.ZodString>;
|
|
3223
3223
|
slug: z.ZodOptional<z.ZodString>;
|
|
3224
3224
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3225
|
-
}, z.core.$
|
|
3225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3226
3226
|
type: z.ZodLiteral<"deleteFolder">;
|
|
3227
3227
|
ref: z.ZodString;
|
|
3228
|
-
}, z.core.$
|
|
3228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3229
3229
|
type: z.ZodLiteral<"upsertVariable">;
|
|
3230
3230
|
name: z.ZodString;
|
|
3231
3231
|
variableType: z.ZodString;
|
|
@@ -3235,10 +3235,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3235
3235
|
when: z.ZodUnknown;
|
|
3236
3236
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3237
3237
|
}, z.core.$strip>>>;
|
|
3238
|
-
}, z.core.$
|
|
3238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3239
3239
|
type: z.ZodLiteral<"deleteVariable">;
|
|
3240
3240
|
name: z.ZodString;
|
|
3241
|
-
}, z.core.$
|
|
3241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3242
3242
|
type: z.ZodLiteral<"upsertFlag">;
|
|
3243
3243
|
name: z.ZodString;
|
|
3244
3244
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -3247,10 +3247,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3247
3247
|
when: z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>;
|
|
3248
3248
|
value: z.ZodBoolean;
|
|
3249
3249
|
}, z.core.$strip>>>;
|
|
3250
|
-
}, z.core.$
|
|
3250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3251
3251
|
type: z.ZodLiteral<"deleteFlag">;
|
|
3252
3252
|
name: z.ZodString;
|
|
3253
|
-
}, z.core.$
|
|
3253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3254
3254
|
type: z.ZodLiteral<"upsertBinding">;
|
|
3255
3255
|
pageRef: z.ZodString;
|
|
3256
3256
|
ref: z.ZodString;
|
|
@@ -3270,8 +3270,8 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3270
3270
|
}, z.core.$strip>>>;
|
|
3271
3271
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
3272
3272
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3273
|
-
}, z.core.$
|
|
3274
|
-
}, z.core.$
|
|
3273
|
+
}, z.core.$strict>;
|
|
3274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3275
3275
|
type: z.ZodLiteral<"patchBinding">;
|
|
3276
3276
|
pageRef: z.ZodString;
|
|
3277
3277
|
ref: z.ZodString;
|
|
@@ -3290,7 +3290,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3290
3290
|
}, z.core.$strip>>>;
|
|
3291
3291
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
3292
3292
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3293
|
-
}, z.core.$
|
|
3293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3294
3294
|
type: z.ZodLiteral<"deleteBinding">;
|
|
3295
3295
|
pageRef: z.ZodString;
|
|
3296
3296
|
ref: z.ZodString;
|
|
@@ -3301,7 +3301,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3301
3301
|
}>;
|
|
3302
3302
|
to: z.ZodString;
|
|
3303
3303
|
id: z.ZodOptional<z.ZodString>;
|
|
3304
|
-
}, z.core.$
|
|
3304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3305
3305
|
type: z.ZodLiteral<"upsertInteractionFlow">;
|
|
3306
3306
|
pageRef: z.ZodString;
|
|
3307
3307
|
ref: z.ZodString;
|
|
@@ -3327,8 +3327,8 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3327
3327
|
}>>;
|
|
3328
3328
|
elementId: z.ZodOptional<z.ZodString>;
|
|
3329
3329
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3330
|
-
}, z.core.$
|
|
3331
|
-
}, z.core.$
|
|
3330
|
+
}, z.core.$strict>>;
|
|
3331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3332
3332
|
type: z.ZodLiteral<"patchInteractionNode">;
|
|
3333
3333
|
pageRef: z.ZodString;
|
|
3334
3334
|
ref: z.ZodString;
|
|
@@ -3346,13 +3346,13 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3346
3346
|
}>>;
|
|
3347
3347
|
elementId: z.ZodOptional<z.ZodString>;
|
|
3348
3348
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3349
|
-
}, z.core.$
|
|
3349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3350
3350
|
type: z.ZodLiteral<"deleteInteraction">;
|
|
3351
3351
|
pageRef: z.ZodString;
|
|
3352
3352
|
ref: z.ZodString;
|
|
3353
3353
|
flowId: z.ZodOptional<z.ZodString>;
|
|
3354
3354
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
3355
|
-
}, z.core.$
|
|
3355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3356
3356
|
type: z.ZodLiteral<"patchSettings">;
|
|
3357
3357
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3358
3358
|
notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
@@ -3400,7 +3400,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3400
3400
|
}>>;
|
|
3401
3401
|
presence: z.ZodOptional<z.ZodBoolean>;
|
|
3402
3402
|
}, z.core.$strip>>>>;
|
|
3403
|
-
}, z.core.$
|
|
3403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3404
3404
|
type: z.ZodLiteral<"upsertComponent">;
|
|
3405
3405
|
ref: z.ZodString;
|
|
3406
3406
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3408,10 +3408,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3408
3408
|
slots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3409
3409
|
fromRef: z.ZodOptional<z.ZodString>;
|
|
3410
3410
|
instanceRef: z.ZodOptional<z.ZodString>;
|
|
3411
|
-
}, z.core.$
|
|
3411
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3412
3412
|
type: z.ZodLiteral<"deleteComponent">;
|
|
3413
3413
|
ref: z.ZodString;
|
|
3414
|
-
}, z.core.$
|
|
3414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3415
3415
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3416
3416
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3417
3417
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -3562,7 +3562,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3562
3562
|
}, z.core.$strip>>>;
|
|
3563
3563
|
type: z.ZodLiteral<"upsertDefinition">;
|
|
3564
3564
|
ref: z.ZodString;
|
|
3565
|
-
}, z.core.$
|
|
3565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3566
3566
|
type: z.ZodLiteral<"upsertDefinitions">;
|
|
3567
3567
|
definitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3568
3568
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -3714,7 +3714,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3714
3714
|
}, z.core.$strip>>>;
|
|
3715
3715
|
}, z.core.$strip>>>;
|
|
3716
3716
|
}, z.core.$strip>>;
|
|
3717
|
-
}, z.core.$
|
|
3717
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3718
3718
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
3719
3719
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
3720
3720
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -3865,10 +3865,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3865
3865
|
}, z.core.$strip>>>;
|
|
3866
3866
|
type: z.ZodLiteral<"patchDefinition">;
|
|
3867
3867
|
ref: z.ZodString;
|
|
3868
|
-
}, z.core.$
|
|
3868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3869
3869
|
type: z.ZodLiteral<"deleteDefinition">;
|
|
3870
3870
|
ref: z.ZodString;
|
|
3871
|
-
}, z.core.$
|
|
3871
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3872
3872
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3873
3873
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3874
3874
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -4019,7 +4019,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4019
4019
|
}, z.core.$strip>>>;
|
|
4020
4020
|
type: z.ZodLiteral<"upsertGlobalStyle">;
|
|
4021
4021
|
componentType: z.ZodString;
|
|
4022
|
-
}, z.core.$
|
|
4022
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4023
4023
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
4024
4024
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
4025
4025
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -4170,10 +4170,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4170
4170
|
}, z.core.$strip>>>;
|
|
4171
4171
|
type: z.ZodLiteral<"patchGlobalStyle">;
|
|
4172
4172
|
componentType: z.ZodString;
|
|
4173
|
-
}, z.core.$
|
|
4173
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4174
4174
|
type: z.ZodLiteral<"deleteGlobalStyle">;
|
|
4175
4175
|
componentType: z.ZodString;
|
|
4176
|
-
}, z.core.$
|
|
4176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4177
4177
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4178
4178
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4179
4179
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -4324,7 +4324,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4324
4324
|
}, z.core.$strip>>>;
|
|
4325
4325
|
type: z.ZodLiteral<"upsertIdStyle">;
|
|
4326
4326
|
targetId: z.ZodString;
|
|
4327
|
-
}, z.core.$
|
|
4327
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4328
4328
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
4329
4329
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
4330
4330
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -4475,10 +4475,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4475
4475
|
}, z.core.$strip>>>;
|
|
4476
4476
|
type: z.ZodLiteral<"patchIdStyle">;
|
|
4477
4477
|
targetId: z.ZodString;
|
|
4478
|
-
}, z.core.$
|
|
4478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4479
4479
|
type: z.ZodLiteral<"deleteIdStyle">;
|
|
4480
4480
|
targetId: z.ZodString;
|
|
4481
|
-
}, z.core.$
|
|
4481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4482
4482
|
type: z.ZodLiteral<"upsertStyleVariable">;
|
|
4483
4483
|
category: z.ZodEnum<{
|
|
4484
4484
|
color: "color";
|
|
@@ -4492,7 +4492,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4492
4492
|
dark: z.ZodOptional<z.ZodString>;
|
|
4493
4493
|
default: z.ZodOptional<z.ZodString>;
|
|
4494
4494
|
}, z.core.$strip>]>;
|
|
4495
|
-
}, z.core.$
|
|
4495
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4496
4496
|
type: z.ZodLiteral<"deleteStyleVariable">;
|
|
4497
4497
|
category: z.ZodEnum<{
|
|
4498
4498
|
color: "color";
|
|
@@ -4501,7 +4501,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4501
4501
|
custom: "custom";
|
|
4502
4502
|
}>;
|
|
4503
4503
|
name: z.ZodString;
|
|
4504
|
-
}, z.core.$
|
|
4504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4505
4505
|
type: z.ZodLiteral<"upsertFont">;
|
|
4506
4506
|
family: z.ZodString;
|
|
4507
4507
|
source: z.ZodEnum<{
|
|
@@ -4530,10 +4530,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4530
4530
|
url: z.ZodOptional<z.ZodString>;
|
|
4531
4531
|
path: z.ZodOptional<z.ZodString>;
|
|
4532
4532
|
}, z.core.$strip>>>;
|
|
4533
|
-
}, z.core.$
|
|
4533
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4534
4534
|
type: z.ZodLiteral<"deleteFont">;
|
|
4535
4535
|
family: z.ZodString;
|
|
4536
|
-
}, z.core.$
|
|
4536
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4537
4537
|
type: z.ZodLiteral<"upsertConnector">;
|
|
4538
4538
|
ref: z.ZodString;
|
|
4539
4539
|
name: z.ZodString;
|
|
@@ -4621,7 +4621,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4621
4621
|
}, z.core.$strip>>;
|
|
4622
4622
|
}, z.core.$strip>>>;
|
|
4623
4623
|
}, z.core.$strip>;
|
|
4624
|
-
}, z.core.$
|
|
4624
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4625
4625
|
type: z.ZodLiteral<"patchConnector">;
|
|
4626
4626
|
ref: z.ZodString;
|
|
4627
4627
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4709,10 +4709,10 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4709
4709
|
}, z.core.$strip>>;
|
|
4710
4710
|
}, z.core.$strip>>>>;
|
|
4711
4711
|
}, z.core.$strip>>;
|
|
4712
|
-
}, z.core.$
|
|
4712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4713
4713
|
type: z.ZodLiteral<"deleteConnector">;
|
|
4714
4714
|
ref: z.ZodString;
|
|
4715
|
-
}, z.core.$
|
|
4715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4716
4716
|
type: z.ZodLiteral<"upsertAction">;
|
|
4717
4717
|
ref: z.ZodString;
|
|
4718
4718
|
name: z.ZodString;
|
|
@@ -4751,7 +4751,7 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4751
4751
|
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
4752
4752
|
maxRequests: z.ZodOptional<z.ZodNumber>;
|
|
4753
4753
|
}, z.core.$strip>>;
|
|
4754
|
-
}, z.core.$
|
|
4754
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4755
4755
|
type: z.ZodLiteral<"patchAction">;
|
|
4756
4756
|
ref: z.ZodString;
|
|
4757
4757
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4790,24 +4790,24 @@ export declare const operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4790
4790
|
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
4791
4791
|
maxRequests: z.ZodOptional<z.ZodNumber>;
|
|
4792
4792
|
}, z.core.$strip>>;
|
|
4793
|
-
}, z.core.$
|
|
4793
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4794
4794
|
type: z.ZodLiteral<"deleteAction">;
|
|
4795
4795
|
ref: z.ZodString;
|
|
4796
|
-
}, z.core.$
|
|
4796
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4797
4797
|
type: z.ZodLiteral<"upsertFunctionFile">;
|
|
4798
4798
|
path: z.ZodString;
|
|
4799
4799
|
content: z.ZodString;
|
|
4800
|
-
}, z.core.$
|
|
4800
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4801
4801
|
type: z.ZodLiteral<"deleteFunctionFile">;
|
|
4802
4802
|
path: z.ZodString;
|
|
4803
|
-
}, z.core.$
|
|
4803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4804
4804
|
type: z.ZodLiteral<"upsertDataFile">;
|
|
4805
4805
|
path: z.ZodString;
|
|
4806
4806
|
content: z.ZodString;
|
|
4807
|
-
}, z.core.$
|
|
4807
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4808
4808
|
type: z.ZodLiteral<"deleteDataFile">;
|
|
4809
4809
|
path: z.ZodString;
|
|
4810
|
-
}, z.core.$
|
|
4810
|
+
}, z.core.$strict>], "type">>;
|
|
4811
4811
|
export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
4812
4812
|
type: z.ZodLiteral<"upsertElement">;
|
|
4813
4813
|
pageRef: z.ZodString;
|
|
@@ -4818,7 +4818,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4818
4818
|
after: "after";
|
|
4819
4819
|
inside: "inside";
|
|
4820
4820
|
}>>;
|
|
4821
|
-
}, z.core.$
|
|
4821
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4822
4822
|
type: z.ZodLiteral<"repeatElement">;
|
|
4823
4823
|
pageRef: z.ZodString;
|
|
4824
4824
|
ref: z.ZodString;
|
|
@@ -4836,7 +4836,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4836
4836
|
}>>;
|
|
4837
4837
|
template: z.ZodType<import('./schema').TemplateElement, unknown, z.core.$ZodTypeInternals<import('./schema').TemplateElement, unknown>>;
|
|
4838
4838
|
items: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4839
|
-
}, z.core.$
|
|
4839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4840
4840
|
type: z.ZodLiteral<"patchElement">;
|
|
4841
4841
|
pageRef: z.ZodString;
|
|
4842
4842
|
ref: z.ZodString;
|
|
@@ -4861,11 +4861,11 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4861
4861
|
anchor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4862
4862
|
motion: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4863
4863
|
quiet: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4864
|
-
}, z.core.$
|
|
4864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4865
4865
|
type: z.ZodLiteral<"deleteElement">;
|
|
4866
4866
|
pageRef: z.ZodString;
|
|
4867
4867
|
ref: z.ZodString;
|
|
4868
|
-
}, z.core.$
|
|
4868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4869
4869
|
type: z.ZodLiteral<"moveElement">;
|
|
4870
4870
|
pageRef: z.ZodString;
|
|
4871
4871
|
ref: z.ZodString;
|
|
@@ -4875,7 +4875,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4875
4875
|
after: "after";
|
|
4876
4876
|
inside: "inside";
|
|
4877
4877
|
}>;
|
|
4878
|
-
}, z.core.$
|
|
4878
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4879
4879
|
type: z.ZodLiteral<"upsertPage">;
|
|
4880
4880
|
ref: z.ZodString;
|
|
4881
4881
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4886,10 +4886,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4886
4886
|
layoutContainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4887
4887
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4888
4888
|
flag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4889
|
-
}, z.core.$
|
|
4889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4890
4890
|
type: z.ZodLiteral<"deletePage">;
|
|
4891
4891
|
ref: z.ZodString;
|
|
4892
|
-
}, z.core.$
|
|
4892
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4893
4893
|
type: z.ZodLiteral<"upsertLayout">;
|
|
4894
4894
|
ref: z.ZodString;
|
|
4895
4895
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4905,19 +4905,19 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4905
4905
|
address: "address";
|
|
4906
4906
|
figure: "figure";
|
|
4907
4907
|
}>>;
|
|
4908
|
-
}, z.core.$
|
|
4908
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4909
4909
|
type: z.ZodLiteral<"deleteLayout">;
|
|
4910
4910
|
ref: z.ZodString;
|
|
4911
|
-
}, z.core.$
|
|
4911
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4912
4912
|
type: z.ZodLiteral<"upsertFolder">;
|
|
4913
4913
|
ref: z.ZodString;
|
|
4914
4914
|
name: z.ZodOptional<z.ZodString>;
|
|
4915
4915
|
slug: z.ZodOptional<z.ZodString>;
|
|
4916
4916
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4917
|
-
}, z.core.$
|
|
4917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4918
4918
|
type: z.ZodLiteral<"deleteFolder">;
|
|
4919
4919
|
ref: z.ZodString;
|
|
4920
|
-
}, z.core.$
|
|
4920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4921
4921
|
type: z.ZodLiteral<"upsertVariable">;
|
|
4922
4922
|
name: z.ZodString;
|
|
4923
4923
|
variableType: z.ZodString;
|
|
@@ -4927,10 +4927,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4927
4927
|
when: z.ZodUnknown;
|
|
4928
4928
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4929
4929
|
}, z.core.$strip>>>;
|
|
4930
|
-
}, z.core.$
|
|
4930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4931
4931
|
type: z.ZodLiteral<"deleteVariable">;
|
|
4932
4932
|
name: z.ZodString;
|
|
4933
|
-
}, z.core.$
|
|
4933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4934
4934
|
type: z.ZodLiteral<"upsertFlag">;
|
|
4935
4935
|
name: z.ZodString;
|
|
4936
4936
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4939,10 +4939,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4939
4939
|
when: z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>;
|
|
4940
4940
|
value: z.ZodBoolean;
|
|
4941
4941
|
}, z.core.$strip>>>;
|
|
4942
|
-
}, z.core.$
|
|
4942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4943
4943
|
type: z.ZodLiteral<"deleteFlag">;
|
|
4944
4944
|
name: z.ZodString;
|
|
4945
|
-
}, z.core.$
|
|
4945
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4946
4946
|
type: z.ZodLiteral<"upsertBinding">;
|
|
4947
4947
|
pageRef: z.ZodString;
|
|
4948
4948
|
ref: z.ZodString;
|
|
@@ -4962,8 +4962,8 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4962
4962
|
}, z.core.$strip>>>;
|
|
4963
4963
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
4964
4964
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4965
|
-
}, z.core.$
|
|
4966
|
-
}, z.core.$
|
|
4965
|
+
}, z.core.$strict>;
|
|
4966
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4967
4967
|
type: z.ZodLiteral<"patchBinding">;
|
|
4968
4968
|
pageRef: z.ZodString;
|
|
4969
4969
|
ref: z.ZodString;
|
|
@@ -4982,7 +4982,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4982
4982
|
}, z.core.$strip>>>;
|
|
4983
4983
|
when: z.ZodOptional<z.ZodType<import('@plitzi/sdk-shared').RuleGroup, unknown, z.core.$ZodTypeInternals<import('@plitzi/sdk-shared').RuleGroup, unknown>>>;
|
|
4984
4984
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4985
|
-
}, z.core.$
|
|
4985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4986
4986
|
type: z.ZodLiteral<"deleteBinding">;
|
|
4987
4987
|
pageRef: z.ZodString;
|
|
4988
4988
|
ref: z.ZodString;
|
|
@@ -4993,7 +4993,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
4993
4993
|
}>;
|
|
4994
4994
|
to: z.ZodString;
|
|
4995
4995
|
id: z.ZodOptional<z.ZodString>;
|
|
4996
|
-
}, z.core.$
|
|
4996
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4997
4997
|
type: z.ZodLiteral<"upsertInteractionFlow">;
|
|
4998
4998
|
pageRef: z.ZodString;
|
|
4999
4999
|
ref: z.ZodString;
|
|
@@ -5019,8 +5019,8 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5019
5019
|
}>>;
|
|
5020
5020
|
elementId: z.ZodOptional<z.ZodString>;
|
|
5021
5021
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5022
|
-
}, z.core.$
|
|
5023
|
-
}, z.core.$
|
|
5022
|
+
}, z.core.$strict>>;
|
|
5023
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5024
5024
|
type: z.ZodLiteral<"patchInteractionNode">;
|
|
5025
5025
|
pageRef: z.ZodString;
|
|
5026
5026
|
ref: z.ZodString;
|
|
@@ -5038,13 +5038,13 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5038
5038
|
}>>;
|
|
5039
5039
|
elementId: z.ZodOptional<z.ZodString>;
|
|
5040
5040
|
preview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5041
|
-
}, z.core.$
|
|
5041
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5042
5042
|
type: z.ZodLiteral<"deleteInteraction">;
|
|
5043
5043
|
pageRef: z.ZodString;
|
|
5044
5044
|
ref: z.ZodString;
|
|
5045
5045
|
flowId: z.ZodOptional<z.ZodString>;
|
|
5046
5046
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
5047
|
-
}, z.core.$
|
|
5047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5048
5048
|
type: z.ZodLiteral<"patchSettings">;
|
|
5049
5049
|
customCss: z.ZodOptional<z.ZodString>;
|
|
5050
5050
|
notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
@@ -5092,7 +5092,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5092
5092
|
}>>;
|
|
5093
5093
|
presence: z.ZodOptional<z.ZodBoolean>;
|
|
5094
5094
|
}, z.core.$strip>>>>;
|
|
5095
|
-
}, z.core.$
|
|
5095
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5096
5096
|
type: z.ZodLiteral<"upsertComponent">;
|
|
5097
5097
|
ref: z.ZodString;
|
|
5098
5098
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5100,10 +5100,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5100
5100
|
slots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5101
5101
|
fromRef: z.ZodOptional<z.ZodString>;
|
|
5102
5102
|
instanceRef: z.ZodOptional<z.ZodString>;
|
|
5103
|
-
}, z.core.$
|
|
5103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5104
5104
|
type: z.ZodLiteral<"deleteComponent">;
|
|
5105
5105
|
ref: z.ZodString;
|
|
5106
|
-
}, z.core.$
|
|
5106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5107
5107
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5108
5108
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5109
5109
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -5254,7 +5254,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5254
5254
|
}, z.core.$strip>>>;
|
|
5255
5255
|
type: z.ZodLiteral<"upsertDefinition">;
|
|
5256
5256
|
ref: z.ZodString;
|
|
5257
|
-
}, z.core.$
|
|
5257
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5258
5258
|
type: z.ZodLiteral<"upsertDefinitions">;
|
|
5259
5259
|
definitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5260
5260
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -5406,7 +5406,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5406
5406
|
}, z.core.$strip>>>;
|
|
5407
5407
|
}, z.core.$strip>>>;
|
|
5408
5408
|
}, z.core.$strip>>;
|
|
5409
|
-
}, z.core.$
|
|
5409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5410
5410
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
5411
5411
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
5412
5412
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -5557,10 +5557,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5557
5557
|
}, z.core.$strip>>>;
|
|
5558
5558
|
type: z.ZodLiteral<"patchDefinition">;
|
|
5559
5559
|
ref: z.ZodString;
|
|
5560
|
-
}, z.core.$
|
|
5560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5561
5561
|
type: z.ZodLiteral<"deleteDefinition">;
|
|
5562
5562
|
ref: z.ZodString;
|
|
5563
|
-
}, z.core.$
|
|
5563
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5564
5564
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5565
5565
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5566
5566
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -5711,7 +5711,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5711
5711
|
}, z.core.$strip>>>;
|
|
5712
5712
|
type: z.ZodLiteral<"upsertGlobalStyle">;
|
|
5713
5713
|
componentType: z.ZodString;
|
|
5714
|
-
}, z.core.$
|
|
5714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5715
5715
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
5716
5716
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
5717
5717
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -5862,10 +5862,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
5862
5862
|
}, z.core.$strip>>>;
|
|
5863
5863
|
type: z.ZodLiteral<"patchGlobalStyle">;
|
|
5864
5864
|
componentType: z.ZodString;
|
|
5865
|
-
}, z.core.$
|
|
5865
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5866
5866
|
type: z.ZodLiteral<"deleteGlobalStyle">;
|
|
5867
5867
|
componentType: z.ZodString;
|
|
5868
|
-
}, z.core.$
|
|
5868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5869
5869
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5870
5870
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5871
5871
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -6016,7 +6016,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
6016
6016
|
}, z.core.$strip>>>;
|
|
6017
6017
|
type: z.ZodLiteral<"upsertIdStyle">;
|
|
6018
6018
|
targetId: z.ZodString;
|
|
6019
|
-
}, z.core.$
|
|
6019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6020
6020
|
desktop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
6021
6021
|
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
6022
6022
|
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
|
|
@@ -6167,10 +6167,10 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
6167
6167
|
}, z.core.$strip>>>;
|
|
6168
6168
|
type: z.ZodLiteral<"patchIdStyle">;
|
|
6169
6169
|
targetId: z.ZodString;
|
|
6170
|
-
}, z.core.$
|
|
6170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6171
6171
|
type: z.ZodLiteral<"deleteIdStyle">;
|
|
6172
6172
|
targetId: z.ZodString;
|
|
6173
|
-
}, z.core.$
|
|
6173
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6174
6174
|
type: z.ZodLiteral<"upsertStyleVariable">;
|
|
6175
6175
|
category: z.ZodEnum<{
|
|
6176
6176
|
color: "color";
|
|
@@ -6184,7 +6184,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
6184
6184
|
dark: z.ZodOptional<z.ZodString>;
|
|
6185
6185
|
default: z.ZodOptional<z.ZodString>;
|
|
6186
6186
|
}, z.core.$strip>]>;
|
|
6187
|
-
}, z.core.$
|
|
6187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6188
6188
|
type: z.ZodLiteral<"deleteStyleVariable">;
|
|
6189
6189
|
category: z.ZodEnum<{
|
|
6190
6190
|
color: "color";
|
|
@@ -6193,7 +6193,7 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
6193
6193
|
custom: "custom";
|
|
6194
6194
|
}>;
|
|
6195
6195
|
name: z.ZodString;
|
|
6196
|
-
}, z.core.$
|
|
6196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6197
6197
|
type: z.ZodLiteral<"upsertFont">;
|
|
6198
6198
|
family: z.ZodString;
|
|
6199
6199
|
source: z.ZodEnum<{
|
|
@@ -6222,7 +6222,56 @@ export declare const documentOperations: z.ZodArray<z.ZodDiscriminatedUnion<read
|
|
|
6222
6222
|
url: z.ZodOptional<z.ZodString>;
|
|
6223
6223
|
path: z.ZodOptional<z.ZodString>;
|
|
6224
6224
|
}, z.core.$strip>>>;
|
|
6225
|
-
}, z.core.$
|
|
6225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6226
6226
|
type: z.ZodLiteral<"deleteFont">;
|
|
6227
6227
|
family: z.ZodString;
|
|
6228
|
-
}, z.core.$
|
|
6228
|
+
}, z.core.$strict>], "type">>;
|
|
6229
|
+
/** Every operation by its type — the closed vocabulary an agent picks from, and what `plitzi_describe_operation` reads. */
|
|
6230
|
+
export declare const OPERATIONS_BY_TYPE: ReadonlyMap<string, z.ZodType>;
|
|
6231
|
+
/**
|
|
6232
|
+
* `documentOperations` as advertised beside a tool that already carries the whole vocabulary (`plitzi_apply`): each
|
|
6233
|
+
* operation's type from the closed list, its fields left to the schema the agent already has. One copy of a ~14k-token
|
|
6234
|
+
* schema per connection instead of two; what runs is still parsed against the full one.
|
|
6235
|
+
*/
|
|
6236
|
+
export declare const compactDocumentOperations: z.ZodArray<z.ZodObject<{
|
|
6237
|
+
type: z.ZodEnum<{
|
|
6238
|
+
deleteBinding: "deleteBinding";
|
|
6239
|
+
patchBinding: "patchBinding";
|
|
6240
|
+
upsertBinding: "upsertBinding";
|
|
6241
|
+
deleteComponent: "deleteComponent";
|
|
6242
|
+
upsertComponent: "upsertComponent";
|
|
6243
|
+
deleteElement: "deleteElement";
|
|
6244
|
+
moveElement: "moveElement";
|
|
6245
|
+
patchElement: "patchElement";
|
|
6246
|
+
repeatElement: "repeatElement";
|
|
6247
|
+
upsertElement: "upsertElement";
|
|
6248
|
+
deleteFlag: "deleteFlag";
|
|
6249
|
+
upsertFlag: "upsertFlag";
|
|
6250
|
+
deleteFolder: "deleteFolder";
|
|
6251
|
+
upsertFolder: "upsertFolder";
|
|
6252
|
+
deleteInteraction: "deleteInteraction";
|
|
6253
|
+
patchInteractionNode: "patchInteractionNode";
|
|
6254
|
+
upsertInteractionFlow: "upsertInteractionFlow";
|
|
6255
|
+
deleteLayout: "deleteLayout";
|
|
6256
|
+
deletePage: "deletePage";
|
|
6257
|
+
upsertLayout: "upsertLayout";
|
|
6258
|
+
upsertPage: "upsertPage";
|
|
6259
|
+
patchSettings: "patchSettings";
|
|
6260
|
+
deleteVariable: "deleteVariable";
|
|
6261
|
+
upsertVariable: "upsertVariable";
|
|
6262
|
+
deleteDefinition: "deleteDefinition";
|
|
6263
|
+
patchDefinition: "patchDefinition";
|
|
6264
|
+
upsertDefinition: "upsertDefinition";
|
|
6265
|
+
upsertDefinitions: "upsertDefinitions";
|
|
6266
|
+
deleteFont: "deleteFont";
|
|
6267
|
+
upsertFont: "upsertFont";
|
|
6268
|
+
deleteGlobalStyle: "deleteGlobalStyle";
|
|
6269
|
+
patchGlobalStyle: "patchGlobalStyle";
|
|
6270
|
+
upsertGlobalStyle: "upsertGlobalStyle";
|
|
6271
|
+
deleteIdStyle: "deleteIdStyle";
|
|
6272
|
+
patchIdStyle: "patchIdStyle";
|
|
6273
|
+
upsertIdStyle: "upsertIdStyle";
|
|
6274
|
+
deleteStyleVariable: "deleteStyleVariable";
|
|
6275
|
+
upsertStyleVariable: "upsertStyleVariable";
|
|
6276
|
+
}>;
|
|
6277
|
+
}, z.core.$loose>>;
|