跳转到内容

pivotick v3.0.0


拓展 / InterractionCallbacks / IngestDecision

类型别名: IngestDecision ​

IngestDecision = boolean | { accept: boolean; edges?: RawEdge[]; nodes?: RawNode[]; }

定义于:interfaces/InterractionCallbacks.ts:551

由InterractionCallbacks.onBeforeIngest返回的决定。

true 摄取整批,false 否决它。对象形式缩小:每个提供的数组都会替换该类型的集合,并与 id 匹配,并且省略的键将其保留为所要求的。