@lcap/nasl 2.22.2-beta.3 → 2.22.2-beta.5
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/automate/engine/index.d.ts +4 -0
- package/out/automate/engine/index.js +443 -0
- package/out/automate/engine/index.js.map +1 -0
- package/out/automate/engine/operators.d.ts +24 -0
- package/out/automate/engine/operators.js +252 -0
- package/out/automate/engine/operators.js.map +1 -0
- package/out/automate/engine/uniqueName.d.ts +12 -0
- package/out/automate/engine/uniqueName.js +112 -0
- package/out/automate/engine/uniqueName.js.map +1 -0
- package/out/automate/engine/utils.d.ts +25 -0
- package/out/automate/engine/utils.js +428 -0
- package/out/automate/engine/utils.js.map +1 -0
- package/out/automate/engine/viewCache.d.ts +19 -0
- package/out/automate/engine/viewCache.js +45 -0
- package/out/automate/engine/viewCache.js.map +1 -0
- package/out/automate/template/myProcess.d.ts +10 -0
- package/out/automate/template/myProcess.js +11498 -0
- package/out/automate/template/myProcess.js.map +1 -0
- package/out/bak/translator.d.ts +1 -0
- package/out/bak/translator.js +130 -0
- package/out/bak/translator.js.map +1 -0
- package/out/common/BaseNode.d.ts +306 -0
- package/out/common/BaseNode.js +1222 -0
- package/out/common/BaseNode.js.map +1 -0
- package/out/common/Command.d.ts +20 -0
- package/out/common/Command.js +66 -0
- package/out/common/Command.js.map +1 -0
- package/out/common/ComponentAPI.d.ts +110 -0
- package/out/common/ComponentAPI.js +3 -0
- package/out/common/ComponentAPI.js.map +1 -0
- package/out/common/EventEmitter.d.ts +59 -0
- package/out/common/EventEmitter.js +69 -0
- package/out/common/EventEmitter.js.map +1 -0
- package/out/common/Messager.d.ts +91 -0
- package/out/common/Messager.js +208 -0
- package/out/common/Messager.js.map +1 -0
- package/out/common/index.d.ts +3 -0
- package/out/common/index.js +20 -0
- package/out/common/index.js.map +1 -0
- package/out/concepts/Abort__.d.ts +26 -0
- package/out/concepts/Abort__.js +79 -0
- package/out/concepts/Abort__.js.map +1 -0
- package/out/concepts/Anchor__.d.ts +45 -0
- package/out/concepts/Anchor__.js +182 -0
- package/out/concepts/Anchor__.js.map +1 -0
- package/out/concepts/AnonymousFunction__.d.ts +173 -0
- package/out/concepts/AnonymousFunction__.js +484 -0
- package/out/concepts/AnonymousFunction__.js.map +1 -0
- package/out/concepts/App__.d.ts +1166 -0
- package/out/concepts/App__.js +1885 -0
- package/out/concepts/App__.js.map +1 -0
- package/out/concepts/Argument__.d.ts +66 -0
- package/out/concepts/Argument__.js +267 -0
- package/out/concepts/Argument__.js.map +1 -0
- package/out/concepts/Assignee__.d.ts +289 -0
- package/out/concepts/Assignee__.js +426 -0
- package/out/concepts/Assignee__.js.map +1 -0
- package/out/concepts/AssignmentLine__.d.ts +42 -0
- package/out/concepts/AssignmentLine__.js +111 -0
- package/out/concepts/AssignmentLine__.js.map +1 -0
- package/out/concepts/Assignment__.d.ts +74 -0
- package/out/concepts/Assignment__.js +287 -0
- package/out/concepts/Assignment__.js.map +1 -0
- package/out/concepts/Attribute__.d.ts +98 -0
- package/out/concepts/Attribute__.js +206 -0
- package/out/concepts/Attribute__.js.map +1 -0
- package/out/concepts/BatchAssignment__.d.ts +252 -0
- package/out/concepts/BatchAssignment__.js +806 -0
- package/out/concepts/BatchAssignment__.js.map +1 -0
- package/out/concepts/BinaryExpression__.d.ts +71 -0
- package/out/concepts/BinaryExpression__.js +347 -0
- package/out/concepts/BinaryExpression__.js.map +1 -0
- package/out/concepts/BindAttribute__.d.ts +319 -0
- package/out/concepts/BindAttribute__.js +896 -0
- package/out/concepts/BindAttribute__.js.map +1 -0
- package/out/concepts/BindDirective__.d.ts +162 -0
- package/out/concepts/BindDirective__.js +538 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/concepts/BindEvent__.d.ts +240 -0
- package/out/concepts/BindEvent__.js +764 -0
- package/out/concepts/BindEvent__.js.map +1 -0
- package/out/concepts/BindStyle__.d.ts +140 -0
- package/out/concepts/BindStyle__.js +433 -0
- package/out/concepts/BindStyle__.js.map +1 -0
- package/out/concepts/BooleanLiteral__.d.ts +35 -0
- package/out/concepts/BooleanLiteral__.js +100 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -0
- package/out/concepts/CallFunction__.d.ts +159 -0
- package/out/concepts/CallFunction__.js +503 -0
- package/out/concepts/CallFunction__.js.map +1 -0
- package/out/concepts/CallInterface__.d.ts +116 -0
- package/out/concepts/CallInterface__.js +570 -0
- package/out/concepts/CallInterface__.js.map +1 -0
- package/out/concepts/CallLogic__.d.ts +187 -0
- package/out/concepts/CallLogic__.js +1007 -0
- package/out/concepts/CallLogic__.js.map +1 -0
- package/out/concepts/CallQueryComponent__.d.ts +433 -0
- package/out/concepts/CallQueryComponent__.js +1267 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +32 -0
- package/out/concepts/Comment__.js +96 -0
- package/out/concepts/Comment__.js.map +1 -0
- package/out/concepts/CompletionProperty__.d.ts +105 -0
- package/out/concepts/CompletionProperty__.js +262 -0
- package/out/concepts/CompletionProperty__.js.map +1 -0
- package/out/concepts/ConfigGroup__.d.ts +124 -0
- package/out/concepts/ConfigGroup__.js +237 -0
- package/out/concepts/ConfigGroup__.js.map +1 -0
- package/out/concepts/ConfigPropertyValue__.d.ts +45 -0
- package/out/concepts/ConfigPropertyValue__.js +107 -0
- package/out/concepts/ConfigPropertyValue__.js.map +1 -0
- package/out/concepts/ConfigProperty__.d.ts +154 -0
- package/out/concepts/ConfigProperty__.js +324 -0
- package/out/concepts/ConfigProperty__.js.map +1 -0
- package/out/concepts/Configuration__.d.ts +124 -0
- package/out/concepts/Configuration__.js +228 -0
- package/out/concepts/Configuration__.js.map +1 -0
- package/out/concepts/Constant__.d.ts +106 -0
- package/out/concepts/Constant__.js +249 -0
- package/out/concepts/Constant__.js.map +1 -0
- package/out/concepts/DataElement__.d.ts +47 -0
- package/out/concepts/DataElement__.js +119 -0
- package/out/concepts/DataElement__.js.map +1 -0
- package/out/concepts/DataSource__.d.ts +165 -0
- package/out/concepts/DataSource__.js +442 -0
- package/out/concepts/DataSource__.js.map +1 -0
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +32 -0
- package/out/concepts/DatabaseTypeAnnotation__.js +79 -0
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -0
- package/out/concepts/Destination__.d.ts +157 -0
- package/out/concepts/Destination__.js +740 -0
- package/out/concepts/Destination__.js.map +1 -0
- package/out/concepts/End__.d.ts +25 -0
- package/out/concepts/End__.js +86 -0
- package/out/concepts/End__.js.map +1 -0
- package/out/concepts/EntityIndex__.d.ts +96 -0
- package/out/concepts/EntityIndex__.js +221 -0
- package/out/concepts/EntityIndex__.js.map +1 -0
- package/out/concepts/EntityProperty__.d.ts +274 -0
- package/out/concepts/EntityProperty__.js +824 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/concepts/Entity__.d.ts +339 -0
- package/out/concepts/Entity__.js +711 -0
- package/out/concepts/Entity__.js.map +1 -0
- package/out/concepts/EnumItem__.d.ts +64 -0
- package/out/concepts/EnumItem__.js +146 -0
- package/out/concepts/EnumItem__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +138 -0
- package/out/concepts/Enum__.js +322 -0
- package/out/concepts/Enum__.js.map +1 -0
- package/out/concepts/Event__.d.ts +144 -0
- package/out/concepts/Event__.js +249 -0
- package/out/concepts/Event__.js.map +1 -0
- package/out/concepts/ExternalDestination__.d.ts +76 -0
- package/out/concepts/ExternalDestination__.js +286 -0
- package/out/concepts/ExternalDestination__.js.map +1 -0
- package/out/concepts/ForEachStatement__.d.ts +189 -0
- package/out/concepts/ForEachStatement__.js +446 -0
- package/out/concepts/ForEachStatement__.js.map +1 -0
- package/out/concepts/FrontendLibrary__.d.ts +214 -0
- package/out/concepts/FrontendLibrary__.js +353 -0
- package/out/concepts/FrontendLibrary__.js.map +1 -0
- package/out/concepts/Frontend__.d.ts +374 -0
- package/out/concepts/Frontend__.js +690 -0
- package/out/concepts/Frontend__.js.map +1 -0
- package/out/concepts/Function__.d.ts +417 -0
- package/out/concepts/Function__.js +717 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +52 -0
- package/out/concepts/Identifier__.js +296 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/concepts/IfStatement__.d.ts +158 -0
- package/out/concepts/IfStatement__.js +305 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/concepts/Integration__.d.ts +54 -0
- package/out/concepts/Integration__.js +143 -0
- package/out/concepts/Integration__.js.map +1 -0
- package/out/concepts/InterfaceParam__.d.ts +111 -0
- package/out/concepts/InterfaceParam__.js +266 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +284 -0
- package/out/concepts/Interface__.js +749 -0
- package/out/concepts/Interface__.js.map +1 -0
- package/out/concepts/JSBlock__.d.ts +34 -0
- package/out/concepts/JSBlock__.js +106 -0
- package/out/concepts/JSBlock__.js.map +1 -0
- package/out/concepts/JavaLogic__.d.ts +43 -0
- package/out/concepts/JavaLogic__.js +124 -0
- package/out/concepts/JavaLogic__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +126 -0
- package/out/concepts/LogicItem__.js +253 -0
- package/out/concepts/LogicItem__.js.map +1 -0
- package/out/concepts/Logic__.d.ts +633 -0
- package/out/concepts/Logic__.js +1568 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/concepts/MatchCase__.d.ts +258 -0
- package/out/concepts/MatchCase__.js +591 -0
- package/out/concepts/MatchCase__.js.map +1 -0
- package/out/concepts/Match__.d.ts +124 -0
- package/out/concepts/Match__.js +628 -0
- package/out/concepts/Match__.js.map +1 -0
- package/out/concepts/MemberExpression__.d.ts +73 -0
- package/out/concepts/MemberExpression__.js +319 -0
- package/out/concepts/MemberExpression__.js.map +1 -0
- package/out/concepts/MetadataType__.d.ts +245 -0
- package/out/concepts/MetadataType__.js +473 -0
- package/out/concepts/MetadataType__.js.map +1 -0
- package/out/concepts/MicroApp__.d.ts +52 -0
- package/out/concepts/MicroApp__.js +119 -0
- package/out/concepts/MicroApp__.js.map +1 -0
- package/out/concepts/Module__.d.ts +978 -0
- package/out/concepts/Module__.js +1386 -0
- package/out/concepts/Module__.js.map +1 -0
- package/out/concepts/Namespace__.d.ts +1069 -0
- package/out/concepts/Namespace__.js +1380 -0
- package/out/concepts/Namespace__.js.map +1 -0
- package/out/concepts/NewComposite__.d.ts +346 -0
- package/out/concepts/NewComposite__.js +1086 -0
- package/out/concepts/NewComposite__.js.map +1 -0
- package/out/concepts/NewList__.d.ts +133 -0
- package/out/concepts/NewList__.js +385 -0
- package/out/concepts/NewList__.js.map +1 -0
- package/out/concepts/NewMap__.d.ts +224 -0
- package/out/concepts/NewMap__.js +530 -0
- package/out/concepts/NewMap__.js.map +1 -0
- package/out/concepts/New__.d.ts +21 -0
- package/out/concepts/New__.js +68 -0
- package/out/concepts/New__.js.map +1 -0
- package/out/concepts/NullLiteral__.d.ts +27 -0
- package/out/concepts/NullLiteral__.js +81 -0
- package/out/concepts/NullLiteral__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +56 -0
- package/out/concepts/NumericLiteral__.js +174 -0
- package/out/concepts/NumericLiteral__.js.map +1 -0
- package/out/concepts/OqlQueryComponent__.d.ts +73 -0
- package/out/concepts/OqlQueryComponent__.js +327 -0
- package/out/concepts/OqlQueryComponent__.js.map +1 -0
- package/out/concepts/Param__.d.ts +161 -0
- package/out/concepts/Param__.js +431 -0
- package/out/concepts/Param__.js.map +1 -0
- package/out/concepts/Point__.d.ts +32 -0
- package/out/concepts/Point__.js +79 -0
- package/out/concepts/Point__.js.map +1 -0
- package/out/concepts/ProcessComponent__.d.ts +220 -0
- package/out/concepts/ProcessComponent__.js +339 -0
- package/out/concepts/ProcessComponent__.js.map +1 -0
- package/out/concepts/ProcessElement__.d.ts +647 -0
- package/out/concepts/ProcessElement__.js +1220 -0
- package/out/concepts/ProcessElement__.js.map +1 -0
- package/out/concepts/ProcessOutcome__.d.ts +32 -0
- package/out/concepts/ProcessOutcome__.js +90 -0
- package/out/concepts/ProcessOutcome__.js.map +1 -0
- package/out/concepts/ProcessOutcomes__.d.ts +32 -0
- package/out/concepts/ProcessOutcomes__.js +89 -0
- package/out/concepts/ProcessOutcomes__.js.map +1 -0
- package/out/concepts/Process__.d.ts +614 -0
- package/out/concepts/Process__.js +1031 -0
- package/out/concepts/Process__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +52 -0
- package/out/concepts/QueryAggregateExpression__.js +149 -0
- package/out/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/concepts/QueryFieldExpression__.d.ts +54 -0
- package/out/concepts/QueryFieldExpression__.js +160 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/concepts/QueryFromExpression__.d.ts +97 -0
- package/out/concepts/QueryFromExpression__.js +197 -0
- package/out/concepts/QueryFromExpression__.js.map +1 -0
- package/out/concepts/QueryGroupByExpression__.d.ts +47 -0
- package/out/concepts/QueryGroupByExpression__.js +142 -0
- package/out/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/concepts/QueryJoinExpression__.d.ts +184 -0
- package/out/concepts/QueryJoinExpression__.js +318 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/concepts/QueryLimitExpression__.d.ts +58 -0
- package/out/concepts/QueryLimitExpression__.js +160 -0
- package/out/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/concepts/QueryOrderByExpression__.d.ts +69 -0
- package/out/concepts/QueryOrderByExpression__.js +173 -0
- package/out/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/concepts/QuerySelectExpression__.d.ts +204 -0
- package/out/concepts/QuerySelectExpression__.js +295 -0
- package/out/concepts/QuerySelectExpression__.js.map +1 -0
- package/out/concepts/Rect__.d.ts +40 -0
- package/out/concepts/Rect__.js +95 -0
- package/out/concepts/Rect__.js.map +1 -0
- package/out/concepts/Return__.d.ts +129 -0
- package/out/concepts/Return__.js +345 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/concepts/Role__.d.ts +63 -0
- package/out/concepts/Role__.js +170 -0
- package/out/concepts/Role__.js.map +1 -0
- package/out/concepts/SelectMembers__.d.ts +143 -0
- package/out/concepts/SelectMembers__.js +293 -0
- package/out/concepts/SelectMembers__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +75 -0
- package/out/concepts/Slot__.js +165 -0
- package/out/concepts/Slot__.js.map +1 -0
- package/out/concepts/SqlQueryComponent__.d.ts +71 -0
- package/out/concepts/SqlQueryComponent__.js +271 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/concepts/Start__.d.ts +25 -0
- package/out/concepts/Start__.js +73 -0
- package/out/concepts/Start__.js.map +1 -0
- package/out/concepts/StringInterpolation__.d.ts +117 -0
- package/out/concepts/StringInterpolation__.js +252 -0
- package/out/concepts/StringInterpolation__.js.map +1 -0
- package/out/concepts/StringLiteral__.d.ts +38 -0
- package/out/concepts/StringLiteral__.js +134 -0
- package/out/concepts/StringLiteral__.js.map +1 -0
- package/out/concepts/StructureProperty__.d.ts +131 -0
- package/out/concepts/StructureProperty__.js +303 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/concepts/Structure__.d.ts +252 -0
- package/out/concepts/Structure__.js +447 -0
- package/out/concepts/Structure__.js.map +1 -0
- package/out/concepts/SwitchCase__.d.ts +94 -0
- package/out/concepts/SwitchCase__.js +232 -0
- package/out/concepts/SwitchCase__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +84 -0
- package/out/concepts/SwitchStatement__.js +177 -0
- package/out/concepts/SwitchStatement__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +38 -0
- package/out/concepts/Theme__.js +88 -0
- package/out/concepts/Theme__.js.map +1 -0
- package/out/concepts/Transactional__.d.ts +83 -0
- package/out/concepts/Transactional__.js +162 -0
- package/out/concepts/Transactional__.js.map +1 -0
- package/out/concepts/TypeAnnotation__.d.ts +290 -0
- package/out/concepts/TypeAnnotation__.js +885 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -0
- package/out/concepts/TypeParam__.d.ts +25 -0
- package/out/concepts/TypeParam__.js +73 -0
- package/out/concepts/TypeParam__.js.map +1 -0
- package/out/concepts/UnaryExpression__.d.ts +49 -0
- package/out/concepts/UnaryExpression__.js +176 -0
- package/out/concepts/UnaryExpression__.js.map +1 -0
- package/out/concepts/Unparsed__.d.ts +32 -0
- package/out/concepts/Unparsed__.js +94 -0
- package/out/concepts/Unparsed__.js.map +1 -0
- package/out/concepts/UseComponent__.d.ts +32 -0
- package/out/concepts/UseComponent__.js +79 -0
- package/out/concepts/UseComponent__.js.map +1 -0
- package/out/concepts/ValidationRule__.d.ts +142 -0
- package/out/concepts/ValidationRule__.js +473 -0
- package/out/concepts/ValidationRule__.js.map +1 -0
- package/out/concepts/Variable__.d.ts +139 -0
- package/out/concepts/Variable__.js +386 -0
- package/out/concepts/Variable__.js.map +1 -0
- package/out/concepts/ViewBlock__.d.ts +36 -0
- package/out/concepts/ViewBlock__.js +87 -0
- package/out/concepts/ViewBlock__.js.map +1 -0
- package/out/concepts/ViewComponent__.d.ts +566 -0
- package/out/concepts/ViewComponent__.js +762 -0
- package/out/concepts/ViewComponent__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +597 -0
- package/out/concepts/ViewElement__.js +1777 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +714 -0
- package/out/concepts/View__.js +1733 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/concepts/WhileStatement__.d.ts +97 -0
- package/out/concepts/WhileStatement__.js +211 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/concepts/basics/stdlib/index.d.ts +4 -0
- package/out/concepts/basics/stdlib/index.js +29 -0
- package/out/concepts/basics/stdlib/index.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.auth.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.auth.js +140 -0
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.browser.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.browser.js +133 -0
- package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.collection.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.collection.js +52 -0
- package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.configuration.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.configuration.js +33 -0
- package/out/concepts/basics/stdlib/nasl.configuration.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.core.d.ts +5 -0
- package/out/concepts/basics/stdlib/nasl.core.js +49 -0
- package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.event.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.event.js +25 -0
- package/out/concepts/basics/stdlib/nasl.event.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.interface.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.interface.js +43 -0
- package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.io.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.io.js +52 -0
- package/out/concepts/basics/stdlib/nasl.io.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.logging.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.logging.js +56 -0
- package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.process.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.process.js +638 -0
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.ui.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.ui.js +1043 -0
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.util.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.util.js +1798 -0
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.validation.js +565 -0
- package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +26 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/concepts/basics/types/coreTypeList.d.ts +2 -0
- package/out/concepts/basics/types/coreTypeList.js +15 -0
- package/out/concepts/basics/types/coreTypeList.js.map +1 -0
- package/out/concepts/basics/types/index.d.ts +15 -0
- package/out/concepts/basics/types/index.js +32 -0
- package/out/concepts/basics/types/index.js.map +1 -0
- package/out/concepts/index.d.ts +5 -0
- package/out/concepts/index.js +24 -0
- package/out/concepts/index.js.map +1 -0
- package/out/concepts/index__.d.ts +108 -0
- package/out/concepts/index__.js +125 -0
- package/out/concepts/index__.js.map +1 -0
- package/out/config.d.ts +44 -0
- package/out/config.js +73 -0
- package/out/config.js.map +1 -0
- package/out/decorators/index.d.ts +56 -0
- package/out/decorators/index.js +159 -0
- package/out/decorators/index.js.map +1 -0
- package/out/enums/KEYWORDS.d.ts +6 -0
- package/out/enums/KEYWORDS.js +1243 -0
- package/out/enums/KEYWORDS.js.map +1 -0
- package/out/enums/LEVEL_NAME_MAP.d.ts +26 -0
- package/out/enums/LEVEL_NAME_MAP.js +30 -0
- package/out/enums/LEVEL_NAME_MAP.js.map +1 -0
- package/out/eventBus.d.ts +3 -0
- package/out/eventBus.js +7 -0
- package/out/eventBus.js.map +1 -0
- package/out/generator/compileComponent.d.ts +11 -0
- package/out/generator/compileComponent.js +12 -0
- package/out/generator/compileComponent.js.map +1 -0
- package/out/generator/genBundleFiles.d.ts +33 -0
- package/out/generator/genBundleFiles.js +501 -0
- package/out/generator/genBundleFiles.js.map +1 -0
- package/out/generator/genHash.d.ts +7 -0
- package/out/generator/genHash.js +39 -0
- package/out/generator/genHash.js.map +1 -0
- package/out/generator/genMetaData.d.ts +28 -0
- package/out/generator/genMetaData.js +288 -0
- package/out/generator/genMetaData.js.map +1 -0
- package/out/generator/genReleaseBody.d.ts +60 -0
- package/out/generator/genReleaseBody.js +493 -0
- package/out/generator/genReleaseBody.js.map +1 -0
- package/out/generator/icestark.d.ts +2 -0
- package/out/generator/icestark.js +48 -0
- package/out/generator/icestark.js.map +1 -0
- package/out/generator/index.d.ts +7 -0
- package/out/generator/index.js +24 -0
- package/out/generator/index.js.map +1 -0
- package/out/generator/microApp.d.ts +2 -0
- package/out/generator/microApp.js +35 -0
- package/out/generator/microApp.js.map +1 -0
- package/out/generator/permission.d.ts +10 -0
- package/out/generator/permission.js +269 -0
- package/out/generator/permission.js.map +1 -0
- package/out/generator/qiankun.d.ts +2 -0
- package/out/generator/qiankun.js +52 -0
- package/out/generator/qiankun.js.map +1 -0
- package/out/generator/styleReplacer.d.ts +3 -0
- package/out/generator/styleReplacer.js +71 -0
- package/out/generator/styleReplacer.js.map +1 -0
- package/out/index.d.ts +13 -0
- package/out/index.js +64 -0
- package/out/index.js.map +1 -0
- package/out/manager/diagnostic.d.ts +35 -0
- package/out/manager/diagnostic.js +63 -0
- package/out/manager/diagnostic.js.map +1 -0
- package/out/manager/stepRecorder.d.ts +20 -0
- package/out/manager/stepRecorder.js +110 -0
- package/out/manager/stepRecorder.js.map +1 -0
- package/out/sentry/index.d.ts +29 -0
- package/out/sentry/index.js +111 -0
- package/out/sentry/index.js.map +1 -0
- package/out/server/createUiTs.d.ts +16 -0
- package/out/server/createUiTs.js +248 -0
- package/out/server/createUiTs.js.map +1 -0
- package/out/server/entity2LogicNamespace.d.ts +10 -0
- package/out/server/entity2LogicNamespace.js +380 -0
- package/out/server/entity2LogicNamespace.js.map +1 -0
- package/out/server/event.d.ts +30 -0
- package/out/server/event.js +151 -0
- package/out/server/event.js.map +1 -0
- package/out/server/extendBaseNode.d.ts +1 -0
- package/out/server/extendBaseNode.js +475 -0
- package/out/server/extendBaseNode.js.map +1 -0
- package/out/server/formatTsUtils.d.ts +36 -0
- package/out/server/formatTsUtils.js +788 -0
- package/out/server/formatTsUtils.js.map +1 -0
- package/out/server/getExtensionModules.d.ts +3 -0
- package/out/server/getExtensionModules.js +20 -0
- package/out/server/getExtensionModules.js.map +1 -0
- package/out/server/getFunctions.d.ts +3 -0
- package/out/server/getFunctions.js +20 -0
- package/out/server/getFunctions.js.map +1 -0
- package/out/server/getInterfaces.d.ts +2 -0
- package/out/server/getInterfaces.js +48 -0
- package/out/server/getInterfaces.js.map +1 -0
- package/out/server/getLogging.d.ts +1 -0
- package/out/server/getLogging.js +9 -0
- package/out/server/getLogging.js.map +1 -0
- package/out/server/getLogics.d.ts +4 -0
- package/out/server/getLogics.js +352 -0
- package/out/server/getLogics.js.map +1 -0
- package/out/server/getMemberIdentifier.d.ts +15 -0
- package/out/server/getMemberIdentifier.js +290 -0
- package/out/server/getMemberIdentifier.js.map +1 -0
- package/out/server/getProcessComponents.d.ts +2 -0
- package/out/server/getProcessComponents.js +13 -0
- package/out/server/getProcessComponents.js.map +1 -0
- package/out/server/getProcesses.d.ts +33 -0
- package/out/server/getProcesses.js +599 -0
- package/out/server/getProcesses.js.map +1 -0
- package/out/server/getScope.d.ts +13 -0
- package/out/server/getScope.js +61 -0
- package/out/server/getScope.js.map +1 -0
- package/out/server/getValidates.d.ts +3 -0
- package/out/server/getValidates.js +14 -0
- package/out/server/getValidates.js.map +1 -0
- package/out/server/index.d.ts +5 -0
- package/out/server/index.js +38 -0
- package/out/server/index.js.map +1 -0
- package/out/server/naslServer.d.ts +363 -0
- package/out/server/naslServer.js +4382 -0
- package/out/server/naslServer.js.map +1 -0
- package/out/server/naslStdlibMap.d.ts +2 -0
- package/out/server/naslStdlibMap.js +50 -0
- package/out/server/naslStdlibMap.js.map +1 -0
- package/out/server/process2LogicNamespace.d.ts +26 -0
- package/out/server/process2LogicNamespace.js +109 -0
- package/out/server/process2LogicNamespace.js.map +1 -0
- package/out/server/translator.d.ts +26 -0
- package/out/server/translator.js +787 -0
- package/out/server/translator.js.map +1 -0
- package/out/service/creator/add.configs.d.ts +1 -0
- package/out/service/creator/add.configs.js +74 -0
- package/out/service/creator/add.configs.js.map +1 -0
- package/out/service/creator/errHandles.d.ts +18 -0
- package/out/service/creator/errHandles.js +75 -0
- package/out/service/creator/errHandles.js.map +1 -0
- package/out/service/creator/index.d.ts +1 -0
- package/out/service/creator/index.js +74 -0
- package/out/service/creator/index.js.map +1 -0
- package/out/service/datasource/api.d.ts +12 -0
- package/out/service/datasource/api.js +14 -0
- package/out/service/datasource/api.js.map +1 -0
- package/out/service/datasource/index.d.ts +2 -0
- package/out/service/datasource/index.js +10 -0
- package/out/service/datasource/index.js.map +1 -0
- package/out/service/defaultErrorMessage.json +98 -0
- package/out/service/logic/api.d.ts +9 -0
- package/out/service/logic/api.js +11 -0
- package/out/service/logic/api.js.map +1 -0
- package/out/service/logic/index.d.ts +2 -0
- package/out/service/logic/index.js +10 -0
- package/out/service/logic/index.js.map +1 -0
- package/out/service/storage/api.d.ts +45 -0
- package/out/service/storage/api.js +36 -0
- package/out/service/storage/api.js.map +1 -0
- package/out/service/storage/index.d.ts +2 -0
- package/out/service/storage/index.js +10 -0
- package/out/service/storage/index.js.map +1 -0
- package/out/service/storage/init.d.ts +65 -0
- package/out/service/storage/init.js +798 -0
- package/out/service/storage/init.js.map +1 -0
- package/out/service/storage/jsoner.d.ts +36 -0
- package/out/service/storage/jsoner.js +131 -0
- package/out/service/storage/jsoner.js.map +1 -0
- package/out/service/storage/map.d.ts +4 -0
- package/out/service/storage/map.js +54 -0
- package/out/service/storage/map.js.map +1 -0
- package/out/service/storage/service.d.ts +22 -0
- package/out/service/storage/service.js +70 -0
- package/out/service/storage/service.js.map +1 -0
- package/out/service/storage/storagePoint.d.ts +17 -0
- package/out/service/storage/storagePoint.js +76 -0
- package/out/service/storage/storagePoint.js.map +1 -0
- package/out/templator/genCallComponentLogic.d.ts +17 -0
- package/out/templator/genCallComponentLogic.js +30 -0
- package/out/templator/genCallComponentLogic.js.map +1 -0
- package/out/templator/genCreateBlock.d.ts +10 -0
- package/out/templator/genCreateBlock.js +338 -0
- package/out/templator/genCreateBlock.js.map +1 -0
- package/out/templator/genCurdEditMultipleKeyBlock.d.ts +8 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js +516 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/templator/genCurdMultipleKeyBlock.d.ts +34 -0
- package/out/templator/genCurdMultipleKeyBlock.js +709 -0
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/templator/genEditTableBlock.d.ts +51 -0
- package/out/templator/genEditTableBlock.js +299 -0
- package/out/templator/genEditTableBlock.js.map +1 -0
- package/out/templator/genEnumSelectBlock.d.ts +10 -0
- package/out/templator/genEnumSelectBlock.js +26 -0
- package/out/templator/genEnumSelectBlock.js.map +1 -0
- package/out/templator/genGetBlock.d.ts +6 -0
- package/out/templator/genGetBlock.js +138 -0
- package/out/templator/genGetBlock.js.map +1 -0
- package/out/templator/genGridViewBlock.d.ts +55 -0
- package/out/templator/genGridViewBlock.js +350 -0
- package/out/templator/genGridViewBlock.js.map +1 -0
- package/out/templator/genListViewBlock.d.ts +19 -0
- package/out/templator/genListViewBlock.js +143 -0
- package/out/templator/genListViewBlock.js.map +1 -0
- package/out/templator/genQueryComponent.d.ts +34 -0
- package/out/templator/genQueryComponent.js +342 -0
- package/out/templator/genQueryComponent.js.map +1 -0
- package/out/templator/genSelectBlock.d.ts +45 -0
- package/out/templator/genSelectBlock.js +406 -0
- package/out/templator/genSelectBlock.js.map +1 -0
- package/out/templator/genTableBlock.d.ts +53 -0
- package/out/templator/genTableBlock.js +280 -0
- package/out/templator/genTableBlock.js.map +1 -0
- package/out/templator/genUpdateBlock.d.ts +6 -0
- package/out/templator/genUpdateBlock.js +380 -0
- package/out/templator/genUpdateBlock.js.map +1 -0
- package/out/templator/index.d.ts +18 -0
- package/out/templator/index.js +34 -0
- package/out/templator/index.js.map +1 -0
- package/out/templator/utils.d.ts +676 -0
- package/out/templator/utils.js +469 -0
- package/out/templator/utils.js.map +1 -0
- package/out/translator/constant.d.ts +6 -0
- package/out/translator/constant.js +10 -0
- package/out/translator/constant.js.map +1 -0
- package/out/translator/index.d.ts +3 -0
- package/out/translator/index.js +20 -0
- package/out/translator/index.js.map +1 -0
- package/out/translator/types.d.ts +32 -0
- package/out/translator/types.js +3 -0
- package/out/translator/types.js.map +1 -0
- package/out/translator/utils.d.ts +25 -0
- package/out/translator/utils.js +120 -0
- package/out/translator/utils.js.map +1 -0
- package/out/utils/index.d.ts +42 -0
- package/out/utils/index.js +213 -0
- package/out/utils/index.js.map +1 -0
- package/out/utils/logger.d.ts +7 -0
- package/out/utils/logger.js +23 -0
- package/out/utils/logger.js.map +1 -0
- package/out/utils/sortTsString.d.ts +1 -0
- package/out/utils/sortTsString.js +36 -0
- package/out/utils/sortTsString.js.map +1 -0
- package/out/utils/string.d.ts +51 -0
- package/out/utils/string.js +110 -0
- package/out/utils/string.js.map +1 -0
- package/out/utils/time.d.ts +1 -0
- package/out/utils/time.js +6 -0
- package/out/utils/time.js.map +1 -0
- package/out/utils/traverse.d.ts +36 -0
- package/out/utils/traverse.js +145 -0
- package/out/utils/traverse.js.map +1 -0
- package/out/utils/types.d.ts +1 -0
- package/out/utils/types.js +3 -0
- package/out/utils/types.js.map +1 -0
- package/out/utils/window.d.ts +7 -0
- package/out/utils/window.js +14 -0
- package/out/utils/window.js.map +1 -0
- package/package.json +1 -1
- package/src/concepts/BindEvent__.ts +5 -6
- package/src/concepts/Module__.ts +2 -2
- package/src/concepts/View__.ts +2 -2
- package/src/server/naslServer.ts +4 -4
- package/src/service/storage/init.ts +3 -2
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { TranslatorState } from '../translator';
|
|
2
|
+
import { Params } from '../common/EventEmitter';
|
|
3
|
+
import BaseNode from '../common/BaseNode';
|
|
4
|
+
import Entity from './Entity__';
|
|
5
|
+
import Module from './Module__';
|
|
6
|
+
import App from './App__';
|
|
7
|
+
/**
|
|
8
|
+
* 数据源
|
|
9
|
+
*/
|
|
10
|
+
export declare class DataSource extends BaseNode {
|
|
11
|
+
/** 类名 */
|
|
12
|
+
static readonly ConceptName = "DataSource";
|
|
13
|
+
/**
|
|
14
|
+
* 产品概念
|
|
15
|
+
*/
|
|
16
|
+
readonly concept: 'DataSource';
|
|
17
|
+
/**
|
|
18
|
+
* 数据源名称
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* 数据源描述
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
* 实体列表
|
|
27
|
+
*/
|
|
28
|
+
entities: Array<Entity>;
|
|
29
|
+
/**
|
|
30
|
+
* 祖先 Module
|
|
31
|
+
*/
|
|
32
|
+
get module(): Module;
|
|
33
|
+
/**
|
|
34
|
+
* 祖先 App
|
|
35
|
+
*/
|
|
36
|
+
get app(): App;
|
|
37
|
+
/**
|
|
38
|
+
* @param source 需要合并的部分参数
|
|
39
|
+
*/
|
|
40
|
+
constructor(source?: Partial<DataSource>);
|
|
41
|
+
static from(source: any, parentNode?: any, parentKey?: string): DataSource;
|
|
42
|
+
/**
|
|
43
|
+
* 从父级删除该节点
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
_delete(): Params;
|
|
47
|
+
/**
|
|
48
|
+
* 设置数据源描述
|
|
49
|
+
*/
|
|
50
|
+
setDescription(description: string): void;
|
|
51
|
+
getEntityExistingNames(excludedList?: Array<Entity>): string[];
|
|
52
|
+
getEntityUniqueName(name?: string): string;
|
|
53
|
+
/**
|
|
54
|
+
* 插入实体
|
|
55
|
+
* @internal
|
|
56
|
+
* @param name 实体名称,如果不填会自动生成一个唯一名称
|
|
57
|
+
*/
|
|
58
|
+
_insertEntityAt(name: string, index: number): Entity;
|
|
59
|
+
/**
|
|
60
|
+
* 插入实体
|
|
61
|
+
* @internal
|
|
62
|
+
* @param entityOptions 实体参数
|
|
63
|
+
*/
|
|
64
|
+
_insertEntityAt(entityOptions: Partial<Entity>, index: number): Entity;
|
|
65
|
+
/**
|
|
66
|
+
* 插入实体
|
|
67
|
+
* @internal
|
|
68
|
+
* @param entity 已有的实体实例
|
|
69
|
+
*/
|
|
70
|
+
_insertEntityAt(entity: Entity, index: number): Entity;
|
|
71
|
+
/**
|
|
72
|
+
* 插入实体
|
|
73
|
+
* @param name 实体名称,如果不填会自动生成一个唯一名称
|
|
74
|
+
*/
|
|
75
|
+
insertEntityAt(name: string, index: number): Entity;
|
|
76
|
+
/**
|
|
77
|
+
* 插入实体
|
|
78
|
+
* @param entityOptions 实体参数
|
|
79
|
+
*/
|
|
80
|
+
insertEntityAt(entityOptions: Partial<Entity>, index: number): Entity;
|
|
81
|
+
/**
|
|
82
|
+
* 插入实体
|
|
83
|
+
* @param entity 已有的实体实例
|
|
84
|
+
*/
|
|
85
|
+
insertEntityAt(entity: Entity, index: number): Entity;
|
|
86
|
+
/**
|
|
87
|
+
* 添加实体
|
|
88
|
+
* @internal
|
|
89
|
+
* @param name 实体名称,如果不填会自动生成一个唯一名称
|
|
90
|
+
*/
|
|
91
|
+
_addEntity(name?: string): Entity;
|
|
92
|
+
/**
|
|
93
|
+
* 添加实体
|
|
94
|
+
* @internal
|
|
95
|
+
* @param entityOptions 实体参数
|
|
96
|
+
*/
|
|
97
|
+
_addEntity(entityOptions: Partial<Entity>): Entity;
|
|
98
|
+
/**
|
|
99
|
+
* 添加实体
|
|
100
|
+
* @internal
|
|
101
|
+
* @param entity 已有的实体实例
|
|
102
|
+
*/
|
|
103
|
+
_addEntity(entity: Entity): Entity;
|
|
104
|
+
/**
|
|
105
|
+
* 添加实体
|
|
106
|
+
* @internal
|
|
107
|
+
* @param name 实体名称,如果不填会自动生成一个唯一名称
|
|
108
|
+
*/
|
|
109
|
+
addEntity(name?: string): Entity;
|
|
110
|
+
/**
|
|
111
|
+
* 添加实体
|
|
112
|
+
* @param entityOptions 实体参数
|
|
113
|
+
*/
|
|
114
|
+
addEntity(entityOptions: Partial<Entity>): Entity;
|
|
115
|
+
/**
|
|
116
|
+
* 添加实体
|
|
117
|
+
* @param entity 已有的实体实例
|
|
118
|
+
*/
|
|
119
|
+
addEntity(entity: Entity): Entity;
|
|
120
|
+
/**
|
|
121
|
+
* 删除实体
|
|
122
|
+
* @param name 实体名称
|
|
123
|
+
*/
|
|
124
|
+
removeEntity(name: string): void;
|
|
125
|
+
/**
|
|
126
|
+
* 删除实体
|
|
127
|
+
* @param entity 已有的实体实例
|
|
128
|
+
*/
|
|
129
|
+
removeEntity(entity: Entity): void;
|
|
130
|
+
__removeEntity(entity: Entity): Params;
|
|
131
|
+
findEntityByName(name: string): Entity;
|
|
132
|
+
/**
|
|
133
|
+
* 设置DataSource的名称
|
|
134
|
+
*/
|
|
135
|
+
setName(name: string): void;
|
|
136
|
+
getNamespace(): string;
|
|
137
|
+
getEntityExistingTableNames(excludedList?: Array<Entity>): string[];
|
|
138
|
+
getEntityUniqueTableName(name?: string, excludedList?: Array<Entity>): string;
|
|
139
|
+
/**
|
|
140
|
+
* 根据全局设置中的数据库命名规则,生成 实体表名
|
|
141
|
+
*/
|
|
142
|
+
genFormatEntityTableName(entity: Entity): any;
|
|
143
|
+
/**
|
|
144
|
+
* 生成宿主语言的文件路径
|
|
145
|
+
* @param name 一般不用传,用于 rename
|
|
146
|
+
*/
|
|
147
|
+
getEmbeddedFilePath(name?: string): string;
|
|
148
|
+
toEmbeddedTS(state?: TranslatorState): string;
|
|
149
|
+
toEmbeddedTSFile(): {
|
|
150
|
+
code: string;
|
|
151
|
+
filePath: string;
|
|
152
|
+
sourceMap: import("../translator").SourceMap;
|
|
153
|
+
};
|
|
154
|
+
pingDatabase(recordEnvConnectError: Function): Promise<void>;
|
|
155
|
+
recordEnvConnectError(records: any[], env: string): void;
|
|
156
|
+
get dataSourceSqlType(): any;
|
|
157
|
+
get dataSourceConfig(): {
|
|
158
|
+
devProperty: import("./ConfigPropertyValue__").ConfigPropertyValue;
|
|
159
|
+
onlineProperty: import("./ConfigPropertyValue__").ConfigPropertyValue;
|
|
160
|
+
devValue: any;
|
|
161
|
+
onlineValue: any;
|
|
162
|
+
};
|
|
163
|
+
__hasDatabaseConfig: Boolean;
|
|
164
|
+
}
|
|
165
|
+
export default DataSource;
|
|
@@ -0,0 +1,442 @@
|
|
|
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 DataSource_1;
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DataSource = void 0;
|
|
37
|
+
const translator_1 = require("../translator");
|
|
38
|
+
const datasource_1 = __importDefault(require("../service/datasource"));
|
|
39
|
+
const decorators_1 = require("../decorators");
|
|
40
|
+
const utils = __importStar(require("../utils"));
|
|
41
|
+
const BaseNode_1 = __importDefault(require("../common/BaseNode"));
|
|
42
|
+
const Entity__1 = __importDefault(require("./Entity__"));
|
|
43
|
+
/**
|
|
44
|
+
* 数据源
|
|
45
|
+
*/
|
|
46
|
+
let DataSource = DataSource_1 =
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
class DataSource extends BaseNode_1.default {
|
|
49
|
+
/** 类名 */
|
|
50
|
+
static ConceptName = 'DataSource';
|
|
51
|
+
/**
|
|
52
|
+
* 产品概念
|
|
53
|
+
*/
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
concept;
|
|
56
|
+
/**
|
|
57
|
+
* 数据源名称
|
|
58
|
+
*/
|
|
59
|
+
// @ts-ignore
|
|
60
|
+
name;
|
|
61
|
+
/**
|
|
62
|
+
* 数据源描述
|
|
63
|
+
*/
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
description;
|
|
66
|
+
/**
|
|
67
|
+
* 实体列表
|
|
68
|
+
*/
|
|
69
|
+
entities = [];
|
|
70
|
+
/**
|
|
71
|
+
* 祖先 Module
|
|
72
|
+
*/
|
|
73
|
+
get module() {
|
|
74
|
+
return this.getAncestor('Module');
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* 祖先 App
|
|
78
|
+
*/
|
|
79
|
+
get app() {
|
|
80
|
+
return this.getAncestor('App');
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @param source 需要合并的部分参数
|
|
84
|
+
*/
|
|
85
|
+
constructor(source) {
|
|
86
|
+
source = Object.assign({}, DataSource_1.getDefaultOptions(), source);
|
|
87
|
+
super(source);
|
|
88
|
+
super.subConstructor(source);
|
|
89
|
+
}
|
|
90
|
+
static from(source, parentNode, parentKey) {
|
|
91
|
+
return super.from(source, parentNode, parentKey);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 从父级删除该节点
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
_delete() {
|
|
98
|
+
let params = null;
|
|
99
|
+
if (this.parentNode) {
|
|
100
|
+
params = this.parentNode?.__removeDataSource?.(this);
|
|
101
|
+
}
|
|
102
|
+
return params;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* 设置数据源描述
|
|
106
|
+
*/
|
|
107
|
+
setDescription(description) {
|
|
108
|
+
const object = {
|
|
109
|
+
description,
|
|
110
|
+
};
|
|
111
|
+
this.update({
|
|
112
|
+
...object,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
getEntityExistingNames(excludedList = []) {
|
|
116
|
+
const excludedSet = new Set(excludedList);
|
|
117
|
+
return (this.entities || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
118
|
+
}
|
|
119
|
+
getEntityUniqueName(name = 'Entity1') {
|
|
120
|
+
return utils.unique(name, this.getEntityExistingNames(), undefined, true);
|
|
121
|
+
}
|
|
122
|
+
_insertEntityAt(options, index) {
|
|
123
|
+
const entityOptions = {};
|
|
124
|
+
const relationOptions = { parentNode: this, parentKey: 'entities' };
|
|
125
|
+
let entity;
|
|
126
|
+
if (!options) {
|
|
127
|
+
entity = Entity__1.default.from({
|
|
128
|
+
...entityOptions,
|
|
129
|
+
name: this.getEntityUniqueName(),
|
|
130
|
+
}, this, 'entities');
|
|
131
|
+
}
|
|
132
|
+
else if (typeof options === 'string') {
|
|
133
|
+
entity = Entity__1.default.from({
|
|
134
|
+
...entityOptions,
|
|
135
|
+
name: options,
|
|
136
|
+
}, this, 'entities');
|
|
137
|
+
}
|
|
138
|
+
else if (options instanceof Entity__1.default) {
|
|
139
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
140
|
+
entity = options;
|
|
141
|
+
Object.assign(entity, relationOptions);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
entity = Entity__1.default.from({
|
|
145
|
+
...entityOptions,
|
|
146
|
+
...options,
|
|
147
|
+
}, this, 'entities');
|
|
148
|
+
}
|
|
149
|
+
this.entities.splice(index, 0, entity);
|
|
150
|
+
return entity;
|
|
151
|
+
}
|
|
152
|
+
insertEntityAt(options, index) {
|
|
153
|
+
const node = this._insertEntityAt(options, index);
|
|
154
|
+
node.create({
|
|
155
|
+
index,
|
|
156
|
+
parentNode: this,
|
|
157
|
+
parentKey: 'entities',
|
|
158
|
+
});
|
|
159
|
+
return node;
|
|
160
|
+
}
|
|
161
|
+
_addEntity(options) {
|
|
162
|
+
const index = 0;
|
|
163
|
+
return this._insertEntityAt(options, index);
|
|
164
|
+
}
|
|
165
|
+
addEntity(options) {
|
|
166
|
+
const node = this._addEntity(options);
|
|
167
|
+
const index = this.entities.indexOf(node);
|
|
168
|
+
node.create({
|
|
169
|
+
index,
|
|
170
|
+
parentNode: this,
|
|
171
|
+
parentKey: 'entities',
|
|
172
|
+
});
|
|
173
|
+
return node;
|
|
174
|
+
}
|
|
175
|
+
removeEntity(options) {
|
|
176
|
+
let entity;
|
|
177
|
+
if (typeof options === 'string') {
|
|
178
|
+
entity = this.entities.find((item) => item.name === options);
|
|
179
|
+
if (!entity) {
|
|
180
|
+
throw new Error('找不到实体 ' + options);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
entity = options;
|
|
185
|
+
}
|
|
186
|
+
return entity.delete();
|
|
187
|
+
}
|
|
188
|
+
__removeEntity(entity) {
|
|
189
|
+
const parentKey = entity.parentKey;
|
|
190
|
+
const params = {
|
|
191
|
+
parentNode: this,
|
|
192
|
+
parentKey,
|
|
193
|
+
index: -1,
|
|
194
|
+
object: null,
|
|
195
|
+
oldObject: entity,
|
|
196
|
+
};
|
|
197
|
+
if (parentKey) {
|
|
198
|
+
params.parentKey = parentKey;
|
|
199
|
+
if (Array.isArray(this[parentKey])) {
|
|
200
|
+
const index = this[parentKey].indexOf(entity);
|
|
201
|
+
~index && this[parentKey].splice(index, 1);
|
|
202
|
+
params.index = index;
|
|
203
|
+
}
|
|
204
|
+
else if (this[parentKey] === entity) {
|
|
205
|
+
params.index = 0;
|
|
206
|
+
this[parentKey] = undefined;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return params;
|
|
210
|
+
}
|
|
211
|
+
//================================================================================
|
|
212
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
213
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
214
|
+
//================================================================================
|
|
215
|
+
findEntityByName(name) {
|
|
216
|
+
return this.entities.find((entity) => entity.name === name);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* 设置DataSource的名称
|
|
220
|
+
*/
|
|
221
|
+
setName(name) {
|
|
222
|
+
const App = this.rootNode;
|
|
223
|
+
App.emit('collect:start', {
|
|
224
|
+
actionMsg: '修改数据源名称',
|
|
225
|
+
});
|
|
226
|
+
// 修改配置对应配置上的 datasource
|
|
227
|
+
const dataSourceGroup = App.configuration?.getGroup('dataSource');
|
|
228
|
+
if (dataSourceGroup) {
|
|
229
|
+
const dataSourceConfig = dataSourceGroup.getProperty(this.name);
|
|
230
|
+
if (dataSourceConfig) {
|
|
231
|
+
dataSourceConfig.setName(name);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
// 修改自己内部的名称
|
|
235
|
+
const object = {
|
|
236
|
+
name,
|
|
237
|
+
};
|
|
238
|
+
this.update({
|
|
239
|
+
...object,
|
|
240
|
+
field: 'name',
|
|
241
|
+
});
|
|
242
|
+
// 结束修改 ,批量操作
|
|
243
|
+
App.emit('collect:end');
|
|
244
|
+
}
|
|
245
|
+
getNamespace() {
|
|
246
|
+
if (this.parentNode && this.parentNode.getNamespace) {
|
|
247
|
+
const parentNamespace = this.parentNode.getNamespace();
|
|
248
|
+
const parentName = this.parentNode.name;
|
|
249
|
+
const arr = [parentNamespace];
|
|
250
|
+
if (this.parentNode.concept !== 'App' && parentName) {
|
|
251
|
+
arr.push(parentName);
|
|
252
|
+
}
|
|
253
|
+
return `${arr.join('.')}.dataSources`;
|
|
254
|
+
}
|
|
255
|
+
else
|
|
256
|
+
throw new Error('无法获取命名空间,请设置 parentNode!');
|
|
257
|
+
}
|
|
258
|
+
getEntityExistingTableNames(excludedList = []) {
|
|
259
|
+
const excludedSet = new Set(excludedList);
|
|
260
|
+
return (this.entities || []).filter((item) => !excludedSet.has(item)).map((item) => item.tableName);
|
|
261
|
+
}
|
|
262
|
+
getEntityUniqueTableName(name = 'Entity1', excludedList = []) {
|
|
263
|
+
return utils.unique(name, this.getEntityExistingTableNames(excludedList), undefined, true);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* 根据全局设置中的数据库命名规则,生成 实体表名
|
|
267
|
+
*/
|
|
268
|
+
genFormatEntityTableName(entity) {
|
|
269
|
+
// Excel、数据源导入的实体不进行表名格式化
|
|
270
|
+
if (entity.isIgnoreFormatTableAndColumnName()) {
|
|
271
|
+
return entity.tableName;
|
|
272
|
+
}
|
|
273
|
+
const tableNameRule = this.app.preferenceMap['namingConvention.tableName'];
|
|
274
|
+
// 平台内置生成的实体需特殊处理 LCAP 前缀
|
|
275
|
+
// 在驼峰规则时,保持 LCAP 前缀为大写
|
|
276
|
+
// LCAPUser 转驼峰-> LCAPUser
|
|
277
|
+
// LCAPUser 转下划线-> lcap_user *提前处理成 Lcap
|
|
278
|
+
// lcap_user 转驼峰-> LCAPUser *转完处理成 LCAP
|
|
279
|
+
// lcap_user 转下划线-> lcap_user
|
|
280
|
+
const builtinEntityNames = ['LCAPUser', 'LCAPRolePerMapping', 'LCAPPerResMapping', 'LCAPUserRoleMapping', 'LCAPRole', 'LCAPPermission', 'LCAPResource'];
|
|
281
|
+
const isBuiltin = builtinEntityNames.some((name) => name === entity.name);
|
|
282
|
+
let temTableName = entity.tableName || entity.name;
|
|
283
|
+
if (isBuiltin && tableNameRule === 'snake_case' && temTableName.startsWith('LCAP')) {
|
|
284
|
+
temTableName = temTableName.replace(/^LCAP/i, 'Lcap');
|
|
285
|
+
}
|
|
286
|
+
const formatMap = {
|
|
287
|
+
camelCase: utils.snake2Camel,
|
|
288
|
+
snake_case: utils.Camel2Snake,
|
|
289
|
+
};
|
|
290
|
+
// 格式化 entity tableName
|
|
291
|
+
const tableNameFormatter = formatMap[tableNameRule];
|
|
292
|
+
let newTableName = tableNameFormatter && tableNameFormatter(temTableName);
|
|
293
|
+
if (isBuiltin && tableNameRule === 'camelCase' && newTableName.startsWith('Lcap')) {
|
|
294
|
+
newTableName = newTableName.replace(/^Lcap/i, 'LCAP');
|
|
295
|
+
}
|
|
296
|
+
newTableName = this.getEntityUniqueTableName(newTableName, [entity]);
|
|
297
|
+
return newTableName;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* 生成宿主语言的文件路径
|
|
301
|
+
* @param name 一般不用传,用于 rename
|
|
302
|
+
*/
|
|
303
|
+
getEmbeddedFilePath(name = this.name) {
|
|
304
|
+
return `/embedded/${this.rootNode?.name || this.parentNode.name}/datasources/${name}.ts`;
|
|
305
|
+
}
|
|
306
|
+
toEmbeddedTS(state) {
|
|
307
|
+
let code = `export namespace ${this.name} {\n`;
|
|
308
|
+
code += 'const name = ';
|
|
309
|
+
code += '"' + this.name + '";\n';
|
|
310
|
+
code += '}\n';
|
|
311
|
+
return code;
|
|
312
|
+
}
|
|
313
|
+
toEmbeddedTSFile() {
|
|
314
|
+
let code = `namespace ${this.getNamespace()} {\n`;
|
|
315
|
+
const state = (0, translator_1.createCompilerState)(code, { tabSize: 1 });
|
|
316
|
+
try {
|
|
317
|
+
code += this.toEmbeddedTS(state);
|
|
318
|
+
}
|
|
319
|
+
catch (err) {
|
|
320
|
+
code += '';
|
|
321
|
+
console.error(err);
|
|
322
|
+
}
|
|
323
|
+
code += '}\n';
|
|
324
|
+
return {
|
|
325
|
+
code,
|
|
326
|
+
filePath: this.getEmbeddedFilePath(),
|
|
327
|
+
sourceMap: state.sourceMap,
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
// 测试数据源连通性
|
|
331
|
+
async pingDatabase(recordEnvConnectError) {
|
|
332
|
+
const configProperty = this.app.configuration.getGroup('dataSource').getProperty(this.name);
|
|
333
|
+
configProperty && configProperty.values.forEach((prop) => {
|
|
334
|
+
// 未配置数据源时,不进行连接测试
|
|
335
|
+
if (!prop.value) {
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
let isRecycled = false;
|
|
339
|
+
try {
|
|
340
|
+
const value = JSON.parse(prop.value);
|
|
341
|
+
// 被回收的数据库不需要 Ping
|
|
342
|
+
if (value.dataBaseMode === 'Platform_Generation' && value.status === 1) {
|
|
343
|
+
isRecycled = true;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
catch (e) { }
|
|
347
|
+
const env = prop.env;
|
|
348
|
+
return isRecycled ? Promise.resolve() : datasource_1.default.pingDatabase({
|
|
349
|
+
body: {
|
|
350
|
+
category: 'sql',
|
|
351
|
+
appId: this.app.id,
|
|
352
|
+
dataSource: configProperty.name,
|
|
353
|
+
env,
|
|
354
|
+
},
|
|
355
|
+
}).then(() => {
|
|
356
|
+
Object.assign(this, { [`__${env}ConnectError`]: false });
|
|
357
|
+
}).catch(() => {
|
|
358
|
+
Object.assign(this, { [`__${env}ConnectError`]: true });
|
|
359
|
+
}).then(() => {
|
|
360
|
+
recordEnvConnectError(env);
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
recordEnvConnectError(records, env) {
|
|
365
|
+
const target = records?.find((item) => item.id === this.id);
|
|
366
|
+
// 诊断还未生成,在诊断时生成问题
|
|
367
|
+
if (!target) {
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
// 诊断已生成,手动插入问题
|
|
371
|
+
const errorKey = `__${env}ConnectError`;
|
|
372
|
+
const errorText = `DataSource ${env} env connect error`;
|
|
373
|
+
target.semanticDiagnostics = target.semanticDiagnostics.filter((item) => item.code !== errorText);
|
|
374
|
+
if (this[errorKey]) {
|
|
375
|
+
const envText = env === 'online' ? '生产' : '开发';
|
|
376
|
+
target.semanticDiagnostics.push({
|
|
377
|
+
text: errorText,
|
|
378
|
+
node: this,
|
|
379
|
+
severity: 'warning',
|
|
380
|
+
message: `数据源配置:数据源 ${this.name} ${envText}环境数据源连接不通,请先检查${envText}环境数据源配置`,
|
|
381
|
+
originalDiagnostic: {
|
|
382
|
+
fileName: '',
|
|
383
|
+
start: null,
|
|
384
|
+
end: null,
|
|
385
|
+
category: 'warning',
|
|
386
|
+
text: `DataSource connection error`,
|
|
387
|
+
},
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
get dataSourceSqlType() {
|
|
392
|
+
return JSON.parse(this.dataSourceConfig?.devProperty?.value || '{}')?.type;
|
|
393
|
+
}
|
|
394
|
+
// 获取datasource对应的数据源配置
|
|
395
|
+
get dataSourceConfig() {
|
|
396
|
+
let devProperty = null;
|
|
397
|
+
let onlineProperty = null;
|
|
398
|
+
let devValue = null;
|
|
399
|
+
let onlineValue = null;
|
|
400
|
+
const dataSourceGroup = this.rootNode.configuration?.getGroup('dataSource');
|
|
401
|
+
if (dataSourceGroup) {
|
|
402
|
+
const property = dataSourceGroup.getProperty(this.name);
|
|
403
|
+
if (property && property.values) {
|
|
404
|
+
devProperty = property.values.find((item) => item.env === 'dev');
|
|
405
|
+
devValue = { ...devProperty, ...JSON.parse(devProperty.value || '{}') };
|
|
406
|
+
onlineProperty = property.values.find((item) => item.env === 'online');
|
|
407
|
+
onlineValue = { ...onlineProperty, ...JSON.parse(onlineProperty?.value || '{}') };
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
return {
|
|
411
|
+
devProperty,
|
|
412
|
+
onlineProperty,
|
|
413
|
+
devValue,
|
|
414
|
+
onlineValue,
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
__hasDatabaseConfig = false;
|
|
418
|
+
};
|
|
419
|
+
__decorate([
|
|
420
|
+
(0, decorators_1.property)()
|
|
421
|
+
], DataSource.prototype, "name", void 0);
|
|
422
|
+
__decorate([
|
|
423
|
+
(0, decorators_1.property)()
|
|
424
|
+
], DataSource.prototype, "description", void 0);
|
|
425
|
+
__decorate([
|
|
426
|
+
(0, decorators_1.property)('Entity')
|
|
427
|
+
], DataSource.prototype, "entities", void 0);
|
|
428
|
+
__decorate([
|
|
429
|
+
(0, translator_1.withSourceMap)()
|
|
430
|
+
], DataSource.prototype, "toEmbeddedTS", null);
|
|
431
|
+
DataSource = DataSource_1 = __decorate([
|
|
432
|
+
decorators_1.className,
|
|
433
|
+
(0, decorators_1.concept)('数据源')
|
|
434
|
+
// @ts-ignore
|
|
435
|
+
], DataSource);
|
|
436
|
+
exports.DataSource = DataSource;
|
|
437
|
+
exports.default = DataSource;
|
|
438
|
+
//================================================================================
|
|
439
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
440
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
441
|
+
//================================================================================
|
|
442
|
+
//# sourceMappingURL=DataSource__.js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,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,CAAC;gBACxE,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;gBACvE,WAAW,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,IAAI,IAAI,CAAC,EAAE,CAAC;aACrF;SACJ;QACD,OAAO;YACH,WAAW;YACX,cAAc;YACd,QAAQ;YACR,WAAW;SACd,CAAC;IACN,CAAC;IAED,mBAAmB,GAAY,KAAK,CAAC;CAKxC,CAAA;AA/dG;IAFC,IAAA,qBAAQ,GAAE;wCAEG;AAOd;IAFC,IAAA,qBAAQ,GAAE;+CAEU;AAMrB;IADC,IAAA,qBAAQ,EAAC,QAAQ,CAAC;4CACU;AAyV7B;IADC,IAAA,0BAAa,GAAE;8CAOf;AA3XQ,UAAU;IAHtB,sBAAS;IACT,IAAA,oBAAO,EAAC,KAAK,CAAC;IACf,aAAa;GACA,UAAU,CA8etB;AA9eY,gCAAU;AAgfvB,kBAAe,UAAU,CAAC;AAC1B,kFAAkF;AAClF,gEAAgE;AAChE,uBAAuB;AACvB,kFAAkF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Params } from '../common/EventEmitter';
|
|
2
|
+
import BaseNode from '../common/BaseNode';
|
|
3
|
+
/**
|
|
4
|
+
* 数据库存储类型
|
|
5
|
+
*/
|
|
6
|
+
export declare class DatabaseTypeAnnotation extends BaseNode {
|
|
7
|
+
/** 类名 */
|
|
8
|
+
static readonly ConceptName = "DatabaseTypeAnnotation";
|
|
9
|
+
/**
|
|
10
|
+
* 产品概念
|
|
11
|
+
*/
|
|
12
|
+
readonly concept: 'DatabaseTypeAnnotation';
|
|
13
|
+
/**
|
|
14
|
+
* 类型名
|
|
15
|
+
*/
|
|
16
|
+
typeName: string;
|
|
17
|
+
/**
|
|
18
|
+
* arguments
|
|
19
|
+
*/
|
|
20
|
+
arguments: Map<string, string>;
|
|
21
|
+
/**
|
|
22
|
+
* @param source 需要合并的部分参数
|
|
23
|
+
*/
|
|
24
|
+
constructor(source?: Partial<DatabaseTypeAnnotation>);
|
|
25
|
+
static from(source: any, parentNode?: any, parentKey?: string): DatabaseTypeAnnotation;
|
|
26
|
+
/**
|
|
27
|
+
* 从父级删除该节点
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
_delete(): Params;
|
|
31
|
+
}
|
|
32
|
+
export default DatabaseTypeAnnotation;
|