Skip to content
Français

DiagnosticCapability

import type { DiagnosticCapability } from "@elie-laloum/outpost";
  • idRequired
    "command" | "transfers" | "batchTransfers" | "interactiveTerminal"
    Capability assessed: command, transfers, batchTransfers or interactiveTerminal.
  • advertisedRequired
    boolean | "unknown"
    Whether the resource’s contract provides the capability: always true for command and transfers, true for batchTransfers when the lease has fileTransfers, and unknown for interactiveTerminal.
  • observedRequired
    "fail" | "unverified" | "pass"
    pass or fail from the sandbox.command or sandbox.transfers check, unverified when that probe did not run. batchTransfers and interactiveTerminal are always unverified.
export interface DiagnosticCapability {
  readonly id:
    "command" | "transfers" | "batchTransfers" | "interactiveTerminal";
  readonly advertised: boolean | "unknown";
  readonly observed: "pass" | "fail" | "unverified";
}