@vcp-dev/contracts 0.8.3 → 0.8.4
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/cms-page-directory.d.ts +2 -0
- package/dist/index.d.ts +54 -2
- package/dist/index.js +1 -1
- package/dist/media-library.d.ts +15 -0
- package/dist/page-slug.d.ts +10 -1
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-publish-domain.d.ts +18 -0
- package/dist/step5-strategy.d.ts +885 -12
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ export declare const CmsPageDirectoryNodeSchema: z.ZodType<CmsPageDirectoryNode>
|
|
|
61
61
|
export declare const CmsPageDirectoryGroupSchema: z.ZodObject<{
|
|
62
62
|
group_id: z.ZodString;
|
|
63
63
|
title: z.ZodString;
|
|
64
|
+
collection_slug: z.ZodString;
|
|
64
65
|
pages: z.ZodArray<z.ZodType<CmsPageDirectoryNode, unknown, z.core.$ZodTypeInternals<CmsPageDirectoryNode, unknown>>>;
|
|
65
66
|
}, z.core.$strict>;
|
|
66
67
|
export type CmsPageDirectoryGroup = z.infer<typeof CmsPageDirectoryGroupSchema>;
|
|
@@ -68,6 +69,7 @@ export declare const CmsPageDirectorySchema: z.ZodObject<{
|
|
|
68
69
|
groups: z.ZodArray<z.ZodObject<{
|
|
69
70
|
group_id: z.ZodString;
|
|
70
71
|
title: z.ZodString;
|
|
72
|
+
collection_slug: z.ZodString;
|
|
71
73
|
pages: z.ZodArray<z.ZodType<CmsPageDirectoryNode, unknown, z.core.$ZodTypeInternals<CmsPageDirectoryNode, unknown>>>;
|
|
72
74
|
}, z.core.$strict>>;
|
|
73
75
|
}, z.core.$strict>;
|
package/dist/index.d.ts
CHANGED
|
@@ -6279,6 +6279,24 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
|
|
|
6279
6279
|
}, z.core.$strict>>>;
|
|
6280
6280
|
}, z.core.$strict>;
|
|
6281
6281
|
export type Step5SitemapDecision = z.infer<typeof Step5SitemapDecisionSchema>;
|
|
6282
|
+
export declare const Step5StructurePlanPageSchema: z.ZodObject<{
|
|
6283
|
+
order: z.ZodNumber;
|
|
6284
|
+
menu_label: z.ZodString;
|
|
6285
|
+
decision_stage: z.ZodString;
|
|
6286
|
+
visitor_task: z.ZodString;
|
|
6287
|
+
primary_cta: z.ZodString;
|
|
6288
|
+
}, z.core.$strict>;
|
|
6289
|
+
export type Step5StructurePlanPage = z.infer<typeof Step5StructurePlanPageSchema>;
|
|
6290
|
+
export declare const Step5StructurePlanSchema: z.ZodObject<{
|
|
6291
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
6292
|
+
order: z.ZodNumber;
|
|
6293
|
+
menu_label: z.ZodString;
|
|
6294
|
+
decision_stage: z.ZodString;
|
|
6295
|
+
visitor_task: z.ZodString;
|
|
6296
|
+
primary_cta: z.ZodString;
|
|
6297
|
+
}, z.core.$strict>>;
|
|
6298
|
+
}, z.core.$strict>;
|
|
6299
|
+
export type Step5StructurePlan = z.infer<typeof Step5StructurePlanSchema>;
|
|
6282
6300
|
/** Trusted VCP API → Sitemap Agent source;浏览器不能提交这些身份与策略字段。 */
|
|
6283
6301
|
export declare const Step5SitemapSourceSchema: z.ZodObject<{
|
|
6284
6302
|
kind: z.ZodLiteral<"step5_strategy">;
|
|
@@ -6323,6 +6341,15 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
|
|
|
6323
6341
|
region: z.ZodString;
|
|
6324
6342
|
}, z.core.$strict>>>;
|
|
6325
6343
|
}, z.core.$strict>>;
|
|
6344
|
+
structure_plan: z.ZodOptional<z.ZodObject<{
|
|
6345
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
6346
|
+
order: z.ZodNumber;
|
|
6347
|
+
menu_label: z.ZodString;
|
|
6348
|
+
decision_stage: z.ZodString;
|
|
6349
|
+
visitor_task: z.ZodString;
|
|
6350
|
+
primary_cta: z.ZodString;
|
|
6351
|
+
}, z.core.$strict>>;
|
|
6352
|
+
}, z.core.$strict>>;
|
|
6326
6353
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6327
6354
|
id: z.ZodString;
|
|
6328
6355
|
keyword: z.ZodString;
|
|
@@ -6988,6 +7015,15 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
|
|
|
6988
7015
|
region: z.ZodString;
|
|
6989
7016
|
}, z.core.$strict>>>;
|
|
6990
7017
|
}, z.core.$strict>>;
|
|
7018
|
+
structure_plan: z.ZodOptional<z.ZodObject<{
|
|
7019
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
7020
|
+
order: z.ZodNumber;
|
|
7021
|
+
menu_label: z.ZodString;
|
|
7022
|
+
decision_stage: z.ZodString;
|
|
7023
|
+
visitor_task: z.ZodString;
|
|
7024
|
+
primary_cta: z.ZodString;
|
|
7025
|
+
}, z.core.$strict>>;
|
|
7026
|
+
}, z.core.$strict>>;
|
|
6991
7027
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6992
7028
|
id: z.ZodString;
|
|
6993
7029
|
keyword: z.ZodString;
|
|
@@ -7649,6 +7685,15 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
7649
7685
|
region: z.ZodString;
|
|
7650
7686
|
}, z.core.$strict>>>;
|
|
7651
7687
|
}, z.core.$strict>>;
|
|
7688
|
+
structure_plan: z.ZodOptional<z.ZodObject<{
|
|
7689
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
7690
|
+
order: z.ZodNumber;
|
|
7691
|
+
menu_label: z.ZodString;
|
|
7692
|
+
decision_stage: z.ZodString;
|
|
7693
|
+
visitor_task: z.ZodString;
|
|
7694
|
+
primary_cta: z.ZodString;
|
|
7695
|
+
}, z.core.$strict>>;
|
|
7696
|
+
}, z.core.$strict>>;
|
|
7652
7697
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7653
7698
|
id: z.ZodString;
|
|
7654
7699
|
keyword: z.ZodString;
|
|
@@ -18002,6 +18047,13 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18002
18047
|
readonly summary: "Read the authoritative site domain configuration.";
|
|
18003
18048
|
readonly status: "implemented";
|
|
18004
18049
|
readonly response_schema: "GetSiteDomainConfigurationResponseSchema";
|
|
18050
|
+
}, {
|
|
18051
|
+
readonly method: "GET";
|
|
18052
|
+
readonly path: "/internal/sites/:site_id/active-domain";
|
|
18053
|
+
readonly tag: "internal/active-domain";
|
|
18054
|
+
readonly summary: "Read whether an internal site has an active primary domain.";
|
|
18055
|
+
readonly status: "implemented";
|
|
18056
|
+
readonly response_schema: "GetActiveSiteDomainResponseSchema";
|
|
18005
18057
|
}, {
|
|
18006
18058
|
readonly method: "POST";
|
|
18007
18059
|
readonly path: "/sites/:site_id/publish-workflows/:workflow_id/domain/check";
|
|
@@ -21547,7 +21599,7 @@ export { DEFAULT_FONTS, FONT_PAIRINGS, fontStack, NEXT_FONT_DISPLAY_NAMES, NEXT_
|
|
|
21547
21599
|
export type { FontPairing, NextFontEntry } from "./font-catalog.js";
|
|
21548
21600
|
export { THEME_PRESETS } from "./theme-presets.js";
|
|
21549
21601
|
export type { ThemePreset } from "./theme-presets.js";
|
|
21550
|
-
export { MEDIA_LIBRARY_AUDIO_EXTENSIONS, MEDIA_LIBRARY_DOCUMENT_EXTENSIONS, MEDIA_LIBRARY_EXTENSIONS, MEDIA_LIBRARY_FILE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_MAX_BYTES, MEDIA_LIBRARY_IMAGE_MIME_TYPES, MEDIA_LIBRARY_MAX_BYTES, MEDIA_LIBRARY_VIDEO_MIME_TYPES, MEDIA_LIBRARY_VIDEO_EXTENSIONS, MEDIA_LIBRARY_AUDIO_MIME_TYPES, MEDIA_LIBRARY_MIME_TYPES, MediaLibraryFileTypeSchema, MediaLibrarySourceSchema, MediaLibraryAssetSchema, ListMediaLibraryAssetsQuerySchema, ListMediaLibraryAssetsResponseSchema, UploadMediaLibraryAssetResponseSchema, UnsplashMediaAssetSchema, SearchUnsplashMediaQuerySchema, SearchUnsplashMediaResponseSchema, UnsplashDownloadLocationSchema, UseUnsplashMediaRequestSchema, UseUnsplashMediaResponseSchema, } from "./media-library.js";
|
|
21551
|
-
export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, } from "./media-library.js";
|
|
21602
|
+
export { MEDIA_LIBRARY_AUDIO_EXTENSIONS, MEDIA_LIBRARY_DOCUMENT_EXTENSIONS, MEDIA_LIBRARY_EXTENSIONS, MEDIA_LIBRARY_FILE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_MAX_BYTES, MEDIA_LIBRARY_IMAGE_MIME_TYPES, MEDIA_LIBRARY_MAX_BYTES, MEDIA_LIBRARY_VIDEO_MIME_TYPES, MEDIA_LIBRARY_VIDEO_EXTENSIONS, MEDIA_LIBRARY_AUDIO_MIME_TYPES, MEDIA_LIBRARY_MIME_TYPES, MediaLibraryFileTypeSchema, MediaLibrarySourceSchema, MediaLibraryAssetSchema, ListMediaLibraryAssetsQuerySchema, ListMediaLibraryAssetsResponseSchema, UploadMediaLibraryAssetResponseSchema, UnsplashMediaAssetSchema, SearchUnsplashMediaQuerySchema, SearchUnsplashMediaResponseSchema, UnsplashDownloadLocationSchema, UseUnsplashMediaRequestSchema, UseUnsplashMediaResponseSchema, RegisterMediaResourceReferenceRequestSchema, RegisterMediaResourceReferenceResponseSchema, } from "./media-library.js";
|
|
21603
|
+
export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, RegisterMediaResourceReferenceRequest, RegisterMediaResourceReferenceResponse, } from "./media-library.js";
|
|
21552
21604
|
export { WorkspaceDesignApplyRequestSchema, WorkspaceDesignApplyResponseSchema, } from "./workspace-design-apply.js";
|
|
21553
21605
|
export type { WorkspaceDesignApplyRequest, WorkspaceDesignApplyResponse, } from "./workspace-design-apply.js";
|