Skip to content
Français

TransportObject

import type { TransportObject } from "@elie-laloum/outpost";
  • bytesRequired
    Uint8Array<ArrayBufferLike>
    Complete binary payload, without the adapter’s storage envelope.
  • keyRequired
    string
    Logical key: /-separated segments of letters, digits, ., _ and -, none starting with a dot, up to 512 characters. It is not a file path or URL.
  • revisionRequired
    string
    Opaque token of this version, passed as ifRevision to replace or remove it. It changes on every write and is not a content digest.
  • sizeRequired
    number
    Payload size in bytes, excluding the transport envelope and backend storage overhead.
  • modifiedAtRequired
    string
    ISO timestamp of the stored version; retention computes object age from it.
export interface TransportObject extends TransportEntry {
  readonly bytes: Uint8Array;
}