@vcp-dev/site-edit-engine 0.11.21 → 0.11.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/index.d.ts CHANGED
@@ -1789,6 +1789,10 @@ interface PortableCmsSourcesResult {
1789
1789
  readonly dependencies: readonly PortableCmsSourceDependency[];
1790
1790
  readonly unresolved: readonly PortableCmsSourceUnresolved[];
1791
1791
  }
1792
+ interface PortableRouteReference {
1793
+ readonly kind: "host-route";
1794
+ readonly href: string;
1795
+ }
1792
1796
  export type PortableMediaReferenceKind = "src" | "srcset" | "poster" | "thumbnail" | "object" | "array-item" | "import" | "manifest";
1793
1797
  export type PortableMediaReferenceSource = "jsx-attribute" | "object-property" | "array-item" | "import" | "media-manifest";
1794
1798
  export interface PortableMediaSourceRange {
@@ -1890,6 +1894,10 @@ export type PortableBlockExportResult = {
1890
1894
  readonly media: readonly PortableMediaReference[];
1891
1895
  readonly invocation_bindings: readonly PortableInvocationBinding[];
1892
1896
  readonly host_contract_digest: string;
1897
+ readonly route_dependencies?: readonly PortableRouteReference[];
1898
+ readonly cms_sample_proof?: {
1899
+ readonly kind: "first-page-no-host-routes";
1900
+ };
1893
1901
  } | {
1894
1902
  readonly complete: false;
1895
1903
  readonly unresolved: readonly PortableBlockExportError[];
@@ -1983,7 +1991,12 @@ export interface PortableRelatedEntriesInput {
1983
1991
  readonly files: PortableSourceFileMap;
1984
1992
  readonly source_closure: PortableSourceClosure;
1985
1993
  readonly collection: PortableCollectionSourceRelation;
1994
+ /** False only when a rendered invocation proves an embedded collection. */
1995
+ readonly list_route_required?: boolean;
1986
1996
  readonly page_template?: PortablePageTemplateRoot;
1997
+ /** Trusted runtime host contract and signed Snapshot provenance, never browser input. */
1998
+ readonly host_capabilities?: unknown;
1999
+ readonly trusted_host_file_hashes?: ReadonlyMap<string, string>;
1987
2000
  /** Schema read from the trusted CMS application projection, never inferred from TS. */
1988
2001
  readonly trusted_schema?: PortableTrustedCollectionSchema;
1989
2002
  readonly required_fields?: readonly string[];
@@ -1994,7 +2007,7 @@ export interface PortableTrustedCollectionSchema {
1994
2007
  readonly evidence_path: string;
1995
2008
  readonly fields: readonly ResolvedField[];
1996
2009
  }
1997
- export type PortableRelatedEntriesErrorCode = "RELATED_SOURCE_CLOSURE_INCOMPLETE" | "RELATED_LIST_ENTRY_MISSING" | "RELATED_DETAIL_ENTRY_MISSING" | "RELATED_DETAIL_VIEW_MISSING" | "RELATED_DETAIL_VIEW_NOT_REACHED" | "RELATED_DETAIL_SOURCE_INCOMPLETE" | "RELATED_COLLECTION_SCHEMA_UNPROVEN" | "RELATED_COLLECTION_LIST_CONTAINER_UNPROVEN" | "RELATED_COLLECTION_LIST_VIEW_UNPROVEN" | "RELATED_COLLECTION_DETAIL_CONSUMER_UNPROVEN" | "RELATED_COLLECTION_ADAPTER_UNPROVEN" | "RELATED_COLLECTION_FIELD_UNPROVEN" | "RELATED_COLLECTION_BREADCRUMB_UNPROVEN" | "RELATED_PAGE_TEMPLATE_PARSE_FAILED" | "RELATED_PAGE_TEMPLATE_NOT_SEPARABLE";
2010
+ export type PortableRelatedEntriesErrorCode = "RELATED_SOURCE_CLOSURE_INCOMPLETE" | "RELATED_LIST_ENTRY_MISSING" | "RELATED_LIST_ROUTE_UNPROVEN" | "RELATED_DETAIL_ENTRY_MISSING" | "RELATED_DETAIL_ROUTE_UNPROVEN" | "RELATED_DETAIL_VIEW_MISSING" | "RELATED_DETAIL_VIEW_NOT_REACHED" | "RELATED_DETAIL_SOURCE_INCOMPLETE" | "RELATED_HOST_CAPABILITIES_INVALID" | "RELATED_HOST_IMPLEMENTATION_UNPROVEN" | "RELATED_MANAGED_SOURCE_UNPROVEN" | "RELATED_DETAIL_VIEW_NOT_PRIVATE" | "RELATED_COLLECTION_SCHEMA_UNPROVEN" | "RELATED_COLLECTION_LIST_CONTAINER_UNPROVEN" | "RELATED_COLLECTION_LIST_VIEW_UNPROVEN" | "RELATED_COLLECTION_DETAIL_CONSUMER_UNPROVEN" | "RELATED_COLLECTION_ADAPTER_UNPROVEN" | "RELATED_COLLECTION_FIELD_UNPROVEN" | "RELATED_COLLECTION_BREADCRUMB_UNPROVEN" | "RELATED_PAGE_TEMPLATE_PARSE_FAILED" | "RELATED_PAGE_TEMPLATE_NOT_SEPARABLE";
1998
2011
  export interface PortableRelatedEntriesError {
1999
2012
  readonly code: PortableRelatedEntriesErrorCode;
2000
2013
  readonly path: string;
@@ -2134,6 +2147,8 @@ export interface PortableCollectionInvocationAnalyzerInput extends PortableInvoc
2134
2147
  readonly collection: PortableCollectionSourceRelation;
2135
2148
  /** Immutable CMS application schema captured beside the pinned Snapshot. */
2136
2149
  readonly trusted_schema: PortableTrustedCollectionSchema;
2150
+ readonly host_capabilities?: unknown;
2151
+ readonly trusted_host_file_hashes?: ReadonlyMap<string, string>;
2137
2152
  readonly required_fields?: readonly string[];
2138
2153
  readonly force_multi_media?: readonly string[];
2139
2154
  }