ApprovalQueueOptions
Defined in: approvals.ts:79
Properties
Section titled “Properties”annotate?
Section titled “annotate?”
optionalannotate?: (origin) =>string[]
Defined in: approvals.ts:81
Called for every request’s origin; the lines are shown on the sheet (e.g. the shipped phishing list’s verdict).
Parameters
Section titled “Parameters”origin
Section titled “origin”string
Returns
Section titled “Returns”string[]
maxPendingPerOrigin?
Section titled “maxPendingPerOrigin?”
optionalmaxPendingPerOrigin?:number
Defined in: approvals.ts:89
Requests one origin may have waiting (current + queued). Default APPROVALS_MAX_PENDING_PER_ORIGIN.
refuse?
Section titled “refuse?”
optionalrefuse?: (origin) =>string|null|undefined
Defined in: approvals.ts:87
Called for every request’s origin before anything is queued: a reason refuses the request with
OriginRefused (4100) and no window opens. Wire PhishingDetector.refusal here — a
warning on the sheet is one click away from a signature.
Parameters
Section titled “Parameters”origin
Section titled “origin”string
Returns
Section titled “Returns”string | null | undefined