An item offered to the store. payload is opaque encoded JSON (the caller owns the schema).
models
Source src/DurableQueueStore.ts:4613 lines
export interface DurableEntryInput {
/** Opaque per-entry handle (not the dedup key). */
readonly DurableEntryInput.id: stringOpaque per-entry handle (not the dedup key).
id: string;
/** Which queue registration key this belongs to (one backend can hold many). */
readonly DurableEntryInput.key: stringWhich queue registration key this belongs to (one backend can hold many).
key: string;
/** Dedup key — unique among *live* (pending/in-flight) entries; absent = never deduped. */
readonly DurableEntryInput.dedupKey?: string | undefinedDedup key — unique among live (pending/in-flight) entries; absent = never deduped.
dedupKey?: string;
readonly DurableEntryInput.priority: DurablePrioritypriority: type DurablePriority =
| "high"
| "normal"
| "low"
Queue priority lane (strict: high before normal before low).
DurablePriority;
/** Already-encoded JSON payload. */
readonly DurableEntryInput.payload: unknownAlready-encoded JSON payload.
payload: unknown;
/** Schema version stamped on the row, for decode/upcast on take. */
readonly DurableEntryInput.schemaVersion?: number | undefinedSchema version stamped on the row, for decode/upcast on take.
schemaVersion?: number;
}
Referenced by 1 symbols