@vercel/container 29.0.0 → 29.1.0-snapshot-f8c293166d1f

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.
@@ -66,7 +66,9 @@ export interface ContainerEngine {
66
66
  login(params: RegistryCredentials): Promise<void>;
67
67
  /** Push the image and return the digest of the manifest the registry stored. */
68
68
  push(params: BuildPushParams): Promise<string>;
69
- exportLayout?(params: BuildParams, directory: string): Promise<void>;
69
+ /** Fail before building if the engine can't export an OCI layout. */
70
+ verifyLayoutExport?(): Promise<void>;
71
+ exportLayout(params: BuildParams, directory: string): Promise<void>;
70
72
  /**
71
73
  * Verify the engine's storage is configured as intended (e.g. native overlay
72
74
  * on the mounted cell volume) before building. MAY throw to fail the build
@@ -80,5 +82,3 @@ export interface ContainerEngine {
80
82
  */
81
83
  reportStorage?(span?: Span): Promise<void>;
82
84
  }
83
- export type LayoutExportingEngine = ContainerEngine & Required<Pick<ContainerEngine, 'exportLayout'>>;
84
- export declare function exportsLayouts(engine: ContainerEngine): engine is LayoutExportingEngine;