@lcap/nasl 3.1.0-beta.2 → 3.1.0-beta.4

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.
Files changed (1018) hide show
  1. package/out/breakpoint/shared/constants.js +2 -0
  2. package/out/breakpoint/shared/constants.js.map +1 -1
  3. package/out/common/Command.d.ts +1 -1
  4. package/out/common/Command.js +1 -1
  5. package/out/common/Command.js.map +1 -1
  6. package/out/concepts/AnonymousFunction__.d.ts +8 -9
  7. package/out/concepts/AnonymousFunction__.js +15 -14
  8. package/out/concepts/AnonymousFunction__.js.map +1 -1
  9. package/out/concepts/Argument__.js +7 -2
  10. package/out/concepts/Argument__.js.map +1 -1
  11. package/out/concepts/AuthInterface__.d.ts +0 -2
  12. package/out/concepts/AuthInterface__.js +0 -58
  13. package/out/concepts/AuthInterface__.js.map +1 -1
  14. package/out/concepts/BatchAssignment__.js +3 -2
  15. package/out/concepts/BatchAssignment__.js.map +1 -1
  16. package/out/concepts/BindAttribute__.js +10 -1
  17. package/out/concepts/BindAttribute__.js.map +1 -1
  18. package/out/concepts/CallAuthInterface__.d.ts +0 -1
  19. package/out/concepts/CallAuthInterface__.js +5 -8
  20. package/out/concepts/CallAuthInterface__.js.map +1 -1
  21. package/out/concepts/CallFunction__.js +4 -3
  22. package/out/concepts/CallFunction__.js.map +1 -1
  23. package/out/concepts/CallInterface__.d.ts +3 -1
  24. package/out/concepts/CallInterface__.js +21 -1
  25. package/out/concepts/CallInterface__.js.map +1 -1
  26. package/out/concepts/CallLogic__.d.ts +2 -0
  27. package/out/concepts/CallLogic__.js +74 -14
  28. package/out/concepts/CallLogic__.js.map +1 -1
  29. package/out/concepts/FrontendLibrary__.d.ts +29 -29
  30. package/out/concepts/FrontendLibrary__.js +2 -2
  31. package/out/concepts/Function__.js +3 -3
  32. package/out/concepts/Function__.js.map +1 -1
  33. package/out/concepts/LogicItem__.d.ts +6 -6
  34. package/out/concepts/LogicItem__.js +6 -6
  35. package/out/concepts/LogicItem__.js.map +1 -1
  36. package/out/concepts/Logic__.js +19 -4
  37. package/out/concepts/Logic__.js.map +1 -1
  38. package/out/concepts/Namespace__.d.ts +29 -29
  39. package/out/concepts/Namespace__.js +2 -2
  40. package/out/concepts/NewComposite__.d.ts +1 -0
  41. package/out/concepts/NewComposite__.js +67 -3
  42. package/out/concepts/NewComposite__.js.map +1 -1
  43. package/out/concepts/NewList__.d.ts +1 -0
  44. package/out/concepts/NewList__.js +17 -1
  45. package/out/concepts/NewList__.js.map +1 -1
  46. package/out/concepts/QueryJoinExpression__.d.ts +2 -0
  47. package/out/concepts/QueryJoinExpression__.js +11 -0
  48. package/out/concepts/QueryJoinExpression__.js.map +1 -1
  49. package/out/concepts/TypeAnnotation__.d.ts +1 -0
  50. package/out/concepts/TypeAnnotation__.js +37 -4
  51. package/out/concepts/TypeAnnotation__.js.map +1 -1
  52. package/out/concepts/ViewComponent__.d.ts +33 -33
  53. package/out/concepts/ViewComponent__.js +7 -7
  54. package/out/concepts/ViewElement__.d.ts +4 -1
  55. package/out/concepts/ViewElement__.js +51 -3
  56. package/out/concepts/ViewElement__.js.map +1 -1
  57. package/out/concepts/View__.js +4 -4
  58. package/out/concepts/View__.js.map +1 -1
  59. package/out/concepts/basics/stdlib/nasl.http.js +28 -26
  60. package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
  61. package/out/concepts/basics/stdlib/nasl.util.js +17 -9
  62. package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
  63. package/out/concepts/basics/types/index.js +1 -1
  64. package/out/concepts/basics/types/index.js.map +1 -1
  65. package/out/concepts/types__.d.ts +1 -2
  66. package/out/generator/genBundleFiles.js +32 -27
  67. package/out/generator/genBundleFiles.js.map +1 -1
  68. package/out/generator/genMetaData.js +8 -0
  69. package/out/generator/genMetaData.js.map +1 -1
  70. package/out/generator/genReleaseBody.js +6 -6
  71. package/out/generator/genReleaseBody.js.map +1 -1
  72. package/out/sentry/index.js +8 -1
  73. package/out/sentry/index.js.map +1 -1
  74. package/out/server/getInterfaces.js +1 -1
  75. package/out/server/getInterfaces.js.map +1 -1
  76. package/out/server/naslServer.d.ts +10 -2
  77. package/out/server/naslServer.js +55 -12
  78. package/out/server/naslServer.js.map +1 -1
  79. package/out/server/translator.js +0 -12
  80. package/out/server/translator.js.map +1 -1
  81. package/out/service/storage/init.js +102 -65
  82. package/out/service/storage/init.js.map +1 -1
  83. package/out/templator/genCreateBlock.js +2 -2
  84. package/out/templator/genCreateBlock.js.map +1 -1
  85. package/out/templator/genCurdEditMultipleKeyBlock.js +1 -1
  86. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
  87. package/out/templator/genCurdMultipleKeyBlock.js +2 -2
  88. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
  89. package/out/templator/genEditTableBlock.d.ts +1 -1
  90. package/out/templator/genEditTableBlock.js +6 -2
  91. package/out/templator/genEditTableBlock.js.map +1 -1
  92. package/out/templator/genEnumSelectBlock.js +2 -2
  93. package/out/templator/genEnumSelectBlock.js.map +1 -1
  94. package/out/templator/genGridViewBlock.d.ts +2 -2
  95. package/out/templator/genGridViewBlock.js +14 -8
  96. package/out/templator/genGridViewBlock.js.map +1 -1
  97. package/out/templator/genListViewBlock.d.ts +2 -2
  98. package/out/templator/genListViewBlock.js +9 -5
  99. package/out/templator/genListViewBlock.js.map +1 -1
  100. package/out/templator/genSelectBlock.d.ts +2 -2
  101. package/out/templator/genSelectBlock.js +18 -11
  102. package/out/templator/genSelectBlock.js.map +1 -1
  103. package/out/templator/genTableBlock.d.ts +1 -1
  104. package/out/templator/genTableBlock.js +7 -3
  105. package/out/templator/genTableBlock.js.map +1 -1
  106. package/out/templator/genUpdateBlock.js +2 -2
  107. package/out/templator/genUpdateBlock.js.map +1 -1
  108. package/package.json +13 -13
  109. package/sandbox/stdlib/nasl.util.ts +2 -2
  110. package/src/automate/engine/utils.js +3 -0
  111. package/src/breakpoint/shared/constants.ts +2 -0
  112. package/src/common/BaseNode.ts +10 -5
  113. package/src/common/Command.ts +1 -1
  114. package/src/concepts/AnonymousFunction__.ts +2 -1
  115. package/src/concepts/Argument__.ts +5 -5
  116. package/src/concepts/Assignment__.ts +2 -1
  117. package/src/concepts/AuthInterface__.ts +3 -53
  118. package/src/concepts/BindEvent__.ts +5 -6
  119. package/src/concepts/CallAuthInterface__.ts +5 -8
  120. package/src/concepts/CallFunction__.ts +2 -1
  121. package/src/concepts/CallInterface__.ts +84 -63
  122. package/src/concepts/CallLogic__.ts +89 -67
  123. package/src/concepts/CompletionProperty__.ts +6 -1
  124. package/src/concepts/ConfigPropertyValue__.ts +2 -2
  125. package/src/concepts/Function__.ts +2 -2
  126. package/src/concepts/QueryJoinExpression__.ts +13 -0
  127. package/src/concepts/TypeAnnotation__.ts +31 -0
  128. package/src/concepts/ViewElement__.ts +80 -33
  129. package/src/concepts/basics/stdlib/nasl.http.ts +26 -24
  130. package/src/concepts/types__.ts +1 -3
  131. package/src/generator/genBundleFiles.ts +32 -27
  132. package/src/generator/genReleaseBody.ts +10 -7
  133. package/src/generator/permission.ts +6 -6
  134. package/src/server/getInterfaces.ts +1 -1
  135. package/src/server/naslServer.ts +58 -8
  136. package/src/server/translator.ts +0 -12
  137. package/src/service/storage/init.ts +106 -67
  138. package/src/templator/genCreateBlock.ts +2 -2
  139. package/src/templator/genEnumSelectBlock.ts +2 -2
  140. package/src/templator/genSelectBlock.ts +4 -3
  141. package/src/templator/genUpdateBlock.ts +2 -2
  142. package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +71 -0
  143. package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +140 -0
  144. package/test/concepts/call-interface/constant.ts +5 -0
  145. package/test/concepts/call-interface/fixtures/only-interface.json +158 -0
  146. package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +455 -0
  147. package/test/concepts/call-interface/fixtures/with-body-no-argument.json +187 -0
  148. package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +225 -0
  149. package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +213 -0
  150. package/test/concepts/call-interface/fixtures/with-headers.json +192 -0
  151. package/test/concepts/call-interface/fixtures/with-query-no-argument.json +213 -0
  152. package/test/concepts/call-interface/fixtures/with-query.json +192 -0
  153. package/test/concepts/call-interface/toEmbeddedTS.spec.ts +14 -0
  154. package/test/concepts/call-interface/toJS.spec.ts +14 -0
  155. package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +74 -0
  156. package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +141 -0
  157. package/test/concepts/call-logic/constant.ts +5 -0
  158. package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +223 -0
  159. package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +359 -0
  160. package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +209 -0
  161. package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +311 -0
  162. package/test/concepts/call-logic/fixtures/only-call-logic.json +10 -0
  163. package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +128 -0
  164. package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +126 -0
  165. package/test/concepts/call-logic/fixtures/view-component-with-validation.json +244 -0
  166. package/test/concepts/call-logic/toEmbeddedTS.spec.ts +14 -0
  167. package/test/concepts/call-logic/toJS.spec.ts +14 -0
  168. package/test/concepts/utils.ts +76 -3
  169. package/test/concepts/validation-rule/__snapshots__/toEmbeddedTS.spec.ts.snap +3 -3
  170. package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +16 -0
  171. package/test/concepts/validation-rule/constant.ts +5 -0
  172. package/test/concepts/validation-rule/toEmbeddedTS.spec.ts +10 -17
  173. package/test/concepts/validation-rule/toJS.spec.ts +14 -0
  174. package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +89 -0
  175. package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +44 -0
  176. package/test/concepts/view-element/constant.ts +5 -0
  177. package/test/concepts/view-element/fixtures/default-not-found.json +322 -0
  178. package/test/concepts/view-element/toEmbeddedTS.spec.ts +14 -0
  179. package/test/concepts/view-element/toVue.spec.ts +14 -0
  180. package/test/setup.ts +6 -0
  181. package/ts-worker/lib/tsserver.js +5 -6
  182. package/ts-worker/package-lock.json +2 -1
  183. package/bin/naslc +0 -3
  184. package/out/src/automate/engine/index.d.ts +0 -4
  185. package/out/src/automate/engine/index.js +0 -443
  186. package/out/src/automate/engine/index.js.map +0 -1
  187. package/out/src/automate/engine/operators.d.ts +0 -24
  188. package/out/src/automate/engine/operators.js +0 -252
  189. package/out/src/automate/engine/operators.js.map +0 -1
  190. package/out/src/automate/engine/uniqueName.d.ts +0 -12
  191. package/out/src/automate/engine/uniqueName.js +0 -112
  192. package/out/src/automate/engine/uniqueName.js.map +0 -1
  193. package/out/src/automate/engine/utils.d.ts +0 -25
  194. package/out/src/automate/engine/utils.js +0 -440
  195. package/out/src/automate/engine/utils.js.map +0 -1
  196. package/out/src/automate/engine/viewCache.d.ts +0 -19
  197. package/out/src/automate/engine/viewCache.js +0 -45
  198. package/out/src/automate/engine/viewCache.js.map +0 -1
  199. package/out/src/automate/template/myProcess.d.ts +0 -10
  200. package/out/src/automate/template/myProcess.js +0 -11498
  201. package/out/src/automate/template/myProcess.js.map +0 -1
  202. package/out/src/automate/upgrader/2.12.d.ts +0 -7
  203. package/out/src/automate/upgrader/2.12.js +0 -63
  204. package/out/src/automate/upgrader/2.12.js.map +0 -1
  205. package/out/src/automate/upgrader/2.14-components.d.ts +0 -1115
  206. package/out/src/automate/upgrader/2.14-components.js +0 -1087
  207. package/out/src/automate/upgrader/2.14-components.js.map +0 -1
  208. package/out/src/automate/upgrader/2.14.d.ts +0 -10
  209. package/out/src/automate/upgrader/2.14.js +0 -236
  210. package/out/src/automate/upgrader/2.14.js.map +0 -1
  211. package/out/src/automate/upgrader/2.14.old.d.ts +0 -1
  212. package/out/src/automate/upgrader/2.14.old.js +0 -125
  213. package/out/src/automate/upgrader/2.14.old.js.map +0 -1
  214. package/out/src/automate/upgrader/2.16.d.ts +0 -10
  215. package/out/src/automate/upgrader/2.16.js +0 -75
  216. package/out/src/automate/upgrader/2.16.js.map +0 -1
  217. package/out/src/automate/upgrader/2.17.d.ts +0 -21
  218. package/out/src/automate/upgrader/2.17.js +0 -557
  219. package/out/src/automate/upgrader/2.17.js.map +0 -1
  220. package/out/src/automate/upgrader/2.18.d.ts +0 -10
  221. package/out/src/automate/upgrader/2.18.js +0 -107
  222. package/out/src/automate/upgrader/2.18.js.map +0 -1
  223. package/out/src/automate/upgrader/2.20.d.ts +0 -17
  224. package/out/src/automate/upgrader/2.20.js +0 -68
  225. package/out/src/automate/upgrader/2.20.js.map +0 -1
  226. package/out/src/bak/translator.d.ts +0 -1
  227. package/out/src/bak/translator.js +0 -119
  228. package/out/src/bak/translator.js.map +0 -1
  229. package/out/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
  230. package/out/src/breakpoint/generator/AfterStartNode.js +0 -27
  231. package/out/src/breakpoint/generator/AfterStartNode.js.map +0 -1
  232. package/out/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
  233. package/out/src/breakpoint/generator/BeforeEndNode.js +0 -27
  234. package/out/src/breakpoint/generator/BeforeEndNode.js.map +0 -1
  235. package/out/src/breakpoint/generator/BreakpointNode.d.ts +0 -14
  236. package/out/src/breakpoint/generator/BreakpointNode.js +0 -200
  237. package/out/src/breakpoint/generator/BreakpointNode.js.map +0 -1
  238. package/out/src/breakpoint/generator/index.d.ts +0 -4
  239. package/out/src/breakpoint/generator/index.js +0 -98
  240. package/out/src/breakpoint/generator/index.js.map +0 -1
  241. package/out/src/breakpoint/index.d.ts +0 -3
  242. package/out/src/breakpoint/index.js +0 -20
  243. package/out/src/breakpoint/index.js.map +0 -1
  244. package/out/src/breakpoint/shared/constants.d.ts +0 -31
  245. package/out/src/breakpoint/shared/constants.js +0 -91
  246. package/out/src/breakpoint/shared/constants.js.map +0 -1
  247. package/out/src/breakpoint/shared/index.d.ts +0 -3
  248. package/out/src/breakpoint/shared/index.js +0 -33
  249. package/out/src/breakpoint/shared/index.js.map +0 -1
  250. package/out/src/breakpoint/shared/operations.d.ts +0 -10
  251. package/out/src/breakpoint/shared/operations.js +0 -25
  252. package/out/src/breakpoint/shared/operations.js.map +0 -1
  253. package/out/src/breakpoint/shared/socket.d.ts +0 -47
  254. package/out/src/breakpoint/shared/socket.js +0 -210
  255. package/out/src/breakpoint/shared/socket.js.map +0 -1
  256. package/out/src/breakpoint/shared/utils.d.ts +0 -23
  257. package/out/src/breakpoint/shared/utils.js +0 -165
  258. package/out/src/breakpoint/shared/utils.js.map +0 -1
  259. package/out/src/breakpoint/store/core.d.ts +0 -32
  260. package/out/src/breakpoint/store/core.js +0 -388
  261. package/out/src/breakpoint/store/core.js.map +0 -1
  262. package/out/src/breakpoint/store/dock.d.ts +0 -1
  263. package/out/src/breakpoint/store/dock.js +0 -127
  264. package/out/src/breakpoint/store/dock.js.map +0 -1
  265. package/out/src/breakpoint/store/index.d.ts +0 -2
  266. package/out/src/breakpoint/store/index.js +0 -19
  267. package/out/src/breakpoint/store/index.js.map +0 -1
  268. package/out/src/common/BaseNode.d.ts +0 -317
  269. package/out/src/common/BaseNode.js +0 -1156
  270. package/out/src/common/BaseNode.js.map +0 -1
  271. package/out/src/common/Command.d.ts +0 -9
  272. package/out/src/common/Command.js +0 -36
  273. package/out/src/common/Command.js.map +0 -1
  274. package/out/src/common/ComponentAPI.d.ts +0 -110
  275. package/out/src/common/ComponentAPI.js +0 -3
  276. package/out/src/common/ComponentAPI.js.map +0 -1
  277. package/out/src/common/EventEmitter.d.ts +0 -59
  278. package/out/src/common/EventEmitter.js +0 -71
  279. package/out/src/common/EventEmitter.js.map +0 -1
  280. package/out/src/common/Messager.d.ts +0 -91
  281. package/out/src/common/Messager.js +0 -208
  282. package/out/src/common/Messager.js.map +0 -1
  283. package/out/src/common/asyncFuncMap.d.ts +0 -2
  284. package/out/src/common/asyncFuncMap.js +0 -16
  285. package/out/src/common/asyncFuncMap.js.map +0 -1
  286. package/out/src/common/classMap.d.ts +0 -4
  287. package/out/src/common/classMap.js +0 -5
  288. package/out/src/common/classMap.js.map +0 -1
  289. package/out/src/common/index.d.ts +0 -4
  290. package/out/src/common/index.js +0 -21
  291. package/out/src/common/index.js.map +0 -1
  292. package/out/src/concepts/Abort__.d.ts +0 -25
  293. package/out/src/concepts/Abort__.js +0 -80
  294. package/out/src/concepts/Abort__.js.map +0 -1
  295. package/out/src/concepts/Anchor__.d.ts +0 -44
  296. package/out/src/concepts/Anchor__.js +0 -182
  297. package/out/src/concepts/Anchor__.js.map +0 -1
  298. package/out/src/concepts/AnonymousFunction__.d.ts +0 -172
  299. package/out/src/concepts/AnonymousFunction__.js +0 -490
  300. package/out/src/concepts/AnonymousFunction__.js.map +0 -1
  301. package/out/src/concepts/App__.d.ts +0 -1510
  302. package/out/src/concepts/App__.js +0 -2268
  303. package/out/src/concepts/App__.js.map +0 -1
  304. package/out/src/concepts/Argument__.d.ts +0 -65
  305. package/out/src/concepts/Argument__.js +0 -265
  306. package/out/src/concepts/Argument__.js.map +0 -1
  307. package/out/src/concepts/Assignee__.d.ts +0 -288
  308. package/out/src/concepts/Assignee__.js +0 -427
  309. package/out/src/concepts/Assignee__.js.map +0 -1
  310. package/out/src/concepts/AssignmentLine__.d.ts +0 -41
  311. package/out/src/concepts/AssignmentLine__.js +0 -112
  312. package/out/src/concepts/AssignmentLine__.js.map +0 -1
  313. package/out/src/concepts/Assignment__.d.ts +0 -73
  314. package/out/src/concepts/Assignment__.js +0 -286
  315. package/out/src/concepts/Assignment__.js.map +0 -1
  316. package/out/src/concepts/Attribute__.d.ts +0 -97
  317. package/out/src/concepts/Attribute__.js +0 -197
  318. package/out/src/concepts/Attribute__.js.map +0 -1
  319. package/out/src/concepts/AuthInterface__.d.ts +0 -37
  320. package/out/src/concepts/AuthInterface__.js +0 -141
  321. package/out/src/concepts/AuthInterface__.js.map +0 -1
  322. package/out/src/concepts/AuthLogicForCallInterface__.d.ts +0 -138
  323. package/out/src/concepts/AuthLogicForCallInterface__.js +0 -493
  324. package/out/src/concepts/AuthLogicForCallInterface__.js.map +0 -1
  325. package/out/src/concepts/AuthLogic__.d.ts +0 -66
  326. package/out/src/concepts/AuthLogic__.js +0 -206
  327. package/out/src/concepts/AuthLogic__.js.map +0 -1
  328. package/out/src/concepts/BackendVariable__.d.ts +0 -137
  329. package/out/src/concepts/BackendVariable__.js +0 -422
  330. package/out/src/concepts/BackendVariable__.js.map +0 -1
  331. package/out/src/concepts/Backend__.d.ts +0 -134
  332. package/out/src/concepts/Backend__.js +0 -274
  333. package/out/src/concepts/Backend__.js.map +0 -1
  334. package/out/src/concepts/BatchAssignment__.d.ts +0 -251
  335. package/out/src/concepts/BatchAssignment__.js +0 -806
  336. package/out/src/concepts/BatchAssignment__.js.map +0 -1
  337. package/out/src/concepts/BinaryExpression__.d.ts +0 -70
  338. package/out/src/concepts/BinaryExpression__.js +0 -345
  339. package/out/src/concepts/BinaryExpression__.js.map +0 -1
  340. package/out/src/concepts/BindAttribute__.d.ts +0 -318
  341. package/out/src/concepts/BindAttribute__.js +0 -875
  342. package/out/src/concepts/BindAttribute__.js.map +0 -1
  343. package/out/src/concepts/BindDirective__.d.ts +0 -161
  344. package/out/src/concepts/BindDirective__.js +0 -532
  345. package/out/src/concepts/BindDirective__.js.map +0 -1
  346. package/out/src/concepts/BindEvent__.d.ts +0 -251
  347. package/out/src/concepts/BindEvent__.js +0 -788
  348. package/out/src/concepts/BindEvent__.js.map +0 -1
  349. package/out/src/concepts/BindStyle__.d.ts +0 -139
  350. package/out/src/concepts/BindStyle__.js +0 -432
  351. package/out/src/concepts/BindStyle__.js.map +0 -1
  352. package/out/src/concepts/BooleanLiteral__.d.ts +0 -34
  353. package/out/src/concepts/BooleanLiteral__.js +0 -100
  354. package/out/src/concepts/BooleanLiteral__.js.map +0 -1
  355. package/out/src/concepts/CallAuthInterface__.d.ts +0 -126
  356. package/out/src/concepts/CallAuthInterface__.js +0 -409
  357. package/out/src/concepts/CallAuthInterface__.js.map +0 -1
  358. package/out/src/concepts/CallConnector__.d.ts +0 -42
  359. package/out/src/concepts/CallConnector__.js +0 -198
  360. package/out/src/concepts/CallConnector__.js.map +0 -1
  361. package/out/src/concepts/CallFunction__.d.ts +0 -157
  362. package/out/src/concepts/CallFunction__.js +0 -503
  363. package/out/src/concepts/CallFunction__.js.map +0 -1
  364. package/out/src/concepts/CallInterface__.d.ts +0 -125
  365. package/out/src/concepts/CallInterface__.js +0 -677
  366. package/out/src/concepts/CallInterface__.js.map +0 -1
  367. package/out/src/concepts/CallLogic__.d.ts +0 -224
  368. package/out/src/concepts/CallLogic__.js +0 -1140
  369. package/out/src/concepts/CallLogic__.js.map +0 -1
  370. package/out/src/concepts/CallQueryComponent__.d.ts +0 -432
  371. package/out/src/concepts/CallQueryComponent__.js +0 -1264
  372. package/out/src/concepts/CallQueryComponent__.js.map +0 -1
  373. package/out/src/concepts/Comment__.d.ts +0 -31
  374. package/out/src/concepts/Comment__.js +0 -96
  375. package/out/src/concepts/Comment__.js.map +0 -1
  376. package/out/src/concepts/CompletionProperty__.d.ts +0 -104
  377. package/out/src/concepts/CompletionProperty__.js +0 -256
  378. package/out/src/concepts/CompletionProperty__.js.map +0 -1
  379. package/out/src/concepts/ConfigGroup__.d.ts +0 -124
  380. package/out/src/concepts/ConfigGroup__.js +0 -253
  381. package/out/src/concepts/ConfigGroup__.js.map +0 -1
  382. package/out/src/concepts/ConfigPropertyValue__.d.ts +0 -44
  383. package/out/src/concepts/ConfigPropertyValue__.js +0 -106
  384. package/out/src/concepts/ConfigPropertyValue__.js.map +0 -1
  385. package/out/src/concepts/ConfigProperty__.d.ts +0 -153
  386. package/out/src/concepts/ConfigProperty__.js +0 -322
  387. package/out/src/concepts/ConfigProperty__.js.map +0 -1
  388. package/out/src/concepts/Configuration__.d.ts +0 -123
  389. package/out/src/concepts/Configuration__.js +0 -229
  390. package/out/src/concepts/Configuration__.js.map +0 -1
  391. package/out/src/concepts/ConnectorTrigger__.d.ts +0 -78
  392. package/out/src/concepts/ConnectorTrigger__.js +0 -155
  393. package/out/src/concepts/ConnectorTrigger__.js.map +0 -1
  394. package/out/src/concepts/Connector__.d.ts +0 -464
  395. package/out/src/concepts/Connector__.js +0 -698
  396. package/out/src/concepts/Connector__.js.map +0 -1
  397. package/out/src/concepts/Constant__.d.ts +0 -110
  398. package/out/src/concepts/Constant__.js +0 -252
  399. package/out/src/concepts/Constant__.js.map +0 -1
  400. package/out/src/concepts/DataElement__.d.ts +0 -46
  401. package/out/src/concepts/DataElement__.js +0 -117
  402. package/out/src/concepts/DataElement__.js.map +0 -1
  403. package/out/src/concepts/DataSource__.d.ts +0 -164
  404. package/out/src/concepts/DataSource__.js +0 -441
  405. package/out/src/concepts/DataSource__.js.map +0 -1
  406. package/out/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -31
  407. package/out/src/concepts/DatabaseTypeAnnotation__.js +0 -78
  408. package/out/src/concepts/DatabaseTypeAnnotation__.js.map +0 -1
  409. package/out/src/concepts/Destination__.d.ts +0 -156
  410. package/out/src/concepts/Destination__.js +0 -738
  411. package/out/src/concepts/Destination__.js.map +0 -1
  412. package/out/src/concepts/End__.d.ts +0 -24
  413. package/out/src/concepts/End__.js +0 -114
  414. package/out/src/concepts/End__.js.map +0 -1
  415. package/out/src/concepts/EntityIndex__.d.ts +0 -95
  416. package/out/src/concepts/EntityIndex__.js +0 -218
  417. package/out/src/concepts/EntityIndex__.js.map +0 -1
  418. package/out/src/concepts/EntityProperty__.d.ts +0 -273
  419. package/out/src/concepts/EntityProperty__.js +0 -804
  420. package/out/src/concepts/EntityProperty__.js.map +0 -1
  421. package/out/src/concepts/Entity__.d.ts +0 -338
  422. package/out/src/concepts/Entity__.js +0 -709
  423. package/out/src/concepts/Entity__.js.map +0 -1
  424. package/out/src/concepts/EnumItem__.d.ts +0 -63
  425. package/out/src/concepts/EnumItem__.js +0 -145
  426. package/out/src/concepts/EnumItem__.js.map +0 -1
  427. package/out/src/concepts/Enum__.d.ts +0 -137
  428. package/out/src/concepts/Enum__.js +0 -320
  429. package/out/src/concepts/Enum__.js.map +0 -1
  430. package/out/src/concepts/Event__.d.ts +0 -143
  431. package/out/src/concepts/Event__.js +0 -245
  432. package/out/src/concepts/Event__.js.map +0 -1
  433. package/out/src/concepts/ExternalDestination__.d.ts +0 -75
  434. package/out/src/concepts/ExternalDestination__.js +0 -285
  435. package/out/src/concepts/ExternalDestination__.js.map +0 -1
  436. package/out/src/concepts/ForEachStatement__.d.ts +0 -188
  437. package/out/src/concepts/ForEachStatement__.js +0 -447
  438. package/out/src/concepts/ForEachStatement__.js.map +0 -1
  439. package/out/src/concepts/FrontendLibrary__.d.ts +0 -213
  440. package/out/src/concepts/FrontendLibrary__.js +0 -352
  441. package/out/src/concepts/FrontendLibrary__.js.map +0 -1
  442. package/out/src/concepts/FrontendVariable__.d.ts +0 -21
  443. package/out/src/concepts/FrontendVariable__.js +0 -64
  444. package/out/src/concepts/FrontendVariable__.js.map +0 -1
  445. package/out/src/concepts/Frontend__.d.ts +0 -477
  446. package/out/src/concepts/Frontend__.js +0 -841
  447. package/out/src/concepts/Frontend__.js.map +0 -1
  448. package/out/src/concepts/Function__.d.ts +0 -416
  449. package/out/src/concepts/Function__.js +0 -724
  450. package/out/src/concepts/Function__.js.map +0 -1
  451. package/out/src/concepts/Identifier__.d.ts +0 -51
  452. package/out/src/concepts/Identifier__.js +0 -295
  453. package/out/src/concepts/Identifier__.js.map +0 -1
  454. package/out/src/concepts/IfStatement__.d.ts +0 -157
  455. package/out/src/concepts/IfStatement__.js +0 -305
  456. package/out/src/concepts/IfStatement__.js.map +0 -1
  457. package/out/src/concepts/Integration__.d.ts +0 -53
  458. package/out/src/concepts/Integration__.js +0 -143
  459. package/out/src/concepts/Integration__.js.map +0 -1
  460. package/out/src/concepts/InterfaceParam__.d.ts +0 -110
  461. package/out/src/concepts/InterfaceParam__.js +0 -261
  462. package/out/src/concepts/InterfaceParam__.js.map +0 -1
  463. package/out/src/concepts/Interface__.d.ts +0 -303
  464. package/out/src/concepts/Interface__.js +0 -811
  465. package/out/src/concepts/Interface__.js.map +0 -1
  466. package/out/src/concepts/JSBlock__.d.ts +0 -33
  467. package/out/src/concepts/JSBlock__.js +0 -106
  468. package/out/src/concepts/JSBlock__.js.map +0 -1
  469. package/out/src/concepts/JavaLogic__.d.ts +0 -42
  470. package/out/src/concepts/JavaLogic__.js +0 -122
  471. package/out/src/concepts/JavaLogic__.js.map +0 -1
  472. package/out/src/concepts/LogicItem__.d.ts +0 -145
  473. package/out/src/concepts/LogicItem__.js +0 -274
  474. package/out/src/concepts/LogicItem__.js.map +0 -1
  475. package/out/src/concepts/Logic__.d.ts +0 -643
  476. package/out/src/concepts/Logic__.js +0 -1623
  477. package/out/src/concepts/Logic__.js.map +0 -1
  478. package/out/src/concepts/MatchCase__.d.ts +0 -257
  479. package/out/src/concepts/MatchCase__.js +0 -592
  480. package/out/src/concepts/MatchCase__.js.map +0 -1
  481. package/out/src/concepts/Match__.d.ts +0 -122
  482. package/out/src/concepts/Match__.js +0 -616
  483. package/out/src/concepts/Match__.js.map +0 -1
  484. package/out/src/concepts/MemberExpression__.d.ts +0 -72
  485. package/out/src/concepts/MemberExpression__.js +0 -318
  486. package/out/src/concepts/MemberExpression__.js.map +0 -1
  487. package/out/src/concepts/MicroApp__.d.ts +0 -51
  488. package/out/src/concepts/MicroApp__.js +0 -113
  489. package/out/src/concepts/MicroApp__.js.map +0 -1
  490. package/out/src/concepts/Module__.d.ts +0 -975
  491. package/out/src/concepts/Module__.js +0 -1371
  492. package/out/src/concepts/Module__.js.map +0 -1
  493. package/out/src/concepts/MsgTriggerEvent__.d.ts +0 -137
  494. package/out/src/concepts/MsgTriggerEvent__.js +0 -228
  495. package/out/src/concepts/MsgTriggerEvent__.js.map +0 -1
  496. package/out/src/concepts/MsgTriggerLauncher__.d.ts +0 -118
  497. package/out/src/concepts/MsgTriggerLauncher__.js +0 -204
  498. package/out/src/concepts/MsgTriggerLauncher__.js.map +0 -1
  499. package/out/src/concepts/Namespace__.d.ts +0 -1068
  500. package/out/src/concepts/Namespace__.js +0 -1377
  501. package/out/src/concepts/Namespace__.js.map +0 -1
  502. package/out/src/concepts/NewComposite__.d.ts +0 -345
  503. package/out/src/concepts/NewComposite__.js +0 -1086
  504. package/out/src/concepts/NewComposite__.js.map +0 -1
  505. package/out/src/concepts/NewList__.d.ts +0 -132
  506. package/out/src/concepts/NewList__.js +0 -378
  507. package/out/src/concepts/NewList__.js.map +0 -1
  508. package/out/src/concepts/NewMap__.d.ts +0 -223
  509. package/out/src/concepts/NewMap__.js +0 -522
  510. package/out/src/concepts/NewMap__.js.map +0 -1
  511. package/out/src/concepts/New__.d.ts +0 -20
  512. package/out/src/concepts/New__.js +0 -69
  513. package/out/src/concepts/New__.js.map +0 -1
  514. package/out/src/concepts/NullLiteral__.d.ts +0 -26
  515. package/out/src/concepts/NullLiteral__.js +0 -82
  516. package/out/src/concepts/NullLiteral__.js.map +0 -1
  517. package/out/src/concepts/NumericLiteral__.d.ts +0 -55
  518. package/out/src/concepts/NumericLiteral__.js +0 -173
  519. package/out/src/concepts/NumericLiteral__.js.map +0 -1
  520. package/out/src/concepts/OqlQueryComponent__.d.ts +0 -72
  521. package/out/src/concepts/OqlQueryComponent__.js +0 -323
  522. package/out/src/concepts/OqlQueryComponent__.js.map +0 -1
  523. package/out/src/concepts/OverriddenLogic__.d.ts +0 -643
  524. package/out/src/concepts/OverriddenLogic__.js +0 -1602
  525. package/out/src/concepts/OverriddenLogic__.js.map +0 -1
  526. package/out/src/concepts/Param__.d.ts +0 -171
  527. package/out/src/concepts/Param__.js +0 -446
  528. package/out/src/concepts/Param__.js.map +0 -1
  529. package/out/src/concepts/Point__.d.ts +0 -31
  530. package/out/src/concepts/Point__.js +0 -78
  531. package/out/src/concepts/Point__.js.map +0 -1
  532. package/out/src/concepts/ProcessComponent__.d.ts +0 -219
  533. package/out/src/concepts/ProcessComponent__.js +0 -336
  534. package/out/src/concepts/ProcessComponent__.js.map +0 -1
  535. package/out/src/concepts/ProcessElement__.d.ts +0 -646
  536. package/out/src/concepts/ProcessElement__.js +0 -1212
  537. package/out/src/concepts/ProcessElement__.js.map +0 -1
  538. package/out/src/concepts/ProcessOutcome__.d.ts +0 -31
  539. package/out/src/concepts/ProcessOutcome__.js +0 -90
  540. package/out/src/concepts/ProcessOutcome__.js.map +0 -1
  541. package/out/src/concepts/ProcessOutcomes__.d.ts +0 -31
  542. package/out/src/concepts/ProcessOutcomes__.js +0 -90
  543. package/out/src/concepts/ProcessOutcomes__.js.map +0 -1
  544. package/out/src/concepts/Process__.d.ts +0 -616
  545. package/out/src/concepts/Process__.js +0 -1023
  546. package/out/src/concepts/Process__.js.map +0 -1
  547. package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -51
  548. package/out/src/concepts/QueryAggregateExpression__.js +0 -147
  549. package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
  550. package/out/src/concepts/QueryFieldExpression__.d.ts +0 -53
  551. package/out/src/concepts/QueryFieldExpression__.js +0 -158
  552. package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
  553. package/out/src/concepts/QueryFromExpression__.d.ts +0 -96
  554. package/out/src/concepts/QueryFromExpression__.js +0 -195
  555. package/out/src/concepts/QueryFromExpression__.js.map +0 -1
  556. package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
  557. package/out/src/concepts/QueryGroupByExpression__.js +0 -142
  558. package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
  559. package/out/src/concepts/QueryJoinExpression__.d.ts +0 -183
  560. package/out/src/concepts/QueryJoinExpression__.js +0 -315
  561. package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
  562. package/out/src/concepts/QueryLimitExpression__.d.ts +0 -57
  563. package/out/src/concepts/QueryLimitExpression__.js +0 -159
  564. package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
  565. package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -68
  566. package/out/src/concepts/QueryOrderByExpression__.js +0 -172
  567. package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
  568. package/out/src/concepts/QuerySelectExpression__.d.ts +0 -203
  569. package/out/src/concepts/QuerySelectExpression__.js +0 -296
  570. package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
  571. package/out/src/concepts/Rect__.d.ts +0 -39
  572. package/out/src/concepts/Rect__.js +0 -92
  573. package/out/src/concepts/Rect__.js.map +0 -1
  574. package/out/src/concepts/Return__.d.ts +0 -133
  575. package/out/src/concepts/Return__.js +0 -348
  576. package/out/src/concepts/Return__.js.map +0 -1
  577. package/out/src/concepts/Role__.d.ts +0 -62
  578. package/out/src/concepts/Role__.js +0 -168
  579. package/out/src/concepts/Role__.js.map +0 -1
  580. package/out/src/concepts/SelectMembers__.d.ts +0 -142
  581. package/out/src/concepts/SelectMembers__.js +0 -293
  582. package/out/src/concepts/SelectMembers__.js.map +0 -1
  583. package/out/src/concepts/Slot__.d.ts +0 -74
  584. package/out/src/concepts/Slot__.js +0 -160
  585. package/out/src/concepts/Slot__.js.map +0 -1
  586. package/out/src/concepts/SqlQueryComponent__.d.ts +0 -70
  587. package/out/src/concepts/SqlQueryComponent__.js +0 -268
  588. package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
  589. package/out/src/concepts/Start__.d.ts +0 -24
  590. package/out/src/concepts/Start__.js +0 -74
  591. package/out/src/concepts/Start__.js.map +0 -1
  592. package/out/src/concepts/StringInterpolation__.d.ts +0 -114
  593. package/out/src/concepts/StringInterpolation__.js +0 -242
  594. package/out/src/concepts/StringInterpolation__.js.map +0 -1
  595. package/out/src/concepts/StringLiteral__.d.ts +0 -37
  596. package/out/src/concepts/StringLiteral__.js +0 -135
  597. package/out/src/concepts/StringLiteral__.js.map +0 -1
  598. package/out/src/concepts/StructureProperty__.d.ts +0 -130
  599. package/out/src/concepts/StructureProperty__.js +0 -297
  600. package/out/src/concepts/StructureProperty__.js.map +0 -1
  601. package/out/src/concepts/Structure__.d.ts +0 -251
  602. package/out/src/concepts/Structure__.js +0 -444
  603. package/out/src/concepts/Structure__.js.map +0 -1
  604. package/out/src/concepts/SwitchCase__.d.ts +0 -93
  605. package/out/src/concepts/SwitchCase__.js +0 -232
  606. package/out/src/concepts/SwitchCase__.js.map +0 -1
  607. package/out/src/concepts/SwitchStatement__.d.ts +0 -83
  608. package/out/src/concepts/SwitchStatement__.js +0 -178
  609. package/out/src/concepts/SwitchStatement__.js.map +0 -1
  610. package/out/src/concepts/Theme__.d.ts +0 -37
  611. package/out/src/concepts/Theme__.js +0 -89
  612. package/out/src/concepts/Theme__.js.map +0 -1
  613. package/out/src/concepts/Transactional__.d.ts +0 -87
  614. package/out/src/concepts/Transactional__.js +0 -166
  615. package/out/src/concepts/Transactional__.js.map +0 -1
  616. package/out/src/concepts/TriggerEvent__.d.ts +0 -120
  617. package/out/src/concepts/TriggerEvent__.js +0 -222
  618. package/out/src/concepts/TriggerEvent__.js.map +0 -1
  619. package/out/src/concepts/TriggerLauncher__.d.ts +0 -88
  620. package/out/src/concepts/TriggerLauncher__.js +0 -235
  621. package/out/src/concepts/TriggerLauncher__.js.map +0 -1
  622. package/out/src/concepts/TypeAnnotation__.d.ts +0 -293
  623. package/out/src/concepts/TypeAnnotation__.js +0 -878
  624. package/out/src/concepts/TypeAnnotation__.js.map +0 -1
  625. package/out/src/concepts/TypeParam__.d.ts +0 -24
  626. package/out/src/concepts/TypeParam__.js +0 -73
  627. package/out/src/concepts/TypeParam__.js.map +0 -1
  628. package/out/src/concepts/UnaryExpression__.d.ts +0 -48
  629. package/out/src/concepts/UnaryExpression__.js +0 -175
  630. package/out/src/concepts/UnaryExpression__.js.map +0 -1
  631. package/out/src/concepts/Unparsed__.d.ts +0 -31
  632. package/out/src/concepts/Unparsed__.js +0 -94
  633. package/out/src/concepts/Unparsed__.js.map +0 -1
  634. package/out/src/concepts/UseComponent__.d.ts +0 -31
  635. package/out/src/concepts/UseComponent__.js +0 -78
  636. package/out/src/concepts/UseComponent__.js.map +0 -1
  637. package/out/src/concepts/ValidationRule__.d.ts +0 -147
  638. package/out/src/concepts/ValidationRule__.js +0 -480
  639. package/out/src/concepts/ValidationRule__.js.map +0 -1
  640. package/out/src/concepts/Variable__.d.ts +0 -153
  641. package/out/src/concepts/Variable__.js +0 -401
  642. package/out/src/concepts/Variable__.js.map +0 -1
  643. package/out/src/concepts/ViewBlock__.d.ts +0 -35
  644. package/out/src/concepts/ViewBlock__.js +0 -85
  645. package/out/src/concepts/ViewBlock__.js.map +0 -1
  646. package/out/src/concepts/ViewComponent__.d.ts +0 -565
  647. package/out/src/concepts/ViewComponent__.js +0 -758
  648. package/out/src/concepts/ViewComponent__.js.map +0 -1
  649. package/out/src/concepts/ViewElement__.d.ts +0 -604
  650. package/out/src/concepts/ViewElement__.js +0 -1910
  651. package/out/src/concepts/ViewElement__.js.map +0 -1
  652. package/out/src/concepts/View__.d.ts +0 -713
  653. package/out/src/concepts/View__.js +0 -1693
  654. package/out/src/concepts/View__.js.map +0 -1
  655. package/out/src/concepts/WhileStatement__.d.ts +0 -96
  656. package/out/src/concepts/WhileStatement__.js +0 -211
  657. package/out/src/concepts/WhileStatement__.js.map +0 -1
  658. package/out/src/concepts/basics/stdlib/index.d.ts +0 -4
  659. package/out/src/concepts/basics/stdlib/index.js +0 -29
  660. package/out/src/concepts/basics/stdlib/index.js.map +0 -1
  661. package/out/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
  662. package/out/src/concepts/basics/stdlib/nasl.auth.js +0 -164
  663. package/out/src/concepts/basics/stdlib/nasl.auth.js.map +0 -1
  664. package/out/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
  665. package/out/src/concepts/basics/stdlib/nasl.browser.js +0 -96
  666. package/out/src/concepts/basics/stdlib/nasl.browser.js.map +0 -1
  667. package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
  668. package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -52
  669. package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
  670. package/out/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
  671. package/out/src/concepts/basics/stdlib/nasl.configuration.js +0 -33
  672. package/out/src/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
  673. package/out/src/concepts/basics/stdlib/nasl.core.d.ts +0 -5
  674. package/out/src/concepts/basics/stdlib/nasl.core.js +0 -49
  675. package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
  676. package/out/src/concepts/basics/stdlib/nasl.http.d.ts +0 -7
  677. package/out/src/concepts/basics/stdlib/nasl.http.js +0 -167
  678. package/out/src/concepts/basics/stdlib/nasl.http.js.map +0 -1
  679. package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
  680. package/out/src/concepts/basics/stdlib/nasl.interface.js +0 -43
  681. package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
  682. package/out/src/concepts/basics/stdlib/nasl.io.d.ts +0 -3
  683. package/out/src/concepts/basics/stdlib/nasl.io.js +0 -52
  684. package/out/src/concepts/basics/stdlib/nasl.io.js.map +0 -1
  685. package/out/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
  686. package/out/src/concepts/basics/stdlib/nasl.logging.js +0 -56
  687. package/out/src/concepts/basics/stdlib/nasl.logging.js.map +0 -1
  688. package/out/src/concepts/basics/stdlib/nasl.process.d.ts +0 -7
  689. package/out/src/concepts/basics/stdlib/nasl.process.js +0 -638
  690. package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
  691. package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
  692. package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -1018
  693. package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
  694. package/out/src/concepts/basics/stdlib/nasl.util.d.ts +0 -3
  695. package/out/src/concepts/basics/stdlib/nasl.util.js +0 -2238
  696. package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
  697. package/out/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
  698. package/out/src/concepts/basics/stdlib/nasl.validation.js +0 -565
  699. package/out/src/concepts/basics/stdlib/nasl.validation.js.map +0 -1
  700. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
  701. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
  702. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
  703. package/out/src/concepts/basics/types/coreTypeList.d.ts +0 -2
  704. package/out/src/concepts/basics/types/coreTypeList.js +0 -15
  705. package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
  706. package/out/src/concepts/basics/types/index.d.ts +0 -16
  707. package/out/src/concepts/basics/types/index.js +0 -35
  708. package/out/src/concepts/basics/types/index.js.map +0 -1
  709. package/out/src/concepts/index.d.ts +0 -6
  710. package/out/src/concepts/index.js +0 -25
  711. package/out/src/concepts/index.js.map +0 -1
  712. package/out/src/concepts/index__.d.ts +0 -122
  713. package/out/src/concepts/index__.js +0 -139
  714. package/out/src/concepts/index__.js.map +0 -1
  715. package/out/src/concepts/types__.d.ts +0 -124
  716. package/out/src/concepts/types__.js +0 -3
  717. package/out/src/concepts/types__.js.map +0 -1
  718. package/out/src/config.d.ts +0 -43
  719. package/out/src/config.js +0 -72
  720. package/out/src/config.js.map +0 -1
  721. package/out/src/decorators/index.d.ts +0 -55
  722. package/out/src/decorators/index.js +0 -153
  723. package/out/src/decorators/index.js.map +0 -1
  724. package/out/src/enums/KEYWORDS.d.ts +0 -6
  725. package/out/src/enums/KEYWORDS.js +0 -1244
  726. package/out/src/enums/KEYWORDS.js.map +0 -1
  727. package/out/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
  728. package/out/src/enums/LEVEL_NAME_MAP.js +0 -30
  729. package/out/src/enums/LEVEL_NAME_MAP.js.map +0 -1
  730. package/out/src/eventBus.d.ts +0 -3
  731. package/out/src/eventBus.js +0 -7
  732. package/out/src/eventBus.js.map +0 -1
  733. package/out/src/generator/compileComponent.d.ts +0 -11
  734. package/out/src/generator/compileComponent.js +0 -12
  735. package/out/src/generator/compileComponent.js.map +0 -1
  736. package/out/src/generator/genBundleFiles.d.ts +0 -31
  737. package/out/src/generator/genBundleFiles.js +0 -432
  738. package/out/src/generator/genBundleFiles.js.map +0 -1
  739. package/out/src/generator/genHash.d.ts +0 -7
  740. package/out/src/generator/genHash.js +0 -39
  741. package/out/src/generator/genHash.js.map +0 -1
  742. package/out/src/generator/genMetaData.d.ts +0 -31
  743. package/out/src/generator/genMetaData.js +0 -274
  744. package/out/src/generator/genMetaData.js.map +0 -1
  745. package/out/src/generator/genReleaseBody.d.ts +0 -70
  746. package/out/src/generator/genReleaseBody.js +0 -268
  747. package/out/src/generator/genReleaseBody.js.map +0 -1
  748. package/out/src/generator/icestark.d.ts +0 -2
  749. package/out/src/generator/icestark.js +0 -48
  750. package/out/src/generator/icestark.js.map +0 -1
  751. package/out/src/generator/index.d.ts +0 -7
  752. package/out/src/generator/index.js +0 -24
  753. package/out/src/generator/index.js.map +0 -1
  754. package/out/src/generator/microApp.d.ts +0 -2
  755. package/out/src/generator/microApp.js +0 -35
  756. package/out/src/generator/microApp.js.map +0 -1
  757. package/out/src/generator/permission.d.ts +0 -10
  758. package/out/src/generator/permission.js +0 -267
  759. package/out/src/generator/permission.js.map +0 -1
  760. package/out/src/generator/qiankun.d.ts +0 -2
  761. package/out/src/generator/qiankun.js +0 -52
  762. package/out/src/generator/qiankun.js.map +0 -1
  763. package/out/src/generator/styleReplacer.d.ts +0 -3
  764. package/out/src/generator/styleReplacer.js +0 -71
  765. package/out/src/generator/styleReplacer.js.map +0 -1
  766. package/out/src/index.d.ts +0 -14
  767. package/out/src/index.js +0 -65
  768. package/out/src/index.js.map +0 -1
  769. package/out/src/manager/diagnostic.d.ts +0 -35
  770. package/out/src/manager/diagnostic.js +0 -63
  771. package/out/src/manager/diagnostic.js.map +0 -1
  772. package/out/src/manager/stepRecorder.d.ts +0 -20
  773. package/out/src/manager/stepRecorder.js +0 -110
  774. package/out/src/manager/stepRecorder.js.map +0 -1
  775. package/out/src/sentry/index.d.ts +0 -33
  776. package/out/src/sentry/index.js +0 -141
  777. package/out/src/sentry/index.js.map +0 -1
  778. package/out/src/server/createUiTs.d.ts +0 -16
  779. package/out/src/server/createUiTs.js +0 -248
  780. package/out/src/server/createUiTs.js.map +0 -1
  781. package/out/src/server/entity2LogicNamespace.d.ts +0 -10
  782. package/out/src/server/entity2LogicNamespace.js +0 -380
  783. package/out/src/server/entity2LogicNamespace.js.map +0 -1
  784. package/out/src/server/event.d.ts +0 -18
  785. package/out/src/server/event.js +0 -127
  786. package/out/src/server/event.js.map +0 -1
  787. package/out/src/server/extendBaseNode.d.ts +0 -1
  788. package/out/src/server/extendBaseNode.js +0 -528
  789. package/out/src/server/extendBaseNode.js.map +0 -1
  790. package/out/src/server/formatTsUtils.d.ts +0 -37
  791. package/out/src/server/formatTsUtils.js +0 -857
  792. package/out/src/server/formatTsUtils.js.map +0 -1
  793. package/out/src/server/getConnector.d.ts +0 -11
  794. package/out/src/server/getConnector.js +0 -42
  795. package/out/src/server/getConnector.js.map +0 -1
  796. package/out/src/server/getExtensionModules.d.ts +0 -3
  797. package/out/src/server/getExtensionModules.js +0 -34
  798. package/out/src/server/getExtensionModules.js.map +0 -1
  799. package/out/src/server/getFunctions.d.ts +0 -3
  800. package/out/src/server/getFunctions.js +0 -20
  801. package/out/src/server/getFunctions.js.map +0 -1
  802. package/out/src/server/getInterfaces.d.ts +0 -2
  803. package/out/src/server/getInterfaces.js +0 -48
  804. package/out/src/server/getInterfaces.js.map +0 -1
  805. package/out/src/server/getLogging.d.ts +0 -1
  806. package/out/src/server/getLogging.js +0 -9
  807. package/out/src/server/getLogging.js.map +0 -1
  808. package/out/src/server/getLogics.d.ts +0 -4
  809. package/out/src/server/getLogics.js +0 -335
  810. package/out/src/server/getLogics.js.map +0 -1
  811. package/out/src/server/getMemberIdentifier.d.ts +0 -16
  812. package/out/src/server/getMemberIdentifier.js +0 -317
  813. package/out/src/server/getMemberIdentifier.js.map +0 -1
  814. package/out/src/server/getProcessComponents.d.ts +0 -2
  815. package/out/src/server/getProcessComponents.js +0 -13
  816. package/out/src/server/getProcessComponents.js.map +0 -1
  817. package/out/src/server/getProcesses.d.ts +0 -33
  818. package/out/src/server/getProcesses.js +0 -605
  819. package/out/src/server/getProcesses.js.map +0 -1
  820. package/out/src/server/getScope.d.ts +0 -13
  821. package/out/src/server/getScope.js +0 -61
  822. package/out/src/server/getScope.js.map +0 -1
  823. package/out/src/server/getValidates.d.ts +0 -3
  824. package/out/src/server/getValidates.js +0 -14
  825. package/out/src/server/getValidates.js.map +0 -1
  826. package/out/src/server/index.d.ts +0 -5
  827. package/out/src/server/index.js +0 -41
  828. package/out/src/server/index.js.map +0 -1
  829. package/out/src/server/naslServer.d.ts +0 -357
  830. package/out/src/server/naslServer.js +0 -4369
  831. package/out/src/server/naslServer.js.map +0 -1
  832. package/out/src/server/naslStdlibMap.d.ts +0 -2
  833. package/out/src/server/naslStdlibMap.js +0 -50
  834. package/out/src/server/naslStdlibMap.js.map +0 -1
  835. package/out/src/server/process2LogicNamespace.d.ts +0 -26
  836. package/out/src/server/process2LogicNamespace.js +0 -109
  837. package/out/src/server/process2LogicNamespace.js.map +0 -1
  838. package/out/src/server/translator.d.ts +0 -26
  839. package/out/src/server/translator.js +0 -805
  840. package/out/src/server/translator.js.map +0 -1
  841. package/out/src/service/creator/add.configs.d.ts +0 -1
  842. package/out/src/service/creator/add.configs.js +0 -74
  843. package/out/src/service/creator/add.configs.js.map +0 -1
  844. package/out/src/service/creator/errHandles.d.ts +0 -18
  845. package/out/src/service/creator/errHandles.js +0 -75
  846. package/out/src/service/creator/errHandles.js.map +0 -1
  847. package/out/src/service/creator/index.d.ts +0 -1
  848. package/out/src/service/creator/index.js +0 -74
  849. package/out/src/service/creator/index.js.map +0 -1
  850. package/out/src/service/datasource/api.d.ts +0 -12
  851. package/out/src/service/datasource/api.js +0 -14
  852. package/out/src/service/datasource/api.js.map +0 -1
  853. package/out/src/service/datasource/index.d.ts +0 -2
  854. package/out/src/service/datasource/index.js +0 -10
  855. package/out/src/service/datasource/index.js.map +0 -1
  856. package/out/src/service/defaultErrorMessage.json +0 -98
  857. package/out/src/service/logic/api.d.ts +0 -9
  858. package/out/src/service/logic/api.js +0 -11
  859. package/out/src/service/logic/api.js.map +0 -1
  860. package/out/src/service/logic/checktypeSocket.d.ts +0 -5
  861. package/out/src/service/logic/checktypeSocket.js +0 -55
  862. package/out/src/service/logic/checktypeSocket.js.map +0 -1
  863. package/out/src/service/logic/index.d.ts +0 -2
  864. package/out/src/service/logic/index.js +0 -10
  865. package/out/src/service/logic/index.js.map +0 -1
  866. package/out/src/service/storage/api.d.ts +0 -54
  867. package/out/src/service/storage/api.js +0 -42
  868. package/out/src/service/storage/api.js.map +0 -1
  869. package/out/src/service/storage/index.d.ts +0 -2
  870. package/out/src/service/storage/index.js +0 -10
  871. package/out/src/service/storage/index.js.map +0 -1
  872. package/out/src/service/storage/init.d.ts +0 -68
  873. package/out/src/service/storage/init.js +0 -784
  874. package/out/src/service/storage/init.js.map +0 -1
  875. package/out/src/service/storage/jsoner.d.ts +0 -36
  876. package/out/src/service/storage/jsoner.js +0 -131
  877. package/out/src/service/storage/jsoner.js.map +0 -1
  878. package/out/src/service/storage/map.d.ts +0 -4
  879. package/out/src/service/storage/map.js +0 -54
  880. package/out/src/service/storage/map.js.map +0 -1
  881. package/out/src/service/storage/service.d.ts +0 -25
  882. package/out/src/service/storage/service.js +0 -80
  883. package/out/src/service/storage/service.js.map +0 -1
  884. package/out/src/service/storage/storagePoint.d.ts +0 -17
  885. package/out/src/service/storage/storagePoint.js +0 -76
  886. package/out/src/service/storage/storagePoint.js.map +0 -1
  887. package/out/src/service/video/BaseService.d.ts +0 -7
  888. package/out/src/service/video/BaseService.js +0 -61
  889. package/out/src/service/video/BaseService.js.map +0 -1
  890. package/out/src/service/video/MainCallbackService.d.ts +0 -12
  891. package/out/src/service/video/MainCallbackService.js +0 -183
  892. package/out/src/service/video/MainCallbackService.js.map +0 -1
  893. package/out/src/service/video/VideoTranscribe.d.ts +0 -15
  894. package/out/src/service/video/VideoTranscribe.js +0 -96
  895. package/out/src/service/video/VideoTranscribe.js.map +0 -1
  896. package/out/src/service/video/publishService.d.ts +0 -1
  897. package/out/src/service/video/publishService.js +0 -58
  898. package/out/src/service/video/publishService.js.map +0 -1
  899. package/out/src/templator/genCallComponentLogic.d.ts +0 -17
  900. package/out/src/templator/genCallComponentLogic.js +0 -30
  901. package/out/src/templator/genCallComponentLogic.js.map +0 -1
  902. package/out/src/templator/genCreateBlock.d.ts +0 -10
  903. package/out/src/templator/genCreateBlock.js +0 -336
  904. package/out/src/templator/genCreateBlock.js.map +0 -1
  905. package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
  906. package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -514
  907. package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
  908. package/out/src/templator/genCurdMultipleKeyBlock.d.ts +0 -34
  909. package/out/src/templator/genCurdMultipleKeyBlock.js +0 -707
  910. package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
  911. package/out/src/templator/genEditTableBlock.d.ts +0 -51
  912. package/out/src/templator/genEditTableBlock.js +0 -299
  913. package/out/src/templator/genEditTableBlock.js.map +0 -1
  914. package/out/src/templator/genEnumSelectBlock.d.ts +0 -10
  915. package/out/src/templator/genEnumSelectBlock.js +0 -26
  916. package/out/src/templator/genEnumSelectBlock.js.map +0 -1
  917. package/out/src/templator/genGetBlock.d.ts +0 -6
  918. package/out/src/templator/genGetBlock.js +0 -138
  919. package/out/src/templator/genGetBlock.js.map +0 -1
  920. package/out/src/templator/genGridViewBlock.d.ts +0 -55
  921. package/out/src/templator/genGridViewBlock.js +0 -350
  922. package/out/src/templator/genGridViewBlock.js.map +0 -1
  923. package/out/src/templator/genListViewBlock.d.ts +0 -19
  924. package/out/src/templator/genListViewBlock.js +0 -143
  925. package/out/src/templator/genListViewBlock.js.map +0 -1
  926. package/out/src/templator/genQueryComponent.d.ts +0 -34
  927. package/out/src/templator/genQueryComponent.js +0 -342
  928. package/out/src/templator/genQueryComponent.js.map +0 -1
  929. package/out/src/templator/genSelectBlock.d.ts +0 -45
  930. package/out/src/templator/genSelectBlock.js +0 -406
  931. package/out/src/templator/genSelectBlock.js.map +0 -1
  932. package/out/src/templator/genTableBlock.d.ts +0 -53
  933. package/out/src/templator/genTableBlock.js +0 -280
  934. package/out/src/templator/genTableBlock.js.map +0 -1
  935. package/out/src/templator/genUpdateBlock.d.ts +0 -6
  936. package/out/src/templator/genUpdateBlock.js +0 -378
  937. package/out/src/templator/genUpdateBlock.js.map +0 -1
  938. package/out/src/templator/index.d.ts +0 -17
  939. package/out/src/templator/index.js +0 -38
  940. package/out/src/templator/index.js.map +0 -1
  941. package/out/src/templator/utils.d.ts +0 -676
  942. package/out/src/templator/utils.js +0 -459
  943. package/out/src/templator/utils.js.map +0 -1
  944. package/out/src/test/fixtures/env.d.ts +0 -5
  945. package/out/src/test/fixtures/env.js +0 -20
  946. package/out/src/test/fixtures/env.js.map +0 -1
  947. package/out/src/test/integration/connect-create-file.d.ts +0 -1
  948. package/out/src/test/integration/connect-create-file.js +0 -39
  949. package/out/src/test/integration/connect-create-file.js.map +0 -1
  950. package/out/src/test/integration/connect-file.d.ts +0 -1
  951. package/out/src/test/integration/connect-file.js +0 -49
  952. package/out/src/test/integration/connect-file.js.map +0 -1
  953. package/out/src/test/integration/node-nasl-server.d.ts +0 -1
  954. package/out/src/test/integration/node-nasl-server.js +0 -13
  955. package/out/src/test/integration/node-nasl-server.js.map +0 -1
  956. package/out/src/test/units/baseTypes/Assignment.spec.d.ts +0 -1
  957. package/out/src/test/units/baseTypes/Assignment.spec.js +0 -43
  958. package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
  959. package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +0 -1
  960. package/out/src/test/units/baseTypes/CallLogic.spec.js +0 -44
  961. package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
  962. package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
  963. package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
  964. package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
  965. package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
  966. package/out/src/test/units/baseTypes/new.spec.js +0 -37
  967. package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
  968. package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
  969. package/out/src/test/units/common/Vertex.spec.js +0 -22
  970. package/out/src/test/units/common/Vertex.spec.js.map +0 -1
  971. package/out/src/test/units/data/Entity.spec.d.ts +0 -1
  972. package/out/src/test/units/data/Entity.spec.js +0 -12
  973. package/out/src/test/units/data/Entity.spec.js.map +0 -1
  974. package/out/src/test/units/login.spec.d.ts +0 -1
  975. package/out/src/test/units/login.spec.js +0 -12
  976. package/out/src/test/units/login.spec.js.map +0 -1
  977. package/out/src/test/units/page/Block.spec.d.ts +0 -0
  978. package/out/src/test/units/page/Block.spec.js +0 -13
  979. package/out/src/test/units/page/Block.spec.js.map +0 -1
  980. package/out/src/test/units/page/Element.spec.d.ts +0 -1
  981. package/out/src/test/units/page/Element.spec.js +0 -44
  982. package/out/src/test/units/page/Element.spec.js.map +0 -1
  983. package/out/src/test/units/temp/temp.spec.d.ts +0 -1
  984. package/out/src/test/units/temp/temp.spec.js +0 -68
  985. package/out/src/test/units/temp/temp.spec.js.map +0 -1
  986. package/out/src/translator/index.d.ts +0 -48
  987. package/out/src/translator/index.js +0 -114
  988. package/out/src/translator/index.js.map +0 -1
  989. package/out/src/translator/lsp.d.ts +0 -45
  990. package/out/src/translator/lsp.js +0 -6
  991. package/out/src/translator/lsp.js.map +0 -1
  992. package/out/src/translator/tsp.d.ts +0 -12
  993. package/out/src/translator/tsp.js +0 -3
  994. package/out/src/translator/tsp.js.map +0 -1
  995. package/out/src/utils/index.d.ts +0 -39
  996. package/out/src/utils/index.js +0 -191
  997. package/out/src/utils/index.js.map +0 -1
  998. package/out/src/utils/logger.d.ts +0 -3
  999. package/out/src/utils/logger.js +0 -11
  1000. package/out/src/utils/logger.js.map +0 -1
  1001. package/out/src/utils/sortTsString.d.ts +0 -1
  1002. package/out/src/utils/sortTsString.js +0 -36
  1003. package/out/src/utils/sortTsString.js.map +0 -1
  1004. package/out/src/utils/string.d.ts +0 -51
  1005. package/out/src/utils/string.js +0 -110
  1006. package/out/src/utils/string.js.map +0 -1
  1007. package/out/src/utils/traverse.d.ts +0 -36
  1008. package/out/src/utils/traverse.js +0 -145
  1009. package/out/src/utils/traverse.js.map +0 -1
  1010. package/out/test/concepts/utils.d.ts +0 -2
  1011. package/out/test/concepts/utils.js +0 -20
  1012. package/out/test/concepts/utils.js.map +0 -1
  1013. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
  1014. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js +0 -23
  1015. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js.map +0 -1
  1016. package/out/test/setup.d.ts +0 -1
  1017. package/out/test/setup.js +0 -6
  1018. package/out/test/setup.js.map +0 -1
