Aller au contenu
English

RecoveryPruneResult

import type { RecoveryPruneResult } from "@elie-laloum/outpost";
  • removedRequis
    readonly string[]
    Chemins ou clés d’objets supprimés.
  • retainedRequis
    readonly { readonly path: string; readonly reason: string; }[]
    Candidats éligibles laissés en place, avec le motif PLAN_CHANGED ou REVALIDATION_OR_REMOVAL_FAILED.
  • afterRequis
    RecoveryRetentionPlan
    Nouveau plan avec la même politique, calculé après le nettoyage.
export interface RecoveryPruneResult {
  readonly removed: readonly string[];
  readonly retained: readonly {
    readonly path: string;
    readonly reason: string;
  }[];
  readonly after: RecoveryRetentionPlan;
}