pivotick / InterractionCallbacks / IngestContext
Interface: IngestContext
Defined in: interfaces/InterractionCallbacks.ts:525
Context passed to InterractionCallbacks.onBeforeIngest.
Properties
candidates
candidates:
PivotResult
Defined in: interfaces/InterractionCallbacks.ts:534
What is about to land, after dedup and after the analyst's picks — so a candidate already on canvas never appears here.
confirm()
confirm: (
options?) =>Promise<boolean>
Defined in: interfaces/InterractionCallbacks.ts:541
Open a confirmation modal, resolving true on confirm and false on any cancel path — the same primitive DeleteContext.confirm uses.
Parameters
options?
Returns
Promise<boolean>
origin
origin:
Node[]
Defined in: interfaces/InterractionCallbacks.ts:529
The nodes the pivot was run on. Empty for an origin-less pivot.
pivotId
pivotId:
string
Defined in: interfaces/InterractionCallbacks.ts:527
Which pivot produced these candidates.
trigger
trigger:
"auto"|"triage"
Defined in: interfaces/InterractionCallbacks.ts:536
'triage' when the analyst picked, 'auto' when the pivot auto-ingested.