n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.57 kB
JavaScript
(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.13.4`}}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]=`8803794e-31f3-4c1d-837c-5de2c0b01fbb`,e._sentryDebugIdIdentifier=`sentry-dbid-8803794e-31f3-4c1d-837c-5de2c0b01fbb`)})()}catch{}import{w as e}from"./users.store-BHWXXawf.js";import{Gi as t,Lt as n,Oa as r,Tr as i,lt as a,ma as o,ya as s}from"./constants-CIP7tKq1.js";function c(e,t){let n=e.getNodeType(t.type,t.typeVersion);if(!n?.credentials)return[];let r=n.credentials,i=s(n.properties,t.parameters,!0,!1,t,n)??t.parameters;return r.filter(e=>o(i,e,t,n))}function l(e,t){return c(e,t).length>0}function u(e,t){return e.credentials?!!e.credentials[t]:!1}function d(e,t){return c(e,t).every(e=>u(t,e.name))}const f=[i,n,a];function p(e){let n=[];return t(e.parameters,n),n.length>0||f.includes(e.type)||e.type.includes(`vectorStore`)&&e.parameters?.mode===`retrieve-as-tool`||r(e.type)}function m(t,n){if(!n)return t;let r=n?.type?e().getNodeType(n.type,n.typeVersion):null;if(!r||!Array.isArray(r.properties))return t;let i=s(r.properties,n.parameters,!0,!1,n,r)??n.parameters;return t.filter(e=>!e.displayOptions&&!e.disabledOptions?!0:o(i,e,n,r,void 0,`displayOptions`))}export{m as a,c as i,d as n,p as o,l as r,f as t};
//# sourceMappingURL=nodeTransforms-DgA3LbBA.js.map