n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 2.04 kB
JavaScript
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./users.store-legacy-OKuN0qAC.js","./_baseOrderBy-legacy-PsQY_Pvh.js"],(function(e,t){var n,i,o,r,a,s,c,u,f,d,l,y;return e("t",(function(e){const t=y(),g=n("initializing"),p=n(void 0),b=n(!1),w=n(!1);return{connectionState:g,connectionError:p,isLoading:b,isTesting:w,setConnectionState:function(e){g.value=e},getConnection:async function(n){b.value=!0;try{return e?await a(t.restApiContext,e,n):await f(t.restApiContext,n)}finally{b.value=!1}},createConnection:async function(n){return e?await s(t.restApiContext,e,{providerKey:n.providerKey,type:n.type,projectIds:[e],settings:n.settings}):await u(t.restApiContext,{...n,isGlobal:!0})},updateConnection:async function(n,i){return e?await d(t.restApiContext,e,n,{settings:i.settings}):await r(t.restApiContext,n,i)},testConnection:async function(n){w.value=!0;try{const{testState:r,error:a}=e?await o(t.restApiContext,e,n):await i(t.restApiContext,n);return g.value="tested"===r?"connected":r,p.value=a,g.value}catch{return g.value="error","error"}finally{w.value=!1}},reloadConnection:async function(e){return await l(t.restApiContext,e)},activateConnection:async function(e){return await c(t.restApiContext,e)}}})),{setters:[function(e){n=e.Ft},function(e){i=e.Cc,o=e.Sc,r=e.Tc,a=e._c,s=e.fc,c=e.gc,u=e.pc,f=e.vc,d=e.wc,l=e.xc},function(e){y=e.r}],execute:function(){try{e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(t=(new e.Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99118d3f-fd9f-4648-8ff1-ce353be8b802",e._sentryDebugIdIdentifier="sentry-dbid-99118d3f-fd9f-4648-8ff1-ce353be8b802")}catch(e){}var e,t}}}));
//# sourceMappingURL=useSecretsProviderConnection.ee-legacy-e0rpjezG.js.map