UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.19 kB
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.16.1`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`82fd8626-b9ba-41a0-90a3-0dbf31ec109e`,e._sentryDebugIdIdentifier=`sentry-dbid-82fd8626-b9ba-41a0-90a3-0dbf31ec109e`)})()}catch{}import{Ft as e,Pt as t}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{T as n,t as r}from"./useRootStore-XEREVjMN.js";import{Q as i,Z as a}from"./settings.store-CAFiYCMH.js";var o=n(`userRoleProvisioning`,()=>{let n=r(),o=e();return{provisioningConfig:t(o),getProvisioningConfig:async()=>{try{let e=await a(n.restApiContext);return o.value=e,e}catch(e){throw console.error(`Failed to fetch provisioning config:`,e),e}},saveProvisioningConfig:async e=>{try{let t=await i(n.restApiContext,e);return o.value=t,t}catch(e){throw console.error(`Failed to save provisioning config:`,e),e}}}});export{o as t}; //# sourceMappingURL=userRoleProvisioning.store-JMQrCKEv.js.map