UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

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