@vcp-dev/site-edit-engine 0.8.2 → 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.
|
@@ -46,7 +46,7 @@ export interface OperationSummary {
|
|
|
46
46
|
}
|
|
47
47
|
export type DynamicSourceKindView = "vcp-cms-collection" | "vcp-cms-form" | "vcp-cms-settings" | "vcp-cms-navigation" | "site-api-route" | "external-api" | "unknown-api";
|
|
48
48
|
export type DynamicSourceTypeView = "cms-field" | "api-field";
|
|
49
|
-
export type DynamicTargetKindView = "text" | "attribute" | "richtext" | "repeat-region" | "component-prop";
|
|
49
|
+
export type DynamicTargetKindView = "text" | "attribute" | "richtext" | "repeat-region" | "conditional-region" | "component-prop";
|
|
50
50
|
export type DynamicConfidenceView = "exact" | "safe-derived" | "partial" | "unknown";
|
|
51
51
|
export interface DynamicEvidenceView {
|
|
52
52
|
file: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type SiteEditCompositionContext, type SiteEditCompositionSelector, type ManagedPageTemplateRouteManifestV1 } from "@vcp-dev/contracts";
|
|
2
2
|
import type { SiteEditSnapshotFile } from "./types.js";
|
|
3
|
+
export declare function isManagedPageTemplateManifestPath(path: string): boolean;
|
|
3
4
|
/** A synchronous source view used by the pure managed-source helpers. */
|
|
4
5
|
export type SiteEditFileSystem = ReadonlyMap<string, string>;
|
|
5
6
|
export type SiteEditManagedSourceFiles = SiteEditFileSystem | readonly SiteEditSnapshotFile[];
|
|
@@ -170,7 +170,7 @@ export declare class PreviewFileSystemSiteEditEngineRuntime implements PreviewSi
|
|
|
170
170
|
bindings: {
|
|
171
171
|
sourceKind: "vcp-cms-collection" | "vcp-cms-form" | "vcp-cms-settings" | "vcp-cms-navigation" | "site-api-route" | "external-api" | "unknown-api";
|
|
172
172
|
sourceType: "api-field" | "cms-field";
|
|
173
|
-
targetKind: "repeat-region" | "text" | "attribute" | "richtext" | "component-prop";
|
|
173
|
+
targetKind: "repeat-region" | "conditional-region" | "text" | "attribute" | "richtext" | "component-prop";
|
|
174
174
|
targetName: string;
|
|
175
175
|
confidence: "exact" | "safe-derived" | "partial" | "unknown";
|
|
176
176
|
readonly: true;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export declare class SnapshotSiteEditEngineRuntime implements SiteEditEngineRunt
|
|
|
148
148
|
bindings: {
|
|
149
149
|
sourceKind: "vcp-cms-collection" | "vcp-cms-form" | "vcp-cms-settings" | "vcp-cms-navigation" | "site-api-route" | "external-api" | "unknown-api";
|
|
150
150
|
sourceType: "api-field" | "cms-field";
|
|
151
|
-
targetKind: "repeat-region" | "text" | "attribute" | "richtext" | "component-prop";
|
|
151
|
+
targetKind: "repeat-region" | "conditional-region" | "text" | "attribute" | "richtext" | "component-prop";
|
|
152
152
|
targetName: string;
|
|
153
153
|
confidence: "exact" | "safe-derived" | "partial" | "unknown";
|
|
154
154
|
readonly: true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcp-dev/site-edit-engine",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@babel/parser": "^7.29.3",
|
|
61
61
|
"@babel/traverse": "^7.29.0",
|
|
62
62
|
"@babel/types": "^7.29.0",
|
|
63
|
-
"@vcp-dev/contracts": "0.8.
|
|
63
|
+
"@vcp-dev/contracts": "0.8.4",
|
|
64
64
|
"yaml": "^2.9.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|