Skip to content
Français

ResourceInspection

import type { ResourceInspection } from "@elie-laloum/outpost";
  • scopeRequired
    "recorded-sandboxes"
    Always recorded-sandboxes: only records written by Outpost are listed, never the sandbox provider’s account.
  • completeRequired
    boolean
    False when a record was unreadable, an entry limit was reached or the records could not be listed. Recovery retention then keeps every workspace.
  • entriesRequired
    readonly ResourceInspectionEntry[]
    One entry per record found, with its ownership verdict.
  • issuesRequired
    readonly StorageIssue[]
    Problems that made the inspection partial, such as RESOURCE_RECORD_UNREADABLE, RESOURCE_ENTRY_LIMIT or RESOURCE_DIRECTORY_UNAVAILABLE. In transport mode, the whole inventory’s issue list.
export interface ResourceInspection {
  readonly scope: "recorded-sandboxes";
  readonly complete: boolean;
  readonly entries: readonly ResourceInspectionEntry[];
  readonly issues: readonly StorageIssue[];
}