@vcp-dev/site-edit-engine 0.11.29 → 0.11.30

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/index.d.ts CHANGED
@@ -1791,33 +1791,31 @@ export interface CollectionAdapterOpts {
1791
1791
  }
1792
1792
  /** schema → lib/cms/generated/{slug}.ts:干净 XView 类型 + toXView adapter(取 rec.fields 经 cms.field.* 归一)。 */
1793
1793
  export declare function generateCollectionAdapter(slug: string, fields: ResolvedField[], opts?: CollectionAdapterOpts): string;
1794
- type Location$1 = {
1795
- readonly line: number;
1796
- readonly column: number;
1797
- };
1798
- interface PortableCmsSourceEvidence {
1794
+ interface PortableCmsBindingEvidence {
1799
1795
  readonly source_path: string;
1800
1796
  readonly operation: string;
1801
1797
  readonly binding: "trusted-cms";
1802
- readonly call_site: Location$1;
1803
- }
1804
- interface PortableCmsSourceDependency {
1805
- readonly requirement_key: string;
1806
- readonly slug: string;
1807
- readonly evidence: readonly PortableCmsSourceEvidence[];
1808
- }
1809
- interface PortableCmsSourceUnresolved {
1810
- readonly code: string;
1811
- readonly source_path: string;
1812
- readonly message: string;
1813
- readonly call_site?: Location$1;
1798
+ readonly call_site: {
1799
+ readonly line: number;
1800
+ readonly column: number;
1801
+ };
1814
1802
  }
1815
- interface PortableCmsSourcesResult {
1803
+ interface PortableCmsBindingsResult {
1816
1804
  readonly complete: boolean;
1817
- readonly dependencies: readonly PortableCmsSourceDependency[];
1818
- readonly unresolved: readonly PortableCmsSourceUnresolved[];
1819
- /** Non-authoritative request namespaces, present only on incomplete analysis. */
1820
- readonly candidates?: readonly string[];
1805
+ readonly dependencies: readonly {
1806
+ readonly requirement_key: string;
1807
+ readonly slug: string;
1808
+ readonly evidence: readonly PortableCmsBindingEvidence[];
1809
+ }[];
1810
+ readonly unresolved: readonly {
1811
+ readonly code: string;
1812
+ readonly source_path: string;
1813
+ readonly message: string;
1814
+ readonly call_site?: {
1815
+ readonly line: number;
1816
+ readonly column: number;
1817
+ };
1818
+ }[];
1821
1819
  }
1822
1820
  export type PortableRelatedEntryPurpose = "collection-detail-view" | "i18n-companion" | "client-importer";
1823
1821
  export interface PortableRelatedEntry {
@@ -2051,7 +2049,7 @@ export type PortableBlockExportResult = {
2051
2049
  }[];
2052
2050
  readonly source_closure: PortableSourceClosure;
2053
2051
  readonly dependency_audit: PortableDependencyAuditResult;
2054
- readonly cms: PortableCmsSourcesResult;
2052
+ readonly cms: PortableCmsBindingsResult;
2055
2053
  /** Related private sources only; not a route, media or ZIP completeness proof. */
2056
2054
  readonly collection_analysis?: {
2057
2055
  readonly kind: "related-source-only";
@@ -2066,7 +2064,7 @@ export type PortableBlockExportResult = {
2066
2064
  readonly host_contract_digest: string;
2067
2065
  readonly route_dependencies?: readonly PortableRouteReference[];
2068
2066
  readonly cms_sample_proof?: {
2069
- readonly kind: "first-page-no-host-routes" | "application-first-page-example" | "whole-application";
2067
+ readonly kind: "whole-application";
2070
2068
  };
2071
2069
  } | {
2072
2070
  readonly complete: false;