On this page
A storage write either publishes one complete revision or manages a reader lease.
Declaration
Referenced by
Public exports naming HistoryPutRequest
interface HistoryPublishRequest {
kind: "publish";
expectedGeneration: number;
records: readonly HistoryStoredRecord[];
head?: HistoryHead;
version?: HistoryVersion;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}interface HistoryPublishRequest {
kind: "publish";
expectedGeneration: number;
records: readonly HistoryStoredRecord[];
head?: HistoryHead;
version?: HistoryVersion;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}interface HistoryPublishRequest {
kind: "publish";
expectedGeneration: number;
records: readonly HistoryStoredRecord[];
head?: HistoryHead;
version?: HistoryVersion;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}Atomically publish immutable records and a new head or version marker.API referenceinterface HistoryPinRequest {
kind: "pin" | "release";
token: string;
versionId: string;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}interface HistoryPinRequest {
kind: "pin" | "release";
token: string;
versionId: string;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}interface HistoryPinRequest {
kind: "pin" | "release";
token: string;
versionId: string;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}Acquire or release a five-minute renewable reader lease through the storage seam.API reference