import{validation}from"../../Validation.js";class AddItem{execute(e){const t=validation.array("collection",e.collection,validation.never);var i=validation.number("index",e.index,t.length);return t.splice(i,0,e.item),{}}}AddItem.action="gcx:wf:core::AddItem",AddItem.suite="gcx:wf:builtin";export{AddItem};