1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
{"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 PhotoService = /*#__PURE__*/function () {\n function PhotoService() {\n _classCallCheck(this, PhotoService);\n }\n\n _createClass(PhotoService, [{\n key: \"getImages\",\n value: function getImages() {\n return axios.get('assets/demo/data/photos.json').then(function (res) {\n return res.data.data;\n });\n }\n }]);\n\n return PhotoService;\n}();","map":{"version":3,"names":["axios","PhotoService","get","then","res","data"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/service/PhotoService.js"],"sourcesContent":["import axios from 'axios';\n\nexport class PhotoService {\n\n getImages() {\n return axios.get('assets/demo/data/photos.json').then(res => res.data.data);\n }\n}\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,WAAaC,YAAb;EAAA;IAAA;EAAA;;EAAA;IAAA;IAAA,OAEI,qBAAY;MACR,OAAOD,KAAK,CAACE,GAAN,CAAU,8BAAV,EAA0CC,IAA1C,CAA+C,UAAAC,GAAG;QAAA,OAAIA,GAAG,CAACC,IAAJ,CAASA,IAAb;MAAA,CAAlD,CAAP;IACH;EAJL;;EAAA;AAAA"},"metadata":{},"sourceType":"module"}
|