Skip to content
Français

WorkspacePublication

import type { WorkspacePublication } from "@elie-laloum/outpost/workspaces";
  • idRequired
    string
    Stable identifier of this resource, independent of its materialization path.
  • destinationRequired
    string
    Host destination preserving selected relative paths; overlap with an active writable source is refused.
  • stateRequired
    "complete" | "rolled-back" | "recovery-required"
    Persisted lifecycle state; uncertain or recovery-required resources are never silently reconstructed.
  • createdRequired
    readonly string[]
    Relative paths of the corresponding verified publication operations.
  • replacedRequired
    readonly string[]
    Relative paths of the corresponding verified publication operations.
  • deletedRequired
    readonly string[]
    Relative paths of the corresponding verified publication operations.
  • referenceRequired
    TransportReference
    Transport key and revision identifying the conserved object; conditional revisions fence stale writers.
export interface WorkspacePublication {
  readonly id: string;
  readonly destination: string;
  readonly state: "complete" | "rolled-back" | "recovery-required";
  readonly created: readonly string[];
  readonly replaced: readonly string[];
  readonly deleted: readonly string[];
  readonly reference: TransportReference;
}