UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

2 lines 328 B
const e=require(`../../utils/throw-if-empty.cjs`),t=t=>()=>(e.throwIfEmpty(t,`Keys cannot be empty`),{path:`/panels`,body:JSON.stringify(t),method:`DELETE`}),n=t=>()=>(e.throwIfEmpty(t,`Key cannot be empty`),{path:`/panels/${t}`,method:`DELETE`});exports.deletePanel=n,exports.deletePanels=t; //# sourceMappingURL=panels.cjs.map