@vcp-dev/site-edit-engine 0.10.4 → 0.10.5

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.
@@ -74,6 +74,7 @@ export interface DynamicDataDetailView {
74
74
  export interface DynamicDataSummaryView {
75
75
  hasDynamicData: boolean;
76
76
  sourceKinds: DynamicSourceKindView[];
77
+ collections?: string[];
77
78
  primaryEndpoint?: string;
78
79
  primaryCollection?: string;
79
80
  primaryFieldPath?: string;
@@ -35,6 +35,7 @@ export declare class PreviewFileSystemSiteEditEngineRuntime implements PreviewSi
35
35
  dynamicDataSummary?: {
36
36
  hasDynamicData: boolean;
37
37
  sourceKinds: ("vcp-cms-collection" | "vcp-cms-form" | "vcp-cms-settings" | "vcp-cms-navigation" | "site-api-route" | "external-api" | "unknown-api")[];
38
+ collections?: string[] | undefined;
38
39
  primaryEndpoint?: string | undefined;
39
40
  primaryCollection?: string | undefined;
40
41
  primaryFieldPath?: string | undefined;
package/dist/runtime.d.ts CHANGED
@@ -28,6 +28,7 @@ export declare class SnapshotSiteEditEngineRuntime implements SiteEditEngineRunt
28
28
  dynamicDataSummary?: {
29
29
  hasDynamicData: boolean;
30
30
  sourceKinds: ("vcp-cms-collection" | "vcp-cms-form" | "vcp-cms-settings" | "vcp-cms-navigation" | "site-api-route" | "external-api" | "unknown-api")[];
31
+ collections?: string[] | undefined;
31
32
  primaryEndpoint?: string | undefined;
32
33
  primaryCollection?: string | undefined;
33
34
  primaryFieldPath?: string | undefined;
@@ -1,27 +1,27 @@
1
- import type {
2
- SiteEditInstrumentationOptions,
3
- SiteEditInstrumentationResult,
4
- } from "./site-edit-instrumentation.js";
5
-
6
- declare function siteEditInstrumentationLoader(
7
- this: {
8
- cacheable?: () => void;
9
- async?: () => (
10
- error?: Error | null,
11
- code?: string,
12
- inputSourceMap?: unknown,
13
- ) => void;
14
- resourcePath?: string;
15
- getOptions?: () => { projectRoot?: string };
16
- },
17
- source: string,
18
- inputSourceMap?: unknown,
19
- ): void;
20
-
21
- declare namespace siteEditInstrumentationLoader {
22
- function instrumentSiteEditRuntimeAttributes(
23
- options: SiteEditInstrumentationOptions,
24
- ): SiteEditInstrumentationResult;
25
- }
26
-
27
- export = siteEditInstrumentationLoader;
1
+ import type {
2
+ SiteEditInstrumentationOptions,
3
+ SiteEditInstrumentationResult,
4
+ } from "./site-edit-instrumentation.js";
5
+
6
+ declare function siteEditInstrumentationLoader(
7
+ this: {
8
+ cacheable?: () => void;
9
+ async?: () => (
10
+ error?: Error | null,
11
+ code?: string,
12
+ inputSourceMap?: unknown,
13
+ ) => void;
14
+ resourcePath?: string;
15
+ getOptions?: () => { projectRoot?: string };
16
+ },
17
+ source: string,
18
+ inputSourceMap?: unknown,
19
+ ): void;
20
+
21
+ declare namespace siteEditInstrumentationLoader {
22
+ function instrumentSiteEditRuntimeAttributes(
23
+ options: SiteEditInstrumentationOptions,
24
+ ): SiteEditInstrumentationResult;
25
+ }
26
+
27
+ export = siteEditInstrumentationLoader;
@@ -1,3 +1,3 @@
1
- import siteEditInstrumentationLoader = require("./site-edit-instrumentation-loader.cjs");
2
-
3
- export = siteEditInstrumentationLoader;
1
+ import siteEditInstrumentationLoader = require("./site-edit-instrumentation-loader.cjs");
2
+
3
+ export = siteEditInstrumentationLoader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcp-dev/site-edit-engine",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
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.10.4",
63
+ "@vcp-dev/contracts": "0.10.5",
64
64
  "yaml": "^2.9.0"
65
65
  },
66
66
  "devDependencies": {