@vcp-dev/contracts 0.10.21 → 0.10.23
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 +7 -0
- package/dist/external-site-edit.d.ts +32 -1
- package/dist/index.d.ts +115 -2
- package/dist/index.js +8 -8
- package/dist/input-context-bundle.d.ts +1 -1
- package/dist/media-library.d.ts +17 -58
- package/dist/page-template.d.ts +24 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-workflow.d.ts +0 -1
- package/dist/workspace-file-mutation-tools.d.ts +17 -2
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const HOME_PAGE_URL_PATH = "/";
|
|
3
3
|
export declare const CMS_PAGE_URL_PATH_MAX_LENGTH = 255;
|
|
4
|
+
/**
|
|
5
|
+
* 页面可访问地址(节点 `url`、`preview_url_path`)来自 CMS URL 注册表的
|
|
6
|
+
* `url` 列(varchar 2048),不是页面行的 `url_path` 列(varchar 255)。详情页
|
|
7
|
+
* 的地址是记录自己的地址,非 ASCII slug 按小写百分号编码存储(一个汉字 9 个
|
|
8
|
+
* 字符),二十多个汉字的标题就会超过 255。套用身份长度会让整份目录校验失败。
|
|
9
|
+
*/
|
|
10
|
+
export declare const CMS_PAGE_URL_MAX_LENGTH = 2048;
|
|
4
11
|
export declare const CMS_PAGE_DIRECTORY_MAX_NODES = 5000;
|
|
5
12
|
export declare const CMS_PAGE_DIRECTORY_MAX_DEPTH = 64;
|
|
6
13
|
/** CMS-managed, browser-safe site-relative identity. */
|
|
@@ -31,7 +31,7 @@ export type ExternalSiteEditOutcome = z.infer<typeof ExternalSiteEditOutcomeSche
|
|
|
31
31
|
* 却不会让运行记录呈现为失败——即「成功外表下该改的没改成」。
|
|
32
32
|
*
|
|
33
33
|
* 注意 `sandbox_unavailable` 是唯一映射到 `failed` 的取值:沙箱起不来时那份快照
|
|
34
|
-
*
|
|
34
|
+
* 没经过任何预览校验,报成降级会让调用方以为只是有瑕疵而不再重试。
|
|
35
35
|
*/
|
|
36
36
|
export declare const ExternalSiteEditDegradedReasonSchema: z.ZodEnum<{
|
|
37
37
|
typecheck_unresolved: "typecheck_unresolved";
|
|
@@ -47,6 +47,19 @@ export declare const ExternalSiteEditDegradedReasonSchema: z.ZodEnum<{
|
|
|
47
47
|
sandbox_unavailable: "sandbox_unavailable";
|
|
48
48
|
}>;
|
|
49
49
|
export type ExternalSiteEditDegradedReason = z.infer<typeof ExternalSiteEditDegradedReasonSchema>;
|
|
50
|
+
/**
|
|
51
|
+
* 任务成功但仍需调用方知道的提示,不影响 outcome。目前只有页面模板任务会写:
|
|
52
|
+
* `preexisting_placeholder_media`——base 快照里已有、这次按规则不能改动的区块仍显示
|
|
53
|
+
* 平台兜底图(生成时没取到真实图片)。`block_ids` 是这些区块的 data-site-block-id;
|
|
54
|
+
* 为空表示兜底图不在页面区块内(如页头页脚)。不带文件路径和诊断原文。
|
|
55
|
+
*/
|
|
56
|
+
export declare const SiteEditAdvisorySchema: z.ZodObject<{
|
|
57
|
+
code: z.ZodEnum<{
|
|
58
|
+
preexisting_placeholder_media: "preexisting_placeholder_media";
|
|
59
|
+
}>;
|
|
60
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export type SiteEditAdvisory = z.infer<typeof SiteEditAdvisorySchema>;
|
|
50
63
|
/** 映射到可重试失败而非降级的原因。判定时优先于快照比对。 */
|
|
51
64
|
export declare const EXTERNAL_SITE_EDIT_INFRASTRUCTURE_REASONS: readonly ExternalSiteEditDegradedReason[];
|
|
52
65
|
export declare function isExternalSiteEditInfrastructureReason(reason: ExternalSiteEditDegradedReason | null | undefined): boolean;
|
|
@@ -410,6 +423,12 @@ export declare const ExternalSiteEditTaskSchema: z.ZodObject<{
|
|
|
410
423
|
page_id: z.ZodNullable<z.ZodNumber>;
|
|
411
424
|
}, z.core.$strict>>;
|
|
412
425
|
}, z.core.$strict>>>;
|
|
426
|
+
advisories: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
427
|
+
code: z.ZodEnum<{
|
|
428
|
+
preexisting_placeholder_media: "preexisting_placeholder_media";
|
|
429
|
+
}>;
|
|
430
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
431
|
+
}, z.core.$strict>>>>;
|
|
413
432
|
}, z.core.$strict>;
|
|
414
433
|
export type ExternalSiteEditTask = z.infer<typeof ExternalSiteEditTaskSchema>;
|
|
415
434
|
export declare const CreateExternalSiteEditResponseSchema: z.ZodObject<{
|
|
@@ -505,6 +524,12 @@ export declare const CreateExternalSiteEditResponseSchema: z.ZodObject<{
|
|
|
505
524
|
page_id: z.ZodNullable<z.ZodNumber>;
|
|
506
525
|
}, z.core.$strict>>;
|
|
507
526
|
}, z.core.$strict>>>;
|
|
527
|
+
advisories: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
528
|
+
code: z.ZodEnum<{
|
|
529
|
+
preexisting_placeholder_media: "preexisting_placeholder_media";
|
|
530
|
+
}>;
|
|
531
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
532
|
+
}, z.core.$strict>>>>;
|
|
508
533
|
}, z.core.$strict>;
|
|
509
534
|
}, z.core.$strict>;
|
|
510
535
|
export type CreateExternalSiteEditResponse = z.infer<typeof CreateExternalSiteEditResponseSchema>;
|
|
@@ -601,6 +626,12 @@ export declare const GetExternalSiteEditResponseSchema: z.ZodObject<{
|
|
|
601
626
|
page_id: z.ZodNullable<z.ZodNumber>;
|
|
602
627
|
}, z.core.$strict>>;
|
|
603
628
|
}, z.core.$strict>>>;
|
|
629
|
+
advisories: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
630
|
+
code: z.ZodEnum<{
|
|
631
|
+
preexisting_placeholder_media: "preexisting_placeholder_media";
|
|
632
|
+
}>;
|
|
633
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
634
|
+
}, z.core.$strict>>>>;
|
|
604
635
|
}, z.core.$strict>;
|
|
605
636
|
}, z.core.$strict>;
|
|
606
637
|
export type GetExternalSiteEditResponse = z.infer<typeof GetExternalSiteEditResponseSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2552,6 +2552,12 @@ export type UpdateCurrentSnapshotManifestRequest = z.infer<typeof UpdateCurrentS
|
|
|
2552
2552
|
export declare const PromoteSiteSnapshotRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2553
2553
|
base_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2554
2554
|
source_run_id: z.ZodOptional<z.ZodUUID>;
|
|
2555
|
+
page_template_advisories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2556
|
+
code: z.ZodEnum<{
|
|
2557
|
+
preexisting_placeholder_media: "preexisting_placeholder_media";
|
|
2558
|
+
}>;
|
|
2559
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
2560
|
+
}, z.core.$strict>>>;
|
|
2555
2561
|
}, z.core.$strict>, z.ZodObject<{
|
|
2556
2562
|
skip_base_check: z.ZodLiteral<true>;
|
|
2557
2563
|
}, z.core.$strict>]>;
|
|
@@ -4879,6 +4885,18 @@ export declare const ChromeDesignSchema: z.ZodObject<{
|
|
|
4879
4885
|
}, z.core.$strip>;
|
|
4880
4886
|
}, z.core.$strip>;
|
|
4881
4887
|
export type ChromeDesign = z.infer<typeof ChromeDesignSchema>;
|
|
4888
|
+
/**
|
|
4889
|
+
* 子页面包屑的放法(与模板 `BreadcrumbFrame` 的 `placement` 同一组取值):
|
|
4890
|
+
* `top` 在第一个区块之前;`below-hero` 紧跟第一个区块之后;`footer` 在页面
|
|
4891
|
+
* 内容末尾;`none` 位置同 `top`、由外框整块隐藏。
|
|
4892
|
+
*/
|
|
4893
|
+
export declare const SiteBreadcrumbPlacementSchema: z.ZodEnum<{
|
|
4894
|
+
none: "none";
|
|
4895
|
+
footer: "footer";
|
|
4896
|
+
top: "top";
|
|
4897
|
+
"below-hero": "below-hero";
|
|
4898
|
+
}>;
|
|
4899
|
+
export type SiteBreadcrumbPlacement = z.infer<typeof SiteBreadcrumbPlacementSchema>;
|
|
4882
4900
|
export declare const DesignPlanSchema: z.ZodObject<{
|
|
4883
4901
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
4884
4902
|
siteDesignContext: z.ZodObject<{
|
|
@@ -5055,6 +5073,12 @@ export declare const DesignPlanSchema: z.ZodObject<{
|
|
|
5055
5073
|
intent: z.ZodString;
|
|
5056
5074
|
}, z.core.$strip>;
|
|
5057
5075
|
}, z.core.$strip>>;
|
|
5076
|
+
breadcrumbPlacement: z.ZodOptional<z.ZodEnum<{
|
|
5077
|
+
none: "none";
|
|
5078
|
+
footer: "footer";
|
|
5079
|
+
top: "top";
|
|
5080
|
+
"below-hero": "below-hero";
|
|
5081
|
+
}>>;
|
|
5058
5082
|
}, z.core.$strip>;
|
|
5059
5083
|
export type DesignPlan = z.infer<typeof DesignPlanSchema>;
|
|
5060
5084
|
export declare const DesignPlanPatchSchema: z.ZodObject<{
|
|
@@ -11879,6 +11903,12 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
|
|
|
11879
11903
|
intent: z.ZodString;
|
|
11880
11904
|
}, z.core.$strip>;
|
|
11881
11905
|
}, z.core.$strip>>;
|
|
11906
|
+
breadcrumbPlacement: z.ZodOptional<z.ZodEnum<{
|
|
11907
|
+
none: "none";
|
|
11908
|
+
footer: "footer";
|
|
11909
|
+
top: "top";
|
|
11910
|
+
"below-hero": "below-hero";
|
|
11911
|
+
}>>;
|
|
11882
11912
|
}, z.core.$strip>;
|
|
11883
11913
|
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
11884
11914
|
created_at: z.ZodString;
|
|
@@ -12063,6 +12093,12 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
|
|
|
12063
12093
|
intent: z.ZodString;
|
|
12064
12094
|
}, z.core.$strip>;
|
|
12065
12095
|
}, z.core.$strip>>;
|
|
12096
|
+
breadcrumbPlacement: z.ZodOptional<z.ZodEnum<{
|
|
12097
|
+
none: "none";
|
|
12098
|
+
footer: "footer";
|
|
12099
|
+
top: "top";
|
|
12100
|
+
"below-hero": "below-hero";
|
|
12101
|
+
}>>;
|
|
12066
12102
|
}, z.core.$strip>;
|
|
12067
12103
|
source_agent_run_id: z.ZodOptional<z.ZodUUID>;
|
|
12068
12104
|
}, z.core.$strip>;
|
|
@@ -12249,6 +12285,12 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
|
|
|
12249
12285
|
intent: z.ZodString;
|
|
12250
12286
|
}, z.core.$strip>;
|
|
12251
12287
|
}, z.core.$strip>>;
|
|
12288
|
+
breadcrumbPlacement: z.ZodOptional<z.ZodEnum<{
|
|
12289
|
+
none: "none";
|
|
12290
|
+
footer: "footer";
|
|
12291
|
+
top: "top";
|
|
12292
|
+
"below-hero": "below-hero";
|
|
12293
|
+
}>>;
|
|
12252
12294
|
}, z.core.$strip>;
|
|
12253
12295
|
source_agent_run_id: z.ZodNullable<z.ZodUUID>;
|
|
12254
12296
|
created_at: z.ZodString;
|
|
@@ -12456,6 +12498,7 @@ export declare const WorkspacePlanTaskKindSchema: z.ZodEnum<{
|
|
|
12456
12498
|
section: "section";
|
|
12457
12499
|
media: "media";
|
|
12458
12500
|
chrome: "chrome";
|
|
12501
|
+
breadcrumb: "breadcrumb";
|
|
12459
12502
|
}>;
|
|
12460
12503
|
export type WorkspacePlanTaskKind = z.infer<typeof WorkspacePlanTaskKindSchema>;
|
|
12461
12504
|
export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
@@ -12468,6 +12511,7 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
12468
12511
|
section: "section";
|
|
12469
12512
|
media: "media";
|
|
12470
12513
|
chrome: "chrome";
|
|
12514
|
+
breadcrumb: "breadcrumb";
|
|
12471
12515
|
}>;
|
|
12472
12516
|
target_path: z.ZodString;
|
|
12473
12517
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12498,6 +12542,12 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
12498
12542
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
12499
12543
|
}, z.core.$strict>>;
|
|
12500
12544
|
current: z.ZodString;
|
|
12545
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
12546
|
+
none: "none";
|
|
12547
|
+
footer: "footer";
|
|
12548
|
+
top: "top";
|
|
12549
|
+
"below-hero": "below-hero";
|
|
12550
|
+
}>>;
|
|
12501
12551
|
}, z.core.$strict>>;
|
|
12502
12552
|
}, z.core.$strip>;
|
|
12503
12553
|
export type WorkspacePlanTask = z.infer<typeof WorkspacePlanTaskSchema>;
|
|
@@ -12563,6 +12613,7 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
12563
12613
|
section: "section";
|
|
12564
12614
|
media: "media";
|
|
12565
12615
|
chrome: "chrome";
|
|
12616
|
+
breadcrumb: "breadcrumb";
|
|
12566
12617
|
}>;
|
|
12567
12618
|
target_path: z.ZodString;
|
|
12568
12619
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12593,6 +12644,12 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
12593
12644
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
12594
12645
|
}, z.core.$strict>>;
|
|
12595
12646
|
current: z.ZodString;
|
|
12647
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
12648
|
+
none: "none";
|
|
12649
|
+
footer: "footer";
|
|
12650
|
+
top: "top";
|
|
12651
|
+
"below-hero": "below-hero";
|
|
12652
|
+
}>>;
|
|
12596
12653
|
}, z.core.$strict>>;
|
|
12597
12654
|
}, z.core.$strip>>;
|
|
12598
12655
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -13258,6 +13315,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13258
13315
|
section: "section";
|
|
13259
13316
|
media: "media";
|
|
13260
13317
|
chrome: "chrome";
|
|
13318
|
+
breadcrumb: "breadcrumb";
|
|
13261
13319
|
}>;
|
|
13262
13320
|
target_path: z.ZodString;
|
|
13263
13321
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13288,6 +13346,12 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13288
13346
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
13289
13347
|
}, z.core.$strict>>;
|
|
13290
13348
|
current: z.ZodString;
|
|
13349
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
13350
|
+
none: "none";
|
|
13351
|
+
footer: "footer";
|
|
13352
|
+
top: "top";
|
|
13353
|
+
"below-hero": "below-hero";
|
|
13354
|
+
}>>;
|
|
13291
13355
|
}, z.core.$strict>>;
|
|
13292
13356
|
}, z.core.$strip>>;
|
|
13293
13357
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -14297,6 +14361,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14297
14361
|
section: "section";
|
|
14298
14362
|
media: "media";
|
|
14299
14363
|
chrome: "chrome";
|
|
14364
|
+
breadcrumb: "breadcrumb";
|
|
14300
14365
|
}>;
|
|
14301
14366
|
target_path: z.ZodString;
|
|
14302
14367
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -14327,6 +14392,12 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14327
14392
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
14328
14393
|
}, z.core.$strict>>;
|
|
14329
14394
|
current: z.ZodString;
|
|
14395
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
14396
|
+
none: "none";
|
|
14397
|
+
footer: "footer";
|
|
14398
|
+
top: "top";
|
|
14399
|
+
"below-hero": "below-hero";
|
|
14400
|
+
}>>;
|
|
14330
14401
|
}, z.core.$strict>>;
|
|
14331
14402
|
}, z.core.$strip>>;
|
|
14332
14403
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -15334,6 +15405,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15334
15405
|
section: "section";
|
|
15335
15406
|
media: "media";
|
|
15336
15407
|
chrome: "chrome";
|
|
15408
|
+
breadcrumb: "breadcrumb";
|
|
15337
15409
|
}>;
|
|
15338
15410
|
target_path: z.ZodString;
|
|
15339
15411
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -15364,6 +15436,12 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15364
15436
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
15365
15437
|
}, z.core.$strict>>;
|
|
15366
15438
|
current: z.ZodString;
|
|
15439
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
15440
|
+
none: "none";
|
|
15441
|
+
footer: "footer";
|
|
15442
|
+
top: "top";
|
|
15443
|
+
"below-hero": "below-hero";
|
|
15444
|
+
}>>;
|
|
15367
15445
|
}, z.core.$strict>>;
|
|
15368
15446
|
}, z.core.$strip>>;
|
|
15369
15447
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -16412,6 +16490,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16412
16490
|
section: "section";
|
|
16413
16491
|
media: "media";
|
|
16414
16492
|
chrome: "chrome";
|
|
16493
|
+
breadcrumb: "breadcrumb";
|
|
16415
16494
|
}>;
|
|
16416
16495
|
target_path: z.ZodString;
|
|
16417
16496
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16442,6 +16521,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16442
16521
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
16443
16522
|
}, z.core.$strict>>;
|
|
16444
16523
|
current: z.ZodString;
|
|
16524
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
16525
|
+
none: "none";
|
|
16526
|
+
footer: "footer";
|
|
16527
|
+
top: "top";
|
|
16528
|
+
"below-hero": "below-hero";
|
|
16529
|
+
}>>;
|
|
16445
16530
|
}, z.core.$strict>>;
|
|
16446
16531
|
}, z.core.$strip>>;
|
|
16447
16532
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -17492,6 +17577,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
17492
17577
|
section: "section";
|
|
17493
17578
|
media: "media";
|
|
17494
17579
|
chrome: "chrome";
|
|
17580
|
+
breadcrumb: "breadcrumb";
|
|
17495
17581
|
}>;
|
|
17496
17582
|
target_path: z.ZodString;
|
|
17497
17583
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -17522,6 +17608,12 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
17522
17608
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
17523
17609
|
}, z.core.$strict>>;
|
|
17524
17610
|
current: z.ZodString;
|
|
17611
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
17612
|
+
none: "none";
|
|
17613
|
+
footer: "footer";
|
|
17614
|
+
top: "top";
|
|
17615
|
+
"below-hero": "below-hero";
|
|
17616
|
+
}>>;
|
|
17525
17617
|
}, z.core.$strict>>;
|
|
17526
17618
|
}, z.core.$strip>>;
|
|
17527
17619
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -18537,6 +18629,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
18537
18629
|
section: "section";
|
|
18538
18630
|
media: "media";
|
|
18539
18631
|
chrome: "chrome";
|
|
18632
|
+
breadcrumb: "breadcrumb";
|
|
18540
18633
|
}>;
|
|
18541
18634
|
target_path: z.ZodString;
|
|
18542
18635
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -18567,6 +18660,12 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
18567
18660
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
18568
18661
|
}, z.core.$strict>>;
|
|
18569
18662
|
current: z.ZodString;
|
|
18663
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
18664
|
+
none: "none";
|
|
18665
|
+
footer: "footer";
|
|
18666
|
+
top: "top";
|
|
18667
|
+
"below-hero": "below-hero";
|
|
18668
|
+
}>>;
|
|
18570
18669
|
}, z.core.$strict>>;
|
|
18571
18670
|
}, z.core.$strip>>;
|
|
18572
18671
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -21635,6 +21734,7 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
21635
21734
|
section: "section";
|
|
21636
21735
|
media: "media";
|
|
21637
21736
|
chrome: "chrome";
|
|
21737
|
+
breadcrumb: "breadcrumb";
|
|
21638
21738
|
}>;
|
|
21639
21739
|
target_path: z.ZodString;
|
|
21640
21740
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -21665,6 +21765,12 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
21665
21765
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
21666
21766
|
}, z.core.$strict>>;
|
|
21667
21767
|
current: z.ZodString;
|
|
21768
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
21769
|
+
none: "none";
|
|
21770
|
+
footer: "footer";
|
|
21771
|
+
top: "top";
|
|
21772
|
+
"below-hero": "below-hero";
|
|
21773
|
+
}>>;
|
|
21668
21774
|
}, z.core.$strict>>;
|
|
21669
21775
|
}, z.core.$strip>>;
|
|
21670
21776
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -22878,6 +22984,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
22878
22984
|
section: "section";
|
|
22879
22985
|
media: "media";
|
|
22880
22986
|
chrome: "chrome";
|
|
22987
|
+
breadcrumb: "breadcrumb";
|
|
22881
22988
|
}>;
|
|
22882
22989
|
target_path: z.ZodString;
|
|
22883
22990
|
block_id: z.ZodOptional<z.ZodString>;
|
|
@@ -22908,6 +23015,12 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
22908
23015
|
omitted_href: z.ZodOptional<z.ZodString>;
|
|
22909
23016
|
}, z.core.$strict>>;
|
|
22910
23017
|
current: z.ZodString;
|
|
23018
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
23019
|
+
none: "none";
|
|
23020
|
+
footer: "footer";
|
|
23021
|
+
top: "top";
|
|
23022
|
+
"below-hero": "below-hero";
|
|
23023
|
+
}>>;
|
|
22911
23024
|
}, z.core.$strict>>;
|
|
22912
23025
|
}, z.core.$strip>>;
|
|
22913
23026
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -23908,8 +24021,8 @@ export { DEFAULT_FONTS, FONT_PAIRINGS, fontStack, NEXT_FONT_DISPLAY_NAMES, NEXT_
|
|
|
23908
24021
|
export type { FontPairing, NextFontEntry } from "./font-catalog.js";
|
|
23909
24022
|
export { THEME_PRESETS } from "./theme-presets.js";
|
|
23910
24023
|
export type { ThemePreset } from "./theme-presets.js";
|
|
23911
|
-
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, AI_IMAGE_GENERATION_MAX_QUANTITY,
|
|
23912
|
-
export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse,
|
|
24024
|
+
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, AI_IMAGE_GENERATION_MAX_QUANTITY, GenerateAiImagesRequestSchema, GeneratedAiImageResultSchema, GenerateAiImagesResponseSchema, UnsplashMediaAssetSchema, SearchUnsplashMediaQuerySchema, SearchUnsplashMediaResponseSchema, UnsplashDownloadLocationSchema, UseUnsplashMediaRequestSchema, UseUnsplashMediaResponseSchema, RegisterMediaResourceReferenceRequestSchema, RegisterMediaResourceReferenceResponseSchema, } from "./media-library.js";
|
|
24025
|
+
export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, GenerateAiImagesRequest, GeneratedAiImageResult, GenerateAiImagesResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, RegisterMediaResourceReferenceRequest, RegisterMediaResourceReferenceResponse, } from "./media-library.js";
|
|
23913
24026
|
export { WorkspaceDesignApplyRequestSchema, WorkspaceDesignApplyResponseSchema, WorkspaceDesignCurrentResponseSchema, } from "./workspace-design-apply.js";
|
|
23914
24027
|
export type { WorkspaceDesignApplyRequest, WorkspaceDesignApplyResponse, WorkspaceDesignCurrentResponse, } from "./workspace-design-apply.js";
|
|
23915
24028
|
export * from "./step5-keyword-library.js";
|