Skip to content
Français

PublishArtifactOptions

import type { PublishArtifactOptions } from "@elie-laloum/outpost";
  • producerRequired
    ArtifactProducer
    Execution, task key and attempt recorded in the reference and its id, as given: Outpost does not authenticate them.
  • parentsOptional
    readonly ArtifactReference[] | undefined
    References this artifact was derived from, in order; their ids are recorded in parents and in the id. An invalid or duplicated reference rejects the publication.
  • signalOptional
    AbortSignal | undefined
    Aborting it rejects the publication with the signal’s reason; bytes already stored are kept.
export interface PublishArtifactOptions {
  readonly producer: ArtifactProducer;
  readonly parents?: readonly ArtifactReference[];
  readonly signal?: AbortSignal;
}