UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

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