UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

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