UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

2 lines 311 B
import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=t=>()=>(e(t,`Keys cannot be empty`),{path:`/flows`,body:JSON.stringify(t),method:`DELETE`}),n=t=>()=>(e(t,`Key cannot be empty`),{path:`/flows/${t}`,method:`DELETE`});export{n as deleteFlow,t as deleteFlows}; //# sourceMappingURL=flows.js.map