@quan-erp/shared-backend-core 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/0d45f5fd/5KlFrPzh.js +1 -0
- package/dist/0d45f5fd/B39PJnPI.js +1 -0
- package/dist/0d45f5fd/B9PiPcem.js +1 -0
- package/dist/0d45f5fd/B9n9G1yv.js +1 -0
- package/dist/0d45f5fd/BG4uzJH8.js +1 -0
- package/dist/0d45f5fd/BSYoBKie.js +1 -0
- package/dist/0d45f5fd/BSoQlFtK.js +1 -0
- package/dist/0d45f5fd/BdIoxvqZ.js +1 -0
- package/dist/0d45f5fd/Bjtfltpk.js +1 -0
- package/dist/0d45f5fd/BnAtyUlK.js +1 -0
- package/dist/0d45f5fd/BnVVAcqU.js +1 -0
- package/dist/0d45f5fd/BpygDVVM.js +1 -0
- package/dist/0d45f5fd/BtsQx3aY.js +1 -0
- package/dist/0d45f5fd/CCA7LWmS.js +1 -0
- package/dist/0d45f5fd/CKB1ifMq.js +1 -0
- package/dist/0d45f5fd/CRwWF7UI.js +1 -0
- package/dist/0d45f5fd/CXJRBJWG.js +1 -0
- package/dist/0d45f5fd/CXtVchjo.js +1 -0
- package/dist/0d45f5fd/Cai5KXIT.js +1 -0
- package/dist/0d45f5fd/Cg31gF4E.js +1 -0
- package/dist/0d45f5fd/Cq4RSZy9.js +1 -0
- package/dist/0d45f5fd/DC3PtGPu.js +1 -0
- package/dist/0d45f5fd/DIFFnF56.js +1 -0
- package/dist/0d45f5fd/DOcmAiwD.js +1 -0
- package/dist/0d45f5fd/Da8GroSP.js +1 -0
- package/dist/0d45f5fd/Di60wa_E.js +1 -0
- package/dist/0d45f5fd/DvG5qFao.js +1 -0
- package/dist/0d45f5fd/DyEymKEk.js +1 -0
- package/dist/0d45f5fd/UGXY0ODE.js +1 -0
- package/dist/0d45f5fd/__eOk8J6.js +1 -0
- package/dist/0d45f5fd/asmaHIQv.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/25p0Miq_.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/5s8pBnVf.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BE5KBeOK.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BEPU-S6o.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BWziVYGZ.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BmoqY6qK.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BoAUIetu.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/BwEGj0SR.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/C1HmfU8l.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/CcS-MRSy.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/CtrMkht2.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/CvvA02Hw.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/Cyqt_ETc.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/DGkvCdvx.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/DScQTTOQ.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/DZmJZNCG.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/DfpMAyYK.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/DoVADpy9.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/GwLgwN_L.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/U9R2mFhp.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/oLO9WiPq.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/wumOP7IP.js +1 -0
- package/dist/0d45f5fd/da7f739f/06cc432b/xadXToXe.js +1 -0
- package/dist/0d45f5fd/da7f739f/BmmPTjeD.js +1 -0
- package/dist/0d45f5fd/da7f739f/CvY_IQUA.js +1 -0
- package/dist/0d45f5fd/da7f739f/CzJW4exV.js +1 -0
- package/dist/0d45f5fd/da7f739f/Db3MBFjV.js +1 -0
- package/dist/0d45f5fd/da7f739f/DtAPNglw.js +1 -0
- package/dist/0d45f5fd/da7f739f/fr7kJRNu.js +1 -0
- package/dist/0d45f5fd/evrUwPJ-.js +1 -0
- package/dist/0d45f5fd/o9g8wBjh.js +1 -0
- package/dist/2ad56231/01dcea55/AwPsPqwP.js +1 -0
- package/dist/2ad56231/01dcea55/Cz1YOfmh.js +1 -0
- package/dist/2ad56231/01dcea55/DbyYeAcK.js +1 -0
- package/dist/2ad56231/1242ab99/BA2IW6c-.js +1 -0
- package/dist/2ad56231/1242ab99/CsEQAHhz.js +1 -0
- package/dist/2ad56231/1242ab99/Dw013QG2.js +1 -0
- package/dist/2ad56231/258b1873/DJawI8Tt.js +1 -0
- package/dist/2ad56231/258b1873/DzDc9Y5O.js +1 -0
- package/dist/2ad56231/2c0a4857/BwRIrBb3.js +1 -0
- package/dist/2ad56231/2d464c7d/83Yc1Hce.js +1 -0
- package/dist/2ad56231/2d464c7d/B9IugnhI.js +1 -0
- package/dist/2ad56231/3549b002/B4AKkY6Y.js +1 -0
- package/dist/2ad56231/3549b002/BwXRw8qz.js +1 -0
- package/dist/2ad56231/3b9c358f/B9TqbaT4.js +1 -0
- package/dist/2ad56231/3b9c358f/NMwzw7gO.js +1 -0
- package/dist/2ad56231/466e5b9c/Buwsv_7w.js +1 -0
- package/dist/2ad56231/466e5b9c/CeA-GNfe.js +1 -0
- package/dist/2ad56231/54246ca2/BH4qJOxT.js +1 -0
- package/dist/2ad56231/54246ca2/BLxcE0jr.js +1 -0
- package/dist/2ad56231/54246ca2/CLTAEbdq.js +1 -0
- package/dist/2ad56231/60be9861/D_PpGELJ.js +1 -0
- package/dist/2ad56231/618b8c8d/CVcmoBY3.js +1 -0
- package/dist/2ad56231/618b8c8d/xJCbY_5T.js +1 -0
- package/dist/2ad56231/7f3fa48c/Dj2y3_YR.js +1 -0
- package/dist/2ad56231/7f3fa48c/uFEX-gjF.js +1 -0
- package/dist/2ad56231/7f9ba364/Czs1Ohri.js +1 -0
- package/dist/2ad56231/7f9ba364/DiH_Qe6t.js +1 -0
- package/dist/2ad56231/83b99aea/CKYFeURr.js +1 -0
- package/dist/2ad56231/83b99aea/NkYh5QNp.js +1 -0
- package/dist/2ad56231/85000c0b/CT5JfXDU.js +1 -0
- package/dist/2ad56231/9983e5f2/B-nEfBPG.js +1 -0
- package/dist/2ad56231/9983e5f2/CsSmIxA6.js +1 -0
- package/dist/2ad56231/9d263798/4EVoBbMS.js +1 -0
- package/dist/2ad56231/Cb2X6t1P.js +1 -0
- package/dist/2ad56231/DvZRtj63.js +1 -0
- package/dist/2ad56231/a7b85550/D-_A5y4Y.js +1 -0
- package/dist/2ad56231/a7b85550/bLwrG6oQ.js +1 -0
- package/dist/2ad56231/e6eaea18/7517017f/fOK4Yqwl.js +1 -0
- package/dist/2ad56231/e6eaea18/DH0d9qaL.js +1 -0
- package/dist/2ad56231/e6eaea18/sVUlA6tr.js +1 -0
- package/dist/2ad56231/e938ace2/DW_NuK5v.js +1 -0
- package/dist/2ad56231/e938ace2/De4S4dnC.js +1 -0
- package/dist/2ad56231/ec72b956/ClRr2YrL.js +1 -0
- package/dist/2ad56231/ec72b956/Ctb6muYY.js +1 -0
- package/dist/2ad56231/vRD99Hpr.js +1 -0
- package/dist/2cc49785/5sVGLc0F.js +1 -0
- package/dist/2cc49785/B5fBjtkr.js +1 -0
- package/dist/2cc49785/BAffXqRd.js +1 -0
- package/dist/2cc49785/BCYnJvIR.js +1 -0
- package/dist/2cc49785/BIOKfeGU.js +1 -0
- package/dist/2cc49785/BKJkVgsW.js +1 -0
- package/dist/2cc49785/Bd1ydJag.js +1 -0
- package/dist/2cc49785/C4OM0mLw.js +1 -0
- package/dist/2cc49785/CL8e3nzY.js +1 -0
- package/dist/2cc49785/CLlWYd0R.js +1 -0
- package/dist/2cc49785/ClYe_VwO.js +1 -0
- package/dist/2cc49785/Cu5EkDoB.js +1 -0
- package/dist/2cc49785/XvEhrcTr.js +1 -0
- package/dist/2cc49785/_aC-WIP1.js +1 -0
- package/dist/2cc49785/a57L0oEj.js +1 -0
- package/dist/2cc49785/e6eaea18/Cjqk0vWG.js +1 -0
- package/dist/2cc49785/e6eaea18/D0fNkjon.js +1 -0
- package/dist/2cc49785/e6eaea18/D3Dn1MIt.js +1 -0
- package/dist/2cc49785/e6eaea18/yhPGRXBG.js +1 -0
- package/dist/2cc49785/hhsuZ2nK.js +1 -0
- package/dist/2cc49785/jng0g1H1.js +1 -0
- package/dist/2cc49785/k2901Fu3.js +1 -0
- package/dist/46b42b42/CEmdabCT.js +1 -0
- package/dist/6610c73e/04f8996d/BWF6rOkR.js +1 -0
- package/dist/6610c73e/04f8996d/CaXcz_i7.js +1 -0
- package/dist/6610c73e/04f8996d/CmjhNO_P.js +1 -0
- package/dist/6610c73e/04f8996d/DKxCvRhP.js +1 -0
- package/dist/6610c73e/04f8996d/DtGMr0d5.js +1 -0
- package/dist/6610c73e/04f8996d/Z48L3dXG.js +1 -0
- package/dist/6610c73e/09355034/CODWyl4K.js +1 -0
- package/dist/6610c73e/09355034/gHwDpi39.js +1 -0
- package/dist/6610c73e/108201be/CXkV9Wml.js +1 -0
- package/dist/6610c73e/108201be/Cu4DoJ6P.js +1 -0
- package/dist/6610c73e/108201be/DTOIXs__.js +1 -0
- package/dist/6610c73e/2882bf13/DrsfObL3.js +1 -0
- package/dist/6610c73e/2882bf13/bCn1uuNp.js +1 -0
- package/dist/6610c73e/2a1073a6/B_5Deuzb.js +1 -0
- package/dist/6610c73e/2a1073a6/CkBoFImc.js +1 -0
- package/dist/6610c73e/340a3320/DMu-yu6w.js +1 -0
- package/dist/6610c73e/340a3320/WtvAQ1Zk.js +1 -0
- package/dist/6610c73e/3cae9be6/DZFOH9Z2.js +1 -0
- package/dist/6610c73e/3cae9be6/lxWv5dai.js +1 -0
- package/dist/6610c73e/48e13c1e/BaWTxVuk.js +1 -0
- package/dist/6610c73e/48e13c1e/DC8jiBLc.js +1 -0
- package/dist/6610c73e/4b168d88/CBc-ilUo.js +1 -0
- package/dist/6610c73e/4b168d88/Dk7iGuFo.js +1 -0
- package/dist/6610c73e/4b168d88/NIu8TJUV.js +1 -0
- package/dist/6610c73e/5e1ecee0/CuVdoLW5.js +1 -0
- package/dist/6610c73e/5e689e2b/BBEFD0MJ.js +1 -0
- package/dist/6610c73e/5e689e2b/D63jRed3.js +1 -0
- package/dist/6610c73e/5e689e2b/si0E7vy4.js +1 -0
- package/dist/6610c73e/6e1815de/DAEjspug.js +1 -0
- package/dist/6610c73e/82de49c1/CsBZXKps.js +1 -0
- package/dist/6610c73e/87f29211/00282ba1/BKMWpuIK.js +1 -0
- package/dist/6610c73e/87f29211/00282ba1/Cz6fk5Wc.js +1 -0
- package/dist/6610c73e/87f29211/00282ba1/UFVg93nd.js +1 -0
- package/dist/6610c73e/87f29211/0f8de574/CpohrteO.js +1 -0
- package/dist/6610c73e/87f29211/3681c247/CS5g0xlW.js +1 -0
- package/dist/6610c73e/87f29211/3681c247/D3o0RqEX.js +1 -0
- package/dist/6610c73e/87f29211/6fd89734/9YxHEjDK.js +1 -0
- package/dist/6610c73e/87f29211/87f29211/C6uLcJPv.js +1 -0
- package/dist/6610c73e/87f29211/a9d0df18/B72PlhwA.js +1 -0
- package/dist/6610c73e/87f29211/a9d0df18/BCYE1vDG.js +1 -0
- package/dist/6610c73e/87f29211/a9d0df18/BSCkvdZ1.js +1 -0
- package/dist/6610c73e/87f29211/a9d0df18/BVg40SgX.js +1 -0
- package/dist/6610c73e/87f29211/a9d0df18/CMGCNHO4.js +1 -0
- package/dist/6610c73e/87f29211/b10ca3c4/BOLYM85y.js +1 -0
- package/dist/6610c73e/87f29211/b10ca3c4/D24x_3dy.js +1 -0
- package/dist/6610c73e/87f29211/b10ca3c4/DE25xVRs.js +1 -0
- package/dist/6610c73e/87f29211/fc973325/BAl3nDHD.js +1 -0
- package/dist/6610c73e/87f29211/fc973325/C64aaE_N.js +1 -0
- package/dist/6610c73e/87f29211/fc973325/DfF3lHvu.js +1 -0
- package/dist/6610c73e/8a6cead4/HoQvvqKQ.js +1 -0
- package/dist/6610c73e/D9H-YP7D.js +1 -0
- package/dist/6610c73e/b77349bf/BMAKW8m1.js +1 -0
- package/dist/6610c73e/b77349bf/D6WADvlw.js +1 -0
- package/dist/6610c73e/bbc5e661/hSkxlapS.js +1 -0
- package/dist/6610c73e/bbc5e661/tRmwB0Ab.js +1 -0
- package/dist/6610c73e/bd5c70f7/mOPMbxOa.js +1 -0
- package/dist/6610c73e/c374eea5/C_oo4cXt.js +1 -0
- package/dist/6610c73e/c374eea5/DAMptVg5.js +1 -0
- package/dist/6610c73e/da7f739f/BYicXwEj.js +1 -0
- package/dist/6610c73e/da7f739f/s2U4XeTc.js +1 -0
- package/dist/6610c73e/f38c764c/ClTmuz3f.js +1 -0
- package/dist/6610c73e/f38c764c/FzrDaVim.js +1 -0
- package/dist/6610c73e/f38c764c/qDdEVNYd.js +1 -0
- package/dist/6610c73e/fdeb3389/BR9K3ZBb.js +1 -0
- package/dist/6610c73e/fdeb3389/BW0M26Pt.js +1 -0
- package/dist/871f3f39/3-RV1Nvh.js +1 -0
- package/dist/871f3f39/B0WsLvd-.js +1 -0
- package/dist/871f3f39/B46GW4Vh.js +1 -0
- package/dist/871f3f39/BGoChp9H.js +1 -0
- package/dist/871f3f39/BHmcll93.js +1 -0
- package/dist/871f3f39/BY-kbHqP.js +1 -0
- package/dist/871f3f39/Bbr4nitJ.js +1 -0
- package/dist/871f3f39/Bc6LGIQu.js +1 -0
- package/dist/871f3f39/BdXXlrKL.js +1 -0
- package/dist/871f3f39/BoqeRGCn.js +1 -0
- package/dist/871f3f39/Bu9hWZCD.js +1 -0
- package/dist/871f3f39/C2m7j5qh.js +1 -0
- package/dist/871f3f39/CFN-fsiD.js +1 -0
- package/dist/871f3f39/CUS6_AMK.js +1 -0
- package/dist/871f3f39/Cmsu5KK7.js +1 -0
- package/dist/871f3f39/Cx5X1Vvz.js +1 -0
- package/dist/871f3f39/D1xWpNbO.js +1 -0
- package/dist/871f3f39/D3YMKsRk.js +1 -0
- package/dist/871f3f39/D6g3V5OE.js +1 -0
- package/dist/871f3f39/DcqjrN7k.js +1 -0
- package/dist/871f3f39/QBqrZxtz.js +1 -0
- package/dist/871f3f39/kgYqEVK1.js +1 -0
- package/dist/871f3f39/lTtOC6ek.js +1 -0
- package/dist/871f3f39/po68uTxW.js +1 -0
- package/dist/9477dda6/CFyCv-GB.js +1 -0
- package/dist/9477dda6/DIoDs5M_.js +1 -0
- package/dist/9f80922e/5XFiGZsG.js +1 -0
- package/dist/BWkMrHuo.js +1 -0
- package/dist/DJSe7osj.js +1 -0
- package/dist/abe2c417/B1Ewpect.js +1 -0
- package/dist/abe2c417/BqnwMeCy.js +1 -0
- package/dist/abe2c417/C0G57Pwe.js +1 -0
- package/dist/abe2c417/CEB_j614.js +1 -0
- package/dist/abe2c417/CLABtmwy.js +1 -0
- package/dist/abe2c417/CNiL-ChU.js +1 -0
- package/dist/abe2c417/CV67ztVb.js +1 -0
- package/dist/abe2c417/CaWcWRhY.js +1 -0
- package/dist/abe2c417/CoVXKJh5.js +1 -0
- package/dist/abe2c417/DBb4G-HP.js +1 -0
- package/dist/abe2c417/DCY3ehAH.js +1 -0
- package/dist/abe2c417/DKWvNL0q.js +1 -0
- package/dist/abe2c417/DT_whRfi.js +1 -0
- package/dist/abe2c417/LXm3t009.js +1 -0
- package/dist/abe2c417/Lvd3rf8x.js +1 -0
- package/dist/abe2c417/kEG-y8qb.js +1 -0
- package/dist/abe2c417/ugzW3tmu.js +1 -0
- package/dist/abe2c417/yBBNgsRd.js +1 -0
- package/dist/d58efc4e/DtLRjtgg.js +1 -0
- package/dist/fbc6c1d4/D5cBvB9j.js +1 -0
- package/dist/fd7f274b/BG5oN9EM.js +1 -0
- package/dist/fd7f274b/BobTe5_-.js +1 -0
- package/dist/fd7f274b/Bq2MX2tN.js +1 -0
- package/dist/fd7f274b/C0kwc9km.js +1 -0
- package/dist/fd7f274b/CpGOV-2E.js +1 -0
- package/dist/fd7f274b/CsgOaYTS.js +1 -0
- package/dist/fd7f274b/D24GT5y1.js +1 -0
- package/dist/fd7f274b/ST9KOcsE.js +1 -0
- package/dist/fd7f274b/npvNsAoI.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/0274021b/47a09c7e.d.ts +4 -0
- package/dist/types/0d45f5fd/000288c6.d.ts +22 -0
- package/dist/types/0d45f5fd/02800656.d.ts +17 -0
- package/dist/types/0d45f5fd/0fb8754a.d.ts +77 -0
- package/dist/types/0d45f5fd/13052334.d.ts +62 -0
- package/dist/types/0d45f5fd/1428ba3f.d.ts +3 -0
- package/dist/types/0d45f5fd/1c59aca9.d.ts +302 -0
- package/dist/types/0d45f5fd/262b0493.d.ts +21 -0
- package/dist/types/0d45f5fd/2881a088.d.ts +26 -0
- package/dist/types/0d45f5fd/496c2854.d.ts +14 -0
- package/dist/types/0d45f5fd/4b41f653.d.ts +15 -0
- package/dist/types/0d45f5fd/4ced2577.d.ts +28 -0
- package/dist/types/0d45f5fd/4db5cc33.d.ts +165 -0
- package/dist/types/0d45f5fd/4dd6b41d.d.ts +80 -0
- package/dist/types/0d45f5fd/5c6ee442.d.ts +24 -0
- package/dist/types/0d45f5fd/60dffdb5.d.ts +57 -0
- package/dist/types/0d45f5fd/6559a8c1.d.ts +104 -0
- package/dist/types/0d45f5fd/6d626690.d.ts +66 -0
- package/dist/types/0d45f5fd/78464d38.d.ts +189 -0
- package/dist/types/0d45f5fd/7932a0bf.d.ts +28 -0
- package/dist/types/0d45f5fd/7ec9eec1.d.ts +28 -0
- package/dist/types/0d45f5fd/885b723d.d.ts +59 -0
- package/dist/types/0d45f5fd/8e161648.d.ts +67 -0
- package/dist/types/0d45f5fd/8e609bb7.d.ts +1 -0
- package/dist/types/0d45f5fd/93c2615f.d.ts +27 -0
- package/dist/types/0d45f5fd/96fd122b.d.ts +24 -0
- package/dist/types/0d45f5fd/9a2c73cf.d.ts +365 -0
- package/dist/types/0d45f5fd/a1a2ec11.d.ts +142 -0
- package/dist/types/0d45f5fd/a45e63d6.d.ts +4 -0
- package/dist/types/0d45f5fd/a73ae28b.d.ts +48 -0
- package/dist/types/0d45f5fd/b5020a96.d.ts +36 -0
- package/dist/types/0d45f5fd/b528e7a2.d.ts +81 -0
- package/dist/types/0d45f5fd/ba35bfca.d.ts +36 -0
- package/dist/types/0d45f5fd/d453df06.d.ts +34 -0
- package/dist/types/0d45f5fd/d9b4a449.d.ts +316 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/06650bfd.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/228cff9f.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/2a8ae20e.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/3110d02c.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/3d168b1c.d.ts +22 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/4650afb2.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/483335d4.d.ts +37 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/5173b4f0.d.ts +26 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/539f31f2.d.ts +25 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/546ed991.d.ts +43 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/5f1c4d9b.d.ts +48 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/8db0fea5.d.ts +15 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/a10395b5.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/aabb6337.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/b16083fb.d.ts +29 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/b5784cae.d.ts +38 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/b69d1169.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/b9a7f4ad.d.ts +20 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/c794fb87.d.ts +27 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/d1eb6a2a.d.ts +40 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/d5ee1c94.d.ts +36 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/d6e89c7c.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/d8b70efb.d.ts +13 -0
- package/dist/types/0d45f5fd/da7f739f/06cc432b/e2a08a0c.d.ts +27 -0
- package/dist/types/0d45f5fd/da7f739f/079fe83d.d.ts +14 -0
- package/dist/types/0d45f5fd/da7f739f/2a1fe862.d.ts +26 -0
- package/dist/types/0d45f5fd/da7f739f/2d25ebcf.d.ts +8 -0
- package/dist/types/0d45f5fd/da7f739f/3e71dc06.d.ts +4 -0
- package/dist/types/0d45f5fd/da7f739f/597ef69e.d.ts +90 -0
- package/dist/types/0d45f5fd/da7f739f/a588a26e.d.ts +80 -0
- package/dist/types/0d45f5fd/da7f739f/f7427a8d.d.ts +33 -0
- package/dist/types/0d45f5fd/da7f739f/fb5fafa3.d.ts +12 -0
- package/dist/types/0d45f5fd/ec0a65fc.d.ts +32 -0
- package/dist/types/0d45f5fd/ed08a5cd.d.ts +17 -0
- package/dist/types/0d45f5fd/ee447758.d.ts +3 -0
- package/dist/types/0d45f5fd/f7da2669.d.ts +6 -0
- package/dist/types/2ad56231/01dcea55/0a5f3cca.d.ts +26 -0
- package/dist/types/2ad56231/01dcea55/1cdf989f.d.ts +13 -0
- package/dist/types/2ad56231/01dcea55/344c0cbf.d.ts +12 -0
- package/dist/types/2ad56231/01dcea55/3a555783.d.ts +17 -0
- package/dist/types/2ad56231/1242ab99/21beedc5.d.ts +53 -0
- package/dist/types/2ad56231/1242ab99/7b7754ee.d.ts +12 -0
- package/dist/types/2ad56231/1242ab99/abc978a7.d.ts +32 -0
- package/dist/types/2ad56231/1242ab99/e5ff734c.d.ts +6 -0
- package/dist/types/2ad56231/258b1873/2f33bb8d.d.ts +10 -0
- package/dist/types/2ad56231/258b1873/418b84b4.d.ts +5 -0
- package/dist/types/2ad56231/258b1873/f476762d.d.ts +56 -0
- package/dist/types/2ad56231/2c0a4857/2b466258.d.ts +11 -0
- package/dist/types/2ad56231/2d464c7d/55d4f50c.d.ts +8 -0
- package/dist/types/2ad56231/2d464c7d/e9a5b7d1.d.ts +4 -0
- package/dist/types/2ad56231/3549b002/8f6249d6.d.ts +7 -0
- package/dist/types/2ad56231/3549b002/9a52fb7c.d.ts +10 -0
- package/dist/types/2ad56231/3b9c358f/00c829a8.d.ts +12 -0
- package/dist/types/2ad56231/3b9c358f/298aef08.d.ts +93 -0
- package/dist/types/2ad56231/3b9c358f/8e609bb7.d.ts +1 -0
- package/dist/types/2ad56231/466e5b9c/b9f2cf40.d.ts +12 -0
- package/dist/types/2ad56231/466e5b9c/ba999e69.d.ts +63 -0
- package/dist/types/2ad56231/466e5b9c/cf4df18c.d.ts +19 -0
- package/dist/types/2ad56231/517bc292.d.ts +4 -0
- package/dist/types/2ad56231/54246ca2/ba53415c.d.ts +43 -0
- package/dist/types/2ad56231/54246ca2/c766feba.d.ts +38 -0
- package/dist/types/2ad56231/54246ca2/ddde299e.d.ts +10 -0
- package/dist/types/2ad56231/60be9861/b353ab56.d.ts +6 -0
- package/dist/types/2ad56231/618b8c8d/328b7669.d.ts +29 -0
- package/dist/types/2ad56231/618b8c8d/f362ec51.d.ts +11 -0
- package/dist/types/2ad56231/618b8c8d/febc0d90.d.ts +9 -0
- package/dist/types/2ad56231/7f3fa48c/33ac582f.d.ts +14 -0
- package/dist/types/2ad56231/7f3fa48c/5319afba.d.ts +93 -0
- package/dist/types/2ad56231/7f3fa48c/66bbc22d.d.ts +40 -0
- package/dist/types/2ad56231/7f9ba364/09265e63.d.ts +19 -0
- package/dist/types/2ad56231/7f9ba364/0ac71637.d.ts +27 -0
- package/dist/types/2ad56231/7f9ba364/e4ec6555.d.ts +45 -0
- package/dist/types/2ad56231/83b99aea/14bdfadf.d.ts +10 -0
- package/dist/types/2ad56231/83b99aea/6244682b.d.ts +4 -0
- package/dist/types/2ad56231/83b99aea/fc1f5daa.d.ts +10 -0
- package/dist/types/2ad56231/85000c0b/4024111d.d.ts +34 -0
- package/dist/types/2ad56231/85000c0b/632c90fb.d.ts +8 -0
- package/dist/types/2ad56231/9983e5f2/16ee99b3.d.ts +58 -0
- package/dist/types/2ad56231/9983e5f2/587bf67d.d.ts +21 -0
- package/dist/types/2ad56231/9983e5f2/9b6e3ed3.d.ts +10 -0
- package/dist/types/2ad56231/9ab6b92e.d.ts +41 -0
- package/dist/types/2ad56231/9d263798/45449764.d.ts +18 -0
- package/dist/types/2ad56231/a7b85550/0024064d.d.ts +51 -0
- package/dist/types/2ad56231/a7b85550/656e3fe6.d.ts +5 -0
- package/dist/types/2ad56231/a7b85550/c98f53f7.d.ts +8 -0
- package/dist/types/2ad56231/ceaf7c2a.d.ts +26 -0
- package/dist/types/2ad56231/d065312a.d.ts +8 -0
- package/dist/types/2ad56231/e6eaea18/29b1bffc.d.ts +27 -0
- package/dist/types/2ad56231/e6eaea18/66d737cb.d.ts +19 -0
- package/dist/types/2ad56231/e6eaea18/6f5b7e90.d.ts +9 -0
- package/dist/types/2ad56231/e6eaea18/7517017f/7682dd42.d.ts +17 -0
- package/dist/types/2ad56231/e938ace2/2f240da4.d.ts +3 -0
- package/dist/types/2ad56231/e938ace2/4c4d66e7.d.ts +10 -0
- package/dist/types/2ad56231/e938ace2/c2e78ccc.d.ts +52 -0
- package/dist/types/2ad56231/ec72b956/d75444a8.d.ts +81 -0
- package/dist/types/2ad56231/ec72b956/d8c49f52.d.ts +22 -0
- package/dist/types/2ad56231/ec72b956/d96821de.d.ts +8 -0
- package/dist/types/2cc49785/048ca935.d.ts +10 -0
- package/dist/types/2cc49785/0f9f5cc9.d.ts +17 -0
- package/dist/types/2cc49785/1a4ff9f0.d.ts +15 -0
- package/dist/types/2cc49785/1fa712bf.d.ts +6 -0
- package/dist/types/2cc49785/265711a1.d.ts +11 -0
- package/dist/types/2cc49785/290169fd.d.ts +27 -0
- package/dist/types/2cc49785/2a1b2f6a.d.ts +25 -0
- package/dist/types/2cc49785/30e64fb4.d.ts +3 -0
- package/dist/types/2cc49785/35b9365a.d.ts +16 -0
- package/dist/types/2cc49785/46f89c68.d.ts +15 -0
- package/dist/types/2cc49785/4b7aaf01.d.ts +17 -0
- package/dist/types/2cc49785/5442f571.d.ts +20 -0
- package/dist/types/2cc49785/55670d06.d.ts +9 -0
- package/dist/types/2cc49785/56873654.d.ts +8 -0
- package/dist/types/2cc49785/5b00ec2d.d.ts +16 -0
- package/dist/types/2cc49785/75f9e41b.d.ts +13 -0
- package/dist/types/2cc49785/79c7a4c3.d.ts +9 -0
- package/dist/types/2cc49785/abb76582.d.ts +9 -0
- package/dist/types/2cc49785/e6eaea18/1228d90a.d.ts +50 -0
- package/dist/types/2cc49785/e6eaea18/17392bb9.d.ts +26 -0
- package/dist/types/2cc49785/e6eaea18/3fde60ac.d.ts +4 -0
- package/dist/types/2cc49785/e6eaea18/7dee4a42.d.ts +29 -0
- package/dist/types/2cc49785/e6eaea18/e337a2ef.d.ts +24 -0
- package/dist/types/2cc49785/e8dcc4f1.d.ts +28 -0
- package/dist/types/46b42b42/df62afb5.d.ts +43 -0
- package/dist/types/6610c73e/04f8996d/45843092.d.ts +87 -0
- package/dist/types/6610c73e/04f8996d/49f69d48.d.ts +12 -0
- package/dist/types/6610c73e/04f8996d/57b46faf.d.ts +67 -0
- package/dist/types/6610c73e/04f8996d/a671786c.d.ts +35 -0
- package/dist/types/6610c73e/04f8996d/b2dc285c.d.ts +8 -0
- package/dist/types/6610c73e/04f8996d/b9b7d6f9.d.ts +1 -0
- package/dist/types/6610c73e/09355034/5f5422ae.d.ts +22 -0
- package/dist/types/6610c73e/09355034/cec9d8a9.d.ts +6 -0
- package/dist/types/6610c73e/108201be/29b7d59c.d.ts +6 -0
- package/dist/types/6610c73e/108201be/aba2513d.d.ts +18 -0
- package/dist/types/6610c73e/108201be/c917408b.d.ts +9 -0
- package/dist/types/6610c73e/2882bf13/1b635431.d.ts +10 -0
- package/dist/types/6610c73e/2882bf13/5a5d4923.d.ts +20 -0
- package/dist/types/6610c73e/2882bf13/d0680253.d.ts +14 -0
- package/dist/types/6610c73e/2a1073a6/13feb6a7.d.ts +36 -0
- package/dist/types/6610c73e/2a1073a6/48a99f86.d.ts +6 -0
- package/dist/types/6610c73e/2a1073a6/d21224de.d.ts +10 -0
- package/dist/types/6610c73e/340a3320/7e87c266.d.ts +9 -0
- package/dist/types/6610c73e/340a3320/c0e4e1db.d.ts +13 -0
- package/dist/types/6610c73e/3cae9be6/43329c4e.d.ts +17 -0
- package/dist/types/6610c73e/3cae9be6/51c12952.d.ts +5 -0
- package/dist/types/6610c73e/48e13c1e/493a30cc.d.ts +10 -0
- package/dist/types/6610c73e/48e13c1e/62990ad1.d.ts +9 -0
- package/dist/types/6610c73e/4b168d88/08e67542.d.ts +17 -0
- package/dist/types/6610c73e/4b168d88/413ef4e3.d.ts +80 -0
- package/dist/types/6610c73e/4b168d88/d96befb1.d.ts +15 -0
- package/dist/types/6610c73e/5e1ecee0/83f47684.d.ts +6 -0
- package/dist/types/6610c73e/5e689e2b/08490b99.d.ts +37 -0
- package/dist/types/6610c73e/5e689e2b/a01d5c2f.d.ts +17 -0
- package/dist/types/6610c73e/5e689e2b/f6474de5.d.ts +13 -0
- package/dist/types/6610c73e/6e1815de/1ec1270e.d.ts +11 -0
- package/dist/types/6610c73e/6e1815de/cb4e0d9d.d.ts +10 -0
- package/dist/types/6610c73e/70e2c566.d.ts +14 -0
- package/dist/types/6610c73e/82de49c1/5a8e8a6f.d.ts +1 -0
- package/dist/types/6610c73e/82de49c1/a1399ef0.d.ts +17 -0
- package/dist/types/6610c73e/87f29211/00282ba1/99f0dde7.d.ts +14 -0
- package/dist/types/6610c73e/87f29211/00282ba1/cc85368e.d.ts +14 -0
- package/dist/types/6610c73e/87f29211/00282ba1/da49a2f9.d.ts +19 -0
- package/dist/types/6610c73e/87f29211/0f8de574/da48b377.d.ts +33 -0
- package/dist/types/6610c73e/87f29211/366ce10d.d.ts +1 -0
- package/dist/types/6610c73e/87f29211/3681c247/826d0be4.d.ts +25 -0
- package/dist/types/6610c73e/87f29211/3681c247/d3e02bcf.d.ts +45 -0
- package/dist/types/6610c73e/87f29211/6fd89734/7c0d7562.d.ts +3 -0
- package/dist/types/6610c73e/87f29211/87f29211/05219fd0.d.ts +4 -0
- package/dist/types/6610c73e/87f29211/87f29211/453ab4b4.d.ts +15 -0
- package/dist/types/6610c73e/87f29211/87f29211/8e609bb7.d.ts +1 -0
- package/dist/types/6610c73e/87f29211/a9d0df18/16022771.d.ts +118 -0
- package/dist/types/6610c73e/87f29211/a9d0df18/326e8c85.d.ts +18 -0
- package/dist/types/6610c73e/87f29211/a9d0df18/4ca22be8.d.ts +17 -0
- package/dist/types/6610c73e/87f29211/a9d0df18/8e25f6cf.d.ts +3 -0
- package/dist/types/6610c73e/87f29211/a9d0df18/fcfbd6d1.d.ts +5 -0
- package/dist/types/6610c73e/87f29211/b10ca3c4/805c4d09.d.ts +27 -0
- package/dist/types/6610c73e/87f29211/b10ca3c4/f5def7dc.d.ts +25 -0
- package/dist/types/6610c73e/87f29211/b10ca3c4/f6334307.d.ts +27 -0
- package/dist/types/6610c73e/87f29211/fc973325/1abe9fb9.d.ts +26 -0
- package/dist/types/6610c73e/87f29211/fc973325/60e62909.d.ts +9 -0
- package/dist/types/6610c73e/87f29211/fc973325/8e609bb7.d.ts +1 -0
- package/dist/types/6610c73e/87f29211/fc973325/9c8f6046.d.ts +23 -0
- package/dist/types/6610c73e/8a6cead4/40c4faf7.d.ts +8 -0
- package/dist/types/6610c73e/b77349bf/2349cc94.d.ts +13 -0
- package/dist/types/6610c73e/b77349bf/6d87f127.d.ts +12 -0
- package/dist/types/6610c73e/b77349bf/af3f15da.d.ts +29 -0
- package/dist/types/6610c73e/b96961ed.d.ts +31 -0
- package/dist/types/6610c73e/bbc5e661/1f1e37e4.d.ts +12 -0
- package/dist/types/6610c73e/bbc5e661/803a3b35.d.ts +6 -0
- package/dist/types/6610c73e/bbc5e661/edfe1989.d.ts +14 -0
- package/dist/types/6610c73e/bd5c70f7/cf852c15.d.ts +20 -0
- package/dist/types/6610c73e/c374eea5/4f55037c.d.ts +36 -0
- package/dist/types/6610c73e/c374eea5/8a8646a7.d.ts +9 -0
- package/dist/types/6610c73e/c374eea5/d76ffdee.d.ts +38 -0
- package/dist/types/6610c73e/da7f739f/186461ad.d.ts +20 -0
- package/dist/types/6610c73e/da7f739f/e016487a.d.ts +45 -0
- package/dist/types/6610c73e/f38c764c/4d91b5ee.d.ts +79 -0
- package/dist/types/6610c73e/f38c764c/50b90d0c.d.ts +33 -0
- package/dist/types/6610c73e/f38c764c/e1fae94b.d.ts +14 -0
- package/dist/types/6610c73e/fdeb3389/16152e20.d.ts +103 -0
- package/dist/types/6610c73e/fdeb3389/1f95de59.d.ts +19 -0
- package/dist/types/6610c73e/fdeb3389/81528d33.d.ts +8 -0
- package/dist/types/871f3f39/0de2afa3.d.ts +22 -0
- package/dist/types/871f3f39/2bfe94e3.d.ts +13 -0
- package/dist/types/871f3f39/2cd973f1.d.ts +7 -0
- package/dist/types/871f3f39/4d0fa07f.d.ts +14 -0
- package/dist/types/871f3f39/4dbaf1b6.d.ts +19 -0
- package/dist/types/871f3f39/4ec64ebc.d.ts +9 -0
- package/dist/types/871f3f39/517ae8c6.d.ts +4 -0
- package/dist/types/871f3f39/5724033a.d.ts +6 -0
- package/dist/types/871f3f39/6a0d07bb.d.ts +7 -0
- package/dist/types/871f3f39/7029faf8.d.ts +11 -0
- package/dist/types/871f3f39/708e3b90.d.ts +24 -0
- package/dist/types/871f3f39/799e57cf.d.ts +6 -0
- package/dist/types/871f3f39/7bee220c.d.ts +24 -0
- package/dist/types/871f3f39/871a1ed2.d.ts +10 -0
- package/dist/types/871f3f39/9341b4c5.d.ts +8 -0
- package/dist/types/871f3f39/a05a44ce.d.ts +42 -0
- package/dist/types/871f3f39/a1a44bf4.d.ts +18 -0
- package/dist/types/871f3f39/a225cc21.d.ts +19 -0
- package/dist/types/871f3f39/aa0f851c.d.ts +5 -0
- package/dist/types/871f3f39/ab461a4e.d.ts +7 -0
- package/dist/types/871f3f39/bdf74ccb.d.ts +23 -0
- package/dist/types/871f3f39/c6cb560c.d.ts +20 -0
- package/dist/types/871f3f39/e4e56e24.d.ts +35 -0
- package/dist/types/871f3f39/f2188d12.d.ts +9 -0
- package/dist/types/871f3f39/fd939073.d.ts +17 -0
- package/dist/types/9477dda6/6e82db8c.d.ts +19 -0
- package/dist/types/9477dda6/99edb198.d.ts +3 -0
- package/dist/types/9477dda6/a16c3886.d.ts +27 -0
- package/dist/types/9477dda6/a68fa9aa.d.ts +61 -0
- package/dist/types/9f80922e/3e32acfa.d.ts +22 -0
- package/dist/types/abe2c417/2b7d3deb.d.ts +9 -0
- package/dist/types/abe2c417/3237d5fa.d.ts +25 -0
- package/dist/types/abe2c417/55c65af8.d.ts +2 -0
- package/dist/types/abe2c417/61b22a6d.d.ts +1 -0
- package/dist/types/abe2c417/6b4e0f9e.d.ts +10 -0
- package/dist/types/abe2c417/7a260fda.d.ts +1 -0
- package/dist/types/abe2c417/7e2c18ef.d.ts +12 -0
- package/dist/types/abe2c417/84d2a9ed.d.ts +2 -0
- package/dist/types/abe2c417/8daabb83.d.ts +8 -0
- package/dist/types/abe2c417/8f79089f.d.ts +26 -0
- package/dist/types/abe2c417/a39169c6.d.ts +308 -0
- package/dist/types/abe2c417/b2732e39.d.ts +1 -0
- package/dist/types/abe2c417/dc04a1bd.d.ts +10 -0
- package/dist/types/abe2c417/e2fcc201.d.ts +17 -0
- package/dist/types/abe2c417/e7055140.d.ts +1 -0
- package/dist/types/abe2c417/ee24e24a.d.ts +1 -0
- package/dist/types/abe2c417/ef5d95cf.d.ts +44 -0
- package/dist/types/abe2c417/f7f8ce4e.d.ts +9 -0
- package/dist/types/abe2c417/f9ceab53.d.ts +50 -0
- package/dist/types/b7ca7461.d.ts +18 -0
- package/dist/types/d58efc4e/0bb17e35.d.ts +2 -0
- package/dist/types/d58efc4e/9f2ae4fe.d.ts +11 -0
- package/dist/types/d58efc4e/b8cff974.d.ts +3 -0
- package/dist/types/fbc6c1d4/80614691.d.ts +23 -0
- package/dist/types/fd7f274b/0daaeab3.d.ts +5 -0
- package/dist/types/fd7f274b/116d81bf.d.ts +1 -0
- package/dist/types/fd7f274b/272670be.d.ts +1 -0
- package/dist/types/fd7f274b/396495ab.d.ts +1 -0
- package/dist/types/fd7f274b/3c41945d.d.ts +1 -0
- package/dist/types/fd7f274b/41af1e6f.d.ts +38 -0
- package/dist/types/fd7f274b/4f9e1401.d.ts +4 -0
- package/dist/types/fd7f274b/6a4e3ffe.d.ts +9 -0
- package/dist/types/fd7f274b/6d8bea2a.d.ts +10 -0
- package/dist/types/fd7f274b/83451de8.d.ts +12 -0
- package/dist/types/fd7f274b/c5ce5c8f.d.ts +11 -0
- package/dist/types/index.d.ts +21 -0
- package/external.json +33 -0
- package/package.json +110 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const INJECT_METADATA_KEY = "inject";
|
|
2
|
+
type InjectOptions = {
|
|
3
|
+
class: any;
|
|
4
|
+
plugin: string;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Property decorator to inject a class instance or service into a property.
|
|
9
|
+
*
|
|
10
|
+
* Stores metadata on the target property indicating which class should be injected,
|
|
11
|
+
* along with optional plugin and instance name. This metadata can later be used
|
|
12
|
+
* by a dependency injection container or manager to resolve and set the property.
|
|
13
|
+
*
|
|
14
|
+
* @param cls - The class or constructor function to inject
|
|
15
|
+
* @param plugin - Optional plugin name or namespace for resolving the dependency
|
|
16
|
+
* @param name - Optional instance name (default is `Manager.DEFAULT_NAME`)
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* class UserService {}
|
|
21
|
+
* @Controller()
|
|
22
|
+
* class UserController {
|
|
23
|
+
* @Inject(UserService)
|
|
24
|
+
* service!: UserService;
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* @Controller()
|
|
28
|
+
* class PluginController {
|
|
29
|
+
* @Inject(UserService, 'my-plugin', 'primary')
|
|
30
|
+
* service!: UserService;
|
|
31
|
+
* }
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function Inject(cls: any, plugin?: string, name?: string): PropertyDecorator;
|
|
35
|
+
export declare function getInject(target: any, propertyKey: string | symbol): InjectOptions | undefined;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface IManager {
|
|
2
|
+
}
|
|
3
|
+
export type RegistryValue<I, M extends object = {}> = {
|
|
4
|
+
instance: I;
|
|
5
|
+
hashUniqueName?: string;
|
|
6
|
+
} & M;
|
|
7
|
+
/**
|
|
8
|
+
* Abstract base class for all resource and subsystem managers within the Quan ERP kernel.
|
|
9
|
+
*
|
|
10
|
+
* The `Manager` provides a consistent, plugin-aware registry pattern. It uses a
|
|
11
|
+
* two-tier hierarchical Map:
|
|
12
|
+
* 1. **Plugin Scope**: The top-level key is the name of the plugin (e.g., 'default', 'builtin', or a custom plugin name).
|
|
13
|
+
* 2. **Resource Name**: The secondary key is the specific name of the resource (e.g., 'default', 'analytics-db').
|
|
14
|
+
*
|
|
15
|
+
* This architecture ensures that resources (DataSources, Caches, Services, etc.)
|
|
16
|
+
* are strictly isolated by plugin boundaries while remaining discoverable.
|
|
17
|
+
*
|
|
18
|
+
* @template I - The type of the instance being managed (e.g., `DataSource`, `ICache`).
|
|
19
|
+
* @template M - The type of metadata associated with each instance.
|
|
20
|
+
*/
|
|
21
|
+
export declare class Manager<I, M extends object = {}> implements IManager {
|
|
22
|
+
static readonly DEFAULT_NAME = "default";
|
|
23
|
+
static readonly PROTECTED_PLUGINS: string[];
|
|
24
|
+
protected readonly registry: Map<string, Map<string, RegistryValue<I, M>>>;
|
|
25
|
+
static get DEFAULT_PLUGIN(): string;
|
|
26
|
+
static get BUILTIN_PLUGIN(): string;
|
|
27
|
+
size(): number;
|
|
28
|
+
register(instance: I, metadata?: Partial<M> & Record<string, any> | null, plugin?: string, name?: string): void;
|
|
29
|
+
deRegisterByScope(plugin: string, name?: string): void | Promise<void> | PromiseLike<void>;
|
|
30
|
+
findByPlugin(plugin?: string, name?: string): RegistryValue<I, M> | undefined | null;
|
|
31
|
+
getRegistry(): Map<string, Map<string, RegistryValue<I, M>>>;
|
|
32
|
+
protected getClassUniqueName(cls: any, length?: number): any;
|
|
33
|
+
protected isProtectedScope(plugin: string): boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { App } from "./4db5cc33.js";
|
|
2
|
+
import { Manager } from "./d453df06.js";
|
|
3
|
+
import * as express from "express";
|
|
4
|
+
import { Response, Express } from "express";
|
|
5
|
+
import { DataSourceManager } from "./78464d38.js";
|
|
6
|
+
import { CacheManager } from "./9a2c73cf.js";
|
|
7
|
+
import { LoggerManager } from "./4dd6b41d.js";
|
|
8
|
+
import { ContainerRegistryManager } from "./885b723d.js";
|
|
9
|
+
import { LifeCycleManager } from "./8e161648.js";
|
|
10
|
+
import { ParamData, RouteManager } from "./1c59aca9.js";
|
|
11
|
+
import { Middlewares as Middleware } from "./6559a8c1.js";
|
|
12
|
+
import { ExposeAPIManager } from "./2881a088.js";
|
|
13
|
+
import { IAppInstance, IPlugin } from "@quan-erp/shared-types";
|
|
14
|
+
import { PluginEnvConfigManager } from "./b528e7a2.js";
|
|
15
|
+
import { WebsocketManager } from "./a1a2ec11.js";
|
|
16
|
+
import { APIInfoMetadata } from "../46b42b42/df62afb5.js";
|
|
17
|
+
import { PluginManager, PluginRegistryValue } from "./ed08a5cd.js";
|
|
18
|
+
import { GracefulJobManager } from "./496c2854.js";
|
|
19
|
+
import { PluginServiceEventManager } from "./60dffdb5.js";
|
|
20
|
+
import { PluginConfigOption } from "./b5020a96.js";
|
|
21
|
+
import { WorkflowNodeManager } from "./da7f739f/fb5fafa3.js";
|
|
22
|
+
export type AppEvents = 'stopped' | 'started' | 'new-plugin-installed' | 'plugin-uninstalled';
|
|
23
|
+
export type AppEventCallback = () => void;
|
|
24
|
+
/**
|
|
25
|
+
* The core application interface defining the public API for the Quan ERP kernel.
|
|
26
|
+
*
|
|
27
|
+
* This interface provides centralized access to all major management systems,
|
|
28
|
+
* including dependency injection (Registry), plugin lifecycle (Install/Uninstall),
|
|
29
|
+
* infrastructure (Database, Cache, Websocket), and application-wide events.
|
|
30
|
+
*/
|
|
31
|
+
export interface CoreApp {
|
|
32
|
+
/** @returns The manager responsible for the global dependency injection container. */
|
|
33
|
+
getRegistryManager(): ContainerRegistryManager;
|
|
34
|
+
/**
|
|
35
|
+
* Dynamically installs and initializes a plugin.
|
|
36
|
+
* @param pluginName - Name of the plugin.
|
|
37
|
+
* @param version - Version string.
|
|
38
|
+
* @param options - Installation parameters.
|
|
39
|
+
*/
|
|
40
|
+
installPlugin(pluginName: string, version: string, options: {
|
|
41
|
+
network?: boolean;
|
|
42
|
+
callModuleReadyLifeCycle?: boolean;
|
|
43
|
+
ignoreAppReadiness?: boolean;
|
|
44
|
+
ignoreMigrations?: boolean;
|
|
45
|
+
}): Promise<void>;
|
|
46
|
+
/** Uninstalls and cleans up a plugin's resources. */
|
|
47
|
+
uninstallPlugin(pluginName: string): void;
|
|
48
|
+
/** @returns The manager for cross-plugin API exposure. */
|
|
49
|
+
getExportRegistryManager(): ExposeAPIManager;
|
|
50
|
+
/** @returns The manager for Express route registration. */
|
|
51
|
+
getRouteManager(): RouteManager;
|
|
52
|
+
/** @returns The manager for TypeORM data sources and migrations. */
|
|
53
|
+
getDataSourceManager(): DataSourceManager;
|
|
54
|
+
/** @returns The manager for cache clients (Redis/In-memory). */
|
|
55
|
+
getCacheManager(): CacheManager;
|
|
56
|
+
/** @returns The manager for application and plugin lifecycle hooks. */
|
|
57
|
+
getLifecycleManager(): LifeCycleManager;
|
|
58
|
+
/** @returns The manager for websocket server instances. */
|
|
59
|
+
getWebsocketManager(): WebsocketManager;
|
|
60
|
+
/** @returns The manager for plugin-scoped environment configurations. */
|
|
61
|
+
getPluginEnvConfigManager(): PluginEnvConfigManager;
|
|
62
|
+
/** @returns The manager for installed plugin metadata and status. */
|
|
63
|
+
getPluginManager(): PluginManager;
|
|
64
|
+
/** @returns The manager for loggers and logging levels. */
|
|
65
|
+
getLoggerManager(): LoggerManager;
|
|
66
|
+
/** @returns The manager for performance and request analytics. */
|
|
67
|
+
getAnalyticsManager(): Manager<(url: string, timetaken: number) => void>;
|
|
68
|
+
/** @returns The manager for tracking and awaiting long-running background jobs. */
|
|
69
|
+
getGracefulJobManager(): GracefulJobManager;
|
|
70
|
+
/** @returns The manager for cross-plugin event synchronization. */
|
|
71
|
+
getPluginServiceEventManager(): PluginServiceEventManager;
|
|
72
|
+
getWorkflowManager(): WorkflowNodeManager;
|
|
73
|
+
/** @returns An instance implementing the IAppInstance interface for safe plugin use. */
|
|
74
|
+
getAppInstance(): IAppInstance;
|
|
75
|
+
getPluginConfig(): PluginConfigOption | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Resolves a service instance from the container.
|
|
78
|
+
* @param cls - Class to resolve.
|
|
79
|
+
* @param plugin - Plugin scope.
|
|
80
|
+
* @param name - Registration name.
|
|
81
|
+
*/
|
|
82
|
+
get<T>(cls: new (...args: any[]) => T, plugin: string, name?: string): T | undefined;
|
|
83
|
+
/** Logs debug information for all registered managers and components. */
|
|
84
|
+
logDebugInfo(): void;
|
|
85
|
+
/** Registers a listener for global application events. */
|
|
86
|
+
on(event: AppEvents, callback: AppEventCallback): void;
|
|
87
|
+
/** Removes a listener for global application events. */
|
|
88
|
+
off(event: AppEvents): void;
|
|
89
|
+
/** @returns The underlying Express application instance. */
|
|
90
|
+
getExpressApp(): Express;
|
|
91
|
+
/** @returns The main router instance for the application. */
|
|
92
|
+
getAppRouter(): express.Router;
|
|
93
|
+
/** @returns The version of the core kernel. */
|
|
94
|
+
getVersion(): string;
|
|
95
|
+
/** @returns The unique ID for this application instance. */
|
|
96
|
+
getAppId(): string;
|
|
97
|
+
}
|
|
98
|
+
export declare function setCoreApp(name: string, app: CoreApp): void;
|
|
99
|
+
export declare function getCoreApp(name?: string): CoreApp;
|
|
100
|
+
/**
|
|
101
|
+
* Converts a plain JavaScript object into an instance of the specified TargetClass (DTO).
|
|
102
|
+
*
|
|
103
|
+
* This transformation allows the application to use class decorators (e.g., for validation
|
|
104
|
+
* or computed properties) on data received from HTTP requests.
|
|
105
|
+
*
|
|
106
|
+
* Logic:
|
|
107
|
+
* 1. Uses `plainToInstance` for robust class transformation.
|
|
108
|
+
* 2. Falls back to manual instantiation and `Object.assign` if transformation fails.
|
|
109
|
+
*
|
|
110
|
+
* @param value - The raw data object to convert.
|
|
111
|
+
* @param TargetClass - The DTO class to instantiate.
|
|
112
|
+
* @returns An instance of the target class with data applied.
|
|
113
|
+
* @throws Error if instantiation fails.
|
|
114
|
+
*/
|
|
115
|
+
export declare function convertPayload(value: any, TargetClass: any): any;
|
|
116
|
+
export declare const ModuleHelper: {
|
|
117
|
+
/**
|
|
118
|
+
* Orchestrates the complete processing and initialization of a module class.
|
|
119
|
+
*
|
|
120
|
+
* This method handles the extraction of metadata via `@Module` and performs the following:
|
|
121
|
+
* 1. **Static Files**: Sets up Express static file serving if configured.
|
|
122
|
+
* 2. **Entities**: Registers database entities with the `DataSourceManager`.
|
|
123
|
+
* 3. **Providers**: Resolves and initializes services (providers) via dependency injection.
|
|
124
|
+
* 4. **Exports**: Exposes specific services for cross-plugin consumption.
|
|
125
|
+
* 5. **Controllers**: Initializes controllers and registers their Express routes.
|
|
126
|
+
* 6. **Imports**: Recursively processes imported modules to maintain the hierarchy.
|
|
127
|
+
* 7. **Infrastructure**: Configures workflows, websockets, data sources, cache clients, and loggers.
|
|
128
|
+
* 8. **Middlewares**: Registers global exception filters and request filters.
|
|
129
|
+
* 9. **Migrations**: Executes any manual `up()` migrations defined on the module.
|
|
130
|
+
*
|
|
131
|
+
* @param app - The current `App` instance to register components into.
|
|
132
|
+
* @param moduleClass - The class decorated with `@Module` to process.
|
|
133
|
+
* @param plugin - The name of the plugin context (defaults to 'default').
|
|
134
|
+
* @throws Error if module resolution or initialization fails.
|
|
135
|
+
*/
|
|
136
|
+
processModule(app: App, moduleClass: any, plugin?: string): Promise<void>;
|
|
137
|
+
};
|
|
138
|
+
export declare const PropertyInjectionHelper: {
|
|
139
|
+
/**
|
|
140
|
+
* Performs property-level dependency injection on a class instance by defining dynamic getters.
|
|
141
|
+
* It scans the class prototype for metadata decorators and bridges those properties
|
|
142
|
+
* to the corresponding managers in the global `CoreApp`.
|
|
143
|
+
*
|
|
144
|
+
* Supported Injections:
|
|
145
|
+
* - **`@InjectDatabaseSource`**: Maps to TypeORM DataSources.
|
|
146
|
+
* - **`@Inject`**: Maps to other services in the container.
|
|
147
|
+
* - **`@InjectWebsocketServer`**: Provides access to websocket server instances.
|
|
148
|
+
* - **`@CacheClient`**: Provides access to cache clients.
|
|
149
|
+
* - **`@InjectPluginServiceEventManager`**: Provides cross-plugin event synchronization.
|
|
150
|
+
* - **`@InjectEnv`**: Provides scoped environment configuration access.
|
|
151
|
+
* - **`@InjectLogger`**: Provides class-specific logging instances.
|
|
152
|
+
* - **`@InjectWorkflowRunnerFactory`**: Provides workflow execution capabilities.
|
|
153
|
+
* - **`@InjectMigrationManager`**: Provides access to the migration service.
|
|
154
|
+
* - **`@InjectAppInstance`**: Provides access to the core global app instance.
|
|
155
|
+
* - **`@InjectHealthCheck`**: Provides access to health check status setters.
|
|
156
|
+
*
|
|
157
|
+
* @param app - The current `CoreApp` context.
|
|
158
|
+
* @param instance - The target instance to perform injection on.
|
|
159
|
+
* @param plugin - The name of the current plugin scope.
|
|
160
|
+
* @param name - The registration name within the scope (defaults to 'default').
|
|
161
|
+
*/
|
|
162
|
+
inject(app: CoreApp, instance: any, plugin: string, name?: string): void;
|
|
163
|
+
};
|
|
164
|
+
export declare const ResolverHelper: {
|
|
165
|
+
/**
|
|
166
|
+
* Resolves a module dependency (class) by instantiating it and processing its decorators.
|
|
167
|
+
*
|
|
168
|
+
* The resolution happens in several distinct phases:
|
|
169
|
+
* 1. **Singleton Check**: Returns the existing instance if the class/plugin combination is already in the container.
|
|
170
|
+
* 2. **Constructor Injection**: Recursively resolves and injects constructor parameters using TypeDoc metadata.
|
|
171
|
+
* 3. **Workflow & Cron**: Wraps triggerable workflows and schedules cron jobs defined on the class.
|
|
172
|
+
* 4. **Caching Proxy**: Wraps methods with `@CacheRoute` or `@DeleteCacheRoute` logic.
|
|
173
|
+
* 5. **Property Injection**: Injects DB sources, services, logs, and env configs into decorated class properties.
|
|
174
|
+
* 6. **Bean Resolution**: Executes methods marked with `@Bean` and registers their return values into the container.
|
|
175
|
+
* 7. **AI Tools**: Scans and registers methods marked with `@AITool` into the global `AIToolsService`.
|
|
176
|
+
* 8. **Lifecycle & Containerization**: Registers hooks, calls `onModuleInit`, and finally saves the instance to the container.
|
|
177
|
+
*
|
|
178
|
+
* @param cls - The class constructor to resolve.
|
|
179
|
+
* @param app - The current `CoreApp` instance.
|
|
180
|
+
* @param plugin - The name of the plugin context (defaults to 'default').
|
|
181
|
+
* @param options - Configure whether to auto-register and how to handle resolve errors.
|
|
182
|
+
* @returns The fully initialized and injected class instance.
|
|
183
|
+
* @throws Error if resolution fails and `silentOnResolveError` is false.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* \@Service()
|
|
187
|
+
* class MyService {
|
|
188
|
+
* \@Inject(DatabaseSource) source: DataSource;
|
|
189
|
+
*
|
|
190
|
+
* \@CronJob('0 0 * * *')
|
|
191
|
+
* async handleTick() { ... }
|
|
192
|
+
*
|
|
193
|
+
* \@AITool({ description: 'Get user info' })
|
|
194
|
+
* getUser() { ... }
|
|
195
|
+
* }
|
|
196
|
+
*
|
|
197
|
+
* const instance = ResolverHelper.resolveModuleDependency(MyService, app, 'my-plugin');
|
|
198
|
+
*/
|
|
199
|
+
resolveModuleDependency(cls: any, app: CoreApp, plugin?: string, options?: {
|
|
200
|
+
registerAutomaticallyIfNotFound: boolean;
|
|
201
|
+
silentOnResolveError: boolean;
|
|
202
|
+
}): any;
|
|
203
|
+
/**
|
|
204
|
+
* Resolves and maps HTTP request data to controller method arguments based on parameter metadata.
|
|
205
|
+
* This method handles various sources like route params, query strings, request bodies,
|
|
206
|
+
* headers, and specialized objects (User, Auth Token, API Info).
|
|
207
|
+
*
|
|
208
|
+
* It also performs automatic type conversion for primitive types, enums, and complex DTOs
|
|
209
|
+
* using the declared TypeScript types on the method parameters.
|
|
210
|
+
*
|
|
211
|
+
* @param paramMeta - Metadata describing the source and type of each parameter.
|
|
212
|
+
* @param req - The Express request object.
|
|
213
|
+
* @param res - The Express response object.
|
|
214
|
+
* @param nextFun - The Express next function.
|
|
215
|
+
* @param metadata - Optional additional metadata (e.g., API documentation context).
|
|
216
|
+
* @returns An array of arguments ready to be applied to the controller method.
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* // For a method like: findOne(@Param('id') id: number, @Query('search') search: string)
|
|
220
|
+
* // paramMeta would be:
|
|
221
|
+
* // [
|
|
222
|
+
* // { index: 0, type: 'param', name: 'id', dataType: Number },
|
|
223
|
+
* // { index: 1, type: 'query', name: 'search', dataType: String }
|
|
224
|
+
* // ]
|
|
225
|
+
*/
|
|
226
|
+
resolveControllerRouteParameter(paramMeta: ParamData<any>[], req: express.Request, res: Response, nextFun: express.NextFunction, metadata?: {
|
|
227
|
+
apiInfo?: APIInfoMetadata;
|
|
228
|
+
}): Promise<any[]>;
|
|
229
|
+
/**
|
|
230
|
+
* Resolves a middleware configuration into an Express request handler.
|
|
231
|
+
*
|
|
232
|
+
* Supports two types of middleware:
|
|
233
|
+
* 1. **Functional Middleware**: Returns the handler function directly.
|
|
234
|
+
* 2. **Class-based Middleware**: Resolves the `IMiddleware` class via `resolveModuleDependency`
|
|
235
|
+
* and wraps its `handler` method to support dependency-injected parameters.
|
|
236
|
+
*
|
|
237
|
+
* @param app - The current `CoreApp` instance.
|
|
238
|
+
* @param plugin - The name of the plugin context.
|
|
239
|
+
* @param m - The middleware configuration (handler and metadata).
|
|
240
|
+
* @param metadata - Optional API information for parameter resolution.
|
|
241
|
+
* @returns An Express request handler function.
|
|
242
|
+
*/
|
|
243
|
+
resolveMiddlewareHandler(app: CoreApp, plugin: string, m: Middleware, metadata?: {
|
|
244
|
+
apiInfo?: APIInfoMetadata;
|
|
245
|
+
}): express.RequestHandler;
|
|
246
|
+
/**
|
|
247
|
+
* Resolves a controller by instantiating it, injecting dependencies, and registering its Express routes.
|
|
248
|
+
*
|
|
249
|
+
* Key responsibilities:
|
|
250
|
+
* 1. **Instantiation & Injection**: Resolves the controller via `resolveModuleDependency` and injects properties.
|
|
251
|
+
* 2. **Path Calculation**: Determines the base URL path (prefixed by plugin name for non-system plugins).
|
|
252
|
+
* 3. **Middleware Layering**: Combines controller-level and route-level middlewares.
|
|
253
|
+
* 4. **Route Registration**: Maps HTTP methods and paths to controller handlers.
|
|
254
|
+
* 5. **Execution Wrapper**: Wraps handlers to support:
|
|
255
|
+
* - Automatic caching and cache invalidation.
|
|
256
|
+
* - Request parameter resolution and type conversion.
|
|
257
|
+
* - Standardized response formatting.
|
|
258
|
+
* - Analytics and performance tracking.
|
|
259
|
+
*
|
|
260
|
+
* @param Controller - The controller class to resolve and register.
|
|
261
|
+
* @param app - The current `CoreApp` instance.
|
|
262
|
+
* @param plugin - The name of the plugin context (defaults to 'default').
|
|
263
|
+
*/
|
|
264
|
+
resolveController(Controller: any, app: CoreApp, plugin?: string): void;
|
|
265
|
+
/**
|
|
266
|
+
* Resolves and registers classes that are marked for cross-plugin export.
|
|
267
|
+
*
|
|
268
|
+
* This method ensures that services intended for use by other plugins are correctly
|
|
269
|
+
* instantiated with all dependencies resolved and registered in the global export registry.
|
|
270
|
+
*
|
|
271
|
+
* process:
|
|
272
|
+
* 1. Checks if already exported.
|
|
273
|
+
* 2. Verifies `@Expose` configuration.
|
|
274
|
+
* 3. Resolves constructor and property dependencies.
|
|
275
|
+
* 4. Registers with the specified service tag and version.
|
|
276
|
+
*
|
|
277
|
+
* @param cls - The class to resolve and export.
|
|
278
|
+
* @param app - The current `CoreApp` instance.
|
|
279
|
+
* @param plugin - The name of the source plugin.
|
|
280
|
+
* @param name - The registration name within the scope.
|
|
281
|
+
*/
|
|
282
|
+
resolveExports(cls: any, app: CoreApp, plugin?: string, name?: string): any;
|
|
283
|
+
};
|
|
284
|
+
export declare const ResponseFormatter: {
|
|
285
|
+
/**
|
|
286
|
+
* Standardizes the way responses are sent to the client based on the returned value type.
|
|
287
|
+
*
|
|
288
|
+
* Logic:
|
|
289
|
+
* - **`ResponseDto`**: Extracts status code (`code`) and sends as JSON.
|
|
290
|
+
* - **Object**: Sends as JSON (`res.json`).
|
|
291
|
+
* - **String/Number**: Sends as raw text.
|
|
292
|
+
* - **null/undefined**: Ends the response with no content.
|
|
293
|
+
*
|
|
294
|
+
* It also prevents double-sending by checking `res.headersSent`.
|
|
295
|
+
*
|
|
296
|
+
* @param result - The data returned by the controller or middleware.
|
|
297
|
+
* @param res - The Express response object.
|
|
298
|
+
*/
|
|
299
|
+
sendInFormat(result: any, res: Response): express.Response<any, Record<string, any>> | undefined;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Identifies and validates all installed plugins that depend on the specified plugin.
|
|
303
|
+
*
|
|
304
|
+
* This is primarily used during uninstallation to prevent breaking the dependency tree,
|
|
305
|
+
* ensuring that a plugin is not removed if others rely on it.
|
|
306
|
+
*
|
|
307
|
+
* @param plugin - The target plugin to check for dependents.
|
|
308
|
+
* @param installedPlugins - A map of all currently registered plugins.
|
|
309
|
+
* @returns An array of dependency information, including whether version constraints are satisfied.
|
|
310
|
+
*/
|
|
311
|
+
export declare function getDependents(plugin: IPlugin, installedPlugins: Map<string, PluginRegistryValue>): {
|
|
312
|
+
plugin: string;
|
|
313
|
+
requiredRange: string;
|
|
314
|
+
installedVersion: string | undefined;
|
|
315
|
+
isSatisfied: boolean;
|
|
316
|
+
}[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: PropsType;
|
|
4
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
5
|
+
declare const returnSchema: PropsType;
|
|
6
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
7
|
+
export declare class WaitForWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
8
|
+
static NODE_ID: string;
|
|
9
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>>;
|
|
10
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
11
|
+
getDefination(): WorkflowNodeDefination;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: PropsType;
|
|
4
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
5
|
+
declare const returnSchema: PropsType;
|
|
6
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
7
|
+
export declare class IfWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
8
|
+
static NODE_ID: string;
|
|
9
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): PromisableReturn<NodeResultType<ReturnType>>;
|
|
10
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
11
|
+
getDefination(): WorkflowNodeDefination;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: PropsType;
|
|
4
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
5
|
+
declare const returnSchema: PropsType;
|
|
6
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
7
|
+
export declare class LoopWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
8
|
+
static NODE_ID: string;
|
|
9
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>> | NodeResultType<ReturnType>;
|
|
10
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
11
|
+
getDefination(): WorkflowNodeDefination;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: PropsType;
|
|
4
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
5
|
+
declare const returnSchema: PropsType;
|
|
6
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
7
|
+
export declare class MergeWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
8
|
+
static NODE_ID: string;
|
|
9
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>> | NodeResultType<ReturnType>;
|
|
10
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
11
|
+
getDefination(): WorkflowNodeDefination;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChatCompletionMessageParam } from "openai/resources";
|
|
2
|
+
import { AIMemoryService } from "../../../6610c73e/87f29211/00282ba1/da49a2f9.js";
|
|
3
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
4
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
5
|
+
declare const inputSchema: PropsType;
|
|
6
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
7
|
+
declare const returnSchema: PropsType;
|
|
8
|
+
export type ReturnType = SchemaToType<typeof returnSchema>;
|
|
9
|
+
export type Args = {
|
|
10
|
+
method: 'GET';
|
|
11
|
+
} | {
|
|
12
|
+
method: 'APPEND_ALL';
|
|
13
|
+
messages: ChatCompletionMessageParam[];
|
|
14
|
+
};
|
|
15
|
+
export declare class AIMemoryWorkflowNode implements IWorkflowNode<Props, ReturnType, Args> {
|
|
16
|
+
static NODE_ID: string;
|
|
17
|
+
aiMemoryService: AIMemoryService;
|
|
18
|
+
process(context: ExecutionContext, uid: string, props: Props, args: Args): Promise<NodeResultType<ReturnType>>;
|
|
19
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
20
|
+
getDefination(): WorkflowNodeDefination;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: PropsType;
|
|
4
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
5
|
+
declare const returnSchema: PropsType;
|
|
6
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
7
|
+
export declare class EndWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
8
|
+
static NODE_ID: string;
|
|
9
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>> | NodeResultType<ReturnType>;
|
|
10
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
11
|
+
getDefination(): WorkflowNodeDefination;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: {
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly properties: {
|
|
6
|
+
readonly statusCode: {
|
|
7
|
+
readonly type: "number";
|
|
8
|
+
};
|
|
9
|
+
readonly body: {
|
|
10
|
+
readonly type: "object";
|
|
11
|
+
readonly properties: "any";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
16
|
+
declare const returnSchema: {
|
|
17
|
+
readonly type: "object";
|
|
18
|
+
readonly properties: {
|
|
19
|
+
readonly statusCode: {
|
|
20
|
+
readonly type: "number";
|
|
21
|
+
};
|
|
22
|
+
readonly body: {
|
|
23
|
+
readonly type: "object";
|
|
24
|
+
readonly properties: "any";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
29
|
+
export declare class HttpResponseJsonWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
30
|
+
static NODE_ID: string;
|
|
31
|
+
static PRIVATE_VARIABLE_KEY: string;
|
|
32
|
+
private resolve;
|
|
33
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>> | NodeResultType<ReturnType>;
|
|
34
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
35
|
+
getDefination(): WorkflowNodeDefination;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WorkflowService } from "../../../6610c73e/da7f739f/e016487a.js";
|
|
2
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
3
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
4
|
+
declare const inputSchema: {
|
|
5
|
+
readonly type: "object";
|
|
6
|
+
readonly properties: {
|
|
7
|
+
readonly workflowId: {
|
|
8
|
+
readonly type: "string";
|
|
9
|
+
};
|
|
10
|
+
readonly args: {
|
|
11
|
+
readonly type: "object";
|
|
12
|
+
readonly properties: "any";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
17
|
+
declare const returnSchema: PropsType;
|
|
18
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
19
|
+
export declare class ExecuteAnotherWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
20
|
+
static NODE_ID: string;
|
|
21
|
+
service: WorkflowService;
|
|
22
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>>;
|
|
23
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
24
|
+
getDefination(): WorkflowNodeDefination;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PropsType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: {
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly properties: {
|
|
6
|
+
readonly toolName: {
|
|
7
|
+
readonly type: "string";
|
|
8
|
+
};
|
|
9
|
+
readonly description: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly isMultiline: true;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type Props = SchemaToType<typeof inputSchema>;
|
|
16
|
+
declare const returnSchema: PropsType;
|
|
17
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
18
|
+
export declare class AIToolWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
19
|
+
static NODE_ID: string;
|
|
20
|
+
private toolService;
|
|
21
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>>;
|
|
22
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
23
|
+
getDefination(): WorkflowNodeDefination;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExecutionContext } from "../597ef69e.js";
|
|
2
|
+
import { IWorkflowNode, NodeResultType, PromisableReturn, SchemaToType, WorkflowNodeDefination } from "../a588a26e.js";
|
|
3
|
+
declare const inputSchema: {
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly properties: {
|
|
6
|
+
readonly route: {
|
|
7
|
+
readonly type: "string";
|
|
8
|
+
};
|
|
9
|
+
readonly method: {
|
|
10
|
+
readonly type: "enum";
|
|
11
|
+
readonly values: readonly ["POST", "PUT", "GET", "DELETE"];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type Props = SchemaToType<typeof inputSchema>;
|
|
16
|
+
declare const returnSchema: {
|
|
17
|
+
readonly type: "object";
|
|
18
|
+
readonly properties: {
|
|
19
|
+
readonly body: {
|
|
20
|
+
readonly type: "object";
|
|
21
|
+
readonly properties: "any";
|
|
22
|
+
};
|
|
23
|
+
readonly params: {
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
readonly properties: "any";
|
|
26
|
+
};
|
|
27
|
+
readonly route: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
};
|
|
30
|
+
readonly method: {
|
|
31
|
+
readonly type: "enum";
|
|
32
|
+
readonly values: readonly ["POST", "PUT", "GET", "DELETE"];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type ReturnType = SchemaToType<typeof returnSchema>;
|
|
37
|
+
export declare class ListenHttpWorkflowNode implements IWorkflowNode<Props, ReturnType, any> {
|
|
38
|
+
static NODE_ID: string;
|
|
39
|
+
process(context: ExecutionContext, uid: string, props: Props, args: any): Promise<NodeResultType<ReturnType>> | NodeResultType<ReturnType>;
|
|
40
|
+
nextToExecute(context: ExecutionContext, uid: string, args: NodeResultType<ReturnType>): PromisableReturn<string[]> | PromisableReturn<null>;
|
|
41
|
+
getDefination(): WorkflowNodeDefination;
|
|
42
|
+
}
|
|
43
|
+
export {};
|