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