{"ast":null,"code":"import _classCallCheck from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport axios from 'axios';\nexport var CustomerService = /*#__PURE__*/function () {\n function CustomerService() {\n _classCallCheck(this, CustomerService);\n }\n\n _createClass(CustomerService, [{\n key: \"getCustomersMedium\",\n value: function getCustomersMedium() {\n return axios.get('assets/demo/data/customers-medium.json').then(function (res) {\n return res.data.data;\n });\n }\n }, {\n key: \"getCustomersLarge\",\n value: function getCustomersLarge() {\n return axios.get('assets/demo/data/customers-large.json').then(function (res) {\n return res.data.data;\n });\n }\n }]);\n\n return CustomerService;\n}();","map":{"version":3,"names":["axios","CustomerService","get","then","res","data"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/service/CustomerService.js"],"sourcesContent":["import axios from 'axios'\n\nexport class CustomerService {\n getCustomersMedium() {\n return axios.get('assets/demo/data/customers-medium.json')\n .then(res => res.data.data);\n }\n\n getCustomersLarge() {\n return axios.get('assets/demo/data/customers-large.json')\n .then(res => res.data.data);\n }\n \n}"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,WAAaC,eAAb;EAAA;IAAA;EAAA;;EAAA;IAAA;IAAA,OACI,8BAAqB;MACjB,OAAOD,KAAK,CAACE,GAAN,CAAU,wCAAV,EACFC,IADE,CACG,UAAAC,GAAG;QAAA,OAAIA,GAAG,CAACC,IAAJ,CAASA,IAAb;MAAA,CADN,CAAP;IAEH;EAJL;IAAA;IAAA,OAMI,6BAAoB;MAChB,OAAOL,KAAK,CAACE,GAAN,CAAU,uCAAV,EACEC,IADF,CACO,UAAAC,GAAG;QAAA,OAAIA,GAAG,CAACC,IAAJ,CAASA,IAAb;MAAA,CADV,CAAP;IAEH;EATL;;EAAA;AAAA"},"metadata":{},"sourceType":"module"}