source: frontend/node_modules/.cache/babel-loader/6990e768a7fec70a111a8b6833b0f636478dc66d341c62bdf957c290f30c7361.json

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 3 weeks ago

Fix frontend appearance

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[9af201e]1{"ast":null,"code":"import apiClient from './api';\nconst ENDPOINT = '/patients';\nexport const patientService = {\n getAllPatients: () => apiClient.get(ENDPOINT),\n getPatientById: id => apiClient.get(`${ENDPOINT}/${id}`),\n getPatientByEmbg: embg => apiClient.get(`${ENDPOINT}/embg/${embg}`),\n getPatientByEmail: email => apiClient.get(`${ENDPOINT}/email/${email}`),\n createPatient: patient => apiClient.post(ENDPOINT, patient),\n updatePatient: (id, patient) => apiClient.put(`${ENDPOINT}/${id}`, patient)\n};","map":{"version":3,"names":["apiClient","ENDPOINT","patientService","getAllPatients","get","getPatientById","id","getPatientByEmbg","embg","getPatientByEmail","email","createPatient","patient","post","updatePatient","put"],"sources":["C:/Users/User/Downloads/medora5/frontend/src/services/patientService.js"],"sourcesContent":["import apiClient from './api';\n\nconst ENDPOINT = '/patients';\n\nexport const patientService = {\n getAllPatients: () => apiClient.get(ENDPOINT),\n\n getPatientById: (id) => apiClient.get(`${ENDPOINT}/${id}`),\n\n getPatientByEmbg: (embg) => apiClient.get(`${ENDPOINT}/embg/${embg}`),\n\n getPatientByEmail: (email) => apiClient.get(`${ENDPOINT}/email/${email}`),\n\n createPatient: (patient) => apiClient.post(ENDPOINT, patient),\n\n updatePatient: (id, patient) => apiClient.put(`${ENDPOINT}/${id}`, patient),\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,OAAO;AAE7B,MAAMC,QAAQ,GAAG,WAAW;AAE5B,OAAO,MAAMC,cAAc,GAAG;EAC5BC,cAAc,EAAEA,CAAA,KAAMH,SAAS,CAACI,GAAG,CAACH,QAAQ,CAAC;EAE7CI,cAAc,EAAGC,EAAE,IAAKN,SAAS,CAACI,GAAG,CAAC,GAAGH,QAAQ,IAAIK,EAAE,EAAE,CAAC;EAE1DC,gBAAgB,EAAGC,IAAI,IAAKR,SAAS,CAACI,GAAG,CAAC,GAAGH,QAAQ,SAASO,IAAI,EAAE,CAAC;EAErEC,iBAAiB,EAAGC,KAAK,IAAKV,SAAS,CAACI,GAAG,CAAC,GAAGH,QAAQ,UAAUS,KAAK,EAAE,CAAC;EAEzEC,aAAa,EAAGC,OAAO,IAAKZ,SAAS,CAACa,IAAI,CAACZ,QAAQ,EAAEW,OAAO,CAAC;EAE7DE,aAAa,EAAEA,CAACR,EAAE,EAAEM,OAAO,KAAKZ,SAAS,CAACe,GAAG,CAAC,GAAGd,QAAQ,IAAIK,EAAE,EAAE,EAAEM,OAAO;AAC5E,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
Note: See TracBrowser for help on using the repository browser.