@vcp-dev/contracts 0.10.24 → 0.10.26
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-navigation.d.ts +25 -0
- package/dist/connect-form.d.ts +1 -0
- package/dist/designer-component-library.d.ts +1 -0
- package/dist/designer-page-library.d.ts +6 -0
- package/dist/form-design.d.ts +26 -0
- package/dist/index.d.ts +353 -316
- package/dist/index.js +10 -10
- package/dist/knowledge-category.d.ts +9 -12
- package/dist/knowledge-source-readiness.d.ts +14 -39
- package/dist/launcher-prompt-templates.d.ts +2 -26
- package/dist/product-search.d.ts +20 -0
- package/dist/site-edit-event.d.ts +1 -0
- package/dist/site-edit-materialization.d.ts +1 -0
- package/dist/site-edit-operation.d.ts +82 -0
- package/dist/site-edit-render-document.d.ts +9 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-publish-workflow.d.ts +9 -0
- package/dist/step5-keyword-library.d.ts +28 -39
- package/dist/step5-strategy.d.ts +676 -669
- package/dist/workspace-resource-operation.d.ts +50 -0
- package/package.json +1 -1
package/dist/cms-navigation.d.ts
CHANGED
|
@@ -143,8 +143,31 @@ export declare const CmsNavigationMoveItemBodySchema: z.ZodObject<{
|
|
|
143
143
|
before_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
144
|
}, z.core.$strict>;
|
|
145
145
|
export type CmsNavigationMoveItemBody = z.infer<typeof CmsNavigationMoveItemBodySchema>;
|
|
146
|
+
/** An ephemeral editor tree. Null IDs are new nodes; CMS allocates their persisted IDs. */
|
|
147
|
+
export interface CmsNavigationDraftItem {
|
|
148
|
+
id: string | null;
|
|
149
|
+
label: string;
|
|
150
|
+
href: string | null;
|
|
151
|
+
target_type: CmsNavigationTargetType;
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
open_in_new: boolean;
|
|
154
|
+
nofollow: boolean;
|
|
155
|
+
role: "link" | "cta" | null;
|
|
156
|
+
children: CmsNavigationDraftItem[];
|
|
157
|
+
}
|
|
158
|
+
export declare const CmsNavigationDraftItemSchema: z.ZodType<CmsNavigationDraftItem>;
|
|
159
|
+
/** One explicit panel submission; CMS compares the baseline under its site transaction lock. */
|
|
160
|
+
export declare const CmsNavigationSaveItemsBodySchema: z.ZodObject<{
|
|
161
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
162
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
163
|
+
baseline: z.ZodArray<z.ZodType<CmsNavigationDraftItem, unknown, z.core.$ZodTypeInternals<CmsNavigationDraftItem, unknown>>>;
|
|
164
|
+
items: z.ZodArray<z.ZodType<CmsNavigationDraftItem, unknown, z.core.$ZodTypeInternals<CmsNavigationDraftItem, unknown>>>;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
export type CmsNavigationSaveItemsBody = z.infer<typeof CmsNavigationSaveItemsBodySchema>;
|
|
146
167
|
export declare const CmsNavigationCapabilitiesSchema: z.ZodObject<{
|
|
147
168
|
cms_bound: z.ZodBoolean;
|
|
169
|
+
bound_nav_keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
analyzed_snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
171
|
cms_driven: z.ZodBoolean;
|
|
149
172
|
supports_groups: z.ZodBoolean;
|
|
150
173
|
supports_nested_groups: z.ZodBoolean;
|
|
@@ -156,6 +179,8 @@ export type CmsNavigationCapabilities = z.infer<typeof CmsNavigationCapabilities
|
|
|
156
179
|
export declare const CmsNavigationCapabilitiesResponseSchema: z.ZodObject<{
|
|
157
180
|
data: z.ZodObject<{
|
|
158
181
|
cms_bound: z.ZodBoolean;
|
|
182
|
+
bound_nav_keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
|
+
analyzed_snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
184
|
cms_driven: z.ZodBoolean;
|
|
160
185
|
supports_groups: z.ZodBoolean;
|
|
161
186
|
supports_nested_groups: z.ZodBoolean;
|
package/dist/connect-form.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export declare const DesignerComponentInstallDataSchema: z.ZodObject<{
|
|
|
93
93
|
}, z.core.$strict>]>;
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
96
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
97
|
}, z.core.$strict>;
|
|
97
98
|
}, z.core.$strict>;
|
|
98
99
|
export type InstallDesignerComponentBody = z.infer<typeof InstallDesignerComponentBodySchema>;
|
|
@@ -209,6 +209,7 @@ export declare const PageResourceComponentSchema: z.ZodObject<{
|
|
|
209
209
|
}, z.core.$strict>]>;
|
|
210
210
|
}, z.core.$strict>;
|
|
211
211
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
212
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
212
213
|
}, z.core.$strict>;
|
|
213
214
|
}, z.core.$strict>;
|
|
214
215
|
export type PageResourceComponent = z.infer<typeof PageResourceComponentSchema>;
|
|
@@ -233,6 +234,7 @@ export declare const PageResourcePageSchema: z.ZodObject<{
|
|
|
233
234
|
}, z.core.$strict>]>;
|
|
234
235
|
}, z.core.$strict>;
|
|
235
236
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
237
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
236
238
|
}, z.core.$strict>;
|
|
237
239
|
components: z.ZodArray<z.ZodObject<{
|
|
238
240
|
instance_id: z.ZodString;
|
|
@@ -268,6 +270,7 @@ export declare const PageResourceArtifactSchema: z.ZodObject<{
|
|
|
268
270
|
}, z.core.$strict>]>;
|
|
269
271
|
}, z.core.$strict>;
|
|
270
272
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
273
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
271
274
|
}, z.core.$strict>;
|
|
272
275
|
}, z.core.$strict>>;
|
|
273
276
|
pages: z.ZodArray<z.ZodObject<{
|
|
@@ -291,6 +294,7 @@ export declare const PageResourceArtifactSchema: z.ZodObject<{
|
|
|
291
294
|
}, z.core.$strict>]>;
|
|
292
295
|
}, z.core.$strict>;
|
|
293
296
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
297
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
298
|
}, z.core.$strict>;
|
|
295
299
|
components: z.ZodArray<z.ZodObject<{
|
|
296
300
|
instance_id: z.ZodString;
|
|
@@ -328,6 +332,7 @@ export declare const DesignerPageInstallDataSchema: z.ZodObject<{
|
|
|
328
332
|
}, z.core.$strict>]>;
|
|
329
333
|
}, z.core.$strict>;
|
|
330
334
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
335
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
331
336
|
}, z.core.$strict>;
|
|
332
337
|
}, z.core.$strict>>;
|
|
333
338
|
pages: z.ZodArray<z.ZodObject<{
|
|
@@ -351,6 +356,7 @@ export declare const DesignerPageInstallDataSchema: z.ZodObject<{
|
|
|
351
356
|
}, z.core.$strict>]>;
|
|
352
357
|
}, z.core.$strict>;
|
|
353
358
|
dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
|
|
359
|
+
projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
354
360
|
}, z.core.$strict>;
|
|
355
361
|
components: z.ZodArray<z.ZodObject<{
|
|
356
362
|
instance_id: z.ZodString;
|
package/dist/form-design.d.ts
CHANGED
|
@@ -1474,6 +1474,32 @@ export declare const CmsFormSchemaProjectionSchema: z.ZodObject<{
|
|
|
1474
1474
|
}, z.core.$strict>;
|
|
1475
1475
|
export type CmsFormSchemaProjection = z.infer<typeof CmsFormSchemaProjectionSchema>;
|
|
1476
1476
|
export declare function projectFormSpecToCmsSchema(spec: FormSpecV1): CmsFormSchemaProjection;
|
|
1477
|
+
export declare function projectFormSpecToCmsDisplay(spec: FormSpecV1): {
|
|
1478
|
+
form_display: {
|
|
1479
|
+
columns: "one" | "two";
|
|
1480
|
+
};
|
|
1481
|
+
fields: {
|
|
1482
|
+
field_name: string;
|
|
1483
|
+
span: "full" | "half";
|
|
1484
|
+
}[];
|
|
1485
|
+
};
|
|
1486
|
+
export type CmsFormDisplayProjection = ReturnType<typeof projectFormSpecToCmsDisplay>;
|
|
1487
|
+
export interface CmsFormDisplaySource {
|
|
1488
|
+
form: {
|
|
1489
|
+
form_code: string;
|
|
1490
|
+
config_basic?: {
|
|
1491
|
+
form_display?: {
|
|
1492
|
+
columns?: "one" | "two" | null;
|
|
1493
|
+
} | null;
|
|
1494
|
+
} | null;
|
|
1495
|
+
};
|
|
1496
|
+
fields: Array<{
|
|
1497
|
+
field_name: string;
|
|
1498
|
+
span?: "full" | "half" | null;
|
|
1499
|
+
}>;
|
|
1500
|
+
}
|
|
1501
|
+
/** Merge display only; absent CMS values retain this binding's current spec. */
|
|
1502
|
+
export declare function mergeCmsFormDisplay(spec: FormSpecV1, config: CmsFormDisplaySource): FormSpecV1;
|
|
1477
1503
|
export declare const FormDesignHashSchema: z.ZodString;
|
|
1478
1504
|
export type FormDesignHash = z.infer<typeof FormDesignHashSchema>;
|
|
1479
1505
|
export declare const FormDesignAffectedFilesSchema: z.ZodArray<z.ZodObject<{
|