Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
2 lines
559 B
Plaintext
2 lines
559 B
Plaintext
const e=require(`../../utils/throw-if-empty.cjs`),t=e=>()=>({path:`/permissions`,params:e??{},method:`GET`}),n=(t,n)=>()=>(e.throwIfEmpty(String(t),`Key cannot be empty`),{path:`/permissions/${t}`,params:n??{},method:`GET`}),r=(t,n)=>()=>(e.throwIfEmpty(String(t),`Collection cannot be empty`),{path:`/permissions/me/${n?`${t}/${n}`:`${t}`}`,method:`GET`}),i=()=>()=>({path:`/permissions/me`,method:`GET`});exports.readItemPermissions=r,exports.readPermission=n,exports.readPermissions=t,exports.readUserPermissions=i;
|
|
//# sourceMappingURL=permissions.cjs.map |