@@ -1,2268 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
19
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
- return c > 3 && r && Object.defineProperty(target, key, r), r;
23
- };
24
- var __importStar = (this && this.__importStar) || function (mod) {
25
- if (mod && mod.__esModule) return mod;
26
- var result = {};
27
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
28
- __setModuleDefault(result, mod);
29
- return result;
30
- };
31
- var __importDefault = (this && this.__importDefault) || function (mod) {
32
- return (mod && mod.__esModule) ? mod : { "default": mod };
33
- };
34
- var App_1;
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.App = void 0;
37
- const jsoner_1 = require("../service/storage/jsoner");
38
- const utils_1 = require("../automate/engine/utils");
39
- const ConfigProperty__1 = __importDefault(require("./ConfigProperty__"));
40
- const decorators_1 = require("../decorators");
41
- const utils = __importStar(require("../utils"));
42
- const BaseNode_1 = __importDefault(require("../common/BaseNode"));
43
- const classMap_1 = __importDefault(require("../common/classMap"));
44
- const DataSource__1 = __importDefault(require("./DataSource__"));
45
- const Structure__1 = __importDefault(require("./Structure__"));
46
- const Enum__1 = __importDefault(require("./Enum__"));
47
- const Logic__1 = __importDefault(require("./Logic__"));
48
- const OverriddenLogic__1 = __importDefault(require("./OverriddenLogic__"));
49
- const Interface__1 = __importDefault(require("./Interface__"));
50
- const AuthInterface__1 = __importDefault(require("./AuthInterface__"));
51
- const Frontend__1 = __importDefault(require("./Frontend__"));
52
- const Backend__1 = __importDefault(require("./Backend__"));
53
- const Process__1 = __importDefault(require("./Process__"));
54
- const Role__1 = __importDefault(require("./Role__"));
55
- const Configuration__1 = __importDefault(require("./Configuration__"));
56
- const Module__1 = __importDefault(require("./Module__"));
57
- const Connector__1 = __importDefault(require("./Connector__"));
58
- const AuthLogic__1 = __importDefault(require("./AuthLogic__"));
59
- const AuthLogicForCallInterface__1 = __importDefault(require("./AuthLogicForCallInterface__"));
60
- /**
61
- * 应用
62
- */
63
- let App = App_1 = class App extends BaseNode_1.default {
64
- /**
65
- * 应用 Id
66
- */
67
- id = undefined;
68
- /**
69
- * 产品概念
70
- */
71
- concept = 'App';
72
- /**
73
- * IDE 版本
74
- */
75
- ideVersion = undefined;
76
- /**
77
- * 应用标识
78
- */
79
- name = undefined;
80
- /**
81
- * 应用标题
82
- */
83
- title = undefined;
84
- /**
85
- * 应用图标
86
- */
87
- icon = undefined;
88
- /**
89
- * 应用描述
90
- */
91
- desc = undefined;
92
- /**
93
- * 域名
94
- */
95
- dnsAddr = undefined;
96
- /**
97
- * 是否有用户中心
98
- */
99
- hasUserCenter = undefined;
100
- /**
101
- * 是否有权限
102
- */
103
- hasAuth = undefined;
104
- /**
105
- * 数据源列表
106
- */
107
- dataSources = [];
108
- /**
109
- * 数据结构列表
110
- */
111
- structures = [];
112
- /**
113
- * 枚举列表
114
- */
115
- enums = [];
116
- /**
117
- * 逻辑列表
118
- */
119
- logics = [];
120
- /**
121
- * 逻辑列表
122
- */
123
- overriddenLogics = [];
124
- /**
125
- * interfaces
126
- */
127
- interfaces = [];
128
- /**
129
- * 端列表
130
- */
131
- frontends = [];
132
- /**
133
- * 后端
134
- */
135
- backend = new Backend__1.default();
136
- /**
137
- * 流程列表
138
- */
139
- processes = [];
140
- /**
141
- * 角色列表
142
- */
143
- roles = [];
144
- /**
145
- * 配置管理
146
- */
147
- configuration = new Configuration__1.default();
148
- /**
149
- * 扩展模块列表
150
- */
151
- dependencies = [];
152
- /**
153
- * 接口应用列表(兼容老版)
154
- */
155
- interfaceDependencies = [];
156
- /**
157
- * 集成
158
- */
159
- integration = undefined;
160
- /**
161
- * 暴露接口的接口鉴权
162
- */
163
- authLogics = [];
164
- /**
165
- * 调用接口的鉴权模板
166
- */
167
- authLogicsForCallInterface = [];
168
- /**
169
- * @param source 需要合并的部分参数
170
- */
171
- constructor(source) {
172
- source = Object.assign({}, App_1.getDefaultOptions(), source);
173
- super(source);
174
- super.subConstructor(source);
175
- }
176
- getClassName() {
177
- return 'App';
178
- }
179
- static from(source, parentNode, parentKey) {
180
- return super.from(source, parentNode, parentKey);
181
- }
182
- /**
183
- * 从父级删除该节点
184
- * @internal
185
- */
186
- _delete() {
187
- let params = null;
188
- if (this.parentNode) {
189
- params = this.parentNode?.__removeApp?.(this);
190
- }
191
- return params;
192
- }
193
- /**
194
- * 设置集成
195
- */
196
- setIntegration(integration) {
197
- integration._delete();
198
- const relationOptions = { parentNode: this, parentKey: 'integration' };
199
- Object.assign(integration, relationOptions);
200
- const object = {
201
- integration,
202
- };
203
- this.update({
204
- ...object,
205
- });
206
- }
207
- getDataSourceUniqueName(name = 'dataSource1') {
208
- return utils.unique(name, this.getDataSourceExistingNames(), undefined, true);
209
- }
210
- _insertDataSourceAt(options, index) {
211
- const dataSourceOptions = {};
212
- const relationOptions = { parentNode: this, parentKey: 'dataSources' };
213
- let dataSource;
214
- if (!options) {
215
- dataSource = DataSource__1.default.from({
216
- ...dataSourceOptions,
217
- name: this.getDataSourceUniqueName(),
218
- }, this, 'dataSources');
219
- }
220
- else if (typeof options === 'string') {
221
- dataSource = DataSource__1.default.from({
222
- ...dataSourceOptions,
223
- name: options,
224
- }, this, 'dataSources');
225
- }
226
- else if (options instanceof DataSource__1.default) {
227
- options.ensureDelete(); // 同一实例不支持多处存在
228
- dataSource = options;
229
- Object.assign(dataSource, relationOptions);
230
- }
231
- else {
232
- dataSource = DataSource__1.default.from({
233
- ...dataSourceOptions,
234
- ...options,
235
- }, this, 'dataSources');
236
- }
237
- this.dataSources.splice(index, 0, dataSource);
238
- return dataSource;
239
- }
240
- insertDataSourceAt(options, index) {
241
- const node = this._insertDataSourceAt(options, index);
242
- node.create({
243
- index,
244
- parentNode: this,
245
- parentKey: 'dataSources',
246
- });
247
- return node;
248
- }
249
- _addDataSource(options) {
250
- const index = this.dataSources.length;
251
- return this._insertDataSourceAt(options, index);
252
- }
253
- addDataSource(options) {
254
- const node = this._addDataSource(options);
255
- const index = this.dataSources.indexOf(node);
256
- node.create({
257
- index,
258
- parentNode: this,
259
- parentKey: 'dataSources',
260
- });
261
- return node;
262
- }
263
- getStructureExistingNames(excludedList = []) {
264
- const excludedSet = new Set(excludedList);
265
- return (this.structures || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
266
- }
267
- getStructureUniqueName(name = 'Structure1') {
268
- return utils.unique(name, this.getStructureExistingNames(), undefined, true);
269
- }
270
- _insertStructureAt(options, index) {
271
- const structureOptions = {};
272
- const relationOptions = { parentNode: this, parentKey: 'structures' };
273
- let structure;
274
- if (!options) {
275
- structure = Structure__1.default.from({
276
- ...structureOptions,
277
- name: this.getStructureUniqueName(),
278
- }, this, 'structures');
279
- }
280
- else if (typeof options === 'string') {
281
- structure = Structure__1.default.from({
282
- ...structureOptions,
283
- name: options,
284
- }, this, 'structures');
285
- }
286
- else if (options instanceof Structure__1.default) {
287
- options.ensureDelete(); // 同一实例不支持多处存在
288
- structure = options;
289
- Object.assign(structure, relationOptions);
290
- }
291
- else {
292
- structure = Structure__1.default.from({
293
- ...structureOptions,
294
- ...options,
295
- }, this, 'structures');
296
- }
297
- this.structures.splice(index, 0, structure);
298
- return structure;
299
- }
300
- insertStructureAt(options, index) {
301
- const node = this._insertStructureAt(options, index);
302
- node.create({
303
- index,
304
- parentNode: this,
305
- parentKey: 'structures',
306
- });
307
- return node;
308
- }
309
- _addStructure(options) {
310
- const index = 0;
311
- return this._insertStructureAt(options, index);
312
- }
313
- addStructure(options) {
314
- const node = this._addStructure(options);
315
- const index = this.structures.indexOf(node);
316
- node.create({
317
- index,
318
- parentNode: this,
319
- parentKey: 'structures',
320
- });
321
- return node;
322
- }
323
- getEnumExistingNames(excludedList = []) {
324
- const excludedSet = new Set(excludedList);
325
- return (this.enums || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
326
- }
327
- getEnumUniqueName(name = 'Enum1') {
328
- return utils.unique(name, this.getEnumExistingNames(), undefined, true);
329
- }
330
- _insertEnumAt(options, index) {
331
- const enumerationOptions = {};
332
- const relationOptions = { parentNode: this, parentKey: 'enums' };
333
- let enumeration;
334
- if (!options) {
335
- enumeration = Enum__1.default.from({
336
- ...enumerationOptions,
337
- name: this.getEnumUniqueName(),
338
- }, this, 'enums');
339
- }
340
- else if (typeof options === 'string') {
341
- enumeration = Enum__1.default.from({
342
- ...enumerationOptions,
343
- name: options,
344
- }, this, 'enums');
345
- }
346
- else if (options instanceof Enum__1.default) {
347
- options.ensureDelete(); // 同一实例不支持多处存在
348
- enumeration = options;
349
- Object.assign(enumeration, relationOptions);
350
- }
351
- else {
352
- enumeration = Enum__1.default.from({
353
- ...enumerationOptions,
354
- ...options,
355
- }, this, 'enums');
356
- }
357
- this.enums.splice(index, 0, enumeration);
358
- return enumeration;
359
- }
360
- insertEnumAt(options, index) {
361
- const node = this._insertEnumAt(options, index);
362
- node.create({
363
- index,
364
- parentNode: this,
365
- parentKey: 'enums',
366
- });
367
- return node;
368
- }
369
- _addEnum(options) {
370
- const index = 0;
371
- return this._insertEnumAt(options, index);
372
- }
373
- addEnum(options) {
374
- const node = this._addEnum(options);
375
- const index = this.enums.indexOf(node);
376
- node.create({
377
- index,
378
- parentNode: this,
379
- parentKey: 'enums',
380
- });
381
- return node;
382
- }
383
- getLogicExistingNames(excludedList = []) {
384
- const excludedSet = new Set(excludedList);
385
- return (this.logics || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
386
- }
387
- getLogicUniqueName(name = 'logic1') {
388
- return utils.unique(name, this.getLogicExistingNames(), undefined, true);
389
- }
390
- _insertLogicAt(options, index) {
391
- const logicOptions = {};
392
- const relationOptions = { parentNode: this, parentKey: 'logics' };
393
- let logic;
394
- if (!options) {
395
- logic = Logic__1.default.from({
396
- ...logicOptions,
397
- name: this.getLogicUniqueName(),
398
- }, this, 'logics');
399
- }
400
- else if (typeof options === 'string') {
401
- logic = Logic__1.default.from({
402
- ...logicOptions,
403
- name: options,
404
- }, this, 'logics');
405
- }
406
- else if (options instanceof Logic__1.default) {
407
- options.ensureDelete(); // 同一实例不支持多处存在
408
- logic = options;
409
- Object.assign(logic, relationOptions);
410
- }
411
- else {
412
- logic = Logic__1.default.from({
413
- ...logicOptions,
414
- ...options,
415
- }, this, 'logics');
416
- }
417
- this.logics.splice(index, 0, logic);
418
- return logic;
419
- }
420
- insertLogicAt(options, index) {
421
- const node = this._insertLogicAt(options, index);
422
- node.create({
423
- index,
424
- parentNode: this,
425
- parentKey: 'logics',
426
- });
427
- return node;
428
- }
429
- _addLogic(options) {
430
- const index = 0;
431
- return this._insertLogicAt(options, index);
432
- }
433
- addLogic(options) {
434
- const node = this._addLogic(options);
435
- const index = this.logics.indexOf(node);
436
- node.create({
437
- index,
438
- parentNode: this,
439
- parentKey: 'logics',
440
- });
441
- return node;
442
- }
443
- _insertAuthLogicInAuthLogicsAt(options, index) {
444
- const authLogicOptions = {};
445
- const relationOptions = { parentNode: this, parentKey: 'authLogics' };
446
- let authLogic;
447
- if (!options) {
448
- authLogic = AuthLogic__1.default.from({
449
- ...authLogicOptions,
450
- name: this.getAuthLogicUniqueName(),
451
- }, this, 'authLogics');
452
- }
453
- else if (typeof options === 'string') {
454
- authLogic = AuthLogic__1.default.from({
455
- ...authLogicOptions,
456
- name: options,
457
- }, this, 'authLogics');
458
- }
459
- else if (options instanceof AuthLogic__1.default) {
460
- options.ensureDelete(); // 同一实例不支持多处存在
461
- authLogic = options;
462
- Object.assign(authLogic, relationOptions);
463
- }
464
- else {
465
- authLogic = AuthLogic__1.default.from({
466
- ...authLogicOptions,
467
- ...options,
468
- }, this, 'authLogics');
469
- }
470
- this.authLogics.splice(index, 0, authLogic);
471
- return authLogic;
472
- }
473
- insertAuthLogicInAuthLogicsAt(options, index) {
474
- const node = this._insertAuthLogicInAuthLogicsAt(options, index);
475
- node.create({
476
- index,
477
- parentNode: this,
478
- parentKey: 'authLogics',
479
- });
480
- return node;
481
- }
482
- _addAuthLogicInAuthLogics(options) {
483
- const index = this.authLogics.length;
484
- return this._insertAuthLogicInAuthLogicsAt(options, index);
485
- }
486
- addAuthLogicInAuthLogics(options) {
487
- const node = this._addAuthLogicInAuthLogics(options);
488
- const index = this.authLogics.indexOf(node);
489
- node.create({
490
- index,
491
- parentNode: this,
492
- parentKey: 'authLogics',
493
- });
494
- return node;
495
- }
496
- getOverriddenLogicExistingNames(excludedList = []) {
497
- const excludedSet = new Set(excludedList);
498
- return (this.overriddenLogics || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
499
- }
500
- getOverriddenLogicUniqueName(name = 'overriddenLogic1') {
501
- return utils.unique(name, this.getOverriddenLogicExistingNames(), undefined, true);
502
- }
503
- _insertOverriddenLogicAt(options, index) {
504
- const overriddenLogicOptions = {};
505
- const relationOptions = { parentNode: this, parentKey: 'overriddenLogics' };
506
- let overriddenLogic;
507
- if (!options) {
508
- overriddenLogic = OverriddenLogic__1.default.from({
509
- ...overriddenLogicOptions,
510
- name: this.getOverriddenLogicUniqueName(),
511
- }, this, 'overriddenLogics');
512
- }
513
- else if (typeof options === 'string') {
514
- overriddenLogic = OverriddenLogic__1.default.from({
515
- ...overriddenLogicOptions,
516
- name: options,
517
- }, this, 'overriddenLogics');
518
- }
519
- else if (options instanceof OverriddenLogic__1.default) {
520
- options.ensureDelete(); // 同一实例不支持多处存在
521
- overriddenLogic = options;
522
- Object.assign(overriddenLogic, relationOptions);
523
- }
524
- else {
525
- overriddenLogic = OverriddenLogic__1.default.from({
526
- ...overriddenLogicOptions,
527
- ...options,
528
- }, this, 'overriddenLogics');
529
- }
530
- this.overriddenLogics.splice(index, 0, overriddenLogic);
531
- return overriddenLogic;
532
- }
533
- insertOverriddenLogicAt(options, index) {
534
- const node = this._insertOverriddenLogicAt(options, index);
535
- node.create({
536
- index,
537
- parentNode: this,
538
- parentKey: 'overriddenLogics',
539
- });
540
- return node;
541
- }
542
- _addOverriddenLogic(options) {
543
- const index = 0;
544
- return this._insertOverriddenLogicAt(options, index);
545
- }
546
- addOverriddenLogic(options) {
547
- const node = this._addOverriddenLogic(options);
548
- const index = this.overriddenLogics.indexOf(node);
549
- node.create({
550
- index,
551
- parentNode: this,
552
- parentKey: 'overriddenLogics',
553
- });
554
- return node;
555
- }
556
- getInterfaceExistingNames(excludedList = []) {
557
- const excludedSet = new Set(excludedList);
558
- return (this.interfaces || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
559
- }
560
- getInterfaceUniqueName(name = 'Interface1') {
561
- return utils.unique(name, this.getInterfaceExistingNames(), undefined, true);
562
- }
563
- _insertInterfaceInInterfacesAt(options, index) {
564
- const itfaceOptions = {};
565
- const relationOptions = { parentNode: this, parentKey: 'interfaces' };
566
- let itface;
567
- if (!options) {
568
- itface = Interface__1.default.from({
569
- ...itfaceOptions,
570
- name: this.getInterfaceUniqueName(),
571
- }, this, 'interfaces');
572
- }
573
- else if (typeof options === 'string') {
574
- itface = Interface__1.default.from({
575
- ...itfaceOptions,
576
- name: options,
577
- }, this, 'interfaces');
578
- }
579
- else if (options instanceof Interface__1.default) {
580
- options.ensureDelete(); // 同一实例不支持多处存在
581
- itface = options;
582
- Object.assign(itface, relationOptions);
583
- }
584
- else {
585
- itface = Interface__1.default.from({
586
- ...itfaceOptions,
587
- ...options,
588
- }, this, 'interfaces');
589
- }
590
- this.interfaces.splice(index, 0, itface);
591
- return itface;
592
- }
593
- insertInterfaceInInterfacesAt(options, index) {
594
- const node = this._insertInterfaceInInterfacesAt(options, index);
595
- node.create({
596
- index,
597
- parentNode: this,
598
- parentKey: 'interfaces',
599
- });
600
- return node;
601
- }
602
- _addInterfaceInInterfaces(options) {
603
- const index = 0;
604
- return this._insertInterfaceInInterfacesAt(options, index);
605
- }
606
- addInterfaceInInterfaces(options) {
607
- const node = this._addInterfaceInInterfaces(options);
608
- const index = this.interfaces.indexOf(node);
609
- node.create({
610
- index,
611
- parentNode: this,
612
- parentKey: 'interfaces',
613
- });
614
- return node;
615
- }
616
- _insertAuthInterfaceInInterfacesAt(options, index) {
617
- const itfaceOptions = {};
618
- const relationOptions = { parentNode: this, parentKey: 'interfaces' };
619
- let itface;
620
- if (!options) {
621
- itface = AuthInterface__1.default.from({
622
- ...itfaceOptions,
623
- name: this.getAuthInterfaceUniqueName(),
624
- }, this, 'interfaces');
625
- }
626
- else if (typeof options === 'string') {
627
- itface = AuthInterface__1.default.from({
628
- ...itfaceOptions,
629
- name: options,
630
- }, this, 'interfaces');
631
- }
632
- else if (options instanceof AuthInterface__1.default) {
633
- options.ensureDelete(); // 同一实例不支持多处存在
634
- itface = options;
635
- Object.assign(itface, relationOptions);
636
- }
637
- else {
638
- itface = AuthInterface__1.default.from({
639
- ...itfaceOptions,
640
- ...options,
641
- }, this, 'interfaces');
642
- }
643
- this.interfaces.splice(index, 0, itface);
644
- return itface;
645
- }
646
- insertAuthInterfaceInInterfacesAt(options, index) {
647
- const node = this._insertAuthInterfaceInInterfacesAt(options, index);
648
- node.create({
649
- index,
650
- parentNode: this,
651
- parentKey: 'interfaces',
652
- });
653
- return node;
654
- }
655
- _addAuthInterfaceInInterfaces(options) {
656
- const index = 0;
657
- return this._insertAuthInterfaceInInterfacesAt(options, index);
658
- }
659
- addAuthInterfaceInInterfaces(options) {
660
- const node = this._addAuthInterfaceInInterfaces(options);
661
- const index = this.interfaces.indexOf(node);
662
- node.create({
663
- index,
664
- parentNode: this,
665
- parentKey: 'interfaces',
666
- });
667
- return node;
668
- }
669
- getFrontendExistingNames(excludedList = []) {
670
- const excludedSet = new Set(excludedList);
671
- return (this.frontends || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
672
- }
673
- getFrontendUniqueName(name = 'frontend1') {
674
- return utils.unique(name, this.getFrontendExistingNames(), undefined, true);
675
- }
676
- _insertFrontendAt(options, index) {
677
- const frontendOptions = {};
678
- const relationOptions = { parentNode: this, parentKey: 'frontends' };
679
- let frontend;
680
- if (!options) {
681
- frontend = Frontend__1.default.from({
682
- ...frontendOptions,
683
- name: this.getFrontendUniqueName(),
684
- }, this, 'frontends');
685
- }
686
- else if (typeof options === 'string') {
687
- frontend = Frontend__1.default.from({
688
- ...frontendOptions,
689
- name: options,
690
- }, this, 'frontends');
691
- }
692
- else if (options instanceof Frontend__1.default) {
693
- options.ensureDelete(); // 同一实例不支持多处存在
694
- frontend = options;
695
- Object.assign(frontend, relationOptions);
696
- }
697
- else {
698
- frontend = Frontend__1.default.from({
699
- ...frontendOptions,
700
- ...options,
701
- }, this, 'frontends');
702
- }
703
- this.frontends.splice(index, 0, frontend);
704
- return frontend;
705
- }
706
- insertFrontendAt(options, index) {
707
- const node = this._insertFrontendAt(options, index);
708
- node.create({
709
- index,
710
- parentNode: this,
711
- parentKey: 'frontends',
712
- });
713
- return node;
714
- }
715
- _addFrontend(options) {
716
- const index = this.frontends.length;
717
- return this._insertFrontendAt(options, index);
718
- }
719
- addFrontend(options) {
720
- const node = this._addFrontend(options);
721
- const index = this.frontends.indexOf(node);
722
- node.create({
723
- index,
724
- parentNode: this,
725
- parentKey: 'frontends',
726
- });
727
- return node;
728
- }
729
- getProcessExistingNames(excludedList = []) {
730
- const excludedSet = new Set(excludedList);
731
- return (this.processes || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
732
- }
733
- getProcessUniqueName(name = 'Process1') {
734
- return utils.unique(name, this.getProcessExistingNames(), undefined, true);
735
- }
736
- _insertProcessAt(options, index) {
737
- const processOptions = {};
738
- const relationOptions = { parentNode: this, parentKey: 'processes' };
739
- let process;
740
- if (!options) {
741
- process = Process__1.default.from({
742
- ...processOptions,
743
- name: this.getProcessUniqueName(),
744
- }, this, 'processes');
745
- }
746
- else if (typeof options === 'string') {
747
- process = Process__1.default.from({
748
- ...processOptions,
749
- name: options,
750
- }, this, 'processes');
751
- }
752
- else if (options instanceof Process__1.default) {
753
- options.ensureDelete(); // 同一实例不支持多处存在
754
- process = options;
755
- Object.assign(process, relationOptions);
756
- }
757
- else {
758
- process = Process__1.default.from({
759
- ...processOptions,
760
- ...options,
761
- }, this, 'processes');
762
- }
763
- this.processes.splice(index, 0, process);
764
- return process;
765
- }
766
- insertProcessAt(options, index) {
767
- const node = this._insertProcessAt(options, index);
768
- node.create({
769
- index,
770
- parentNode: this,
771
- parentKey: 'processes',
772
- });
773
- return node;
774
- }
775
- _addProcess(options) {
776
- const index = 0;
777
- return this._insertProcessAt(options, index);
778
- }
779
- addProcess(options) {
780
- const node = this._addProcess(options);
781
- const index = this.processes.indexOf(node);
782
- node.create({
783
- index,
784
- parentNode: this,
785
- parentKey: 'processes',
786
- });
787
- return node;
788
- }
789
- getRoleExistingNames(excludedList = []) {
790
- const excludedSet = new Set(excludedList);
791
- return (this.roles || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
792
- }
793
- getRoleUniqueName(name = 'role1') {
794
- return utils.unique(name, this.getRoleExistingNames(), undefined, true);
795
- }
796
- _insertRoleAt(options, index) {
797
- const roleOptions = {};
798
- const relationOptions = { parentNode: this, parentKey: 'roles' };
799
- let role;
800
- if (!options) {
801
- role = Role__1.default.from({
802
- ...roleOptions,
803
- name: this.getRoleUniqueName(),
804
- }, this, 'roles');
805
- }
806
- else if (typeof options === 'string') {
807
- role = Role__1.default.from({
808
- ...roleOptions,
809
- name: options,
810
- }, this, 'roles');
811
- }
812
- else if (options instanceof Role__1.default) {
813
- options.ensureDelete(); // 同一实例不支持多处存在
814
- role = options;
815
- Object.assign(role, relationOptions);
816
- }
817
- else {
818
- role = Role__1.default.from({
819
- ...roleOptions,
820
- ...options,
821
- }, this, 'roles');
822
- }
823
- this.roles.splice(index, 0, role);
824
- return role;
825
- }
826
- insertRoleAt(options, index) {
827
- const node = this._insertRoleAt(options, index);
828
- node.create({
829
- index,
830
- parentNode: this,
831
- parentKey: 'roles',
832
- });
833
- return node;
834
- }
835
- _addRole(options) {
836
- const index = this.roles.length;
837
- return this._insertRoleAt(options, index);
838
- }
839
- addRole(options) {
840
- const node = this._addRole(options);
841
- const index = this.roles.indexOf(node);
842
- node.create({
843
- index,
844
- parentNode: this,
845
- parentKey: 'roles',
846
- });
847
- return node;
848
- }
849
- getModuleExistingNames(excludedList = []) {
850
- const excludedSet = new Set(excludedList);
851
- return (this.dependencies || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
852
- }
853
- getModuleUniqueName(name = 'module1') {
854
- return utils.unique(name, this.getModuleExistingNames(), undefined, false);
855
- }
856
- _insertModuleInDependenciesAt(options, index) {
857
- const moduleOptions = {};
858
- const relationOptions = { parentNode: this, parentKey: 'dependencies' };
859
- let module;
860
- if (!options) {
861
- module = Module__1.default.from({
862
- ...moduleOptions,
863
- name: this.getModuleUniqueName(),
864
- }, this, 'dependencies');
865
- }
866
- else if (typeof options === 'string') {
867
- module = Module__1.default.from({
868
- ...moduleOptions,
869
- name: options,
870
- }, this, 'dependencies');
871
- }
872
- else if (options instanceof Module__1.default) {
873
- options.ensureDelete(); // 同一实例不支持多处存在
874
- module = options;
875
- Object.assign(module, relationOptions);
876
- }
877
- else {
878
- module = Module__1.default.from({
879
- ...moduleOptions,
880
- ...options,
881
- }, this, 'dependencies');
882
- }
883
- this.dependencies.splice(index, 0, module);
884
- return module;
885
- }
886
- insertModuleInDependenciesAt(options, index) {
887
- const node = this._insertModuleInDependenciesAt(options, index);
888
- node.create({
889
- index,
890
- parentNode: this,
891
- parentKey: 'dependencies',
892
- });
893
- return node;
894
- }
895
- _addModuleInDependencies(options) {
896
- const index = this.dependencies.length;
897
- return this._insertModuleInDependenciesAt(options, index);
898
- }
899
- addModuleInDependencies(options) {
900
- const node = this._addModuleInDependencies(options);
901
- const index = this.dependencies.indexOf(node);
902
- node.create({
903
- index,
904
- parentNode: this,
905
- parentKey: 'dependencies',
906
- });
907
- return node;
908
- }
909
- _insertConnectorInDependenciesAt(options, index) {
910
- const connectorOptions = {};
911
- const relationOptions = { parentNode: this, parentKey: 'dependencies' };
912
- let connector;
913
- if (!options) {
914
- connector = Connector__1.default.from({
915
- ...connectorOptions,
916
- name: this.getConnectorUniqueName(),
917
- }, this, 'dependencies');
918
- }
919
- else if (typeof options === 'string') {
920
- connector = Connector__1.default.from({
921
- ...connectorOptions,
922
- name: options,
923
- }, this, 'dependencies');
924
- }
925
- else if (options instanceof Connector__1.default) {
926
- options.ensureDelete(); // 同一实例不支持多处存在
927
- connector = options;
928
- Object.assign(connector, relationOptions);
929
- }
930
- else {
931
- connector = Connector__1.default.from({
932
- ...connectorOptions,
933
- ...options,
934
- }, this, 'dependencies');
935
- }
936
- this.dependencies.splice(index, 0, connector);
937
- return connector;
938
- }
939
- insertConnectorInDependenciesAt(options, index) {
940
- const node = this._insertConnectorInDependenciesAt(options, index);
941
- node.create({
942
- index,
943
- parentNode: this,
944
- parentKey: 'dependencies',
945
- });
946
- return node;
947
- }
948
- _addConnectorInDependencies(options) {
949
- const index = this.dependencies.length;
950
- return this._insertConnectorInDependenciesAt(options, index);
951
- }
952
- addConnectorInDependencies(options) {
953
- const node = this._addConnectorInDependencies(options);
954
- const index = this.dependencies.indexOf(node);
955
- node.create({
956
- index,
957
- parentNode: this,
958
- parentKey: 'dependencies',
959
- });
960
- return node;
961
- }
962
- _insertModuleInInterfaceDependenciesAt(options, index) {
963
- const moduleOptions = {};
964
- const relationOptions = { parentNode: this, parentKey: 'interfaceDependencies' };
965
- let module;
966
- if (!options) {
967
- module = Module__1.default.from({
968
- ...moduleOptions,
969
- name: this.getModuleUniqueName(),
970
- }, this, 'interfaceDependencies');
971
- }
972
- else if (typeof options === 'string') {
973
- module = Module__1.default.from({
974
- ...moduleOptions,
975
- name: options,
976
- }, this, 'interfaceDependencies');
977
- }
978
- else if (options instanceof Module__1.default) {
979
- options.ensureDelete(); // 同一实例不支持多处存在
980
- module = options;
981
- Object.assign(module, relationOptions);
982
- }
983
- else {
984
- module = Module__1.default.from({
985
- ...moduleOptions,
986
- ...options,
987
- }, this, 'interfaceDependencies');
988
- }
989
- this.interfaceDependencies.splice(index, 0, module);
990
- return module;
991
- }
992
- insertModuleInInterfaceDependenciesAt(options, index) {
993
- const node = this._insertModuleInInterfaceDependenciesAt(options, index);
994
- node.create({
995
- index,
996
- parentNode: this,
997
- parentKey: 'interfaceDependencies',
998
- });
999
- return node;
1000
- }
1001
- _addModuleInInterfaceDependencies(options) {
1002
- const index = this.interfaceDependencies.length;
1003
- return this._insertModuleInInterfaceDependenciesAt(options, index);
1004
- }
1005
- addModuleInInterfaceDependencies(options) {
1006
- const node = this._addModuleInInterfaceDependencies(options);
1007
- const index = this.interfaceDependencies.indexOf(node);
1008
- node.create({
1009
- index,
1010
- parentNode: this,
1011
- parentKey: 'interfaceDependencies',
1012
- });
1013
- return node;
1014
- }
1015
- getAuthLogicForCallInterfaceExistingNames(excludedList = []) {
1016
- const excludedSet = new Set(excludedList);
1017
- return (this.authLogicsForCallInterface || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1018
- }
1019
- getAuthLogicForCallInterfaceUniqueName(name = 'authLogicForCallInterface1') {
1020
- return utils.unique(name, this.getAuthLogicForCallInterfaceExistingNames(), undefined, false);
1021
- }
1022
- _insertAuthLogicForCallInterfaceAt(options, index) {
1023
- const authLogicForCallInterfaceOptions = {};
1024
- const relationOptions = { parentNode: this, parentKey: 'authLogicsForCallInterface' };
1025
- let authLogicForCallInterface;
1026
- if (!options) {
1027
- authLogicForCallInterface = AuthLogicForCallInterface__1.default.from({
1028
- ...authLogicForCallInterfaceOptions,
1029
- name: this.getAuthLogicForCallInterfaceUniqueName(),
1030
- }, this, 'authLogicsForCallInterface');
1031
- }
1032
- else if (typeof options === 'string') {
1033
- authLogicForCallInterface = AuthLogicForCallInterface__1.default.from({
1034
- ...authLogicForCallInterfaceOptions,
1035
- name: options,
1036
- }, this, 'authLogicsForCallInterface');
1037
- }
1038
- else if (options instanceof AuthLogicForCallInterface__1.default) {
1039
- options.ensureDelete(); // 同一实例不支持多处存在
1040
- authLogicForCallInterface = options;
1041
- Object.assign(authLogicForCallInterface, relationOptions);
1042
- }
1043
- else {
1044
- authLogicForCallInterface = AuthLogicForCallInterface__1.default.from({
1045
- ...authLogicForCallInterfaceOptions,
1046
- ...options,
1047
- }, this, 'authLogicsForCallInterface');
1048
- }
1049
- this.authLogicsForCallInterface.splice(index, 0, authLogicForCallInterface);
1050
- return authLogicForCallInterface;
1051
- }
1052
- insertAuthLogicForCallInterfaceAt(options, index) {
1053
- const node = this._insertAuthLogicForCallInterfaceAt(options, index);
1054
- node.create({
1055
- index,
1056
- parentNode: this,
1057
- parentKey: 'authLogicsForCallInterface',
1058
- });
1059
- return node;
1060
- }
1061
- _addAuthLogicForCallInterface(options) {
1062
- const index = this.authLogicsForCallInterface.length;
1063
- return this._insertAuthLogicForCallInterfaceAt(options, index);
1064
- }
1065
- addAuthLogicForCallInterface(options) {
1066
- const node = this._addAuthLogicForCallInterface(options);
1067
- const index = this.authLogicsForCallInterface.indexOf(node);
1068
- node.create({
1069
- index,
1070
- parentNode: this,
1071
- parentKey: 'authLogicsForCallInterface',
1072
- });
1073
- return node;
1074
- }
1075
- removeDataSource(options) {
1076
- let dataSource;
1077
- if (typeof options === 'string') {
1078
- dataSource = this.dataSources.find((item) => item.name === options);
1079
- if (!dataSource) {
1080
- throw new Error('找不到数据源 ' + options);
1081
- }
1082
- }
1083
- else {
1084
- dataSource = options;
1085
- }
1086
- return dataSource.delete();
1087
- }
1088
- __removeDataSource(dataSource) {
1089
- const parentKey = dataSource.parentKey;
1090
- const params = {
1091
- parentNode: this,
1092
- parentKey,
1093
- index: -1,
1094
- object: null,
1095
- oldObject: dataSource,
1096
- };
1097
- if (parentKey) {
1098
- params.parentKey = parentKey;
1099
- if (Array.isArray(this[parentKey])) {
1100
- const index = this[parentKey].indexOf(dataSource);
1101
- ~index && this[parentKey].splice(index, 1);
1102
- params.index = index;
1103
- }
1104
- else if (this[parentKey] === dataSource) {
1105
- params.index = 0;
1106
- this[parentKey] = undefined;
1107
- }
1108
- }
1109
- return params;
1110
- }
1111
- removeStructure(options) {
1112
- let structure;
1113
- if (typeof options === 'string') {
1114
- structure = this.structures.find((item) => item.name === options);
1115
- if (!structure) {
1116
- throw new Error('找不到数据结构 ' + options);
1117
- }
1118
- }
1119
- else {
1120
- structure = options;
1121
- }
1122
- return structure.delete();
1123
- }
1124
- __removeStructure(structure) {
1125
- const parentKey = structure.parentKey;
1126
- const params = {
1127
- parentNode: this,
1128
- parentKey,
1129
- index: -1,
1130
- object: null,
1131
- oldObject: structure,
1132
- };
1133
- if (parentKey) {
1134
- params.parentKey = parentKey;
1135
- if (Array.isArray(this[parentKey])) {
1136
- const index = this[parentKey].indexOf(structure);
1137
- ~index && this[parentKey].splice(index, 1);
1138
- params.index = index;
1139
- }
1140
- else if (this[parentKey] === structure) {
1141
- params.index = 0;
1142
- this[parentKey] = undefined;
1143
- }
1144
- }
1145
- return params;
1146
- }
1147
- removeEnum(options) {
1148
- let enumeration;
1149
- if (typeof options === 'string') {
1150
- enumeration = this.enums.find((item) => item.name === options);
1151
- if (!enumeration) {
1152
- throw new Error('找不到枚举 ' + options);
1153
- }
1154
- }
1155
- else {
1156
- enumeration = options;
1157
- }
1158
- return enumeration.delete();
1159
- }
1160
- __removeEnum(enumeration) {
1161
- const parentKey = enumeration.parentKey;
1162
- const params = {
1163
- parentNode: this,
1164
- parentKey,
1165
- index: -1,
1166
- object: null,
1167
- oldObject: enumeration,
1168
- };
1169
- if (parentKey) {
1170
- params.parentKey = parentKey;
1171
- if (Array.isArray(this[parentKey])) {
1172
- const index = this[parentKey].indexOf(enumeration);
1173
- ~index && this[parentKey].splice(index, 1);
1174
- params.index = index;
1175
- }
1176
- else if (this[parentKey] === enumeration) {
1177
- params.index = 0;
1178
- this[parentKey] = undefined;
1179
- }
1180
- }
1181
- return params;
1182
- }
1183
- removeLogic(options) {
1184
- let logic;
1185
- if (typeof options === 'string') {
1186
- logic = this.logics.find((item) => item.name === options);
1187
- if (!logic) {
1188
- throw new Error('找不到逻辑 ' + options);
1189
- }
1190
- }
1191
- else {
1192
- logic = options;
1193
- }
1194
- return logic.delete();
1195
- }
1196
- removeAuthLogicInAuthLogics(options) {
1197
- let authLogic;
1198
- if (typeof options === 'string') {
1199
- authLogic = this.authLogics.find((item) => item.name === options);
1200
- if (!authLogic) {
1201
- throw new Error('找不到开放接口的鉴权逻辑 ' + options);
1202
- }
1203
- }
1204
- else {
1205
- authLogic = options;
1206
- }
1207
- return authLogic.delete();
1208
- }
1209
- __removeLogic(logic) {
1210
- const parentKey = logic.parentKey;
1211
- const params = {
1212
- parentNode: this,
1213
- parentKey,
1214
- index: -1,
1215
- object: null,
1216
- oldObject: logic,
1217
- };
1218
- if (parentKey) {
1219
- params.parentKey = parentKey;
1220
- if (Array.isArray(this[parentKey])) {
1221
- const index = this[parentKey].indexOf(logic);
1222
- ~index && this[parentKey].splice(index, 1);
1223
- params.index = index;
1224
- }
1225
- else if (this[parentKey] === logic) {
1226
- params.index = 0;
1227
- this[parentKey] = undefined;
1228
- }
1229
- }
1230
- return params;
1231
- }
1232
- removeOverriddenLogic(options) {
1233
- let overriddenLogic;
1234
- if (typeof options === 'string') {
1235
- overriddenLogic = this.overriddenLogics.find((item) => item.name === options);
1236
- if (!overriddenLogic) {
1237
- throw new Error('找不到逻辑 ' + options);
1238
- }
1239
- }
1240
- else {
1241
- overriddenLogic = options;
1242
- }
1243
- return overriddenLogic.delete();
1244
- }
1245
- __removeOverriddenLogic(overriddenLogic) {
1246
- const parentKey = overriddenLogic.parentKey;
1247
- const params = {
1248
- parentNode: this,
1249
- parentKey,
1250
- index: -1,
1251
- object: null,
1252
- oldObject: overriddenLogic,
1253
- };
1254
- if (parentKey) {
1255
- params.parentKey = parentKey;
1256
- if (Array.isArray(this[parentKey])) {
1257
- const index = this[parentKey].indexOf(overriddenLogic);
1258
- ~index && this[parentKey].splice(index, 1);
1259
- params.index = index;
1260
- }
1261
- else if (this[parentKey] === overriddenLogic) {
1262
- params.index = 0;
1263
- this[parentKey] = undefined;
1264
- }
1265
- }
1266
- return params;
1267
- }
1268
- removeInterfaceInInterfaces(options) {
1269
- let itface;
1270
- if (typeof options === 'string') {
1271
- itface = this.interfaces.find((item) => item.name === options);
1272
- if (!itface) {
1273
- throw new Error('找不到接口 ' + options);
1274
- }
1275
- }
1276
- else {
1277
- itface = options;
1278
- }
1279
- return itface.delete();
1280
- }
1281
- removeAuthInterfaceInInterfaces(options) {
1282
- let itface;
1283
- if (typeof options === 'string') {
1284
- itface = this.interfaces.find((item) => item.name === options);
1285
- if (!itface) {
1286
- throw new Error('找不到接口 ' + options);
1287
- }
1288
- }
1289
- else {
1290
- itface = options;
1291
- }
1292
- return itface.delete();
1293
- }
1294
- __removeInterface(itface) {
1295
- const parentKey = itface.parentKey;
1296
- const params = {
1297
- parentNode: this,
1298
- parentKey,
1299
- index: -1,
1300
- object: null,
1301
- oldObject: itface,
1302
- };
1303
- if (parentKey) {
1304
- params.parentKey = parentKey;
1305
- if (Array.isArray(this[parentKey])) {
1306
- const index = this[parentKey].indexOf(itface);
1307
- ~index && this[parentKey].splice(index, 1);
1308
- params.index = index;
1309
- }
1310
- else if (this[parentKey] === itface) {
1311
- params.index = 0;
1312
- this[parentKey] = undefined;
1313
- }
1314
- }
1315
- return params;
1316
- }
1317
- removeFrontend(options) {
1318
- let frontend;
1319
- if (typeof options === 'string') {
1320
- frontend = this.frontends.find((item) => item.name === options);
1321
- if (!frontend) {
1322
- throw new Error('找不到端 ' + options);
1323
- }
1324
- }
1325
- else {
1326
- frontend = options;
1327
- }
1328
- return frontend.delete();
1329
- }
1330
- __removeFrontend(frontend) {
1331
- const parentKey = frontend.parentKey;
1332
- const params = {
1333
- parentNode: this,
1334
- parentKey,
1335
- index: -1,
1336
- object: null,
1337
- oldObject: frontend,
1338
- };
1339
- if (parentKey) {
1340
- params.parentKey = parentKey;
1341
- if (Array.isArray(this[parentKey])) {
1342
- const index = this[parentKey].indexOf(frontend);
1343
- ~index && this[parentKey].splice(index, 1);
1344
- params.index = index;
1345
- }
1346
- else if (this[parentKey] === frontend) {
1347
- params.index = 0;
1348
- this[parentKey] = undefined;
1349
- }
1350
- }
1351
- return params;
1352
- }
1353
- removeBackend(options) {
1354
- let backend;
1355
- if (typeof options === 'string') {
1356
- backend = this.backend;
1357
- if (!backend) {
1358
- throw new Error('找不到后端 ' + options);
1359
- }
1360
- }
1361
- else {
1362
- backend = options;
1363
- }
1364
- return backend.delete();
1365
- }
1366
- __removeBackend(backend) {
1367
- const parentKey = backend.parentKey;
1368
- const params = {
1369
- parentNode: this,
1370
- parentKey,
1371
- index: -1,
1372
- object: null,
1373
- oldObject: backend,
1374
- };
1375
- if (parentKey) {
1376
- params.parentKey = parentKey;
1377
- if (Array.isArray(this[parentKey])) {
1378
- const index = this[parentKey].indexOf(backend);
1379
- ~index && this[parentKey].splice(index, 1);
1380
- params.index = index;
1381
- }
1382
- else if (this[parentKey] === backend) {
1383
- params.index = 0;
1384
- this[parentKey] = undefined;
1385
- }
1386
- }
1387
- return params;
1388
- }
1389
- removeProcess(options) {
1390
- let process;
1391
- if (typeof options === 'string') {
1392
- process = this.processes.find((item) => item.name === options);
1393
- if (!process) {
1394
- throw new Error('找不到流程 ' + options);
1395
- }
1396
- }
1397
- else {
1398
- process = options;
1399
- }
1400
- return process.delete();
1401
- }
1402
- __removeProcess(process) {
1403
- const parentKey = process.parentKey;
1404
- const params = {
1405
- parentNode: this,
1406
- parentKey,
1407
- index: -1,
1408
- object: null,
1409
- oldObject: process,
1410
- };
1411
- if (parentKey) {
1412
- params.parentKey = parentKey;
1413
- if (Array.isArray(this[parentKey])) {
1414
- const index = this[parentKey].indexOf(process);
1415
- ~index && this[parentKey].splice(index, 1);
1416
- params.index = index;
1417
- }
1418
- else if (this[parentKey] === process) {
1419
- params.index = 0;
1420
- this[parentKey] = undefined;
1421
- }
1422
- }
1423
- return params;
1424
- }
1425
- removeRole(options) {
1426
- let role;
1427
- if (typeof options === 'string') {
1428
- role = this.roles.find((item) => item.name === options);
1429
- if (!role) {
1430
- throw new Error('找不到角色 ' + options);
1431
- }
1432
- }
1433
- else {
1434
- role = options;
1435
- }
1436
- return role.delete();
1437
- }
1438
- __removeRole(role) {
1439
- const parentKey = role.parentKey;
1440
- const params = {
1441
- parentNode: this,
1442
- parentKey,
1443
- index: -1,
1444
- object: null,
1445
- oldObject: role,
1446
- };
1447
- if (parentKey) {
1448
- params.parentKey = parentKey;
1449
- if (Array.isArray(this[parentKey])) {
1450
- const index = this[parentKey].indexOf(role);
1451
- ~index && this[parentKey].splice(index, 1);
1452
- params.index = index;
1453
- }
1454
- else if (this[parentKey] === role) {
1455
- params.index = 0;
1456
- this[parentKey] = undefined;
1457
- }
1458
- }
1459
- return params;
1460
- }
1461
- removeConfiguration(options) {
1462
- let configuration;
1463
- if (typeof options === 'string') {
1464
- configuration = this.configuration;
1465
- if (!configuration) {
1466
- throw new Error('找不到配置管理 ' + options);
1467
- }
1468
- }
1469
- else {
1470
- configuration = options;
1471
- }
1472
- return configuration.delete();
1473
- }
1474
- __removeConfiguration(configuration) {
1475
- const parentKey = configuration.parentKey;
1476
- const params = {
1477
- parentNode: this,
1478
- parentKey,
1479
- index: -1,
1480
- object: null,
1481
- oldObject: configuration,
1482
- };
1483
- if (parentKey) {
1484
- params.parentKey = parentKey;
1485
- if (Array.isArray(this[parentKey])) {
1486
- const index = this[parentKey].indexOf(configuration);
1487
- ~index && this[parentKey].splice(index, 1);
1488
- params.index = index;
1489
- }
1490
- else if (this[parentKey] === configuration) {
1491
- params.index = 0;
1492
- this[parentKey] = undefined;
1493
- }
1494
- }
1495
- return params;
1496
- }
1497
- removeModuleInDependencies(options) {
1498
- let module;
1499
- if (typeof options === 'string') {
1500
- module = this.dependencies.find((item) => item.name === options);
1501
- if (!module) {
1502
- throw new Error('找不到模块 ' + options);
1503
- }
1504
- }
1505
- else {
1506
- module = options;
1507
- }
1508
- return module.delete();
1509
- }
1510
- removeConnectorInDependencies(options) {
1511
- let connector;
1512
- if (typeof options === 'string') {
1513
- connector = this.dependencies.find((item) => item.name === options);
1514
- if (!connector) {
1515
- throw new Error('找不到连接器 ' + options);
1516
- }
1517
- }
1518
- else {
1519
- connector = options;
1520
- }
1521
- return connector.delete();
1522
- }
1523
- removeModuleInInterfaceDependencies(options) {
1524
- let module;
1525
- if (typeof options === 'string') {
1526
- module = this.interfaceDependencies.find((item) => item.name === options);
1527
- if (!module) {
1528
- throw new Error('找不到模块 ' + options);
1529
- }
1530
- }
1531
- else {
1532
- module = options;
1533
- }
1534
- return module.delete();
1535
- }
1536
- __removeModule(module) {
1537
- const parentKey = module.parentKey;
1538
- const params = {
1539
- parentNode: this,
1540
- parentKey,
1541
- index: -1,
1542
- object: null,
1543
- oldObject: module,
1544
- };
1545
- if (parentKey) {
1546
- params.parentKey = parentKey;
1547
- if (Array.isArray(this[parentKey])) {
1548
- const index = this[parentKey].indexOf(module);
1549
- ~index && this[parentKey].splice(index, 1);
1550
- params.index = index;
1551
- }
1552
- else if (this[parentKey] === module) {
1553
- params.index = 0;
1554
- this[parentKey] = undefined;
1555
- }
1556
- }
1557
- return params;
1558
- }
1559
- removeIntegration(options) {
1560
- let integration;
1561
- if (typeof options === 'string') {
1562
- integration = this.integration;
1563
- if (!integration) {
1564
- throw new Error('找不到集成 ' + options);
1565
- }
1566
- }
1567
- else {
1568
- integration = options;
1569
- }
1570
- return integration.delete();
1571
- }
1572
- __removeIntegration(integration) {
1573
- const parentKey = integration.parentKey;
1574
- const params = {
1575
- parentNode: this,
1576
- parentKey,
1577
- index: -1,
1578
- object: null,
1579
- oldObject: integration,
1580
- };
1581
- if (parentKey) {
1582
- params.parentKey = parentKey;
1583
- if (Array.isArray(this[parentKey])) {
1584
- const index = this[parentKey].indexOf(integration);
1585
- ~index && this[parentKey].splice(index, 1);
1586
- params.index = index;
1587
- }
1588
- else if (this[parentKey] === integration) {
1589
- params.index = 0;
1590
- this[parentKey] = undefined;
1591
- }
1592
- }
1593
- return params;
1594
- }
1595
- removeAuthLogicForCallInterface(options) {
1596
- let authLogicForCallInterface;
1597
- if (typeof options === 'string') {
1598
- authLogicForCallInterface = this.authLogicsForCallInterface.find((item) => item.name === options);
1599
- if (!authLogicForCallInterface) {
1600
- throw new Error('找不到调用的鉴权逻辑 ' + options);
1601
- }
1602
- }
1603
- else {
1604
- authLogicForCallInterface = options;
1605
- }
1606
- return authLogicForCallInterface.delete();
1607
- }
1608
- __removeAuthLogic(authLogic) {
1609
- const parentKey = authLogic.parentKey;
1610
- const params = {
1611
- parentNode: this,
1612
- parentKey,
1613
- index: -1,
1614
- object: null,
1615
- oldObject: authLogic,
1616
- };
1617
- if (parentKey) {
1618
- params.parentKey = parentKey;
1619
- if (Array.isArray(this[parentKey])) {
1620
- const index = this[parentKey].indexOf(authLogic);
1621
- ~index && this[parentKey].splice(index, 1);
1622
- params.index = index;
1623
- }
1624
- else if (this[parentKey] === authLogic) {
1625
- params.index = 0;
1626
- this[parentKey] = undefined;
1627
- }
1628
- }
1629
- return params;
1630
- }
1631
- //================================================================================
1632
- // ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
1633
- // 自动生成的代码已结束。下面可以手动编写。
1634
- //================================================================================
1635
- findDataSourceByName(name) {
1636
- return this.dataSources.find((dataSourceItem) => dataSourceItem.name === name);
1637
- }
1638
- get defaultDS() {
1639
- return this.dataSources?.find((dataSource) => dataSource.name === 'defaultDS');
1640
- }
1641
- findEnumByName(name) {
1642
- return this.enums.find((enumItem) => enumItem.name === name);
1643
- }
1644
- findStructureByName(name) {
1645
- return this.structures.find((item) => item.name === name);
1646
- }
1647
- findLogicByName(name) {
1648
- return this.logics.find((logic) => logic.name === name);
1649
- }
1650
- /**
1651
- * 是否为官方应用
1652
- */
1653
- officialType = undefined;
1654
- /**
1655
- * 轻舟项目 Id
1656
- */
1657
- projectId = undefined;
1658
- /**
1659
- * 租户 Id
1660
- */
1661
- tenantId = undefined;
1662
- /**
1663
- * 租户 Id
1664
- */
1665
- userGroupId = undefined;
1666
- /**
1667
- * 多环境
1668
- */
1669
- envs = undefined;
1670
- /**
1671
- * 多环境
1672
- */
1673
- envList = ['dev', 'online'];
1674
- /**
1675
- * 发布状态
1676
- */
1677
- deploying = undefined;
1678
- /**
1679
- * 发布 Id
1680
- */
1681
- deploymentId = undefined;
1682
- /**
1683
- * 从模板创建的模板 Id
1684
- */
1685
- templateId = undefined;
1686
- /**
1687
- * 全局设置
1688
- */
1689
- preferenceMap = {};
1690
- /**
1691
- * 获取命名空间
1692
- */
1693
- getNamespace() {
1694
- return 'app';
1695
- }
1696
- getTsNamespace() {
1697
- return `app`;
1698
- }
1699
- findNodeByPath(nodePath) {
1700
- return (0, jsoner_1.queryNodeByPath)(this, nodePath);
1701
- }
1702
- findNodeByCompleteName(completeName) {
1703
- const nameArr = completeName?.split('.') || [];
1704
- let node = this;
1705
- // 先处理平台的
1706
- if (completeName.startsWith('nasl')) {
1707
- node = (0, utils_1.getNaslNodeByNodeCallee)(nameArr.splice(0, nameArr.length - 1).join('.'), nameArr[nameArr.length - 1]);
1708
- return node;
1709
- }
1710
- const start = nameArr.shift();
1711
- const mod = 0;
1712
- const modulesMap = {
1713
- extensions: node.dependencies,
1714
- apis: node.interfaceDependencies,
1715
- components: node.componentDependencies,
1716
- };
1717
- const modules = modulesMap[start];
1718
- if (Array.isArray(modules)) {
1719
- const moduleName = nameArr.shift();
1720
- node = modules.find((moduleItem) => moduleItem.name === moduleName);
1721
- }
1722
- for (let index = 0; index < nameArr.length; index++) {
1723
- if (!node) {
1724
- return null;
1725
- }
1726
- const nameItem = nameArr[index];
1727
- // const isKeyword = index % 2 === mod;
1728
- // if (!isKeyword && Array.isArray(node)) {
1729
- // node = node.find(({ name }) => name === nameItem);
1730
- // } else {
1731
- // node = node[nameItem];
1732
- // }
1733
- if (Array.isArray(node)) {
1734
- node = node.find(({ name }) => name === nameItem);
1735
- }
1736
- else {
1737
- node = node[nameItem];
1738
- }
1739
- }
1740
- return node;
1741
- }
1742
- loadEnvList() {
1743
- this.envList = ['dev', 'online'];
1744
- }
1745
- loadPackageInfo(scope) {
1746
- const dependencyMap = window.globalData.ideVersionDetail.dependencies;
1747
- const packageInfo = {
1748
- template: { name: '', version: '', scope },
1749
- ui: { name: '', version: '', scope },
1750
- scope,
1751
- };
1752
- packageInfo.template.name = scope === 'h5' ? '@lcap/mobile-template' : 'lcap-pc-template';
1753
- packageInfo.template.version = scope === 'h5' ? dependencyMap.FrontendArchH5.version : dependencyMap.FrontendArchPC.version;
1754
- packageInfo.ui.name = scope === 'h5' ? '@lcap/mobile-ui' : 'cloud-ui.vusion';
1755
- packageInfo.ui.version = scope === 'h5' ? dependencyMap.FrontendComponentLibraryH5.version : dependencyMap.FrontendComponentLibraryPC.version;
1756
- return packageInfo;
1757
- }
1758
- packageInfos = [];
1759
- loadPackageInfos() {
1760
- this.packageInfos = [];
1761
- const scopes = ['pc', 'h5'];
1762
- scopes.forEach((scope) => {
1763
- this.packageInfos.push(this.loadPackageInfo(scope));
1764
- });
1765
- }
1766
- /**
1767
- * 根据 packageInfo 的信息生成用于 load 的 assetsInfo
1768
- * 在环境中需要 basic 和 custom 分开 load,否则容易报错
1769
- * @param prefix
1770
- */
1771
- genAllAssetsInfo(prefix, scope) {
1772
- // const packageInfo = this.packageInfo;
1773
- const packageInfo = this.packageInfos.find((info) => info.scope === scope);
1774
- const result = {
1775
- basic: {
1776
- js: [
1777
- `${prefix}/packages/vue@2/dist/vue.min.js`,
1778
- // `${prefix}/packages/vue-router@3/dist/vue-router.min.js`,
1779
- scope === 'h5' ? `${prefix}/packages/@lcap/mobile-ui@${packageInfo.ui.version}/dist-theme/index.js` : `${prefix}/packages/cloud-ui.vusion@${packageInfo.ui.version}/dist-theme/index.js`,
1780
- scope === 'h5' ? `${prefix}/packages/@lcap/mobile-template@${packageInfo.template.version}/cloudAdminDesigner.umd.min.js` : `${prefix}/packages/lcap-pc-template@${packageInfo.template.version}/cloudAdminDesigner.umd.min.js`,
1781
- ],
1782
- css: [
1783
- scope === 'h5' ? `${prefix}/packages/@lcap/mobile-ui@${packageInfo.ui.version}/dist-theme/index.css` : `${prefix}/packages/cloud-ui.vusion@${packageInfo.ui.version}/dist-theme/index.css`,
1784
- scope === 'h5' ? `${prefix}/packages/@lcap/mobile-template@${packageInfo.template.version}/cloudAdminDesigner.css` : `${prefix}/packages/lcap-pc-template@${packageInfo.template.version}/cloudAdminDesigner.css`,
1785
- ],
1786
- },
1787
- custom: {
1788
- js: [],
1789
- css: [],
1790
- names: [],
1791
- },
1792
- };
1793
- const frontends = this.frontends.filter((frontend) => frontend.type === scope);
1794
- const existingSet = new Set();
1795
- frontends.forEach((frontend) => {
1796
- frontend.componentDependencies.forEach((dep) => {
1797
- const { name, version } = dep;
1798
- const jsName = `${prefix}/packages/${name}@${version}/dist-theme/index.js`;
1799
- if (!existingSet.has(jsName)) {
1800
- existingSet.add(jsName);
1801
- result.custom.js.push(jsName);
1802
- if (utils.shouldLoadCss(name, version)) {
1803
- result.custom.css.push(`${prefix}/packages/${name}@${version}/dist-theme/index.css`);
1804
- }
1805
- result.custom.names.push(name);
1806
- }
1807
- });
1808
- });
1809
- this.dependencies.forEach((dep) => {
1810
- (dep.frontends || []).forEach((frontend) => {
1811
- if (frontend.type === scope) {
1812
- const jsName = `${prefix}/packages/${dep.name}@${dep.version}/dist-theme/index.js`;
1813
- if (!existingSet.has(jsName)) {
1814
- existingSet.add(jsName);
1815
- result.custom.js.push(jsName);
1816
- result.custom.names.push(dep.name);
1817
- }
1818
- }
1819
- });
1820
- });
1821
- return result;
1822
- }
1823
- onChange($event) {
1824
- this.emit('change', $event);
1825
- }
1826
- addModuleInDependenciesWithDataSource(options) {
1827
- this.emit('collect:start', {
1828
- actionMsg: '导入依赖库',
1829
- });
1830
- const existSameNameNode = this.dependencies.find((l) => l.name === options.name);
1831
- // 同名同版本的依赖库会替换 同名不同版本的依赖库会保留并设置为禁用
1832
- // (options as Module).enable = true;
1833
- if (existSameNameNode) {
1834
- // const hasSameVersion = existSameNameNode.version === (options as Module).version;
1835
- // if (hasSameVersion) {
1836
- existSameNameNode.delete();
1837
- // }
1838
- // 同名的依赖库 只启用第一个
1839
- // (options as Module).enable = hasSameVersion;
1840
- }
1841
- // 导入依赖库的时候如果有logic 且logic 可以被覆写 需要在app overideLogic 新增一个
1842
- // 但是导入局部模板的时候已经手动新增了 这里就不需要了
1843
- // 当依赖库被删除 的时候同样要删除 overideLogic
1844
- // 支持局部模板导出导入overideLogic
1845
- // 只复制 depLogic 输入输出参数
1846
- const node = this.addModuleInDependencies(options);
1847
- if (node?.logics && node?.logics.length > 0) {
1848
- node.logics.forEach((logic) => {
1849
- if (logic?.overridable) {
1850
- const existing = this.overriddenLogics.find((ol) => ol.name === logic.name);
1851
- !existing && this.addOverriddenLogic({
1852
- name: logic.name,
1853
- description: logic.description,
1854
- overriddenModule: node.name,
1855
- returns: logic.returns.map((r) => r.toJSON()),
1856
- params: logic.params.map((r) => r.toJSON()),
1857
- });
1858
- }
1859
- });
1860
- }
1861
- // 启用的依赖库才创建数据源
1862
- // if (node.enable && node.dataSources) {
1863
- if (node.dataSources) {
1864
- const dataSourceGroup = this.configuration?.getGroup('dataSource');
1865
- if (dataSourceGroup) {
1866
- node.dataSources.forEach((datasource) => {
1867
- const body = ConfigProperty__1.default.from({
1868
- name: datasource.name,
1869
- description: '',
1870
- isPrivate: false,
1871
- values: [
1872
- { env: 'dev', value: '', concept: 'ConfigPropertyValue' },
1873
- { env: 'online', value: '', concept: 'ConfigPropertyValue' },
1874
- ],
1875
- });
1876
- dataSourceGroup.addConfigProperty(body);
1877
- });
1878
- }
1879
- }
1880
- this.emit('collect:end');
1881
- }
1882
- statistics() {
1883
- const sum = (list) => list.reduce((curr, prev) => prev + curr, 0);
1884
- const countView = (list) => list.length + sum(list.map((view) => countView(view.children)));
1885
- return {
1886
- entityCount: sum(this.dataSources.map((dataSource) => dataSource.entities.length)),
1887
- structureCount: this.structures.length,
1888
- enumCount: this.enums.length,
1889
- logicCount: this.logics.length,
1890
- viewCount: sum(this.frontends.map((frontend) => countView(frontend.views))),
1891
- processCount: this.processes.length,
1892
- };
1893
- }
1894
- /**
1895
- * 需要包含依赖库里的dataSources,不自动生成
1896
- */
1897
- getDataSourceExistingNames(excludedList = []) {
1898
- const excludedSet = new Set(excludedList);
1899
- const dependDatasources = [];
1900
- const modules = [...this.dependencies];
1901
- modules.forEach((module) => {
1902
- if (Array.isArray(module.dataSources)) {
1903
- dependDatasources.push(...module.dataSources);
1904
- }
1905
- });
1906
- const dataSources = this.dataSources.concat(dependDatasources);
1907
- return (dataSources || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1908
- }
1909
- /**
1910
- * 更新全局设置 preferenceMap
1911
- */
1912
- updatePreferenceMap(preferences = {}) {
1913
- this.emit('collect:start', { actionMsg: '修改实体表名列名' });
1914
- const oldPreferenceMap = { ...this.preferenceMap };
1915
- Object.assign(this.preferenceMap, preferences);
1916
- // 更新实体表名和列名
1917
- this.dataSources.forEach((ds) => {
1918
- ds.entities.forEach((e) => {
1919
- if (oldPreferenceMap['namingConvention.tableName'] !== preferences['namingConvention.tableName']) {
1920
- e.formatTableName();
1921
- }
1922
- if (oldPreferenceMap['namingConvention.columnName'] !== preferences['namingConvention.columnName']) {
1923
- e.formatPropertyColumnName();
1924
- }
1925
- });
1926
- });
1927
- // 使撤销生效
1928
- Object.assign(this.preferenceMap, oldPreferenceMap);
1929
- this.update({
1930
- preferenceMap: preferences,
1931
- });
1932
- this.emit('collect:end');
1933
- }
1934
- /* 判断接口是否有误,需要重新导出 */
1935
- getQualifiedInterface(interfaces = this.interfaces) {
1936
- const errorList = [];
1937
- interfaces.forEach((item) => {
1938
- const logic = this.logics.find((logic) => logic.name === item.originLogicName);
1939
- const logicParamMap = {};
1940
- logic.params.forEach((param) => {
1941
- logicParamMap[param.name] = param.typeAnnotation;
1942
- });
1943
- item.params.forEach((param) => {
1944
- const logicTypeAnnotation = logicParamMap[param.name]?.toJSON();
1945
- delete logicParamMap[param.name];
1946
- if (!logicTypeAnnotation) {
1947
- return errorList.push({
1948
- logicName: logic.name,
1949
- interfaceName: item.name,
1950
- param: param.name,
1951
- type: 1,
1952
- message: `参数“${param.name}”已被删除,请确定请求类型无误后点击“重新导出”`,
1953
- });
1954
- }
1955
- const interfaceTypeAnnotation = param.typeAnnotation.toJSON();
1956
- let isSame = false;
1957
- if (logicTypeAnnotation?.typeNamespace === 'app.enums') {
1958
- if (interfaceTypeAnnotation.typeNamespace === 'nasl.core' && interfaceTypeAnnotation.typeName === 'String') {
1959
- isSame = true;
1960
- }
1961
- }
1962
- if (JSON.stringify(logicTypeAnnotation) === JSON.stringify(interfaceTypeAnnotation)) {
1963
- isSame = true;
1964
- }
1965
- if (!isSame) {
1966
- errorList.push({
1967
- logicName: logic.name,
1968
- interfaceName: item.name,
1969
- param: param.name,
1970
- type: 2,
1971
- message: `参数“${param.name}”数据类型变更,请确定请求类型无误后点击“重新导出”`,
1972
- });
1973
- }
1974
- });
1975
- const logicReturns = logic.returns;
1976
- const interfaceReturns = item.returns;
1977
- if (logicReturns?.length > interfaceReturns?.length) {
1978
- if (!logicReturns[0].typeAnnotation) {
1979
- errorList.push({
1980
- logicName: logic.name,
1981
- interfaceName: item.name,
1982
- resultName: logicReturns[0].name,
1983
- type: 4,
1984
- message: `输出参数发生变更,请点击“重新导出”`,
1985
- });
1986
- }
1987
- else {
1988
- errorList.push({
1989
- logicName: logic.name,
1990
- interfaceName: item.name,
1991
- resultName: logicReturns[0].name,
1992
- type: 4,
1993
- message: `输出参数发生变更,请点击“重新导出”`,
1994
- });
1995
- }
1996
- }
1997
- else if (logicReturns?.length < interfaceReturns?.length) {
1998
- errorList.push({
1999
- logicName: logic.name,
2000
- interfaceName: item.name,
2001
- resultName: interfaceReturns[0].name,
2002
- type: 4,
2003
- message: `输出参数发生变更,请点击“重新导出”`,
2004
- });
2005
- }
2006
- else if (logicReturns?.length === interfaceReturns?.length) {
2007
- if (logicReturns.length !== 0) {
2008
- if (logicReturns[0].name !== interfaceReturns[0].name) {
2009
- errorList.push({
2010
- logicName: logic.name,
2011
- interfaceName: item.name,
2012
- resultName: logicReturns[0].name,
2013
- type: 4,
2014
- message: `输出参数发生变更,请点击“重新导出”`,
2015
- });
2016
- }
2017
- else if (!logicReturns[0].typeAnnotation) {
2018
- if (!logicReturns[0]?.__TypeAnnotation) {
2019
- errorList.push({
2020
- logicName: logic.name,
2021
- interfaceName: item.name,
2022
- resultName: logicReturns[0].name,
2023
- type: 7,
2024
- message: `输出参数“${logicReturns[0].name}”没有数据类型,无法导出`,
2025
- });
2026
- }
2027
- else if (!logicReturns[0]?.__TypeAnnotation.isSame(interfaceReturns[0]?.typeAnnotation)) {
2028
- errorList.push({
2029
- logicName: logic.name,
2030
- interfaceName: item.name,
2031
- resultName: logicReturns[0].name,
2032
- type: 4,
2033
- message: `输出参数发生变更,请点击“重新导出”`,
2034
- });
2035
- }
2036
- }
2037
- else if (JSON.stringify(logicReturns[0]?.typeAnnotation?.toJSON()) !== JSON.stringify(interfaceReturns[0]?.typeAnnotation?.toJSON())) {
2038
- errorList.push({
2039
- logicName: logic.name,
2040
- interfaceName: item.name,
2041
- resultName: logicReturns[0].name,
2042
- type: 4,
2043
- message: `输出参数发生变更,请点击“重新导出”`,
2044
- });
2045
- }
2046
- }
2047
- }
2048
- for (const i in logicParamMap) {
2049
- errorList.push({
2050
- logicName: logic.name,
2051
- param: i,
2052
- message: `新增参数“${i}”,请确定请求类型无误后点击“重新导出”`,
2053
- type: 3,
2054
- });
2055
- }
2056
- });
2057
- return errorList;
2058
- }
2059
- addFrontendForType(options) {
2060
- let insertIndex = -1;
2061
- this.frontends.forEach((frontend, index) => {
2062
- if (frontend.type === options.type) {
2063
- insertIndex = index;
2064
- }
2065
- });
2066
- if (options.type === 'h5' && insertIndex === -1) {
2067
- insertIndex = this.frontends.length;
2068
- }
2069
- const node = this._insertFrontendAt(options, insertIndex + 1);
2070
- const index = this.frontends.indexOf(node);
2071
- node.create({
2072
- index,
2073
- parentNode: this,
2074
- parentKey: 'frontends',
2075
- });
2076
- return node;
2077
- }
2078
- getFrontendExistingTitles(excludedList = []) {
2079
- const excludedSet = new Set(excludedList);
2080
- return (this.frontends || []).filter((item) => !excludedSet.has(item)).map((item) => item.title);
2081
- }
2082
- getExtensionsCallbackLogics() {
2083
- let resultLogics = [];
2084
- this.frontends.forEach((frontend) => {
2085
- resultLogics = [...resultLogics, ...frontend.getExtensionsCallbackLogics()];
2086
- });
2087
- return Array.from(new Set(resultLogics));
2088
- }
2089
- getJavaLogicUniqueName(name = 'javalogic1') {
2090
- return utils.unique(name, this.getLogicExistingNames(), undefined, true);
2091
- }
2092
- getJavaLogicClassUniqueName(name = 'Javalogic1') {
2093
- return utils.unique(name, this.getLogicExistingNames(), undefined, true) + 'Service';
2094
- }
2095
- genAllCustomComponents() {
2096
- const frontends = this.frontends;
2097
- const compMap = {
2098
- pc: [],
2099
- h5: [],
2100
- };
2101
- const existingSet = new Set();
2102
- frontends.forEach((frontend) => {
2103
- if (frontend.componentDependencies) {
2104
- frontend.componentDependencies.forEach((dep) => {
2105
- const { name } = dep;
2106
- if (!existingSet.has(name)) {
2107
- compMap[frontend.type].push(dep);
2108
- }
2109
- });
2110
- }
2111
- });
2112
- return compMap;
2113
- }
2114
- /**
2115
- * 当前正在发布的环境,临时状态
2116
- */
2117
- curDeployEnv = 'dev';
2118
- /**
2119
- * 获取 “系统统一路径前缀”
2120
- * @returns
2121
- */
2122
- get sysPrefixPath() {
2123
- const uniformPathPrefix = this.configuration?.groups?.find((item) => item.name === 'system')?.properties?.find((item) => item.name === 'uniformPathPrefix')?.values.find((item) => item.env === this.curDeployEnv)?.value;
2124
- const sysPrefixPath = uniformPathPrefix && uniformPathPrefix !== '/' ? uniformPathPrefix : '';
2125
- return sysPrefixPath;
2126
- }
2127
- __databaseTypeMap = {};
2128
- getAuthLogicExistingNames(excludedList = []) {
2129
- const excludedSet = new Set(excludedList);
2130
- return (this.authLogics || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
2131
- }
2132
- getAuthLogicUniqueName(name = 'authentication1') {
2133
- return utils.unique(name, this.getAuthLogicExistingNames(), undefined, true);
2134
- }
2135
- getAuthInterfaceUniqueName(name = 'authInterface1') {
2136
- // never used
2137
- }
2138
- get appTimeZone() {
2139
- return this.configuration?.groups?.find((item) => item.name === 'system')?.properties?.find((item) => item.name === 'appTimeZone')?.values.find((item) => item.env === this.curDeployEnv)?.value;
2140
- }
2141
- // FIXME: 没有设置 dontGenGetUniqueName 为什么 不会生成 唯一标识逻辑???
2142
- getConnectorExistingNames(excludedList = []) {
2143
- const excludedSet = new Set(excludedList);
2144
- return (this.dependencies || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
2145
- }
2146
- getConnectorUniqueName(name = 'connector1') {
2147
- return utils.unique(name, this.getConnectorExistingNames(), undefined, false);
2148
- }
2149
- };
2150
- __decorate([
2151
- (0, decorators_1.property)()
2152
- ], App.prototype, "id", void 0);
2153
- __decorate([
2154
- (0, decorators_1.property)()
2155
- ], App.prototype, "concept", void 0);
2156
- __decorate([
2157
- (0, decorators_1.property)()
2158
- ], App.prototype, "ideVersion", void 0);
2159
- __decorate([
2160
- (0, decorators_1.property)()
2161
- ], App.prototype, "name", void 0);
2162
- __decorate([
2163
- (0, decorators_1.property)()
2164
- ], App.prototype, "title", void 0);
2165
- __decorate([
2166
- (0, decorators_1.property)()
2167
- ], App.prototype, "icon", void 0);
2168
- __decorate([
2169
- (0, decorators_1.property)()
2170
- ], App.prototype, "desc", void 0);
2171
- __decorate([
2172
- (0, decorators_1.property)()
2173
- ], App.prototype, "dnsAddr", void 0);
2174
- __decorate([
2175
- (0, decorators_1.property)()
2176
- ], App.prototype, "hasUserCenter", void 0);
2177
- __decorate([
2178
- (0, decorators_1.property)()
2179
- ], App.prototype, "hasAuth", void 0);
2180
- __decorate([
2181
- (0, decorators_1.property)('DataSource')
2182
- ], App.prototype, "dataSources", void 0);
2183
- __decorate([
2184
- (0, decorators_1.property)('Structure')
2185
- ], App.prototype, "structures", void 0);
2186
- __decorate([
2187
- (0, decorators_1.property)('Enum')
2188
- ], App.prototype, "enums", void 0);
2189
- __decorate([
2190
- (0, decorators_1.property)('Logic')
2191
- ], App.prototype, "logics", void 0);
2192
- __decorate([
2193
- (0, decorators_1.property)('OverriddenLogic')
2194
- ], App.prototype, "overriddenLogics", void 0);
2195
- __decorate([
2196
- (0, decorators_1.property)('Interface | AuthInterface')
2197
- ], App.prototype, "interfaces", void 0);
2198
- __decorate([
2199
- (0, decorators_1.property)('Frontend')
2200
- ], App.prototype, "frontends", void 0);
2201
- __decorate([
2202
- (0, decorators_1.property)('Backend')
2203
- ], App.prototype, "backend", void 0);
2204
- __decorate([
2205
- (0, decorators_1.property)('Process')
2206
- ], App.prototype, "processes", void 0);
2207
- __decorate([
2208
- (0, decorators_1.property)('Role')
2209
- ], App.prototype, "roles", void 0);
2210
- __decorate([
2211
- (0, decorators_1.property)('Configuration')
2212
- ], App.prototype, "configuration", void 0);
2213
- __decorate([
2214
- (0, decorators_1.property)('Module | Connector')
2215
- ], App.prototype, "dependencies", void 0);
2216
- __decorate([
2217
- (0, decorators_1.property)('Module')
2218
- ], App.prototype, "interfaceDependencies", void 0);
2219
- __decorate([
2220
- (0, decorators_1.property)('Integration')
2221
- ], App.prototype, "integration", void 0);
2222
- __decorate([
2223
- (0, decorators_1.property)('AuthLogic')
2224
- ], App.prototype, "authLogics", void 0);
2225
- __decorate([
2226
- (0, decorators_1.property)('AuthLogicForCallInterface')
2227
- ], App.prototype, "authLogicsForCallInterface", void 0);
2228
- __decorate([
2229
- (0, decorators_1.excludedInJSON)()
2230
- ], App.prototype, "officialType", void 0);
2231
- __decorate([
2232
- (0, decorators_1.excludedInJSON)()
2233
- ], App.prototype, "projectId", void 0);
2234
- __decorate([
2235
- (0, decorators_1.excludedInJSON)()
2236
- ], App.prototype, "tenantId", void 0);
2237
- __decorate([
2238
- (0, decorators_1.excludedInJSON)()
2239
- ], App.prototype, "userGroupId", void 0);
2240
- __decorate([
2241
- (0, decorators_1.excludedInJSON)()
2242
- ], App.prototype, "envs", void 0);
2243
- __decorate([
2244
- (0, decorators_1.excludedInJSON)()
2245
- ], App.prototype, "envList", void 0);
2246
- __decorate([
2247
- (0, decorators_1.excludedInJSON)()
2248
- ], App.prototype, "deploying", void 0);
2249
- __decorate([
2250
- (0, decorators_1.excludedInJSON)()
2251
- ], App.prototype, "deploymentId", void 0);
2252
- __decorate([
2253
- (0, decorators_1.excludedInJSON)()
2254
- ], App.prototype, "templateId", void 0);
2255
- __decorate([
2256
- (0, decorators_1.property)()
2257
- ], App.prototype, "preferenceMap", void 0);
2258
- App = App_1 = __decorate([
2259
- (0, decorators_1.concept)('应用')
2260
- ], App);
2261
- exports.App = App;
2262
- classMap_1.default.App = App;
2263
- exports.default = App;
2264
- //================================================================================
2265
- // ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
2266
- // 自动生成的代码已结束。下面可以手动编写。
2267
- //================================================================================
2268
- //# sourceMappingURL=App__.js.map