Skip to content
Français

TransportEntry

import type { TransportEntry } from "@elie-laloum/outpost";
  • 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 TransportEntry {
  readonly key: string;
  readonly revision: string;
  readonly size: number;
  readonly modifiedAt: string;
}