@vcp-dev/contracts 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +52 -0
- package/dist/index.js +1 -1
- package/dist/site-build.d.ts +6 -0
- package/dist/site-edit-event.d.ts +1 -0
- package/dist/site-edit-operation.d.ts +104 -0
- package/dist/site-edit-render-document.d.ts +4 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-workflow.d.ts +18 -0
- package/dist/workspace-resource-operation.d.ts +52 -0
- package/package.json +1 -1
package/dist/site-build.d.ts
CHANGED
|
@@ -221,7 +221,10 @@ export declare const StartSiteBuildResultSchema: z.ZodObject<{
|
|
|
221
221
|
}>;
|
|
222
222
|
idempotency_key: z.ZodString;
|
|
223
223
|
attempt_no: z.ZodNumber;
|
|
224
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
225
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
224
226
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
227
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
225
228
|
created_at: z.ZodString;
|
|
226
229
|
updated_at: z.ZodString;
|
|
227
230
|
}, z.core.$strip>>;
|
|
@@ -438,7 +441,10 @@ export declare const StartSiteBuildResponseSchema: z.ZodObject<{
|
|
|
438
441
|
}>;
|
|
439
442
|
idempotency_key: z.ZodString;
|
|
440
443
|
attempt_no: z.ZodNumber;
|
|
444
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
445
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
441
446
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
447
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
442
448
|
created_at: z.ZodString;
|
|
443
449
|
updated_at: z.ZodString;
|
|
444
450
|
}, z.core.$strip>>;
|
|
@@ -35,6 +35,7 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
35
35
|
"update-text": "update-text";
|
|
36
36
|
"update-array-item": "update-array-item";
|
|
37
37
|
"remove-node": "remove-node";
|
|
38
|
+
"replace-node": "replace-node";
|
|
38
39
|
"move-node": "move-node";
|
|
39
40
|
"set-class-name-source": "set-class-name-source";
|
|
40
41
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -6,6 +6,7 @@ export declare const SiteEditOperationTypeSchema: z.ZodEnum<{
|
|
|
6
6
|
"update-text": "update-text";
|
|
7
7
|
"update-array-item": "update-array-item";
|
|
8
8
|
"remove-node": "remove-node";
|
|
9
|
+
"replace-node": "replace-node";
|
|
9
10
|
"move-node": "move-node";
|
|
10
11
|
"set-class-name-source": "set-class-name-source";
|
|
11
12
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -210,6 +211,30 @@ export declare const SiteEditMoveTargetSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
210
211
|
}>;
|
|
211
212
|
}, z.core.$strict>]>;
|
|
212
213
|
export type SiteEditMoveTarget = z.infer<typeof SiteEditMoveTargetSchema>;
|
|
214
|
+
export declare const SiteEditMaterializedComponentNodeSpecSchema: z.ZodObject<{
|
|
215
|
+
kind: z.ZodLiteral<"component-call">;
|
|
216
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
217
|
+
materialization: z.ZodObject<{
|
|
218
|
+
instanceBaseName: z.ZodString;
|
|
219
|
+
files: z.ZodArray<z.ZodObject<{
|
|
220
|
+
pathTemplate: z.ZodString;
|
|
221
|
+
content: z.ZodString;
|
|
222
|
+
role: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strict>>;
|
|
224
|
+
entry: z.ZodObject<{
|
|
225
|
+
pathTemplate: z.ZodString;
|
|
226
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
227
|
+
kind: z.ZodLiteral<"default">;
|
|
228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"named">;
|
|
230
|
+
name: z.ZodString;
|
|
231
|
+
}, z.core.$strict>]>;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
234
|
+
}, z.core.$strict>;
|
|
235
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export type SiteEditMaterializedComponentNodeSpec = z.infer<typeof SiteEditMaterializedComponentNodeSpecSchema>;
|
|
213
238
|
export declare const SiteEditInsertNodeSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
214
239
|
kind: z.ZodLiteral<"native-tag">;
|
|
215
240
|
tag: z.ZodString;
|
|
@@ -330,6 +355,31 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
330
355
|
templateId: z.ZodOptional<z.ZodString>;
|
|
331
356
|
}, z.core.$strict>;
|
|
332
357
|
}, z.core.$strict>]>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
360
|
+
node: z.ZodObject<{
|
|
361
|
+
kind: z.ZodLiteral<"component-call">;
|
|
362
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
363
|
+
materialization: z.ZodObject<{
|
|
364
|
+
instanceBaseName: z.ZodString;
|
|
365
|
+
files: z.ZodArray<z.ZodObject<{
|
|
366
|
+
pathTemplate: z.ZodString;
|
|
367
|
+
content: z.ZodString;
|
|
368
|
+
role: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
entry: z.ZodObject<{
|
|
371
|
+
pathTemplate: z.ZodString;
|
|
372
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"default">;
|
|
374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
375
|
+
kind: z.ZodLiteral<"named">;
|
|
376
|
+
name: z.ZodString;
|
|
377
|
+
}, z.core.$strict>]>;
|
|
378
|
+
}, z.core.$strict>;
|
|
379
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
380
|
+
}, z.core.$strict>;
|
|
381
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
382
|
+
}, z.core.$strict>;
|
|
333
383
|
}, z.core.$strip>, z.ZodObject<{
|
|
334
384
|
kind: z.ZodLiteral<"move-node">;
|
|
335
385
|
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -619,6 +669,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
619
669
|
"update-text": "update-text";
|
|
620
670
|
"update-array-item": "update-array-item";
|
|
621
671
|
"remove-node": "remove-node";
|
|
672
|
+
"replace-node": "replace-node";
|
|
622
673
|
"move-node": "move-node";
|
|
623
674
|
"set-class-name-source": "set-class-name-source";
|
|
624
675
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -747,6 +798,31 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
747
798
|
templateId: z.ZodOptional<z.ZodString>;
|
|
748
799
|
}, z.core.$strict>;
|
|
749
800
|
}, z.core.$strict>]>;
|
|
801
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
802
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
803
|
+
node: z.ZodObject<{
|
|
804
|
+
kind: z.ZodLiteral<"component-call">;
|
|
805
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
806
|
+
materialization: z.ZodObject<{
|
|
807
|
+
instanceBaseName: z.ZodString;
|
|
808
|
+
files: z.ZodArray<z.ZodObject<{
|
|
809
|
+
pathTemplate: z.ZodString;
|
|
810
|
+
content: z.ZodString;
|
|
811
|
+
role: z.ZodOptional<z.ZodString>;
|
|
812
|
+
}, z.core.$strict>>;
|
|
813
|
+
entry: z.ZodObject<{
|
|
814
|
+
pathTemplate: z.ZodString;
|
|
815
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
816
|
+
kind: z.ZodLiteral<"default">;
|
|
817
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
818
|
+
kind: z.ZodLiteral<"named">;
|
|
819
|
+
name: z.ZodString;
|
|
820
|
+
}, z.core.$strict>]>;
|
|
821
|
+
}, z.core.$strict>;
|
|
822
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
823
|
+
}, z.core.$strict>;
|
|
824
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
825
|
+
}, z.core.$strict>;
|
|
750
826
|
}, z.core.$strip>, z.ZodObject<{
|
|
751
827
|
kind: z.ZodLiteral<"move-node">;
|
|
752
828
|
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -966,6 +1042,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
966
1042
|
"update-text": "update-text";
|
|
967
1043
|
"update-array-item": "update-array-item";
|
|
968
1044
|
"remove-node": "remove-node";
|
|
1045
|
+
"replace-node": "replace-node";
|
|
969
1046
|
"move-node": "move-node";
|
|
970
1047
|
"set-class-name-source": "set-class-name-source";
|
|
971
1048
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -1094,6 +1171,31 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1094
1171
|
templateId: z.ZodOptional<z.ZodString>;
|
|
1095
1172
|
}, z.core.$strict>;
|
|
1096
1173
|
}, z.core.$strict>]>;
|
|
1174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1175
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
1176
|
+
node: z.ZodObject<{
|
|
1177
|
+
kind: z.ZodLiteral<"component-call">;
|
|
1178
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
1179
|
+
materialization: z.ZodObject<{
|
|
1180
|
+
instanceBaseName: z.ZodString;
|
|
1181
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1182
|
+
pathTemplate: z.ZodString;
|
|
1183
|
+
content: z.ZodString;
|
|
1184
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
}, z.core.$strict>>;
|
|
1186
|
+
entry: z.ZodObject<{
|
|
1187
|
+
pathTemplate: z.ZodString;
|
|
1188
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
1189
|
+
kind: z.ZodLiteral<"default">;
|
|
1190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1191
|
+
kind: z.ZodLiteral<"named">;
|
|
1192
|
+
name: z.ZodString;
|
|
1193
|
+
}, z.core.$strict>]>;
|
|
1194
|
+
}, z.core.$strict>;
|
|
1195
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
1196
|
+
}, z.core.$strict>;
|
|
1197
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1097
1199
|
}, z.core.$strip>, z.ZodObject<{
|
|
1098
1200
|
kind: z.ZodLiteral<"move-node">;
|
|
1099
1201
|
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1338,6 +1440,7 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
|
1338
1440
|
"update-text": "update-text";
|
|
1339
1441
|
"update-array-item": "update-array-item";
|
|
1340
1442
|
"remove-node": "remove-node";
|
|
1443
|
+
"replace-node": "replace-node";
|
|
1341
1444
|
"move-node": "move-node";
|
|
1342
1445
|
"set-class-name-source": "set-class-name-source";
|
|
1343
1446
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -1413,6 +1516,7 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
|
|
|
1413
1516
|
"update-text": "update-text";
|
|
1414
1517
|
"update-array-item": "update-array-item";
|
|
1415
1518
|
"remove-node": "remove-node";
|
|
1519
|
+
"replace-node": "replace-node";
|
|
1416
1520
|
"move-node": "move-node";
|
|
1417
1521
|
"set-class-name-source": "set-class-name-source";
|
|
1418
1522
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -582,6 +582,7 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
582
582
|
"update-text": "update-text";
|
|
583
583
|
"update-array-item": "update-array-item";
|
|
584
584
|
"remove-node": "remove-node";
|
|
585
|
+
"replace-node": "replace-node";
|
|
585
586
|
"move-node": "move-node";
|
|
586
587
|
"set-class-name-source": "set-class-name-source";
|
|
587
588
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -608,6 +609,7 @@ export declare const SiteEditStyleSourceSchema: z.ZodObject<{
|
|
|
608
609
|
"update-text": "update-text";
|
|
609
610
|
"update-array-item": "update-array-item";
|
|
610
611
|
"remove-node": "remove-node";
|
|
612
|
+
"replace-node": "replace-node";
|
|
611
613
|
"move-node": "move-node";
|
|
612
614
|
"set-class-name-source": "set-class-name-source";
|
|
613
615
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -850,6 +852,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
850
852
|
"update-text": "update-text";
|
|
851
853
|
"update-array-item": "update-array-item";
|
|
852
854
|
"remove-node": "remove-node";
|
|
855
|
+
"replace-node": "replace-node";
|
|
853
856
|
"move-node": "move-node";
|
|
854
857
|
"set-class-name-source": "set-class-name-source";
|
|
855
858
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -1398,6 +1401,7 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
|
1398
1401
|
"update-text": "update-text";
|
|
1399
1402
|
"update-array-item": "update-array-item";
|
|
1400
1403
|
"remove-node": "remove-node";
|
|
1404
|
+
"replace-node": "replace-node";
|
|
1401
1405
|
"move-node": "move-node";
|
|
1402
1406
|
"set-class-name-source": "set-class-name-source";
|
|
1403
1407
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* 由 release-edit-engine-packages.ts 在 bump 版本时自动更新。
|
|
7
7
|
*/
|
|
8
|
-
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.10.
|
|
8
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.10.2";
|
|
9
9
|
export declare const EDIT_ENGINE_VERSION_HEADER = "x-vcp-edit-engine-version";
|
|
10
10
|
export declare const EDIT_ENGINE_VERSION_SOURCE_HEADER = "x-vcp-edit-engine-version-source";
|
|
11
11
|
export type EditEngineVersionSource = "explicit" | "fallback_current" | "system_current";
|
package/dist/site-workflow.d.ts
CHANGED
|
@@ -373,7 +373,10 @@ export declare const SiteWorkflowTaskRefSchema: z.ZodObject<{
|
|
|
373
373
|
}>;
|
|
374
374
|
idempotency_key: z.ZodString;
|
|
375
375
|
attempt_no: z.ZodNumber;
|
|
376
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
377
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
376
378
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
379
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
377
380
|
created_at: z.ZodString;
|
|
378
381
|
updated_at: z.ZodString;
|
|
379
382
|
}, z.core.$strip>;
|
|
@@ -501,7 +504,10 @@ export declare const SiteWorkflowSnapshotSchema: z.ZodObject<{
|
|
|
501
504
|
}>;
|
|
502
505
|
idempotency_key: z.ZodString;
|
|
503
506
|
attempt_no: z.ZodNumber;
|
|
507
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
508
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
504
509
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
510
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
505
511
|
created_at: z.ZodString;
|
|
506
512
|
updated_at: z.ZodString;
|
|
507
513
|
}, z.core.$strip>>;
|
|
@@ -715,7 +721,10 @@ export declare const SiteWorkflowSnapshotResponseSchema: z.ZodObject<{
|
|
|
715
721
|
}>;
|
|
716
722
|
idempotency_key: z.ZodString;
|
|
717
723
|
attempt_no: z.ZodNumber;
|
|
724
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
725
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
718
726
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
727
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
719
728
|
created_at: z.ZodString;
|
|
720
729
|
updated_at: z.ZodString;
|
|
721
730
|
}, z.core.$strip>>;
|
|
@@ -873,7 +882,10 @@ export declare const SiteWorkflowTaskRefResponseSchema: z.ZodObject<{
|
|
|
873
882
|
}>;
|
|
874
883
|
idempotency_key: z.ZodString;
|
|
875
884
|
attempt_no: z.ZodNumber;
|
|
885
|
+
source_crawl_task_ref_id: z.ZodNullable<z.ZodString>;
|
|
886
|
+
succeeded_at: z.ZodNullable<z.ZodString>;
|
|
876
887
|
superseded_at: z.ZodNullable<z.ZodString>;
|
|
888
|
+
site_url: z.ZodNullable<z.ZodString>;
|
|
877
889
|
created_at: z.ZodString;
|
|
878
890
|
updated_at: z.ZodString;
|
|
879
891
|
}, z.core.$strip>;
|
|
@@ -942,6 +954,7 @@ export declare const RegisterWorkflowTaskRequestSchema: z.ZodObject<{
|
|
|
942
954
|
}>;
|
|
943
955
|
external_task_id: z.ZodString;
|
|
944
956
|
idempotency_key: z.ZodString;
|
|
957
|
+
site_url: z.ZodOptional<z.ZodString>;
|
|
945
958
|
}, z.core.$strip>;
|
|
946
959
|
export type RegisterWorkflowTaskRequest = z.infer<typeof RegisterWorkflowTaskRequestSchema>;
|
|
947
960
|
/** HTTP command DTOs include workflow_id because it is not part of the URL. */
|
|
@@ -967,6 +980,7 @@ export declare const RegisterWorkflowTaskCommandRequestSchema: z.ZodObject<{
|
|
|
967
980
|
}>;
|
|
968
981
|
external_task_id: z.ZodString;
|
|
969
982
|
idempotency_key: z.ZodString;
|
|
983
|
+
site_url: z.ZodOptional<z.ZodString>;
|
|
970
984
|
workflow_id: z.ZodUUID;
|
|
971
985
|
}, z.core.$strict>;
|
|
972
986
|
export type RegisterWorkflowTaskCommandRequest = z.infer<typeof RegisterWorkflowTaskCommandRequestSchema>;
|
|
@@ -985,12 +999,14 @@ export declare const ReplaceWorkflowTaskRequestSchema: z.ZodObject<{
|
|
|
985
999
|
previous_external_task_id: z.ZodString;
|
|
986
1000
|
external_task_id: z.ZodString;
|
|
987
1001
|
idempotency_key: z.ZodString;
|
|
1002
|
+
site_url: z.ZodOptional<z.ZodString>;
|
|
988
1003
|
}, z.core.$strip>;
|
|
989
1004
|
export type ReplaceWorkflowTaskRequest = z.infer<typeof ReplaceWorkflowTaskRequestSchema>;
|
|
990
1005
|
export declare const ReplaceWorkflowTaskCommandRequestSchema: z.ZodObject<{
|
|
991
1006
|
previous_external_task_id: z.ZodString;
|
|
992
1007
|
external_task_id: z.ZodString;
|
|
993
1008
|
idempotency_key: z.ZodString;
|
|
1009
|
+
site_url: z.ZodOptional<z.ZodString>;
|
|
994
1010
|
workflow_id: z.ZodUUID;
|
|
995
1011
|
}, z.core.$strict>;
|
|
996
1012
|
export type ReplaceWorkflowTaskCommandRequest = z.infer<typeof ReplaceWorkflowTaskCommandRequestSchema>;
|
|
@@ -998,12 +1014,14 @@ export declare const ReplaceCrawlWorkflowTaskRequestSchema: z.ZodObject<{
|
|
|
998
1014
|
previous_external_task_id: z.ZodString;
|
|
999
1015
|
external_task_id: z.ZodString;
|
|
1000
1016
|
idempotency_key: z.ZodString;
|
|
1017
|
+
site_url: z.ZodString;
|
|
1001
1018
|
}, z.core.$strip>;
|
|
1002
1019
|
export type ReplaceCrawlWorkflowTaskRequest = z.infer<typeof ReplaceCrawlWorkflowTaskRequestSchema>;
|
|
1003
1020
|
export declare const ReplaceCrawlWorkflowTaskCommandRequestSchema: z.ZodObject<{
|
|
1004
1021
|
previous_external_task_id: z.ZodString;
|
|
1005
1022
|
external_task_id: z.ZodString;
|
|
1006
1023
|
idempotency_key: z.ZodString;
|
|
1024
|
+
site_url: z.ZodString;
|
|
1007
1025
|
workflow_id: z.ZodUUID;
|
|
1008
1026
|
}, z.core.$strict>;
|
|
1009
1027
|
export type ReplaceCrawlWorkflowTaskCommandRequest = z.infer<typeof ReplaceCrawlWorkflowTaskCommandRequestSchema>;
|
|
@@ -45,6 +45,7 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
|
|
|
45
45
|
"update-text": "update-text";
|
|
46
46
|
"update-array-item": "update-array-item";
|
|
47
47
|
"remove-node": "remove-node";
|
|
48
|
+
"replace-node": "replace-node";
|
|
48
49
|
"move-node": "move-node";
|
|
49
50
|
"set-class-name-source": "set-class-name-source";
|
|
50
51
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -173,6 +174,31 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
|
|
|
173
174
|
templateId: z.ZodOptional<z.ZodString>;
|
|
174
175
|
}, z.core.$strict>;
|
|
175
176
|
}, z.core.$strict>]>;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
179
|
+
node: z.ZodObject<{
|
|
180
|
+
kind: z.ZodLiteral<"component-call">;
|
|
181
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
182
|
+
materialization: z.ZodObject<{
|
|
183
|
+
instanceBaseName: z.ZodString;
|
|
184
|
+
files: z.ZodArray<z.ZodObject<{
|
|
185
|
+
pathTemplate: z.ZodString;
|
|
186
|
+
content: z.ZodString;
|
|
187
|
+
role: z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, z.core.$strict>>;
|
|
189
|
+
entry: z.ZodObject<{
|
|
190
|
+
pathTemplate: z.ZodString;
|
|
191
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"default">;
|
|
193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
194
|
+
kind: z.ZodLiteral<"named">;
|
|
195
|
+
name: z.ZodString;
|
|
196
|
+
}, z.core.$strict>]>;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
201
|
+
}, z.core.$strict>;
|
|
176
202
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
203
|
kind: z.ZodLiteral<"move-node">;
|
|
178
204
|
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -422,6 +448,7 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
422
448
|
"update-text": "update-text";
|
|
423
449
|
"update-array-item": "update-array-item";
|
|
424
450
|
"remove-node": "remove-node";
|
|
451
|
+
"replace-node": "replace-node";
|
|
425
452
|
"move-node": "move-node";
|
|
426
453
|
"set-class-name-source": "set-class-name-source";
|
|
427
454
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -550,6 +577,31 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
550
577
|
templateId: z.ZodOptional<z.ZodString>;
|
|
551
578
|
}, z.core.$strict>;
|
|
552
579
|
}, z.core.$strict>]>;
|
|
580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
581
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
582
|
+
node: z.ZodObject<{
|
|
583
|
+
kind: z.ZodLiteral<"component-call">;
|
|
584
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
585
|
+
materialization: z.ZodObject<{
|
|
586
|
+
instanceBaseName: z.ZodString;
|
|
587
|
+
files: z.ZodArray<z.ZodObject<{
|
|
588
|
+
pathTemplate: z.ZodString;
|
|
589
|
+
content: z.ZodString;
|
|
590
|
+
role: z.ZodOptional<z.ZodString>;
|
|
591
|
+
}, z.core.$strict>>;
|
|
592
|
+
entry: z.ZodObject<{
|
|
593
|
+
pathTemplate: z.ZodString;
|
|
594
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
595
|
+
kind: z.ZodLiteral<"default">;
|
|
596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"named">;
|
|
598
|
+
name: z.ZodString;
|
|
599
|
+
}, z.core.$strict>]>;
|
|
600
|
+
}, z.core.$strict>;
|
|
601
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
602
|
+
}, z.core.$strict>;
|
|
603
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
604
|
+
}, z.core.$strict>;
|
|
553
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
606
|
kind: z.ZodLiteral<"move-node">;
|
|
555
607
|
target: z.ZodUnion<readonly [z.ZodObject<{
|