@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.
- package/out/breakpoint/shared/constants.js +2 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/common/Command.d.ts +1 -1
- package/out/common/Command.js +1 -1
- package/out/common/Command.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +8 -9
- package/out/concepts/AnonymousFunction__.js +15 -14
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/Argument__.js +7 -2
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +0 -2
- package/out/concepts/AuthInterface__.js +0 -58
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/BatchAssignment__.js +3 -2
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BindAttribute__.js +10 -1
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +0 -1
- package/out/concepts/CallAuthInterface__.js +5 -8
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallFunction__.js +4 -3
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +3 -1
- package/out/concepts/CallInterface__.js +21 -1
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +2 -0
- package/out/concepts/CallLogic__.js +74 -14
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +29 -29
- package/out/concepts/FrontendLibrary__.js +2 -2
- package/out/concepts/Function__.js +3 -3
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +6 -6
- package/out/concepts/LogicItem__.js +6 -6
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.js +19 -4
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +29 -29
- package/out/concepts/Namespace__.js +2 -2
- package/out/concepts/NewComposite__.d.ts +1 -0
- package/out/concepts/NewComposite__.js +67 -3
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +1 -0
- package/out/concepts/NewList__.js +17 -1
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +2 -0
- package/out/concepts/QueryJoinExpression__.js +11 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +1 -0
- package/out/concepts/TypeAnnotation__.js +37 -4
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/ViewComponent__.d.ts +33 -33
- package/out/concepts/ViewComponent__.js +7 -7
- package/out/concepts/ViewElement__.d.ts +4 -1
- package/out/concepts/ViewElement__.js +51 -3
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +4 -4
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.http.js +28 -26
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +17 -9
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/basics/types/index.js +1 -1
- package/out/concepts/basics/types/index.js.map +1 -1
- package/out/concepts/types__.d.ts +1 -2
- package/out/generator/genBundleFiles.js +32 -27
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.js +8 -0
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.js +6 -6
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/sentry/index.js +8 -1
- package/out/sentry/index.js.map +1 -1
- package/out/server/getInterfaces.js +1 -1
- package/out/server/getInterfaces.js.map +1 -1
- package/out/server/naslServer.d.ts +10 -2
- package/out/server/naslServer.js +55 -12
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +0 -12
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.js +102 -65
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +2 -2
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.js +2 -2
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.d.ts +1 -1
- package/out/templator/genEditTableBlock.js +6 -2
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genEnumSelectBlock.js +2 -2
- package/out/templator/genEnumSelectBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.d.ts +2 -2
- package/out/templator/genGridViewBlock.js +14 -8
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.d.ts +2 -2
- package/out/templator/genListViewBlock.js +9 -5
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genSelectBlock.d.ts +2 -2
- package/out/templator/genSelectBlock.js +18 -11
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genTableBlock.d.ts +1 -1
- package/out/templator/genTableBlock.js +7 -3
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +2 -2
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/package.json +13 -13
- package/sandbox/stdlib/nasl.util.ts +2 -2
- package/src/automate/engine/utils.js +3 -0
- package/src/breakpoint/shared/constants.ts +2 -0
- package/src/common/BaseNode.ts +10 -5
- package/src/common/Command.ts +1 -1
- package/src/concepts/AnonymousFunction__.ts +2 -1
- package/src/concepts/Argument__.ts +5 -5
- package/src/concepts/Assignment__.ts +2 -1
- package/src/concepts/AuthInterface__.ts +3 -53
- package/src/concepts/BindEvent__.ts +5 -6
- package/src/concepts/CallAuthInterface__.ts +5 -8
- package/src/concepts/CallFunction__.ts +2 -1
- package/src/concepts/CallInterface__.ts +84 -63
- package/src/concepts/CallLogic__.ts +89 -67
- package/src/concepts/CompletionProperty__.ts +6 -1
- package/src/concepts/ConfigPropertyValue__.ts +2 -2
- package/src/concepts/Function__.ts +2 -2
- package/src/concepts/QueryJoinExpression__.ts +13 -0
- package/src/concepts/TypeAnnotation__.ts +31 -0
- package/src/concepts/ViewElement__.ts +80 -33
- package/src/concepts/basics/stdlib/nasl.http.ts +26 -24
- package/src/concepts/types__.ts +1 -3
- package/src/generator/genBundleFiles.ts +32 -27
- package/src/generator/genReleaseBody.ts +10 -7
- package/src/generator/permission.ts +6 -6
- package/src/server/getInterfaces.ts +1 -1
- package/src/server/naslServer.ts +58 -8
- package/src/server/translator.ts +0 -12
- package/src/service/storage/init.ts +106 -67
- package/src/templator/genCreateBlock.ts +2 -2
- package/src/templator/genEnumSelectBlock.ts +2 -2
- package/src/templator/genSelectBlock.ts +4 -3
- package/src/templator/genUpdateBlock.ts +2 -2
- package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +71 -0
- package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +140 -0
- package/test/concepts/call-interface/constant.ts +5 -0
- package/test/concepts/call-interface/fixtures/only-interface.json +158 -0
- package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +455 -0
- package/test/concepts/call-interface/fixtures/with-body-no-argument.json +187 -0
- package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +225 -0
- package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +213 -0
- package/test/concepts/call-interface/fixtures/with-headers.json +192 -0
- package/test/concepts/call-interface/fixtures/with-query-no-argument.json +213 -0
- package/test/concepts/call-interface/fixtures/with-query.json +192 -0
- package/test/concepts/call-interface/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/call-interface/toJS.spec.ts +14 -0
- package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +74 -0
- package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +141 -0
- package/test/concepts/call-logic/constant.ts +5 -0
- package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +223 -0
- package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +359 -0
- package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +209 -0
- package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +311 -0
- package/test/concepts/call-logic/fixtures/only-call-logic.json +10 -0
- package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +128 -0
- package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +126 -0
- package/test/concepts/call-logic/fixtures/view-component-with-validation.json +244 -0
- package/test/concepts/call-logic/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/call-logic/toJS.spec.ts +14 -0
- package/test/concepts/utils.ts +76 -3
- package/test/concepts/validation-rule/__snapshots__/toEmbeddedTS.spec.ts.snap +3 -3
- package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +16 -0
- package/test/concepts/validation-rule/constant.ts +5 -0
- package/test/concepts/validation-rule/toEmbeddedTS.spec.ts +10 -17
- package/test/concepts/validation-rule/toJS.spec.ts +14 -0
- package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +89 -0
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +44 -0
- package/test/concepts/view-element/constant.ts +5 -0
- package/test/concepts/view-element/fixtures/default-not-found.json +322 -0
- package/test/concepts/view-element/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/view-element/toVue.spec.ts +14 -0
- package/test/setup.ts +6 -0
- package/ts-worker/lib/tsserver.js +5 -6
- package/ts-worker/package-lock.json +2 -1
- package/bin/naslc +0 -3
- package/out/src/automate/engine/index.d.ts +0 -4
- package/out/src/automate/engine/index.js +0 -443
- package/out/src/automate/engine/index.js.map +0 -1
- package/out/src/automate/engine/operators.d.ts +0 -24
- package/out/src/automate/engine/operators.js +0 -252
- package/out/src/automate/engine/operators.js.map +0 -1
- package/out/src/automate/engine/uniqueName.d.ts +0 -12
- package/out/src/automate/engine/uniqueName.js +0 -112
- package/out/src/automate/engine/uniqueName.js.map +0 -1
- package/out/src/automate/engine/utils.d.ts +0 -25
- package/out/src/automate/engine/utils.js +0 -440
- package/out/src/automate/engine/utils.js.map +0 -1
- package/out/src/automate/engine/viewCache.d.ts +0 -19
- package/out/src/automate/engine/viewCache.js +0 -45
- package/out/src/automate/engine/viewCache.js.map +0 -1
- package/out/src/automate/template/myProcess.d.ts +0 -10
- package/out/src/automate/template/myProcess.js +0 -11498
- package/out/src/automate/template/myProcess.js.map +0 -1
- package/out/src/automate/upgrader/2.12.d.ts +0 -7
- package/out/src/automate/upgrader/2.12.js +0 -63
- package/out/src/automate/upgrader/2.12.js.map +0 -1
- package/out/src/automate/upgrader/2.14-components.d.ts +0 -1115
- package/out/src/automate/upgrader/2.14-components.js +0 -1087
- package/out/src/automate/upgrader/2.14-components.js.map +0 -1
- package/out/src/automate/upgrader/2.14.d.ts +0 -10
- package/out/src/automate/upgrader/2.14.js +0 -236
- package/out/src/automate/upgrader/2.14.js.map +0 -1
- package/out/src/automate/upgrader/2.14.old.d.ts +0 -1
- package/out/src/automate/upgrader/2.14.old.js +0 -125
- package/out/src/automate/upgrader/2.14.old.js.map +0 -1
- package/out/src/automate/upgrader/2.16.d.ts +0 -10
- package/out/src/automate/upgrader/2.16.js +0 -75
- package/out/src/automate/upgrader/2.16.js.map +0 -1
- package/out/src/automate/upgrader/2.17.d.ts +0 -21
- package/out/src/automate/upgrader/2.17.js +0 -557
- package/out/src/automate/upgrader/2.17.js.map +0 -1
- package/out/src/automate/upgrader/2.18.d.ts +0 -10
- package/out/src/automate/upgrader/2.18.js +0 -107
- package/out/src/automate/upgrader/2.18.js.map +0 -1
- package/out/src/automate/upgrader/2.20.d.ts +0 -17
- package/out/src/automate/upgrader/2.20.js +0 -68
- package/out/src/automate/upgrader/2.20.js.map +0 -1
- package/out/src/bak/translator.d.ts +0 -1
- package/out/src/bak/translator.js +0 -119
- package/out/src/bak/translator.js.map +0 -1
- package/out/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
- package/out/src/breakpoint/generator/AfterStartNode.js +0 -27
- package/out/src/breakpoint/generator/AfterStartNode.js.map +0 -1
- package/out/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
- package/out/src/breakpoint/generator/BeforeEndNode.js +0 -27
- package/out/src/breakpoint/generator/BeforeEndNode.js.map +0 -1
- package/out/src/breakpoint/generator/BreakpointNode.d.ts +0 -14
- package/out/src/breakpoint/generator/BreakpointNode.js +0 -200
- package/out/src/breakpoint/generator/BreakpointNode.js.map +0 -1
- package/out/src/breakpoint/generator/index.d.ts +0 -4
- package/out/src/breakpoint/generator/index.js +0 -98
- package/out/src/breakpoint/generator/index.js.map +0 -1
- package/out/src/breakpoint/index.d.ts +0 -3
- package/out/src/breakpoint/index.js +0 -20
- package/out/src/breakpoint/index.js.map +0 -1
- package/out/src/breakpoint/shared/constants.d.ts +0 -31
- package/out/src/breakpoint/shared/constants.js +0 -91
- package/out/src/breakpoint/shared/constants.js.map +0 -1
- package/out/src/breakpoint/shared/index.d.ts +0 -3
- package/out/src/breakpoint/shared/index.js +0 -33
- package/out/src/breakpoint/shared/index.js.map +0 -1
- package/out/src/breakpoint/shared/operations.d.ts +0 -10
- package/out/src/breakpoint/shared/operations.js +0 -25
- package/out/src/breakpoint/shared/operations.js.map +0 -1
- package/out/src/breakpoint/shared/socket.d.ts +0 -47
- package/out/src/breakpoint/shared/socket.js +0 -210
- package/out/src/breakpoint/shared/socket.js.map +0 -1
- package/out/src/breakpoint/shared/utils.d.ts +0 -23
- package/out/src/breakpoint/shared/utils.js +0 -165
- package/out/src/breakpoint/shared/utils.js.map +0 -1
- package/out/src/breakpoint/store/core.d.ts +0 -32
- package/out/src/breakpoint/store/core.js +0 -388
- package/out/src/breakpoint/store/core.js.map +0 -1
- package/out/src/breakpoint/store/dock.d.ts +0 -1
- package/out/src/breakpoint/store/dock.js +0 -127
- package/out/src/breakpoint/store/dock.js.map +0 -1
- package/out/src/breakpoint/store/index.d.ts +0 -2
- package/out/src/breakpoint/store/index.js +0 -19
- package/out/src/breakpoint/store/index.js.map +0 -1
- package/out/src/common/BaseNode.d.ts +0 -317
- package/out/src/common/BaseNode.js +0 -1156
- package/out/src/common/BaseNode.js.map +0 -1
- package/out/src/common/Command.d.ts +0 -9
- package/out/src/common/Command.js +0 -36
- package/out/src/common/Command.js.map +0 -1
- package/out/src/common/ComponentAPI.d.ts +0 -110
- package/out/src/common/ComponentAPI.js +0 -3
- package/out/src/common/ComponentAPI.js.map +0 -1
- package/out/src/common/EventEmitter.d.ts +0 -59
- package/out/src/common/EventEmitter.js +0 -71
- package/out/src/common/EventEmitter.js.map +0 -1
- package/out/src/common/Messager.d.ts +0 -91
- package/out/src/common/Messager.js +0 -208
- package/out/src/common/Messager.js.map +0 -1
- package/out/src/common/asyncFuncMap.d.ts +0 -2
- package/out/src/common/asyncFuncMap.js +0 -16
- package/out/src/common/asyncFuncMap.js.map +0 -1
- package/out/src/common/classMap.d.ts +0 -4
- package/out/src/common/classMap.js +0 -5
- package/out/src/common/classMap.js.map +0 -1
- package/out/src/common/index.d.ts +0 -4
- package/out/src/common/index.js +0 -21
- package/out/src/common/index.js.map +0 -1
- package/out/src/concepts/Abort__.d.ts +0 -25
- package/out/src/concepts/Abort__.js +0 -80
- package/out/src/concepts/Abort__.js.map +0 -1
- package/out/src/concepts/Anchor__.d.ts +0 -44
- package/out/src/concepts/Anchor__.js +0 -182
- package/out/src/concepts/Anchor__.js.map +0 -1
- package/out/src/concepts/AnonymousFunction__.d.ts +0 -172
- package/out/src/concepts/AnonymousFunction__.js +0 -490
- package/out/src/concepts/AnonymousFunction__.js.map +0 -1
- package/out/src/concepts/App__.d.ts +0 -1510
- package/out/src/concepts/App__.js +0 -2268
- package/out/src/concepts/App__.js.map +0 -1
- package/out/src/concepts/Argument__.d.ts +0 -65
- package/out/src/concepts/Argument__.js +0 -265
- package/out/src/concepts/Argument__.js.map +0 -1
- package/out/src/concepts/Assignee__.d.ts +0 -288
- package/out/src/concepts/Assignee__.js +0 -427
- package/out/src/concepts/Assignee__.js.map +0 -1
- package/out/src/concepts/AssignmentLine__.d.ts +0 -41
- package/out/src/concepts/AssignmentLine__.js +0 -112
- package/out/src/concepts/AssignmentLine__.js.map +0 -1
- package/out/src/concepts/Assignment__.d.ts +0 -73
- package/out/src/concepts/Assignment__.js +0 -286
- package/out/src/concepts/Assignment__.js.map +0 -1
- package/out/src/concepts/Attribute__.d.ts +0 -97
- package/out/src/concepts/Attribute__.js +0 -197
- package/out/src/concepts/Attribute__.js.map +0 -1
- package/out/src/concepts/AuthInterface__.d.ts +0 -37
- package/out/src/concepts/AuthInterface__.js +0 -141
- package/out/src/concepts/AuthInterface__.js.map +0 -1
- package/out/src/concepts/AuthLogicForCallInterface__.d.ts +0 -138
- package/out/src/concepts/AuthLogicForCallInterface__.js +0 -493
- package/out/src/concepts/AuthLogicForCallInterface__.js.map +0 -1
- package/out/src/concepts/AuthLogic__.d.ts +0 -66
- package/out/src/concepts/AuthLogic__.js +0 -206
- package/out/src/concepts/AuthLogic__.js.map +0 -1
- package/out/src/concepts/BackendVariable__.d.ts +0 -137
- package/out/src/concepts/BackendVariable__.js +0 -422
- package/out/src/concepts/BackendVariable__.js.map +0 -1
- package/out/src/concepts/Backend__.d.ts +0 -134
- package/out/src/concepts/Backend__.js +0 -274
- package/out/src/concepts/Backend__.js.map +0 -1
- package/out/src/concepts/BatchAssignment__.d.ts +0 -251
- package/out/src/concepts/BatchAssignment__.js +0 -806
- package/out/src/concepts/BatchAssignment__.js.map +0 -1
- package/out/src/concepts/BinaryExpression__.d.ts +0 -70
- package/out/src/concepts/BinaryExpression__.js +0 -345
- package/out/src/concepts/BinaryExpression__.js.map +0 -1
- package/out/src/concepts/BindAttribute__.d.ts +0 -318
- package/out/src/concepts/BindAttribute__.js +0 -875
- package/out/src/concepts/BindAttribute__.js.map +0 -1
- package/out/src/concepts/BindDirective__.d.ts +0 -161
- package/out/src/concepts/BindDirective__.js +0 -532
- package/out/src/concepts/BindDirective__.js.map +0 -1
- package/out/src/concepts/BindEvent__.d.ts +0 -251
- package/out/src/concepts/BindEvent__.js +0 -788
- package/out/src/concepts/BindEvent__.js.map +0 -1
- package/out/src/concepts/BindStyle__.d.ts +0 -139
- package/out/src/concepts/BindStyle__.js +0 -432
- package/out/src/concepts/BindStyle__.js.map +0 -1
- package/out/src/concepts/BooleanLiteral__.d.ts +0 -34
- package/out/src/concepts/BooleanLiteral__.js +0 -100
- package/out/src/concepts/BooleanLiteral__.js.map +0 -1
- package/out/src/concepts/CallAuthInterface__.d.ts +0 -126
- package/out/src/concepts/CallAuthInterface__.js +0 -409
- package/out/src/concepts/CallAuthInterface__.js.map +0 -1
- package/out/src/concepts/CallConnector__.d.ts +0 -42
- package/out/src/concepts/CallConnector__.js +0 -198
- package/out/src/concepts/CallConnector__.js.map +0 -1
- package/out/src/concepts/CallFunction__.d.ts +0 -157
- package/out/src/concepts/CallFunction__.js +0 -503
- package/out/src/concepts/CallFunction__.js.map +0 -1
- package/out/src/concepts/CallInterface__.d.ts +0 -125
- package/out/src/concepts/CallInterface__.js +0 -677
- package/out/src/concepts/CallInterface__.js.map +0 -1
- package/out/src/concepts/CallLogic__.d.ts +0 -224
- package/out/src/concepts/CallLogic__.js +0 -1140
- package/out/src/concepts/CallLogic__.js.map +0 -1
- package/out/src/concepts/CallQueryComponent__.d.ts +0 -432
- package/out/src/concepts/CallQueryComponent__.js +0 -1264
- package/out/src/concepts/CallQueryComponent__.js.map +0 -1
- package/out/src/concepts/Comment__.d.ts +0 -31
- package/out/src/concepts/Comment__.js +0 -96
- package/out/src/concepts/Comment__.js.map +0 -1
- package/out/src/concepts/CompletionProperty__.d.ts +0 -104
- package/out/src/concepts/CompletionProperty__.js +0 -256
- package/out/src/concepts/CompletionProperty__.js.map +0 -1
- package/out/src/concepts/ConfigGroup__.d.ts +0 -124
- package/out/src/concepts/ConfigGroup__.js +0 -253
- package/out/src/concepts/ConfigGroup__.js.map +0 -1
- package/out/src/concepts/ConfigPropertyValue__.d.ts +0 -44
- package/out/src/concepts/ConfigPropertyValue__.js +0 -106
- package/out/src/concepts/ConfigPropertyValue__.js.map +0 -1
- package/out/src/concepts/ConfigProperty__.d.ts +0 -153
- package/out/src/concepts/ConfigProperty__.js +0 -322
- package/out/src/concepts/ConfigProperty__.js.map +0 -1
- package/out/src/concepts/Configuration__.d.ts +0 -123
- package/out/src/concepts/Configuration__.js +0 -229
- package/out/src/concepts/Configuration__.js.map +0 -1
- package/out/src/concepts/ConnectorTrigger__.d.ts +0 -78
- package/out/src/concepts/ConnectorTrigger__.js +0 -155
- package/out/src/concepts/ConnectorTrigger__.js.map +0 -1
- package/out/src/concepts/Connector__.d.ts +0 -464
- package/out/src/concepts/Connector__.js +0 -698
- package/out/src/concepts/Connector__.js.map +0 -1
- package/out/src/concepts/Constant__.d.ts +0 -110
- package/out/src/concepts/Constant__.js +0 -252
- package/out/src/concepts/Constant__.js.map +0 -1
- package/out/src/concepts/DataElement__.d.ts +0 -46
- package/out/src/concepts/DataElement__.js +0 -117
- package/out/src/concepts/DataElement__.js.map +0 -1
- package/out/src/concepts/DataSource__.d.ts +0 -164
- package/out/src/concepts/DataSource__.js +0 -441
- package/out/src/concepts/DataSource__.js.map +0 -1
- package/out/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -31
- package/out/src/concepts/DatabaseTypeAnnotation__.js +0 -78
- package/out/src/concepts/DatabaseTypeAnnotation__.js.map +0 -1
- package/out/src/concepts/Destination__.d.ts +0 -156
- package/out/src/concepts/Destination__.js +0 -738
- package/out/src/concepts/Destination__.js.map +0 -1
- package/out/src/concepts/End__.d.ts +0 -24
- package/out/src/concepts/End__.js +0 -114
- package/out/src/concepts/End__.js.map +0 -1
- package/out/src/concepts/EntityIndex__.d.ts +0 -95
- package/out/src/concepts/EntityIndex__.js +0 -218
- package/out/src/concepts/EntityIndex__.js.map +0 -1
- package/out/src/concepts/EntityProperty__.d.ts +0 -273
- package/out/src/concepts/EntityProperty__.js +0 -804
- package/out/src/concepts/EntityProperty__.js.map +0 -1
- package/out/src/concepts/Entity__.d.ts +0 -338
- package/out/src/concepts/Entity__.js +0 -709
- package/out/src/concepts/Entity__.js.map +0 -1
- package/out/src/concepts/EnumItem__.d.ts +0 -63
- package/out/src/concepts/EnumItem__.js +0 -145
- package/out/src/concepts/EnumItem__.js.map +0 -1
- package/out/src/concepts/Enum__.d.ts +0 -137
- package/out/src/concepts/Enum__.js +0 -320
- package/out/src/concepts/Enum__.js.map +0 -1
- package/out/src/concepts/Event__.d.ts +0 -143
- package/out/src/concepts/Event__.js +0 -245
- package/out/src/concepts/Event__.js.map +0 -1
- package/out/src/concepts/ExternalDestination__.d.ts +0 -75
- package/out/src/concepts/ExternalDestination__.js +0 -285
- package/out/src/concepts/ExternalDestination__.js.map +0 -1
- package/out/src/concepts/ForEachStatement__.d.ts +0 -188
- package/out/src/concepts/ForEachStatement__.js +0 -447
- package/out/src/concepts/ForEachStatement__.js.map +0 -1
- package/out/src/concepts/FrontendLibrary__.d.ts +0 -213
- package/out/src/concepts/FrontendLibrary__.js +0 -352
- package/out/src/concepts/FrontendLibrary__.js.map +0 -1
- package/out/src/concepts/FrontendVariable__.d.ts +0 -21
- package/out/src/concepts/FrontendVariable__.js +0 -64
- package/out/src/concepts/FrontendVariable__.js.map +0 -1
- package/out/src/concepts/Frontend__.d.ts +0 -477
- package/out/src/concepts/Frontend__.js +0 -841
- package/out/src/concepts/Frontend__.js.map +0 -1
- package/out/src/concepts/Function__.d.ts +0 -416
- package/out/src/concepts/Function__.js +0 -724
- package/out/src/concepts/Function__.js.map +0 -1
- package/out/src/concepts/Identifier__.d.ts +0 -51
- package/out/src/concepts/Identifier__.js +0 -295
- package/out/src/concepts/Identifier__.js.map +0 -1
- package/out/src/concepts/IfStatement__.d.ts +0 -157
- package/out/src/concepts/IfStatement__.js +0 -305
- package/out/src/concepts/IfStatement__.js.map +0 -1
- package/out/src/concepts/Integration__.d.ts +0 -53
- package/out/src/concepts/Integration__.js +0 -143
- package/out/src/concepts/Integration__.js.map +0 -1
- package/out/src/concepts/InterfaceParam__.d.ts +0 -110
- package/out/src/concepts/InterfaceParam__.js +0 -261
- package/out/src/concepts/InterfaceParam__.js.map +0 -1
- package/out/src/concepts/Interface__.d.ts +0 -303
- package/out/src/concepts/Interface__.js +0 -811
- package/out/src/concepts/Interface__.js.map +0 -1
- package/out/src/concepts/JSBlock__.d.ts +0 -33
- package/out/src/concepts/JSBlock__.js +0 -106
- package/out/src/concepts/JSBlock__.js.map +0 -1
- package/out/src/concepts/JavaLogic__.d.ts +0 -42
- package/out/src/concepts/JavaLogic__.js +0 -122
- package/out/src/concepts/JavaLogic__.js.map +0 -1
- package/out/src/concepts/LogicItem__.d.ts +0 -145
- package/out/src/concepts/LogicItem__.js +0 -274
- package/out/src/concepts/LogicItem__.js.map +0 -1
- package/out/src/concepts/Logic__.d.ts +0 -643
- package/out/src/concepts/Logic__.js +0 -1623
- package/out/src/concepts/Logic__.js.map +0 -1
- package/out/src/concepts/MatchCase__.d.ts +0 -257
- package/out/src/concepts/MatchCase__.js +0 -592
- package/out/src/concepts/MatchCase__.js.map +0 -1
- package/out/src/concepts/Match__.d.ts +0 -122
- package/out/src/concepts/Match__.js +0 -616
- package/out/src/concepts/Match__.js.map +0 -1
- package/out/src/concepts/MemberExpression__.d.ts +0 -72
- package/out/src/concepts/MemberExpression__.js +0 -318
- package/out/src/concepts/MemberExpression__.js.map +0 -1
- package/out/src/concepts/MicroApp__.d.ts +0 -51
- package/out/src/concepts/MicroApp__.js +0 -113
- package/out/src/concepts/MicroApp__.js.map +0 -1
- package/out/src/concepts/Module__.d.ts +0 -975
- package/out/src/concepts/Module__.js +0 -1371
- package/out/src/concepts/Module__.js.map +0 -1
- package/out/src/concepts/MsgTriggerEvent__.d.ts +0 -137
- package/out/src/concepts/MsgTriggerEvent__.js +0 -228
- package/out/src/concepts/MsgTriggerEvent__.js.map +0 -1
- package/out/src/concepts/MsgTriggerLauncher__.d.ts +0 -118
- package/out/src/concepts/MsgTriggerLauncher__.js +0 -204
- package/out/src/concepts/MsgTriggerLauncher__.js.map +0 -1
- package/out/src/concepts/Namespace__.d.ts +0 -1068
- package/out/src/concepts/Namespace__.js +0 -1377
- package/out/src/concepts/Namespace__.js.map +0 -1
- package/out/src/concepts/NewComposite__.d.ts +0 -345
- package/out/src/concepts/NewComposite__.js +0 -1086
- package/out/src/concepts/NewComposite__.js.map +0 -1
- package/out/src/concepts/NewList__.d.ts +0 -132
- package/out/src/concepts/NewList__.js +0 -378
- package/out/src/concepts/NewList__.js.map +0 -1
- package/out/src/concepts/NewMap__.d.ts +0 -223
- package/out/src/concepts/NewMap__.js +0 -522
- package/out/src/concepts/NewMap__.js.map +0 -1
- package/out/src/concepts/New__.d.ts +0 -20
- package/out/src/concepts/New__.js +0 -69
- package/out/src/concepts/New__.js.map +0 -1
- package/out/src/concepts/NullLiteral__.d.ts +0 -26
- package/out/src/concepts/NullLiteral__.js +0 -82
- package/out/src/concepts/NullLiteral__.js.map +0 -1
- package/out/src/concepts/NumericLiteral__.d.ts +0 -55
- package/out/src/concepts/NumericLiteral__.js +0 -173
- package/out/src/concepts/NumericLiteral__.js.map +0 -1
- package/out/src/concepts/OqlQueryComponent__.d.ts +0 -72
- package/out/src/concepts/OqlQueryComponent__.js +0 -323
- package/out/src/concepts/OqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/OverriddenLogic__.d.ts +0 -643
- package/out/src/concepts/OverriddenLogic__.js +0 -1602
- package/out/src/concepts/OverriddenLogic__.js.map +0 -1
- package/out/src/concepts/Param__.d.ts +0 -171
- package/out/src/concepts/Param__.js +0 -446
- package/out/src/concepts/Param__.js.map +0 -1
- package/out/src/concepts/Point__.d.ts +0 -31
- package/out/src/concepts/Point__.js +0 -78
- package/out/src/concepts/Point__.js.map +0 -1
- package/out/src/concepts/ProcessComponent__.d.ts +0 -219
- package/out/src/concepts/ProcessComponent__.js +0 -336
- package/out/src/concepts/ProcessComponent__.js.map +0 -1
- package/out/src/concepts/ProcessElement__.d.ts +0 -646
- package/out/src/concepts/ProcessElement__.js +0 -1212
- package/out/src/concepts/ProcessElement__.js.map +0 -1
- package/out/src/concepts/ProcessOutcome__.d.ts +0 -31
- package/out/src/concepts/ProcessOutcome__.js +0 -90
- package/out/src/concepts/ProcessOutcome__.js.map +0 -1
- package/out/src/concepts/ProcessOutcomes__.d.ts +0 -31
- package/out/src/concepts/ProcessOutcomes__.js +0 -90
- package/out/src/concepts/ProcessOutcomes__.js.map +0 -1
- package/out/src/concepts/Process__.d.ts +0 -616
- package/out/src/concepts/Process__.js +0 -1023
- package/out/src/concepts/Process__.js.map +0 -1
- package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -51
- package/out/src/concepts/QueryAggregateExpression__.js +0 -147
- package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
- package/out/src/concepts/QueryFieldExpression__.d.ts +0 -53
- package/out/src/concepts/QueryFieldExpression__.js +0 -158
- package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
- package/out/src/concepts/QueryFromExpression__.d.ts +0 -96
- package/out/src/concepts/QueryFromExpression__.js +0 -195
- package/out/src/concepts/QueryFromExpression__.js.map +0 -1
- package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
- package/out/src/concepts/QueryGroupByExpression__.js +0 -142
- package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
- package/out/src/concepts/QueryJoinExpression__.d.ts +0 -183
- package/out/src/concepts/QueryJoinExpression__.js +0 -315
- package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
- package/out/src/concepts/QueryLimitExpression__.d.ts +0 -57
- package/out/src/concepts/QueryLimitExpression__.js +0 -159
- package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
- package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -68
- package/out/src/concepts/QueryOrderByExpression__.js +0 -172
- package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
- package/out/src/concepts/QuerySelectExpression__.d.ts +0 -203
- package/out/src/concepts/QuerySelectExpression__.js +0 -296
- package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
- package/out/src/concepts/Rect__.d.ts +0 -39
- package/out/src/concepts/Rect__.js +0 -92
- package/out/src/concepts/Rect__.js.map +0 -1
- package/out/src/concepts/Return__.d.ts +0 -133
- package/out/src/concepts/Return__.js +0 -348
- package/out/src/concepts/Return__.js.map +0 -1
- package/out/src/concepts/Role__.d.ts +0 -62
- package/out/src/concepts/Role__.js +0 -168
- package/out/src/concepts/Role__.js.map +0 -1
- package/out/src/concepts/SelectMembers__.d.ts +0 -142
- package/out/src/concepts/SelectMembers__.js +0 -293
- package/out/src/concepts/SelectMembers__.js.map +0 -1
- package/out/src/concepts/Slot__.d.ts +0 -74
- package/out/src/concepts/Slot__.js +0 -160
- package/out/src/concepts/Slot__.js.map +0 -1
- package/out/src/concepts/SqlQueryComponent__.d.ts +0 -70
- package/out/src/concepts/SqlQueryComponent__.js +0 -268
- package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/Start__.d.ts +0 -24
- package/out/src/concepts/Start__.js +0 -74
- package/out/src/concepts/Start__.js.map +0 -1
- package/out/src/concepts/StringInterpolation__.d.ts +0 -114
- package/out/src/concepts/StringInterpolation__.js +0 -242
- package/out/src/concepts/StringInterpolation__.js.map +0 -1
- package/out/src/concepts/StringLiteral__.d.ts +0 -37
- package/out/src/concepts/StringLiteral__.js +0 -135
- package/out/src/concepts/StringLiteral__.js.map +0 -1
- package/out/src/concepts/StructureProperty__.d.ts +0 -130
- package/out/src/concepts/StructureProperty__.js +0 -297
- package/out/src/concepts/StructureProperty__.js.map +0 -1
- package/out/src/concepts/Structure__.d.ts +0 -251
- package/out/src/concepts/Structure__.js +0 -444
- package/out/src/concepts/Structure__.js.map +0 -1
- package/out/src/concepts/SwitchCase__.d.ts +0 -93
- package/out/src/concepts/SwitchCase__.js +0 -232
- package/out/src/concepts/SwitchCase__.js.map +0 -1
- package/out/src/concepts/SwitchStatement__.d.ts +0 -83
- package/out/src/concepts/SwitchStatement__.js +0 -178
- package/out/src/concepts/SwitchStatement__.js.map +0 -1
- package/out/src/concepts/Theme__.d.ts +0 -37
- package/out/src/concepts/Theme__.js +0 -89
- package/out/src/concepts/Theme__.js.map +0 -1
- package/out/src/concepts/Transactional__.d.ts +0 -87
- package/out/src/concepts/Transactional__.js +0 -166
- package/out/src/concepts/Transactional__.js.map +0 -1
- package/out/src/concepts/TriggerEvent__.d.ts +0 -120
- package/out/src/concepts/TriggerEvent__.js +0 -222
- package/out/src/concepts/TriggerEvent__.js.map +0 -1
- package/out/src/concepts/TriggerLauncher__.d.ts +0 -88
- package/out/src/concepts/TriggerLauncher__.js +0 -235
- package/out/src/concepts/TriggerLauncher__.js.map +0 -1
- package/out/src/concepts/TypeAnnotation__.d.ts +0 -293
- package/out/src/concepts/TypeAnnotation__.js +0 -878
- package/out/src/concepts/TypeAnnotation__.js.map +0 -1
- package/out/src/concepts/TypeParam__.d.ts +0 -24
- package/out/src/concepts/TypeParam__.js +0 -73
- package/out/src/concepts/TypeParam__.js.map +0 -1
- package/out/src/concepts/UnaryExpression__.d.ts +0 -48
- package/out/src/concepts/UnaryExpression__.js +0 -175
- package/out/src/concepts/UnaryExpression__.js.map +0 -1
- package/out/src/concepts/Unparsed__.d.ts +0 -31
- package/out/src/concepts/Unparsed__.js +0 -94
- package/out/src/concepts/Unparsed__.js.map +0 -1
- package/out/src/concepts/UseComponent__.d.ts +0 -31
- package/out/src/concepts/UseComponent__.js +0 -78
- package/out/src/concepts/UseComponent__.js.map +0 -1
- package/out/src/concepts/ValidationRule__.d.ts +0 -147
- package/out/src/concepts/ValidationRule__.js +0 -480
- package/out/src/concepts/ValidationRule__.js.map +0 -1
- package/out/src/concepts/Variable__.d.ts +0 -153
- package/out/src/concepts/Variable__.js +0 -401
- package/out/src/concepts/Variable__.js.map +0 -1
- package/out/src/concepts/ViewBlock__.d.ts +0 -35
- package/out/src/concepts/ViewBlock__.js +0 -85
- package/out/src/concepts/ViewBlock__.js.map +0 -1
- package/out/src/concepts/ViewComponent__.d.ts +0 -565
- package/out/src/concepts/ViewComponent__.js +0 -758
- package/out/src/concepts/ViewComponent__.js.map +0 -1
- package/out/src/concepts/ViewElement__.d.ts +0 -604
- package/out/src/concepts/ViewElement__.js +0 -1910
- package/out/src/concepts/ViewElement__.js.map +0 -1
- package/out/src/concepts/View__.d.ts +0 -713
- package/out/src/concepts/View__.js +0 -1693
- package/out/src/concepts/View__.js.map +0 -1
- package/out/src/concepts/WhileStatement__.d.ts +0 -96
- package/out/src/concepts/WhileStatement__.js +0 -211
- package/out/src/concepts/WhileStatement__.js.map +0 -1
- package/out/src/concepts/basics/stdlib/index.d.ts +0 -4
- package/out/src/concepts/basics/stdlib/index.js +0 -29
- package/out/src/concepts/basics/stdlib/index.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.auth.js +0 -164
- package/out/src/concepts/basics/stdlib/nasl.auth.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.browser.js +0 -96
- package/out/src/concepts/basics/stdlib/nasl.browser.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -52
- package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.configuration.js +0 -33
- package/out/src/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.core.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/nasl.core.js +0 -49
- package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.http.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.http.js +0 -167
- package/out/src/concepts/basics/stdlib/nasl.http.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.interface.js +0 -43
- package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.io.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.io.js +0 -52
- package/out/src/concepts/basics/stdlib/nasl.io.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.logging.js +0 -56
- package/out/src/concepts/basics/stdlib/nasl.logging.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.process.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.process.js +0 -638
- package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -1018
- package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.util.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.util.js +0 -2238
- package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.validation.js +0 -565
- package/out/src/concepts/basics/stdlib/nasl.validation.js.map +0 -1
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
- package/out/src/concepts/basics/types/coreTypeList.d.ts +0 -2
- package/out/src/concepts/basics/types/coreTypeList.js +0 -15
- package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
- package/out/src/concepts/basics/types/index.d.ts +0 -16
- package/out/src/concepts/basics/types/index.js +0 -35
- package/out/src/concepts/basics/types/index.js.map +0 -1
- package/out/src/concepts/index.d.ts +0 -6
- package/out/src/concepts/index.js +0 -25
- package/out/src/concepts/index.js.map +0 -1
- package/out/src/concepts/index__.d.ts +0 -122
- package/out/src/concepts/index__.js +0 -139
- package/out/src/concepts/index__.js.map +0 -1
- package/out/src/concepts/types__.d.ts +0 -124
- package/out/src/concepts/types__.js +0 -3
- package/out/src/concepts/types__.js.map +0 -1
- package/out/src/config.d.ts +0 -43
- package/out/src/config.js +0 -72
- package/out/src/config.js.map +0 -1
- package/out/src/decorators/index.d.ts +0 -55
- package/out/src/decorators/index.js +0 -153
- package/out/src/decorators/index.js.map +0 -1
- package/out/src/enums/KEYWORDS.d.ts +0 -6
- package/out/src/enums/KEYWORDS.js +0 -1244
- package/out/src/enums/KEYWORDS.js.map +0 -1
- package/out/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
- package/out/src/enums/LEVEL_NAME_MAP.js +0 -30
- package/out/src/enums/LEVEL_NAME_MAP.js.map +0 -1
- package/out/src/eventBus.d.ts +0 -3
- package/out/src/eventBus.js +0 -7
- package/out/src/eventBus.js.map +0 -1
- package/out/src/generator/compileComponent.d.ts +0 -11
- package/out/src/generator/compileComponent.js +0 -12
- package/out/src/generator/compileComponent.js.map +0 -1
- package/out/src/generator/genBundleFiles.d.ts +0 -31
- package/out/src/generator/genBundleFiles.js +0 -432
- package/out/src/generator/genBundleFiles.js.map +0 -1
- package/out/src/generator/genHash.d.ts +0 -7
- package/out/src/generator/genHash.js +0 -39
- package/out/src/generator/genHash.js.map +0 -1
- package/out/src/generator/genMetaData.d.ts +0 -31
- package/out/src/generator/genMetaData.js +0 -274
- package/out/src/generator/genMetaData.js.map +0 -1
- package/out/src/generator/genReleaseBody.d.ts +0 -70
- package/out/src/generator/genReleaseBody.js +0 -268
- package/out/src/generator/genReleaseBody.js.map +0 -1
- package/out/src/generator/icestark.d.ts +0 -2
- package/out/src/generator/icestark.js +0 -48
- package/out/src/generator/icestark.js.map +0 -1
- package/out/src/generator/index.d.ts +0 -7
- package/out/src/generator/index.js +0 -24
- package/out/src/generator/index.js.map +0 -1
- package/out/src/generator/microApp.d.ts +0 -2
- package/out/src/generator/microApp.js +0 -35
- package/out/src/generator/microApp.js.map +0 -1
- package/out/src/generator/permission.d.ts +0 -10
- package/out/src/generator/permission.js +0 -267
- package/out/src/generator/permission.js.map +0 -1
- package/out/src/generator/qiankun.d.ts +0 -2
- package/out/src/generator/qiankun.js +0 -52
- package/out/src/generator/qiankun.js.map +0 -1
- package/out/src/generator/styleReplacer.d.ts +0 -3
- package/out/src/generator/styleReplacer.js +0 -71
- package/out/src/generator/styleReplacer.js.map +0 -1
- package/out/src/index.d.ts +0 -14
- package/out/src/index.js +0 -65
- package/out/src/index.js.map +0 -1
- package/out/src/manager/diagnostic.d.ts +0 -35
- package/out/src/manager/diagnostic.js +0 -63
- package/out/src/manager/diagnostic.js.map +0 -1
- package/out/src/manager/stepRecorder.d.ts +0 -20
- package/out/src/manager/stepRecorder.js +0 -110
- package/out/src/manager/stepRecorder.js.map +0 -1
- package/out/src/sentry/index.d.ts +0 -33
- package/out/src/sentry/index.js +0 -141
- package/out/src/sentry/index.js.map +0 -1
- package/out/src/server/createUiTs.d.ts +0 -16
- package/out/src/server/createUiTs.js +0 -248
- package/out/src/server/createUiTs.js.map +0 -1
- package/out/src/server/entity2LogicNamespace.d.ts +0 -10
- package/out/src/server/entity2LogicNamespace.js +0 -380
- package/out/src/server/entity2LogicNamespace.js.map +0 -1
- package/out/src/server/event.d.ts +0 -18
- package/out/src/server/event.js +0 -127
- package/out/src/server/event.js.map +0 -1
- package/out/src/server/extendBaseNode.d.ts +0 -1
- package/out/src/server/extendBaseNode.js +0 -528
- package/out/src/server/extendBaseNode.js.map +0 -1
- package/out/src/server/formatTsUtils.d.ts +0 -37
- package/out/src/server/formatTsUtils.js +0 -857
- package/out/src/server/formatTsUtils.js.map +0 -1
- package/out/src/server/getConnector.d.ts +0 -11
- package/out/src/server/getConnector.js +0 -42
- package/out/src/server/getConnector.js.map +0 -1
- package/out/src/server/getExtensionModules.d.ts +0 -3
- package/out/src/server/getExtensionModules.js +0 -34
- package/out/src/server/getExtensionModules.js.map +0 -1
- package/out/src/server/getFunctions.d.ts +0 -3
- package/out/src/server/getFunctions.js +0 -20
- package/out/src/server/getFunctions.js.map +0 -1
- package/out/src/server/getInterfaces.d.ts +0 -2
- package/out/src/server/getInterfaces.js +0 -48
- package/out/src/server/getInterfaces.js.map +0 -1
- package/out/src/server/getLogging.d.ts +0 -1
- package/out/src/server/getLogging.js +0 -9
- package/out/src/server/getLogging.js.map +0 -1
- package/out/src/server/getLogics.d.ts +0 -4
- package/out/src/server/getLogics.js +0 -335
- package/out/src/server/getLogics.js.map +0 -1
- package/out/src/server/getMemberIdentifier.d.ts +0 -16
- package/out/src/server/getMemberIdentifier.js +0 -317
- package/out/src/server/getMemberIdentifier.js.map +0 -1
- package/out/src/server/getProcessComponents.d.ts +0 -2
- package/out/src/server/getProcessComponents.js +0 -13
- package/out/src/server/getProcessComponents.js.map +0 -1
- package/out/src/server/getProcesses.d.ts +0 -33
- package/out/src/server/getProcesses.js +0 -605
- package/out/src/server/getProcesses.js.map +0 -1
- package/out/src/server/getScope.d.ts +0 -13
- package/out/src/server/getScope.js +0 -61
- package/out/src/server/getScope.js.map +0 -1
- package/out/src/server/getValidates.d.ts +0 -3
- package/out/src/server/getValidates.js +0 -14
- package/out/src/server/getValidates.js.map +0 -1
- package/out/src/server/index.d.ts +0 -5
- package/out/src/server/index.js +0 -41
- package/out/src/server/index.js.map +0 -1
- package/out/src/server/naslServer.d.ts +0 -357
- package/out/src/server/naslServer.js +0 -4369
- package/out/src/server/naslServer.js.map +0 -1
- package/out/src/server/naslStdlibMap.d.ts +0 -2
- package/out/src/server/naslStdlibMap.js +0 -50
- package/out/src/server/naslStdlibMap.js.map +0 -1
- package/out/src/server/process2LogicNamespace.d.ts +0 -26
- package/out/src/server/process2LogicNamespace.js +0 -109
- package/out/src/server/process2LogicNamespace.js.map +0 -1
- package/out/src/server/translator.d.ts +0 -26
- package/out/src/server/translator.js +0 -805
- package/out/src/server/translator.js.map +0 -1
- package/out/src/service/creator/add.configs.d.ts +0 -1
- package/out/src/service/creator/add.configs.js +0 -74
- package/out/src/service/creator/add.configs.js.map +0 -1
- package/out/src/service/creator/errHandles.d.ts +0 -18
- package/out/src/service/creator/errHandles.js +0 -75
- package/out/src/service/creator/errHandles.js.map +0 -1
- package/out/src/service/creator/index.d.ts +0 -1
- package/out/src/service/creator/index.js +0 -74
- package/out/src/service/creator/index.js.map +0 -1
- package/out/src/service/datasource/api.d.ts +0 -12
- package/out/src/service/datasource/api.js +0 -14
- package/out/src/service/datasource/api.js.map +0 -1
- package/out/src/service/datasource/index.d.ts +0 -2
- package/out/src/service/datasource/index.js +0 -10
- package/out/src/service/datasource/index.js.map +0 -1
- package/out/src/service/defaultErrorMessage.json +0 -98
- package/out/src/service/logic/api.d.ts +0 -9
- package/out/src/service/logic/api.js +0 -11
- package/out/src/service/logic/api.js.map +0 -1
- package/out/src/service/logic/checktypeSocket.d.ts +0 -5
- package/out/src/service/logic/checktypeSocket.js +0 -55
- package/out/src/service/logic/checktypeSocket.js.map +0 -1
- package/out/src/service/logic/index.d.ts +0 -2
- package/out/src/service/logic/index.js +0 -10
- package/out/src/service/logic/index.js.map +0 -1
- package/out/src/service/storage/api.d.ts +0 -54
- package/out/src/service/storage/api.js +0 -42
- package/out/src/service/storage/api.js.map +0 -1
- package/out/src/service/storage/index.d.ts +0 -2
- package/out/src/service/storage/index.js +0 -10
- package/out/src/service/storage/index.js.map +0 -1
- package/out/src/service/storage/init.d.ts +0 -68
- package/out/src/service/storage/init.js +0 -784
- package/out/src/service/storage/init.js.map +0 -1
- package/out/src/service/storage/jsoner.d.ts +0 -36
- package/out/src/service/storage/jsoner.js +0 -131
- package/out/src/service/storage/jsoner.js.map +0 -1
- package/out/src/service/storage/map.d.ts +0 -4
- package/out/src/service/storage/map.js +0 -54
- package/out/src/service/storage/map.js.map +0 -1
- package/out/src/service/storage/service.d.ts +0 -25
- package/out/src/service/storage/service.js +0 -80
- package/out/src/service/storage/service.js.map +0 -1
- package/out/src/service/storage/storagePoint.d.ts +0 -17
- package/out/src/service/storage/storagePoint.js +0 -76
- package/out/src/service/storage/storagePoint.js.map +0 -1
- package/out/src/service/video/BaseService.d.ts +0 -7
- package/out/src/service/video/BaseService.js +0 -61
- package/out/src/service/video/BaseService.js.map +0 -1
- package/out/src/service/video/MainCallbackService.d.ts +0 -12
- package/out/src/service/video/MainCallbackService.js +0 -183
- package/out/src/service/video/MainCallbackService.js.map +0 -1
- package/out/src/service/video/VideoTranscribe.d.ts +0 -15
- package/out/src/service/video/VideoTranscribe.js +0 -96
- package/out/src/service/video/VideoTranscribe.js.map +0 -1
- package/out/src/service/video/publishService.d.ts +0 -1
- package/out/src/service/video/publishService.js +0 -58
- package/out/src/service/video/publishService.js.map +0 -1
- package/out/src/templator/genCallComponentLogic.d.ts +0 -17
- package/out/src/templator/genCallComponentLogic.js +0 -30
- package/out/src/templator/genCallComponentLogic.js.map +0 -1
- package/out/src/templator/genCreateBlock.d.ts +0 -10
- package/out/src/templator/genCreateBlock.js +0 -336
- package/out/src/templator/genCreateBlock.js.map +0 -1
- package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
- package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -514
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genCurdMultipleKeyBlock.d.ts +0 -34
- package/out/src/templator/genCurdMultipleKeyBlock.js +0 -707
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genEditTableBlock.d.ts +0 -51
- package/out/src/templator/genEditTableBlock.js +0 -299
- package/out/src/templator/genEditTableBlock.js.map +0 -1
- package/out/src/templator/genEnumSelectBlock.d.ts +0 -10
- package/out/src/templator/genEnumSelectBlock.js +0 -26
- package/out/src/templator/genEnumSelectBlock.js.map +0 -1
- package/out/src/templator/genGetBlock.d.ts +0 -6
- package/out/src/templator/genGetBlock.js +0 -138
- package/out/src/templator/genGetBlock.js.map +0 -1
- package/out/src/templator/genGridViewBlock.d.ts +0 -55
- package/out/src/templator/genGridViewBlock.js +0 -350
- package/out/src/templator/genGridViewBlock.js.map +0 -1
- package/out/src/templator/genListViewBlock.d.ts +0 -19
- package/out/src/templator/genListViewBlock.js +0 -143
- package/out/src/templator/genListViewBlock.js.map +0 -1
- package/out/src/templator/genQueryComponent.d.ts +0 -34
- package/out/src/templator/genQueryComponent.js +0 -342
- package/out/src/templator/genQueryComponent.js.map +0 -1
- package/out/src/templator/genSelectBlock.d.ts +0 -45
- package/out/src/templator/genSelectBlock.js +0 -406
- package/out/src/templator/genSelectBlock.js.map +0 -1
- package/out/src/templator/genTableBlock.d.ts +0 -53
- package/out/src/templator/genTableBlock.js +0 -280
- package/out/src/templator/genTableBlock.js.map +0 -1
- package/out/src/templator/genUpdateBlock.d.ts +0 -6
- package/out/src/templator/genUpdateBlock.js +0 -378
- package/out/src/templator/genUpdateBlock.js.map +0 -1
- package/out/src/templator/index.d.ts +0 -17
- package/out/src/templator/index.js +0 -38
- package/out/src/templator/index.js.map +0 -1
- package/out/src/templator/utils.d.ts +0 -676
- package/out/src/templator/utils.js +0 -459
- package/out/src/templator/utils.js.map +0 -1
- package/out/src/test/fixtures/env.d.ts +0 -5
- package/out/src/test/fixtures/env.js +0 -20
- package/out/src/test/fixtures/env.js.map +0 -1
- package/out/src/test/integration/connect-create-file.d.ts +0 -1
- package/out/src/test/integration/connect-create-file.js +0 -39
- package/out/src/test/integration/connect-create-file.js.map +0 -1
- package/out/src/test/integration/connect-file.d.ts +0 -1
- package/out/src/test/integration/connect-file.js +0 -49
- package/out/src/test/integration/connect-file.js.map +0 -1
- package/out/src/test/integration/node-nasl-server.d.ts +0 -1
- package/out/src/test/integration/node-nasl-server.js +0 -13
- package/out/src/test/integration/node-nasl-server.js.map +0 -1
- package/out/src/test/units/baseTypes/Assignment.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/Assignment.spec.js +0 -43
- package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/CallLogic.spec.js +0 -44
- package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
- package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/new.spec.js +0 -37
- package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
- package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
- package/out/src/test/units/common/Vertex.spec.js +0 -22
- package/out/src/test/units/common/Vertex.spec.js.map +0 -1
- package/out/src/test/units/data/Entity.spec.d.ts +0 -1
- package/out/src/test/units/data/Entity.spec.js +0 -12
- package/out/src/test/units/data/Entity.spec.js.map +0 -1
- package/out/src/test/units/login.spec.d.ts +0 -1
- package/out/src/test/units/login.spec.js +0 -12
- package/out/src/test/units/login.spec.js.map +0 -1
- package/out/src/test/units/page/Block.spec.d.ts +0 -0
- package/out/src/test/units/page/Block.spec.js +0 -13
- package/out/src/test/units/page/Block.spec.js.map +0 -1
- package/out/src/test/units/page/Element.spec.d.ts +0 -1
- package/out/src/test/units/page/Element.spec.js +0 -44
- package/out/src/test/units/page/Element.spec.js.map +0 -1
- package/out/src/test/units/temp/temp.spec.d.ts +0 -1
- package/out/src/test/units/temp/temp.spec.js +0 -68
- package/out/src/test/units/temp/temp.spec.js.map +0 -1
- package/out/src/translator/index.d.ts +0 -48
- package/out/src/translator/index.js +0 -114
- package/out/src/translator/index.js.map +0 -1
- package/out/src/translator/lsp.d.ts +0 -45
- package/out/src/translator/lsp.js +0 -6
- package/out/src/translator/lsp.js.map +0 -1
- package/out/src/translator/tsp.d.ts +0 -12
- package/out/src/translator/tsp.js +0 -3
- package/out/src/translator/tsp.js.map +0 -1
- package/out/src/utils/index.d.ts +0 -39
- package/out/src/utils/index.js +0 -191
- package/out/src/utils/index.js.map +0 -1
- package/out/src/utils/logger.d.ts +0 -3
- package/out/src/utils/logger.js +0 -11
- package/out/src/utils/logger.js.map +0 -1
- package/out/src/utils/sortTsString.d.ts +0 -1
- package/out/src/utils/sortTsString.js +0 -36
- package/out/src/utils/sortTsString.js.map +0 -1
- package/out/src/utils/string.d.ts +0 -51
- package/out/src/utils/string.js +0 -110
- package/out/src/utils/string.js.map +0 -1
- package/out/src/utils/traverse.d.ts +0 -36
- package/out/src/utils/traverse.js +0 -145
- package/out/src/utils/traverse.js.map +0 -1
- package/out/test/concepts/utils.d.ts +0 -2
- package/out/test/concepts/utils.js +0 -20
- package/out/test/concepts/utils.js.map +0 -1
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js +0 -23
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js.map +0 -1
- package/out/test/setup.d.ts +0 -1
- package/out/test/setup.js +0 -6
- package/out/test/setup.js.map +0 -1
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.combineScope = exports.getProcessScopeWords = exports.getViewScopeWords = exports.getLogicScopeWords = void 0;
|
|
4
|
-
function getLogicScopeWords(logic) {
|
|
5
|
-
const scope = {
|
|
6
|
-
Param: logic.params?.map((p) => p.name) ?? [],
|
|
7
|
-
Return: logic.returns?.map((p) => p.name) ?? [],
|
|
8
|
-
Variable: logic.variables?.map((p) => p.name) ?? [],
|
|
9
|
-
Constant: [],
|
|
10
|
-
Logic: [],
|
|
11
|
-
};
|
|
12
|
-
return scope;
|
|
13
|
-
}
|
|
14
|
-
exports.getLogicScopeWords = getLogicScopeWords;
|
|
15
|
-
function getViewScopeWords(view) {
|
|
16
|
-
const scope = {
|
|
17
|
-
Param: view.params.map((p) => p.name),
|
|
18
|
-
Variable: view.variables.map((p) => p.name),
|
|
19
|
-
Return: [],
|
|
20
|
-
Constant: [],
|
|
21
|
-
Logic: view.logics.map((l) => l.name),
|
|
22
|
-
};
|
|
23
|
-
return scope;
|
|
24
|
-
}
|
|
25
|
-
exports.getViewScopeWords = getViewScopeWords;
|
|
26
|
-
function getProcessScopeWords(process) {
|
|
27
|
-
const processName = process.name;
|
|
28
|
-
const scope = {
|
|
29
|
-
Param: process.params.map((p) => `${processName}.${p.name}`),
|
|
30
|
-
Return: process.returns.map((p) => `${processName}.${p.name}`),
|
|
31
|
-
Constant: process.constants.map((p) => `${processName}.${p.name}`),
|
|
32
|
-
Variable: [],
|
|
33
|
-
Logic: [],
|
|
34
|
-
};
|
|
35
|
-
process.elements.forEach((el) => {
|
|
36
|
-
const elname = el.name;
|
|
37
|
-
el.variables.forEach((v) => {
|
|
38
|
-
scope.Variable.push(`${processName}.${elname}.${v.name}`);
|
|
39
|
-
});
|
|
40
|
-
el.returns.forEach((v) => {
|
|
41
|
-
scope.Return.push(`${processName}.${elname}.${v.name}`);
|
|
42
|
-
});
|
|
43
|
-
el.constants.forEach((v) => {
|
|
44
|
-
scope.Constant.push(`${processName}.${elname}.${v.name}`);
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
return scope;
|
|
48
|
-
}
|
|
49
|
-
exports.getProcessScopeWords = getProcessScopeWords;
|
|
50
|
-
function combineScope(a, b) {
|
|
51
|
-
const scope = {
|
|
52
|
-
Param: [...a.Param, ...b.Param],
|
|
53
|
-
Return: [...a.Return, ...b.Return],
|
|
54
|
-
Constant: [...a.Constant, ...b.Constant],
|
|
55
|
-
Variable: [...a.Variable, ...b.Variable],
|
|
56
|
-
Logic: [...a.Logic, ...b.Logic],
|
|
57
|
-
};
|
|
58
|
-
return scope;
|
|
59
|
-
}
|
|
60
|
-
exports.combineScope = combineScope;
|
|
61
|
-
//# sourceMappingURL=getScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getScope.js","sourceRoot":"","sources":["../../../src/server/getScope.ts"],"names":[],"mappings":";;;AAUA,SAAgB,kBAAkB,CAAC,KAAY;IAC3C,MAAM,KAAK,GAAc;QACrB,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;QAC7C,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;QAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;QACnD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,EAAE;KACZ,CAAC;IAEF,OAAO,KAAK,CAAC;AACjB,CAAC;AAVD,gDAUC;AAED,SAAgB,iBAAiB,CAAC,IAAU;IACxC,MAAM,KAAK,GAAc;QACrB,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QACrC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3C,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;KACxC,CAAC;IACF,OAAO,KAAK,CAAC;AACjB,CAAC;AATD,8CASC;AAED,SAAgB,oBAAoB,CAAC,OAAgB;IACjD,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IACjC,MAAM,KAAK,GAAc;QACrB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5D,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9D,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAClE,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,EAAE;KACZ,CAAC;IAEF,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;QAC5B,MAAM,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC;QACvB,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACvB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,IAAI,MAAM,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QAC9D,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACrB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,WAAW,IAAI,MAAM,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACvB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,IAAI,MAAM,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QAC9D,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACjB,CAAC;AAvBD,oDAuBC;AAED,SAAgB,YAAY,CAAC,CAAY,EAAE,CAAY;IACnD,MAAM,KAAK,GAAc;QACrB,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC;QAC/B,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC;QAClC,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC;QACxC,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC;QACxC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC;KAClC,CAAC;IACF,OAAO,KAAK,CAAC;AACjB,CAAC;AATD,oCASC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getValidateFunction = exports.getValidates = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
function getValidates(node) {
|
|
6
|
-
return __1.stdlibNamespace.findChild('validation');
|
|
7
|
-
}
|
|
8
|
-
exports.getValidates = getValidates;
|
|
9
|
-
function getValidateFunction(name) {
|
|
10
|
-
const utilFunctions = getValidates().functions;
|
|
11
|
-
return utilFunctions.find((f) => f.name === name);
|
|
12
|
-
}
|
|
13
|
-
exports.getValidateFunction = getValidateFunction;
|
|
14
|
-
//# sourceMappingURL=getValidates.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getValidates.js","sourceRoot":"","sources":["../../../src/server/getValidates.ts"],"names":[],"mappings":";;;AAAA,0BAAmD;AAEnD,SAAgB,YAAY,CAAC,IAAmB;IAC5C,OAAO,mBAAe,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAFD,oCAEC;AAED,SAAgB,mBAAmB,CAAC,IAAY;IAC5C,MAAM,aAAa,GAAG,YAAY,EAAE,CAAC,SAAS,CAAC;IAC/C,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACtD,CAAC;AAHD,kDAGC"}
|
package/out/src/server/index.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NaslServer = void 0;
|
|
4
|
-
const getLogics_1 = require("./getLogics");
|
|
5
|
-
const getConnector_1 = require("./getConnector");
|
|
6
|
-
const getInterfaces_1 = require("./getInterfaces");
|
|
7
|
-
const getFunctions_1 = require("./getFunctions");
|
|
8
|
-
const getLogging_1 = require("./getLogging");
|
|
9
|
-
const getValidates_1 = require("./getValidates");
|
|
10
|
-
const getProcessComponents_1 = require("./getProcessComponents");
|
|
11
|
-
const getMemberIdentifier_1 = require("./getMemberIdentifier");
|
|
12
|
-
const naslServer_1 = require("./naslServer");
|
|
13
|
-
require("./extendBaseNode");
|
|
14
|
-
const createUiTs_1 = require("./createUiTs");
|
|
15
|
-
const formatTsUtils_1 = require("./formatTsUtils");
|
|
16
|
-
const server = {
|
|
17
|
-
getLogics: getLogics_1.getLogics,
|
|
18
|
-
iteratorTree: getLogics_1.iteratorTree,
|
|
19
|
-
getInterfaces: getInterfaces_1.getInterfaces,
|
|
20
|
-
getFunctions: getFunctions_1.getFunctions,
|
|
21
|
-
getBuildInFunction: getFunctions_1.getBuildInFunction,
|
|
22
|
-
getProcessComponents: getProcessComponents_1.getProcessComponents,
|
|
23
|
-
getProcessComponent: getProcessComponents_1.getProcessComponent,
|
|
24
|
-
getMemberIdentifier: getMemberIdentifier_1.getMemberIdentifier,
|
|
25
|
-
getValidates: getValidates_1.getValidates,
|
|
26
|
-
getValidateFunction: getValidates_1.getValidateFunction,
|
|
27
|
-
getSelectNextCompletionData: getMemberIdentifier_1.getSelectNextCompletionData,
|
|
28
|
-
getVariableIdentifier: getMemberIdentifier_1.getVariableIdentifier,
|
|
29
|
-
getEnumsIdentifier: getMemberIdentifier_1.getEnumsIdentifier,
|
|
30
|
-
getGlobalVariableIdentifier: getMemberIdentifier_1.getGlobalVariableIdentifier,
|
|
31
|
-
getLiteralsIdentifier: getMemberIdentifier_1.getLiteralsIdentifier,
|
|
32
|
-
getAllComponentEventMap: createUiTs_1.getAllComponentEventMap,
|
|
33
|
-
getLogging: getLogging_1.getLogging,
|
|
34
|
-
displayString2TypeAnnotation: formatTsUtils_1.displayString2TypeAnnotation,
|
|
35
|
-
getConfigsIdentifier: getMemberIdentifier_1.getConfigsIdentifier,
|
|
36
|
-
getConnectors: getConnector_1.getConnectors,
|
|
37
|
-
getConnectorTree: getConnector_1.getConnectorTree,
|
|
38
|
-
};
|
|
39
|
-
exports.default = server;
|
|
40
|
-
exports.NaslServer = naslServer_1.NaslServer;
|
|
41
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/server/index.ts"],"names":[],"mappings":";;;AAAA,2CAAsD;AACtD,iDAAiE;AACjE,mDAAgD;AAChD,iDAAkE;AAClE,6CAA0C;AAC1C,iDAAmE;AACnE,iEAAmF;AACnF,+DAQ+B;AAC/B,6CAA6D;AAC7D,4BAA0B;AAC1B,6CAAuD;AACvD,mDAA+D;AAC/D,MAAM,MAAM,GAAQ;IAChB,SAAS,EAAT,qBAAS;IACT,YAAY,EAAZ,wBAAY;IACZ,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,kBAAkB,EAAlB,iCAAkB;IAClB,oBAAoB,EAApB,2CAAoB;IACpB,mBAAmB,EAAnB,0CAAmB;IACnB,mBAAmB,EAAnB,yCAAmB;IACnB,YAAY,EAAZ,2BAAY;IACZ,mBAAmB,EAAnB,kCAAmB;IACnB,2BAA2B,EAA3B,iDAA2B;IAC3B,qBAAqB,EAArB,2CAAqB;IACrB,kBAAkB,EAAlB,wCAAkB;IAClB,2BAA2B,EAA3B,iDAA2B;IAC3B,qBAAqB,EAArB,2CAAqB;IACrB,uBAAuB,EAAvB,oCAAuB;IACvB,UAAU,EAAV,uBAAU;IACV,4BAA4B,EAA5B,4CAA4B;IAC5B,oBAAoB,EAApB,0CAAoB;IACpB,aAAa,EAAb,4BAAa;IACb,gBAAgB,EAAhB,+BAAgB;CACnB,CAAC;AACF,kBAAe,MAAM,CAAC;AACT,QAAA,UAAU,GAAG,uBAAe,CAAC"}
|
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Worker } from 'worker_threads';
|
|
3
|
-
import Messager from '../common/Messager';
|
|
4
|
-
import * as tsProtocol from 'typescript/lib/protocol';
|
|
5
|
-
import { Module, BaseNode, App, Structure, Logic, TypeAnnotation, View, Param, Argument, ViewElement, Connector } from '../concepts';
|
|
6
|
-
import { SourceMap, SourceMapItem } from '../translator';
|
|
7
|
-
import { MinRange } from './translator';
|
|
8
|
-
import { EventPayload } from '../common';
|
|
9
|
-
import { DiagnosticRecord, Diagnostic, DiagnosticManager } from '../manager/diagnostic';
|
|
10
|
-
import { EventEmitter } from '../common/EventEmitter';
|
|
11
|
-
export interface FileNode extends BaseNode {
|
|
12
|
-
getEmbeddedFilePath(name?: string): string;
|
|
13
|
-
toEmbeddedTSFile(): {
|
|
14
|
-
code: string;
|
|
15
|
-
filePath: string;
|
|
16
|
-
sourceMap: SourceMap;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
interface RenameMinRange extends MinRange {
|
|
20
|
-
newValue?: any;
|
|
21
|
-
setTypeMethods?: string;
|
|
22
|
-
}
|
|
23
|
-
interface QuoteNode {
|
|
24
|
-
icon: any;
|
|
25
|
-
node: BaseNode;
|
|
26
|
-
expanded: boolean;
|
|
27
|
-
children?: QuoteNode[];
|
|
28
|
-
}
|
|
29
|
-
declare type QuickInfoNodes = Array<{
|
|
30
|
-
filePath: string;
|
|
31
|
-
node: BaseNode;
|
|
32
|
-
item: SourceMapItem;
|
|
33
|
-
}>;
|
|
34
|
-
export declare function getDisplayString2Type(displayString: string): string[];
|
|
35
|
-
declare class NaslServer {
|
|
36
|
-
messager: Messager;
|
|
37
|
-
worker: Worker;
|
|
38
|
-
/**
|
|
39
|
-
* 按道理 fileSourceMap: new Map<string, SourceMap>() 比较合理,
|
|
40
|
-
* 但是要多维护一层 vertex 增删 -> file 增删的关系问题,
|
|
41
|
-
* 先用挂在点上面,简单的方法实现,后期再考虑解耦
|
|
42
|
-
*/
|
|
43
|
-
file2NodeMap: Map<string, BaseNode>;
|
|
44
|
-
elementsLogic: {
|
|
45
|
-
[elementLogicName: string]: Array<Logic>;
|
|
46
|
-
};
|
|
47
|
-
diagnosticManager: DiagnosticManager;
|
|
48
|
-
embeddedTSEmitter: EventEmitter;
|
|
49
|
-
changeStackList: Array<EventPayload>;
|
|
50
|
-
filesToCheck: Set<string>;
|
|
51
|
-
singleFileChangeIng: Boolean;
|
|
52
|
-
logicSetWithComponentLogic: Set<string>;
|
|
53
|
-
constructor();
|
|
54
|
-
start(): Promise<unknown>;
|
|
55
|
-
terminate(): void;
|
|
56
|
-
createUiTs(allComponent: any): Promise<void>;
|
|
57
|
-
contentToFile(module: Module | App | Connector, results: Array<ReturnType<Structure['toEmbeddedTSFile']>>): void;
|
|
58
|
-
view2TSFile(viewsChildren: View[], results: Array<ReturnType<Structure['toEmbeddedTSFile']>>): void;
|
|
59
|
-
openApp(app: App): Promise<void>;
|
|
60
|
-
refreshApp(app: App): Promise<void>;
|
|
61
|
-
/**
|
|
62
|
-
* 初始化之前添加文件
|
|
63
|
-
*/
|
|
64
|
-
addFile(file: tsProtocol.OpenRequestArgs): Promise<unknown>;
|
|
65
|
-
/**u
|
|
66
|
-
* 只新增文件
|
|
67
|
-
* @param {*} files
|
|
68
|
-
*/
|
|
69
|
-
writeFiles(files: Array<tsProtocol.OpenRequestArgs>): Promise<unknown>;
|
|
70
|
-
/**
|
|
71
|
-
* 新增、修改
|
|
72
|
-
* 删除文件 文件用修改内容为空模拟,防止报错
|
|
73
|
-
* @param {*} args
|
|
74
|
-
*/
|
|
75
|
-
updateFiles(args: {
|
|
76
|
-
outputFiles: Array<tsProtocol.OpenRequestArgs>;
|
|
77
|
-
}): Promise<unknown>;
|
|
78
|
-
/**
|
|
79
|
-
* 清除一个目录下的所有文件
|
|
80
|
-
*/
|
|
81
|
-
deleteDirectoryFiles(args: {
|
|
82
|
-
directoryName: string;
|
|
83
|
-
}): Promise<unknown>;
|
|
84
|
-
_debugInFileStorage(node: BaseNode, openFiles: Array<tsProtocol.OpenRequestArgs>): Promise<void>;
|
|
85
|
-
open(): Promise<unknown>;
|
|
86
|
-
updateOpen(args: tsProtocol.UpdateOpenRequestArgs): Promise<unknown>;
|
|
87
|
-
fileReferences(filePath: string): Promise<unknown>;
|
|
88
|
-
references(args: tsProtocol.FileLocationRequestArgs): Promise<tsProtocol.ReferencesResponseBody>;
|
|
89
|
-
getValueSelectCompletion(node: BaseNode, value: string, noFilterList?: Array<string>): Promise<unknown>;
|
|
90
|
-
_getValueSelectCompletion(args: any): Promise<unknown>;
|
|
91
|
-
/**
|
|
92
|
-
* 获取 Convert 的可选类型
|
|
93
|
-
* @param node 传入当前已经选择的变量
|
|
94
|
-
* @returns 可以选择的类型数组
|
|
95
|
-
*/
|
|
96
|
-
getConvertTypeInfo(node: BaseNode): Promise<{
|
|
97
|
-
title: string;
|
|
98
|
-
children: TypeAnnotation[];
|
|
99
|
-
}[]>;
|
|
100
|
-
/**
|
|
101
|
-
* 获取表格的dataschema类型
|
|
102
|
-
* @param node 当前表格节点
|
|
103
|
-
* @param allType 是不是需要全部类型 默认不要
|
|
104
|
-
* @returns 全部类型的str 或者 最后一个.后的内容
|
|
105
|
-
*/
|
|
106
|
-
getDataSchemaType(node: BaseNode, allType?: boolean): Promise<string>;
|
|
107
|
-
getDataSchemaStructureOrTypeAnnotation(node: ViewElement): Promise<any>;
|
|
108
|
-
/**
|
|
109
|
-
* ts的 quickInfo方法,查询指定位置的详情
|
|
110
|
-
* @param args 文件信息数组
|
|
111
|
-
* @returns 查询到的
|
|
112
|
-
*/
|
|
113
|
-
_getTypeQuickinfo(args: any): {
|
|
114
|
-
responseRequired: boolean;
|
|
115
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
116
|
-
};
|
|
117
|
-
_getQuickInfoFull(args: Array<any>): {
|
|
118
|
-
responseRequired: boolean;
|
|
119
|
-
response: Array<tsProtocol.QuickInfoResponseBody>;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* 获取nasl节点的 指定位置的详情
|
|
123
|
-
* 而且可以返回正确类型
|
|
124
|
-
* @param args 文件信息数组
|
|
125
|
-
* @returns 查询到的
|
|
126
|
-
*/
|
|
127
|
-
getNaslNodeQuickInfoFull(args: Array<any>): Promise<{
|
|
128
|
-
responseRequired: boolean;
|
|
129
|
-
response: tsProtocol.QuickInfoResponseBody[];
|
|
130
|
-
}>;
|
|
131
|
-
_getTypeFull(args: Array<any>): {
|
|
132
|
-
responseRequired: boolean;
|
|
133
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
134
|
-
};
|
|
135
|
-
_getTypeBatch(args: Array<any>): {
|
|
136
|
-
responseRequired: boolean;
|
|
137
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
138
|
-
};
|
|
139
|
-
getNaslNodeTypeFull(args: Array<any>): Promise<{
|
|
140
|
-
responseRequired: boolean;
|
|
141
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
142
|
-
}>;
|
|
143
|
-
getNaslNodeTypeBatch(args: Array<any>): Promise<{
|
|
144
|
-
responseRequired: boolean;
|
|
145
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
146
|
-
}>;
|
|
147
|
-
/**
|
|
148
|
-
* 获取已经选中的内容的 下一级的内容
|
|
149
|
-
* @param node 已经选中的内容
|
|
150
|
-
* @param noFilterList 不过滤的key 的数据
|
|
151
|
-
* @returns 可以选择的数据数组
|
|
152
|
-
*/
|
|
153
|
-
getSelectNextCompletion(node: BaseNode, noFilterList?: Array<string>): Promise<unknown>;
|
|
154
|
-
_getSelectNextCompletion(args: any): Promise<unknown>;
|
|
155
|
-
/**
|
|
156
|
-
* 获取诊断信息
|
|
157
|
-
* @param fileNames 多个文件名
|
|
158
|
-
* @returns 诊断结果
|
|
159
|
-
*/
|
|
160
|
-
getDiagnosticRecords(fileNames?: Array<string>): Promise<Array<DiagnosticRecord>>;
|
|
161
|
-
getDiagnosticRecordsAndPushAll(fileNames?: Array<string>): Promise<void>;
|
|
162
|
-
/**
|
|
163
|
-
* 节点异常是只能挂载单个,如果已经了就不赋值了
|
|
164
|
-
*/
|
|
165
|
-
baseNodeAssignmentTsError(node: BaseNode, tsErrorDetail: Diagnostic): void;
|
|
166
|
-
/**
|
|
167
|
-
* 处理诊断结果
|
|
168
|
-
* @param records 结果
|
|
169
|
-
* @returns 过滤或者转换后的诊断结果
|
|
170
|
-
*/
|
|
171
|
-
_resolveDiagnosticRecords(records: Array<DiagnosticRecord>): Promise<DiagnosticRecord[]>;
|
|
172
|
-
/**
|
|
173
|
-
* 判断是否是Javalogic
|
|
174
|
-
*/
|
|
175
|
-
_isJavalogic(node: Logic): boolean;
|
|
176
|
-
/**
|
|
177
|
-
* 额外的建议诊断
|
|
178
|
-
* @param fileNode 文件级别的节点
|
|
179
|
-
* @returns 诊断结果
|
|
180
|
-
*/
|
|
181
|
-
_attachSuggestionDiagnostics(fileNode: BaseNode): Diagnostic[];
|
|
182
|
-
hasComponentLogics(expression: BaseNode): boolean;
|
|
183
|
-
/**
|
|
184
|
-
* 额外的诊断
|
|
185
|
-
* @param fileNode 文件级别的节点
|
|
186
|
-
* @returns 诊断结果
|
|
187
|
-
*/
|
|
188
|
-
_attachDiagnostics(fileNode: BaseNode): Diagnostic[];
|
|
189
|
-
checkNodeError(node: BaseNode, diagnostics: Diagnostic[]): any;
|
|
190
|
-
existStructureFix(semanticDiagnostics: Diagnostic[], node: FileNode, that: any): void;
|
|
191
|
-
/**
|
|
192
|
-
* 单个问题的诊断处理
|
|
193
|
-
* @param diagnostic 诊断问题
|
|
194
|
-
* @param fileNode 页面节点
|
|
195
|
-
* @returns 处理后的结果
|
|
196
|
-
*/
|
|
197
|
-
_resolveDiagnostic(diagnostic: tsProtocol.DiagnosticWithFileName, fileNode: FileNode, record: DiagnosticRecord): Diagnostic;
|
|
198
|
-
/**
|
|
199
|
-
* 通过节点诊断反过来查找节点
|
|
200
|
-
* @param diagnostic 诊断信息
|
|
201
|
-
* @param fileNode 文件级别节点
|
|
202
|
-
* @returns 找到的节点
|
|
203
|
-
*/
|
|
204
|
-
_findMinRange(diagnostic: tsProtocol.DiagnosticWithFileName | tsProtocol.ReferencesResponseItem, fileNode: FileNode): MinRange;
|
|
205
|
-
/**
|
|
206
|
-
* 查看当前节点是不是有引用
|
|
207
|
-
* @param node 节点
|
|
208
|
-
* @returns 查找到的数组
|
|
209
|
-
*/
|
|
210
|
-
_isHaveRef(node: BaseNode): Promise<tsProtocol.ReferencesResponseItem[]>;
|
|
211
|
-
/**
|
|
212
|
-
* 查找引用,并且做一些 修改前的准备工作,
|
|
213
|
-
* 有引用有的话,就返回集合
|
|
214
|
-
* @param node 当前重命名的节点
|
|
215
|
-
* @param newValue 传递过来的新值,给MemberExpression用的比较特殊
|
|
216
|
-
* 而且,这个新值不一定会用到,MemberExpression在批量更新的时候,可以取到新的value, 这里需要位置信息防止 a.a.a.a 中的一个a发生修改
|
|
217
|
-
* @returns 找到的引用
|
|
218
|
-
*/
|
|
219
|
-
_renamePrepare(node: BaseNode, refsList: any[], newValue: string): RenameMinRange[];
|
|
220
|
-
_addParamsEffect(refsList: any[], node: Param): void;
|
|
221
|
-
_addParamsPrepare(node: BaseNode, refsList: any[], needAdd?: boolean): BaseNode;
|
|
222
|
-
findReferences(node: BaseNode): Promise<Map<any, any>>;
|
|
223
|
-
nodeFindRefNodes(node: BaseNode): Promise<BaseNode[]>;
|
|
224
|
-
_getTreeMap(minRange: MinRange, fileNode: BaseNode, resMap: Map<BaseNode, Array<Array<QuoteNode>>>, nodeMap: Map<BaseNode, QuoteNode>): void;
|
|
225
|
-
handleTreeMap(resMap: Map<BaseNode, Array<Array<QuoteNode>>>): Map<any, any>;
|
|
226
|
-
/**
|
|
227
|
-
* 处理tree的队列,把相同节点进行合并
|
|
228
|
-
* 这里把当前二维数组进行一个整合
|
|
229
|
-
* @param arr 当前页面下的queue的二维数组,一个数组下有多条链路
|
|
230
|
-
* @returns 最后要使用到的节点和对应的子集
|
|
231
|
-
*/
|
|
232
|
-
handleTreeQueue(queueLists: Array<Array<QuoteNode>>): QuoteNode;
|
|
233
|
-
/**
|
|
234
|
-
* 递归调用输出结果
|
|
235
|
-
* @param root 一个根节点
|
|
236
|
-
* @param map 当前所有节点的map对象
|
|
237
|
-
* @returns 当前节点,最后输出所有节点
|
|
238
|
-
*/
|
|
239
|
-
_recursionCreateResult(root: QuoteNode, map: Map<QuoteNode, Array<QuoteNode>>): QuoteNode;
|
|
240
|
-
/**
|
|
241
|
-
* 获取
|
|
242
|
-
* 当前this上下文 的Source 和 父级文件级别的节点
|
|
243
|
-
*/
|
|
244
|
-
getCurrentSource(node: BaseNode): {
|
|
245
|
-
currentSource: SourceMapItem;
|
|
246
|
-
fileNode: BaseNode;
|
|
247
|
-
} | {
|
|
248
|
-
fileNode: BaseNode;
|
|
249
|
-
currentSource?: undefined;
|
|
250
|
-
};
|
|
251
|
-
handlingCurrentSourceException(currentSource: SourceMapItem, node: BaseNode): void;
|
|
252
|
-
getFieldKeySelectCompletion(node: BaseNode, fieldKey?: string): Promise<unknown>;
|
|
253
|
-
_getFieldKeySelectCompletion(args: any): Promise<unknown>;
|
|
254
|
-
/**
|
|
255
|
-
* 获取模块下多个CallInterface 被依赖的页面节点
|
|
256
|
-
* 查找callInterface 被依赖的页面级别的节点,要让他们重新生成一次代码,因为多个Interface重新导入,需要查找到引用的额内容
|
|
257
|
-
* 对应引用地方,需要重新生成,因为是生成方控制是不是必填的,
|
|
258
|
-
* @param oldInterfaceModule 发生修改的module,查他下面的Interface被引用的地方
|
|
259
|
-
* @returns 查找到的有引用这个内容的页面级别节点
|
|
260
|
-
*/
|
|
261
|
-
findModulesCallInterfaceFileRef(oldInterfaceModule: Module): Promise<BaseNode[]>;
|
|
262
|
-
/**
|
|
263
|
-
* 查找calllogic 被依赖的页面级别的节点,要让他们重新生成一次代码,因为logic,参数必填非必填发生修改,
|
|
264
|
-
* 对应引用地方,需要重新生成,因为是生成方控制是不是必填的,
|
|
265
|
-
* @param logic 发生修改的logic
|
|
266
|
-
* @returns 查找到的有引用这个内容的页面级别节点
|
|
267
|
-
*/
|
|
268
|
-
findCallLogicFileRef(logic: Logic): Promise<BaseNode[]>;
|
|
269
|
-
/**获取当前节点的已知类型
|
|
270
|
-
* @param node 当前要获取类型的节点
|
|
271
|
-
* @returns 不需要去查就可以返回类型的节点
|
|
272
|
-
*/
|
|
273
|
-
getCurrentNodeKnownTypeAnnotation(node: BaseNode): TypeAnnotation;
|
|
274
|
-
/**
|
|
275
|
-
* 获取传入节点的TypeAnnotation
|
|
276
|
-
* @param nodes {filePath: string, node: BaseNode, item: SourceMapItem}
|
|
277
|
-
* @returns Map<BaseNode, TypeAnnotation | { typeAnnotation: TypeAnnotation, option: any }>
|
|
278
|
-
* 普通的TypeAnnotation,额外的可能携带 option
|
|
279
|
-
* 这里会处理callloigc callinterface 和 callfuntion 的 argment的参数一起携带回去,
|
|
280
|
-
* 也就是说如果 只传入了这个也会一起返回argment的节点,所以返回map最好去get结果
|
|
281
|
-
*/
|
|
282
|
-
getQuickInfoNodesTypeMap(nodes: QuickInfoNodes, lotFlag?: boolean): Promise<Map<BaseNode, TypeAnnotation | {
|
|
283
|
-
typeAnnotation: TypeAnnotation;
|
|
284
|
-
option: any;
|
|
285
|
-
}>>;
|
|
286
|
-
getNaslAnnotatedJSON(app: App, releaseFlag: boolean): Promise<any>;
|
|
287
|
-
IncrementalAnnotationJSON(records: DiagnosticRecord[]): Promise<void>;
|
|
288
|
-
annotationToJson(typesMap: Map<BaseNode, TypeAnnotation | {
|
|
289
|
-
typeAnnotation: TypeAnnotation;
|
|
290
|
-
option: any;
|
|
291
|
-
}>, json: {}): void;
|
|
292
|
-
/**
|
|
293
|
-
* 获取getArgument的参数位的类型
|
|
294
|
-
* 如果内部表达式的,就用表达式的,如果没有就试试用默认值的
|
|
295
|
-
* 获取logic的默认值和原来Arg的类型和默认值对应
|
|
296
|
-
*/
|
|
297
|
-
getArgumentTypeAnnotation(node: Argument, QuickInfoNodes: QuickInfoNodes, types: Map<BaseNode, TypeAnnotation>): {
|
|
298
|
-
typeAnnotation: TypeAnnotation;
|
|
299
|
-
option: {
|
|
300
|
-
defaultValue?: undefined;
|
|
301
|
-
};
|
|
302
|
-
} | {
|
|
303
|
-
typeAnnotation: any;
|
|
304
|
-
option: {
|
|
305
|
-
defaultValue: any;
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
getCurrentTypeAnnotation(node: BaseNode, outTime?: number): Promise<unknown>;
|
|
309
|
-
getBaseNodesTypeMap(nodes: Array<BaseNode>): Promise<Map<BaseNode, TypeAnnotation | {
|
|
310
|
-
typeAnnotation: TypeAnnotation;
|
|
311
|
-
option: any;
|
|
312
|
-
}>>;
|
|
313
|
-
_getTypeStrFull(args: Array<any>): {
|
|
314
|
-
responseRequired: boolean;
|
|
315
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
316
|
-
};
|
|
317
|
-
getNaslNodeTypeStrFull(args: Array<any>): Promise<{
|
|
318
|
-
responseRequired: boolean;
|
|
319
|
-
response: tsProtocol.QuickInfoResponseBody;
|
|
320
|
-
}>;
|
|
321
|
-
/**
|
|
322
|
-
* 处理删除节点
|
|
323
|
-
* @param fileNode 当前删除节点的文件级别节点
|
|
324
|
-
* @param targetNode 当前操作的节点
|
|
325
|
-
* @param result toTs生成的内容
|
|
326
|
-
*/
|
|
327
|
-
handleDelete(fileNode: BaseNode, targetNode: BaseNode, result: ReturnType<Structure['toEmbeddedTSFile']>): Promise<void>;
|
|
328
|
-
/**
|
|
329
|
-
* 除去rename场景下的更新
|
|
330
|
-
* @param fileNode 文件级别的节点
|
|
331
|
-
* @param targetNode 触发修改的节点
|
|
332
|
-
* @param result 生成代码的code 和位置信息
|
|
333
|
-
*/
|
|
334
|
-
handleChange(fileNode: BaseNode, targetNode: BaseNode, result: ReturnType<Structure['toEmbeddedTSFile']>, action: string): Promise<void>;
|
|
335
|
-
/**
|
|
336
|
-
* 重命名的更新
|
|
337
|
-
* @param fileNode 文件级别的节点
|
|
338
|
-
* @param targetNode 触发修改的节点
|
|
339
|
-
* @param result 生成代码的code 和位置信息
|
|
340
|
-
* @param isRename 是不是修改名字
|
|
341
|
-
* @param oldFilePath 如果是改名,文件级别的才会有这个参数,用于文件新增替换
|
|
342
|
-
*/
|
|
343
|
-
handleRename(fileNode: BaseNode, targetNode: BaseNode, result: ReturnType<Structure['toEmbeddedTSFile']>, oldFilePath?: string): Promise<void>;
|
|
344
|
-
/**
|
|
345
|
-
* 处理一些节点操作,子节点需要更新并且check的场景
|
|
346
|
-
* 因为删除,新增父页面,或者重命名会一起
|
|
347
|
-
* 删除或者新增view而且他有子集 就要执行同样的操作
|
|
348
|
-
* @param action 当前操作类型
|
|
349
|
-
* @param fileNode 文件节点
|
|
350
|
-
* @param targetNode 操作节点 这里要两个相等才会走家去面对哦逻辑
|
|
351
|
-
* @param oldpath 触发内容的oldpath
|
|
352
|
-
*/
|
|
353
|
-
incidentalAction(action: string, fileNode: BaseNode, targetNode: BaseNode, oldpath?: string): Promise<void>;
|
|
354
|
-
receiveHandleChange($event: EventPayload): Promise<boolean>;
|
|
355
|
-
changeFileNext(): void;
|
|
356
|
-
}
|
|
357
|
-
export { NaslServer };
|