1"use strict";(globalThis.webpackChunkeventcatalog_docs=globalThis.webpackChunkeventcatalog_docs||[]).push([[14279],{48193:(e,s,d)=>{d.d(s,{R:()=>c,x:()=>o});var n=d(30758);const r={},t=n.createContext(r);function c(e){const s=n.useContext(t);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(t.Provider,{value:s},e.children)}},56941:(e,s,d)=>{d.r(s),d.d(s,{assets:()=>i,contentTitle:()=>o,default:()=>a,frontMatter:()=>c,metadata:()=>n,toc:()=>l});const n=JSON.parse('{"id":"sdk/functions/addFlowToSystem","title":"Function: addFlowToSystem()","description":"addFlowToSystem(directory): (id, resource, version?) => Promise\\\\","source":"@site/docs/sdk/functions/addFlowToSystem.md","sourceDirName":"sdk/functions","slug":"/sdk/functions/addFlowToSystem","permalink":"/docs/sdk/functions/addFlowToSystem","draft":false,"unlisted":false,"editUrl":"https://github.com/event-catalog/docs/tree/main/docs/sdk/functions/addFlowToSystem.md","tags":[],"version":"current","frontMatter":{}}');var r=d(86070),t=d(48193);const c={},o="Function: addFlowToSystem()",i={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3}];function h(e){const s={blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"function-addflowtosystem",children:"Function: addFlowToSystem()"})}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"addFlowToSystem"}),"(",(0,r.jsx)(s.code,{children:"directory"}),"): (",(0,r.jsx)(s.code,{children:"id"}),", ",(0,r.jsx)(s.code,{children:"resource"}),", ",(0,r.jsx)(s.code,{children:"version"}),"?) => ",(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"void"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Defined in: systems.ts:178"}),"\n",(0,r.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Parameter"}),(0,r.jsx)(s.th,{children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"directory"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"string"})})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Function"})}),"\n",(0,r.jsx)(s.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Parameter"}),(0,r.jsx)(s.th,{children:"Type"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"id"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"string"})})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"resource"})}),(0,r.jsxs)(s.td,{children:["{ ",(0,r.jsx)(s.code,{children:"id"}),": ",(0,r.jsx)(s.code,{children:"string"}),"; ",(0,r.jsx)(s.code,{children:"version"}),": ",(0,r.jsx)(s.code,{children:"string"}),"; }"]})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"resource.id"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"string"})})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"resource.version"}),"?"]}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"string"})})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"version"}),"?"]}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"string"})})]})]})]}),"\n",(0,r.jsx)(s.h3,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"void"}),">"]})]})}function a(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.