跳到主要内容

AiBulkAssignmentResult

Outcome of AssignmentsEngine.bulkAssign. Either every entry persisted, or no entries persisted and a per-key error report. The engine validates first and writes second so a single bad entry never leaves the assignment table in a half-written state.

NameTypeDescriptionNotes
successBooleanTrue when every entry was persisted.[required] [example: true]
errorsListWhat was rejected, per action. Present on failure - and then no entry was persisted.[optional] [example: []]