UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

2 lines 292 B
const e=require(`../../utils/throw-if-empty.cjs`),t=e=>()=>({path:`/panels`,params:e??{},method:`GET`}),n=(t,n)=>()=>(e.throwIfEmpty(String(t),`Key cannot be empty`),{path:`/panels/${t}`,params:n??{},method:`GET`});exports.readPanel=n,exports.readPanels=t; //# sourceMappingURL=panels.cjs.map