@maschinenlesbar.org/openka-cli
    Preparing search index...

    Type Alias SourceOutcome

    SourceOutcome:
        | { job: string; report: SyncReport; source: string; status: "done" }
        | { error: unknown; job: string; source: string; status: "failed" }
        | {
            job: string;
            reason: "interrupted" | "after-failure";
            source: string;
            status: "skipped";
        }

    What became of one job: its report, the error it threw, or not started at all. job is its label — the source key for a job without a window of its own.

    Type Declaration

    • { job: string; report: SyncReport; source: string; status: "done" }
    • { error: unknown; job: string; source: string; status: "failed" }
    • {
          job: string;
          reason: "interrupted" | "after-failure";
          source: string;
          status: "skipped";
      }

      Not started: signal was aborted before its turn came (interrupted), or an earlier job failed under stopOnFailure (after-failure).