Skip to content
Français

RecoveryArchiveRestoreOptions

import type { RecoveryArchiveRestoreOptions } from "@elie-laloum/outpost";
  • referenceRequired
    TransportReference
    Pinned manifest returned by archiveRecovery; every chunk revision and SHA-256 is checked.
  • destinationRequired
    string
    New local directory whose parent already exists. Existing destinations are refused; partial data is retained on failure.
  • maxBytesOptional
    number | undefined
    Positive total restored payload limit, default 1 GiB; also bounds recovery integrity verification.
  • transporterRequired
    Transport
    Caller-owned object transport used by the store or operation. Closing a workflow or sandbox does not close this transport.
export interface RecoveryArchiveRestoreOptions extends TransportStoreOptions {
  readonly reference: TransportReference;
  readonly destination: string;
  readonly maxBytes?: number;
}