@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/index.d.ts
CHANGED
|
@@ -19103,6 +19103,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19103
19103
|
"update-text": "update-text";
|
|
19104
19104
|
"update-array-item": "update-array-item";
|
|
19105
19105
|
"remove-node": "remove-node";
|
|
19106
|
+
"replace-node": "replace-node";
|
|
19106
19107
|
"move-node": "move-node";
|
|
19107
19108
|
"set-class-name-source": "set-class-name-source";
|
|
19108
19109
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -19231,6 +19232,31 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19231
19232
|
templateId: z.ZodOptional<z.ZodString>;
|
|
19232
19233
|
}, z.core.$strict>;
|
|
19233
19234
|
}, z.core.$strict>]>;
|
|
19235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19236
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
19237
|
+
node: z.ZodObject<{
|
|
19238
|
+
kind: z.ZodLiteral<"component-call">;
|
|
19239
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
19240
|
+
materialization: z.ZodObject<{
|
|
19241
|
+
instanceBaseName: z.ZodString;
|
|
19242
|
+
files: z.ZodArray<z.ZodObject<{
|
|
19243
|
+
pathTemplate: z.ZodString;
|
|
19244
|
+
content: z.ZodString;
|
|
19245
|
+
role: z.ZodOptional<z.ZodString>;
|
|
19246
|
+
}, z.core.$strict>>;
|
|
19247
|
+
entry: z.ZodObject<{
|
|
19248
|
+
pathTemplate: z.ZodString;
|
|
19249
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
19250
|
+
kind: z.ZodLiteral<"default">;
|
|
19251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19252
|
+
kind: z.ZodLiteral<"named">;
|
|
19253
|
+
name: z.ZodString;
|
|
19254
|
+
}, z.core.$strict>]>;
|
|
19255
|
+
}, z.core.$strict>;
|
|
19256
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
19257
|
+
}, z.core.$strict>;
|
|
19258
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
19259
|
+
}, z.core.$strict>;
|
|
19234
19260
|
}, z.core.$strip>, z.ZodObject<{
|
|
19235
19261
|
kind: z.ZodLiteral<"move-node">;
|
|
19236
19262
|
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -20309,6 +20335,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
20309
20335
|
"update-text": "update-text";
|
|
20310
20336
|
"update-array-item": "update-array-item";
|
|
20311
20337
|
"remove-node": "remove-node";
|
|
20338
|
+
"replace-node": "replace-node";
|
|
20312
20339
|
"move-node": "move-node";
|
|
20313
20340
|
"set-class-name-source": "set-class-name-source";
|
|
20314
20341
|
"apply-style-draft": "apply-style-draft";
|
|
@@ -20437,6 +20464,31 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
20437
20464
|
templateId: z.ZodOptional<z.ZodString>;
|
|
20438
20465
|
}, z.core.$strict>;
|
|
20439
20466
|
}, z.core.$strict>]>;
|
|
20467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20468
|
+
kind: z.ZodLiteral<"replace-node">;
|
|
20469
|
+
node: z.ZodObject<{
|
|
20470
|
+
kind: z.ZodLiteral<"component-call">;
|
|
20471
|
+
component: z.ZodOptional<z.ZodNever>;
|
|
20472
|
+
materialization: z.ZodObject<{
|
|
20473
|
+
instanceBaseName: z.ZodString;
|
|
20474
|
+
files: z.ZodArray<z.ZodObject<{
|
|
20475
|
+
pathTemplate: z.ZodString;
|
|
20476
|
+
content: z.ZodString;
|
|
20477
|
+
role: z.ZodOptional<z.ZodString>;
|
|
20478
|
+
}, z.core.$strict>>;
|
|
20479
|
+
entry: z.ZodObject<{
|
|
20480
|
+
pathTemplate: z.ZodString;
|
|
20481
|
+
export: z.ZodUnion<readonly [z.ZodObject<{
|
|
20482
|
+
kind: z.ZodLiteral<"default">;
|
|
20483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20484
|
+
kind: z.ZodLiteral<"named">;
|
|
20485
|
+
name: z.ZodString;
|
|
20486
|
+
}, z.core.$strict>]>;
|
|
20487
|
+
}, z.core.$strict>;
|
|
20488
|
+
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
20489
|
+
}, z.core.$strict>;
|
|
20490
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
20491
|
+
}, z.core.$strict>;
|
|
20440
20492
|
}, z.core.$strip>, z.ZodObject<{
|
|
20441
20493
|
kind: z.ZodLiteral<"move-node">;
|
|
20442
20494
|
target: z.ZodUnion<readonly [z.ZodObject<{
|