Version initiale du site RSU pour le déploiement
This commit is contained in:
1
frontend/chunk-CQKJN64S.js
Normal file
1
frontend/chunk-CQKJN64S.js
Normal file
@@ -0,0 +1 @@
|
||||
import{a as h}from"./chunk-MBEC6LK4.js";import{Fc as u,Gc as n,H as a,Hc as A,L as o}from"./chunk-TVKQFRWX.js";var R=class p{constructor(e){this.http=e}API_URL=h.apiUrl;createOrg(e){return this.http.post(`${this.API_URL}/structures`,e)}updateOrg(e,t){return this.http.put(`${this.API_URL}/structures/${e}`,t)}deleteOrg(e){return this.http.delete(`${this.API_URL}/structures/${e}`)}getAllOrg(e=0,t=10,s="createdAt",i="desc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/structures`,{params:r})}getAllOrgPub1(){return this.http.get(`${this.API_URL}/structures`)}getAllOrgPub(){return this.http.get(`${this.API_URL}/structures`)}getAllTypes(e=0,t=10,s="nom",i="desc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/domaines`,{params:r})}getAllDomaines(){return this.http.get(`${this.API_URL}/domaines`)}getypesById(e){return this.http.get(`${this.API_URL}/domaines/${e}`)}createTypes(e){return this.http.post(`${this.API_URL}/domaines`,e)}updateTypes(e,t){return this.http.put(`${this.API_URL}/domaines/${e}`,t)}deleteTypes(e){return this.http.delete(`${this.API_URL}/domaines/${e}`)}createStruc1(e){return this.http.post(`${this.API_URL}/structures-rattachees`,e)}createStruc(e){let t=localStorage.getItem("token"),s=new u({Authorization:`Bearer ${t}`});return this.http.post(`${this.API_URL}/structures-rattachees`,e,{headers:s})}updatetruc(e,t){return this.http.put(`${this.API_URL}/structures-rattachees/${e}`,t)}deletetruc(e){return this.http.delete(`${this.API_URL}/structures-rattachees/${e}`)}getAlltruc(e=0,t=10,s="createdAt",i="desc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/structures-rattachees`,{params:r})}getAllTruc(){return this.http.get(`${this.API_URL}/structures-rattachees`)}getAllMissions(e=0,t=10,s="categorie",i="desc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/missions`,{params:r})}getAllMissionss(){return this.http.get(`${this.API_URL}/missions`)}getMissionsById(e){return this.http.get(`${this.API_URL}/missions/${e}`)}createMissions(e){return this.http.post(`${this.API_URL}/missions`,e)}updateMissions(e,t){return this.http.put(`${this.API_URL}/missions/${e}`,t)}deleteMissions(e){return this.http.delete(`${this.API_URL}/missions/${e}`)}createMinistre(e){return this.http.post(`${this.API_URL}/ministres`,e)}updateMinistre(e,t){return this.http.put(`${this.API_URL}/ministres/${e}`,t)}deleteMinistre(e){return this.http.delete(`${this.API_URL}/ministres/${e}`)}getAllMinistre(e=0,t=10,s="createdAt",i="desc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/ministres`,{params:r})}getAllMinistrePub1(){return this.http.get(`${this.API_URL}/ministres`)}getAllMinistrePub(){return this.http.get(`${this.API_URL}/ministres`)}getMinistreById(e){return this.http.get(`${this.API_URL}/ministres/${e}`)}getAllEtats(e=0,t=100,s="id",i="asc"){let r=new n().set("page",e).set("size",t).set("sortBy",s).set("sortDir",i);return this.http.get(`${this.API_URL}/statistiques`,{params:r})}getAllEtat(){return this.http.get(`${this.API_URL}/statistiques`)}getAllEtatPub(){return this.http.get(`${this.API_URL}/statistiques`)}geEtatById(e){return this.http.get(`${this.API_URL}/statistiques/${e}`)}createEtat(e){return this.http.post(`${this.API_URL}/statistiques`,e)}updateEtats(e,t){return this.http.put(`${this.API_URL}/statistiques/${e}`,t)}deleteEtats(e){return this.http.delete(`${this.API_URL}/statistiques/${e}`)}static \u0275fac=function(t){return new(t||p)(o(A))};static \u0275prov=a({token:p,factory:p.\u0275fac,providedIn:"root"})};export{R as a};
|
||||
Reference in New Issue
Block a user