@vcp-dev/contracts 0.6.10 → 0.6.11
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/api-response.d.ts +11 -0
- package/dist/cms-page-directory.d.ts +245 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/connect-dynamic-collection.d.ts +13 -9
- package/dist/connect-form.d.ts +5 -3
- package/dist/crawler-task-service.d.ts +352 -0
- package/dist/custom-domain.d.ts +36 -2
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/external-site-edit.d.ts +258 -0
- package/dist/firecrawl-internal.d.ts +103 -0
- package/dist/form-design.d.ts +79 -81
- package/dist/google-search-console.d.ts +316 -0
- package/dist/index.d.ts +4004 -1136
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +6 -6
- package/dist/internal-entity-id.d.ts +2 -0
- package/dist/launcher-prompt-templates.d.ts +639 -0
- package/dist/media-library.d.ts +164 -0
- package/dist/product-search.d.ts +227 -0
- package/dist/publish-quality.d.ts +92 -0
- package/dist/site-edit-event.d.ts +8 -0
- package/dist/site-edit-operation.d.ts +53 -11
- package/dist/site-edit-render-document.d.ts +13 -9
- package/dist/site-preview.d.ts +50 -0
- package/dist/site-workflow.d.ts +1006 -0
- package/dist/sitemap-navigation.d.ts +9 -0
- package/dist/step2-site-initialization.d.ts +209 -0
- package/dist/step3-digital-employee-analysis.d.ts +695 -0
- package/dist/step4-diagnosis.d.ts +204 -0
- package/dist/step5-strategy.d.ts +2697 -0
- package/dist/step6-design.d.ts +672 -0
- package/dist/user-facing-copy.d.ts +1 -0
- package/dist/workspace-resource-operation.d.ts +17 -9
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const WorkspaceResourceKindSchema: z.ZodEnum<{
|
|
3
|
-
page: "page";
|
|
4
3
|
pages: "pages";
|
|
4
|
+
page: "page";
|
|
5
5
|
component: "component";
|
|
6
6
|
}>;
|
|
7
7
|
export type WorkspaceResourceKind = z.infer<typeof WorkspaceResourceKindSchema>;
|
|
8
8
|
export declare const WorkspaceResourceOperationSummarySchema: z.ZodObject<{
|
|
9
9
|
resource_kind: z.ZodEnum<{
|
|
10
|
-
page: "page";
|
|
11
10
|
pages: "pages";
|
|
11
|
+
page: "page";
|
|
12
12
|
component: "component";
|
|
13
13
|
}>;
|
|
14
14
|
resource_name: z.ZodString;
|
|
@@ -47,6 +47,7 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
|
|
|
47
47
|
"apply-style-draft": "apply-style-draft";
|
|
48
48
|
"source-edit": "source-edit";
|
|
49
49
|
"insert-page-resource": "insert-page-resource";
|
|
50
|
+
"delete-page-source": "delete-page-source";
|
|
50
51
|
}>;
|
|
51
52
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52
53
|
kind: z.ZodLiteral<"node">;
|
|
@@ -289,11 +290,11 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
|
|
|
289
290
|
artifact: z.ZodObject<{
|
|
290
291
|
resource_id: z.ZodString;
|
|
291
292
|
resource_type: z.ZodEnum<{
|
|
292
|
-
page: "page";
|
|
293
293
|
pages: "pages";
|
|
294
|
+
page: "page";
|
|
294
295
|
}>;
|
|
295
|
-
resolved_version: z.
|
|
296
|
-
revision_id: z.ZodString
|
|
296
|
+
resolved_version: z.ZodNumber;
|
|
297
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
297
298
|
digest_sha256: z.ZodString;
|
|
298
299
|
components: z.ZodArray<z.ZodObject<{
|
|
299
300
|
component_id: z.ZodString;
|
|
@@ -345,6 +346,9 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
|
|
|
345
346
|
}, z.core.$strict>>;
|
|
346
347
|
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
347
348
|
}, z.core.$strict>;
|
|
349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
351
|
+
expectedUrlPath: z.ZodString;
|
|
348
352
|
}, z.core.$strict>], "kind">;
|
|
349
353
|
}, z.core.$strip>;
|
|
350
354
|
navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -370,8 +374,8 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
370
374
|
client_message_id: z.ZodString;
|
|
371
375
|
display: z.ZodObject<{
|
|
372
376
|
resource_kind: z.ZodEnum<{
|
|
373
|
-
page: "page";
|
|
374
377
|
pages: "pages";
|
|
378
|
+
page: "page";
|
|
375
379
|
component: "component";
|
|
376
380
|
}>;
|
|
377
381
|
resource_name: z.ZodString;
|
|
@@ -399,6 +403,7 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
399
403
|
"apply-style-draft": "apply-style-draft";
|
|
400
404
|
"source-edit": "source-edit";
|
|
401
405
|
"insert-page-resource": "insert-page-resource";
|
|
406
|
+
"delete-page-source": "delete-page-source";
|
|
402
407
|
}>;
|
|
403
408
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
404
409
|
kind: z.ZodLiteral<"node">;
|
|
@@ -641,11 +646,11 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
641
646
|
artifact: z.ZodObject<{
|
|
642
647
|
resource_id: z.ZodString;
|
|
643
648
|
resource_type: z.ZodEnum<{
|
|
644
|
-
page: "page";
|
|
645
649
|
pages: "pages";
|
|
650
|
+
page: "page";
|
|
646
651
|
}>;
|
|
647
|
-
resolved_version: z.
|
|
648
|
-
revision_id: z.ZodString
|
|
652
|
+
resolved_version: z.ZodNumber;
|
|
653
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
649
654
|
digest_sha256: z.ZodString;
|
|
650
655
|
components: z.ZodArray<z.ZodObject<{
|
|
651
656
|
component_id: z.ZodString;
|
|
@@ -697,6 +702,9 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
|
|
|
697
702
|
}, z.core.$strict>>;
|
|
698
703
|
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
699
704
|
}, z.core.$strict>;
|
|
705
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
706
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
707
|
+
expectedUrlPath: z.ZodString;
|
|
700
708
|
}, z.core.$strict>], "kind">;
|
|
701
709
|
}, z.core.$strip>;
|
|
702
710
|
navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcp-dev/contracts",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
+
"@noble/hashes": "^1.8.0",
|
|
54
55
|
"culori": "^4.0.2",
|
|
55
56
|
"zod": "^4.0.0"
|
|
56
57
|
},
|
package/dist/publish-plan.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const PublishPlanFeatureSnapshotSchema: z.ZodObject<{
|
|
3
|
-
maxSites: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
-
maxStorageMb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
-
customDomains: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
-
}, z.core.$loose>;
|
|
7
|
-
export type PublishPlanFeatureSnapshot = z.infer<typeof PublishPlanFeatureSnapshotSchema>;
|
|
8
|
-
export declare const PublishPlanSchema: z.ZodObject<{
|
|
9
|
-
subscriptionId: z.ZodString;
|
|
10
|
-
planId: z.ZodString;
|
|
11
|
-
locale: z.ZodUnion<[z.ZodEnum<{
|
|
12
|
-
en: "en";
|
|
13
|
-
zh_CN: "zh_CN";
|
|
14
|
-
}>, z.ZodString]>;
|
|
15
|
-
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
16
|
-
servicePeriodEnd: z.ZodNullable<z.ZodString>;
|
|
17
|
-
featureSnapshot: z.ZodNullable<z.ZodObject<{
|
|
18
|
-
maxSites: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
maxStorageMb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
customDomains: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
}, z.core.$loose>>;
|
|
22
|
-
code: z.ZodNullable<z.ZodString>;
|
|
23
|
-
level: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
name: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$strict>;
|
|
26
|
-
export type PublishPlan = z.infer<typeof PublishPlanSchema>;
|
|
27
|
-
export declare const PublishEntitlementSchema: z.ZodObject<{
|
|
28
|
-
hasActiveSubscription: z.ZodBoolean;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
export type PublishEntitlement = z.infer<typeof PublishEntitlementSchema>;
|
|
31
|
-
export declare const GetSitePlanDataSchema: z.ZodObject<{
|
|
32
|
-
plan: z.ZodNullable<z.ZodObject<{
|
|
33
|
-
subscriptionId: z.ZodString;
|
|
34
|
-
planId: z.ZodString;
|
|
35
|
-
locale: z.ZodUnion<[z.ZodEnum<{
|
|
36
|
-
en: "en";
|
|
37
|
-
zh_CN: "zh_CN";
|
|
38
|
-
}>, z.ZodString]>;
|
|
39
|
-
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
40
|
-
servicePeriodEnd: z.ZodNullable<z.ZodString>;
|
|
41
|
-
featureSnapshot: z.ZodNullable<z.ZodObject<{
|
|
42
|
-
maxSites: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
maxStorageMb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
customDomains: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
45
|
-
}, z.core.$loose>>;
|
|
46
|
-
code: z.ZodNullable<z.ZodString>;
|
|
47
|
-
level: z.ZodNullable<z.ZodNumber>;
|
|
48
|
-
name: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$strict>>;
|
|
50
|
-
entitlement: z.ZodObject<{
|
|
51
|
-
hasActiveSubscription: z.ZodBoolean;
|
|
52
|
-
}, z.core.$strict>;
|
|
53
|
-
}, z.core.$strict>;
|
|
54
|
-
export type GetSitePlanData = z.infer<typeof GetSitePlanDataSchema>;
|