Skip to content
Français

RecoveryPruneResult

import type { RecoveryPruneResult } from "@elie-laloum/outpost";
  • removedRequired
    readonly string[]
    Paths or object keys removed.
  • retainedRequired
    readonly { readonly path: string; readonly reason: string; }[]
    Eligible candidates left in place, with reason PLAN_CHANGED or REVALIDATION_OR_REMOVAL_FAILED.
  • afterRequired
    RecoveryRetentionPlan
    Fresh plan with the same policy, computed after pruning.
export interface RecoveryPruneResult {
  readonly removed: readonly string[];
  readonly retained: readonly {
    readonly path: string;
    readonly reason: string;
  }[];
  readonly after: RecoveryRetentionPlan;
}