Skip to main content
browser.RequestJournal Private durable storage scoped to one deployment and caller namespace. create is atomic: an existing identity must return its original envelope. A write failure must never fall back to process memory.

Properties

interactions

• Optional interactions: Object An editor location retains an identity before any submission. All methods are atomic across hosts sharing this journal; clear compares the old ID.

Type declaration


preparations

• Optional preparations: Object Exact JSON preparation state with conflict-detecting writes. Required when this journal is used for files or server preparation recipes.

Type declaration


drafts

• Optional drafts: Object Editable input and atomic handoff share this journal with frozen requests.

Type declaration


scenario_submissions

• Optional scenario_submissions: ScenarioSubmissionStore

branch_submissions

• Optional branch_submissions: BranchSubmissionStore

questions

• Optional questions: QuestionRequestStore

Methods

create

▸ create(envelope): Promise<RequestEnvelope>

Parameters

Returns

Promise<RequestEnvelope>

load

▸ load(request_id): Promise<RequestEnvelope | null>

Parameters

Returns

Promise<RequestEnvelope | null>

list

▸ Optional list(options?): Promise<{ items: RequestEnvelope[] ; next_cursor: string | null }>

Parameters

Returns

Promise<{ items: RequestEnvelope[] ; next_cursor: string | null }>