All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.initializers.axiosInitializer.paramsSerializer.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"paramsSerializer.js","names":["_axios","_interopRequireDefault","require","_qs","setParamsSerializer","axios","defaults","paramsSerializer","params","qs","stringify","arrayFormat","skipNulls","_default","exports"],"sources":["../../../../src/initializers/axiosInitializer/paramsSerializer.js"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/use-snake-case-for-api-connector-filename */\nimport axios from \"axios\";\nimport qs from \"qs\";\n\nconst setParamsSerializer = () => {\n  axios.defaults.paramsSerializer = params =>\n    qs.stringify(params, { arrayFormat: \"brackets\", skipNulls: true });\n};\n\nexport default setParamsSerializer;\n"],"mappings":";;;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,GAAA,GAAAF,sBAAA,CAAAC,OAAA;AAFA;;AAIA,IAAME,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAS;EAChCC,iBAAK,CAACC,QAAQ,CAACC,gBAAgB,GAAG,UAAAC,MAAM;IAAA,OACtCC,cAAE,CAACC,SAAS,CAACF,MAAM,EAAE;MAAEG,WAAW,EAAE,UAAU;MAAEC,SAAS,EAAE;IAAK,CAAC,CAAC;EAAA;AACtE,CAAC;AAAC,IAAAC,QAAA,GAEaT,mBAAmB;AAAAU,OAAA,cAAAD,QAAA"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy