Skip to content
Français

RestoreFileWorkspaceOptions

import type { RestoreFileWorkspaceOptions } from "@elie-laloum/outpost/workspaces";
  • runtimeOptional
    WorkspaceRuntimeOptions | undefined
    Control directory and logical namespace, separate from the workspace files.
  • retentionOptional
    WorkspaceRetention | undefined
    run cleans successful owned work, local retains it, portable additionally requires an explicit Transport and namespace.
  • portableOptional
    boolean | undefined
    Restore a verified snapshot into a new owned materialization; mounted sources must remain accessible and unchanged.
  • recoverOptional
    { readonly processesStopped: true; readonly expectedRevision?: string; readonly allocationReleased?: true; readonly adoptInterruptedFiles?: boolean; readonly adoptMountedSource?: boolean; } | undefined
    Explicit stopped-process recovery authorization; interrupted replay remains a separate workflow decision.
export interface RestoreFileWorkspaceOptions {
  readonly runtime?: WorkspaceRuntimeOptions;
  readonly retention?: WorkspaceRetention;
  readonly portable?: boolean;
  readonly recover?: {
    readonly processesStopped: true;
    readonly expectedRevision?: string;
    readonly allocationReleased?: true;
    readonly adoptInterruptedFiles?: boolean;
    readonly adoptMountedSource?: boolean;
  };
}