The minimal action-context surface offerSchedule reads — a sohl.entity.action.SohlActionContext satisfies it, and a caller (e.g. an injury-creation flow) can hand a plain object to pre-answer or suppress the offer.

interface OfferContext {
    scope?: { schedule?: boolean };
    skipDialog?: boolean;
}

Properties

Properties

scope?: { schedule?: boolean }

Pre-supplied answer (scope.schedule) — any action scope satisfies it.

skipDialog?: boolean

When true, suppress the dialog and take the answer from scope.