import{a as l}from"./chunk-PLVHWZTL.js";import{i as s}from"./chunk-YMOV4UGM.js";import{ga as a,la as p}from"./chunk-I3FGJX2C.js";import{a as i}from"./chunk-B7YGBANW.js";var u=(()=>{let e=class e{constructor(t){this._http=t}getRoles(t){return this._http.post("/api/role/all",t,{headers:l})}createRole(t){return this._http.post("/api/role",i({},t))}getRoleById(t){return this._http.get(`/api/role/${t}`)}updateRoleById(t,o){return this._http.put(`/api/role/${o}`,i({},t))}removeRoleById(t){return this._http.delete(`/api/role/${t}`)}};e.\u0275fac=function(o){return new(o||e)(p(s))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();export{u as a};
//# sourceMappingURL=chunk-XVNXWB4L.js.map
