OfflineOperation
Type. Persisted offline queue operation.
Table of contents
Category
Type
Type import
tsimport type { OfflineOperation } from "valyrian.js/offline";Public signature
tstype OfflineOperation = { id: string; type: string; payload?: unknown; retries: number; createdAt: number; lastError?: string; };Type usage
OfflineOperation is the persisted queue record. enqueue(...) generates id, retries and createdAt.