Skip to content
Français

ChangedCondition

import type { ChangedCondition } from "@elie-laloum/outpost/core";
  • kindRequired
    "changed"
    Literal changed discriminator, used by lifecycle preparation to select file-content checks.
  • filesRequired
    readonly string[]
    Exact files to hash in declaration order, relative to the command directory in the hook environment. Missing files are stable entries; unreadable files fail preparation.
export interface ChangedCondition {
  readonly kind: "changed";
  readonly files: readonly string[];
}