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

package.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","qs","setParamsSerializer","defaults","paramsSerializer","params","stringify","arrayFormat","skipNulls"],"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":"AAAA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,EAAE,MAAM,IAAI;AAEnB,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAS;EAChCF,KAAK,CAACG,QAAQ,CAACC,gBAAgB,GAAG,UAAAC,MAAM;IAAA,OACtCJ,EAAE,CAACK,SAAS,CAACD,MAAM,EAAE;MAAEE,WAAW,EAAE,UAAU;MAAEC,SAAS,EAAE;IAAK,CAAC,CAAC;EAAA;AACtE,CAAC;AAED,eAAeN,mBAAmB"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy