Liferay.Loader.define("data-engine-js-components-web@1.0.86/js/core/hooks/useResource.es",["module","exports","require","@frontend-taglib-clay$clayui/data-provider","frontend-js-web","./useStorage.es"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.useFieldTypesResource=function useFieldTypesResource(){const t=(0,s.useStorage)();return(0,a.useResource)({fetch:(e,t)=>(0,n.fetch)(e,t).then((e=>e.json())),fetchOptions:{headers:i},fetchPolicy:"cache-first",link:e,storage:t,variables:{p_auth:Liferay.authToken}})};var a=o("@frontend-taglib-clay$clayui/data-provider"),n=o("frontend-js-web"),s=o("./useStorage.es");const e="".concat(window.location.origin).concat(themeDisplay.getPathContext(),"/o/dynamic-data-mapping-form-field-types"),i={Accept:"application/json","Accept-Language":Liferay.ThemeDisplay.getBCP47LanguageId(),"Content-Type":"application/json"}}}));
//# sourceMappingURL=useResource.es.js.map