@lcap/nasl 3.4.0-beta.6 → 3.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.js +1 -1
- package/out/automate/engine/uniqueName.js +7 -3
- package/out/automate/engine/uniqueName.js.map +1 -1
- package/out/automate/engine/utils.d.ts +1 -1
- package/out/automate/engine/utils.js +6 -6
- package/out/automate/engine/utils.js.map +1 -1
- package/out/bak/translator.js +2 -1
- package/out/bak/translator.js.map +1 -1
- package/out/breakpoint/generator/AfterStartNode.js +1 -1
- package/out/breakpoint/generator/AfterStartNode.js.map +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.js +3 -3
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/common/BaseNode.d.ts +16 -12
- package/out/common/BaseNode.js +41 -140
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/Command.js +1 -2
- package/out/common/Command.js.map +1 -1
- package/out/common/EventEmitter.d.ts +1 -1
- package/out/common/EventEmitter.js +8 -2
- package/out/common/EventEmitter.js.map +1 -1
- package/out/common/Messager.js +0 -2
- package/out/common/Messager.js.map +1 -1
- package/out/common/utils.d.ts +2 -2
- package/out/common/utils.js.map +1 -1
- package/out/concepts/Abort__.d.ts +1 -1
- package/out/concepts/Abort__.js +9 -17
- package/out/concepts/Abort__.js.map +1 -1
- package/out/concepts/AbstractInterface__.d.ts +1 -1
- package/out/concepts/AbstractInterface__.js +5 -9
- package/out/concepts/AbstractInterface__.js.map +1 -1
- package/out/concepts/Anchor__.d.ts +1 -1
- package/out/concepts/Anchor__.js +6 -19
- package/out/concepts/Anchor__.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +5 -5
- package/out/concepts/AnonymousFunction__.js +28 -53
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +19 -19
- package/out/concepts/App__.js +243 -295
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.d.ts +3 -3
- package/out/concepts/Argument__.js +12 -35
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/Assignee__.d.ts +2 -2
- package/out/concepts/Assignee__.js +41 -46
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/AssignmentLine__.d.ts +1 -1
- package/out/concepts/AssignmentLine__.js +13 -21
- package/out/concepts/AssignmentLine__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts +2 -2
- package/out/concepts/Assignment__.js +43 -38
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/Attribute__.d.ts +6 -6
- package/out/concepts/Attribute__.js +16 -74
- package/out/concepts/Attribute__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +3 -3
- package/out/concepts/AuthInterface__.js +11 -24
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +2 -2
- package/out/concepts/AuthLogicForCallInterface__.js +44 -50
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +7 -7
- package/out/concepts/AuthLogic__.js +11 -24
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +10 -10
- package/out/concepts/BackendVariable__.js +37 -58
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +3 -3
- package/out/concepts/Backend__.js +21 -33
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/BatchAssignment__.d.ts +4 -4
- package/out/concepts/BatchAssignment__.js +45 -53
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts +1 -1
- package/out/concepts/BinaryExpression__.js +15 -33
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +13 -13
- package/out/concepts/BindAttribute__.js +29 -87
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +7 -7
- package/out/concepts/BindDirective__.js +19 -66
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +11 -11
- package/out/concepts/BindEvent__.js +43 -66
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +7 -7
- package/out/concepts/BindStyle__.js +19 -36
- package/out/concepts/BindStyle__.js.map +1 -1
- package/out/concepts/Block__.d.ts +1 -1
- package/out/concepts/Block__.js +15 -20
- package/out/concepts/Block__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.d.ts +1 -1
- package/out/concepts/BooleanLiteral__.js +5 -18
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +6 -5
- package/out/concepts/CallAuthInterface__.js +22 -27
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +3 -3
- package/out/concepts/CallConnector__.js +16 -29
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +4 -4
- package/out/concepts/CallFunction__.js +59 -59
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +7 -6
- package/out/concepts/CallInterface__.js +65 -63
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +5 -5
- package/out/concepts/CallLogic__.js +116 -116
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts +15 -15
- package/out/concepts/CallQueryComponent__.js +83 -114
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/Comment__.d.ts +1 -1
- package/out/concepts/Comment__.js +5 -18
- package/out/concepts/Comment__.js.map +1 -1
- package/out/concepts/CompletionProperty__.d.ts +2 -2
- package/out/concepts/CompletionProperty__.js +18 -62
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.d.ts +3 -3
- package/out/concepts/ConfigGroup__.js +21 -33
- package/out/concepts/ConfigGroup__.js.map +1 -1
- package/out/concepts/ConfigPropertyValue__.d.ts +2 -2
- package/out/concepts/ConfigPropertyValue__.js +11 -29
- package/out/concepts/ConfigPropertyValue__.js.map +1 -1
- package/out/concepts/ConfigProperty__.d.ts +4 -4
- package/out/concepts/ConfigProperty__.js +21 -43
- package/out/concepts/ConfigProperty__.js.map +1 -1
- package/out/concepts/Configuration__.d.ts +4 -4
- package/out/concepts/Configuration__.js +21 -28
- package/out/concepts/Configuration__.js.map +1 -1
- package/out/concepts/Connection__.d.ts +4 -4
- package/out/concepts/Connection__.js +21 -43
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +7 -7
- package/out/concepts/ConnectorTrigger__.js +11 -34
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +15 -15
- package/out/concepts/Connector__.js +87 -124
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/Constant__.d.ts +11 -11
- package/out/concepts/Constant__.js +28 -43
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +28 -0
- package/out/concepts/CountersignPolicy__.js +62 -0
- package/out/concepts/CountersignPolicy__.js.map +1 -0
- package/out/concepts/DataSource__.d.ts +4 -4
- package/out/concepts/DataSource__.js +22 -44
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.js +5 -23
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
- package/out/concepts/DefaultValue__.d.ts +2 -2
- package/out/concepts/DefaultValue__.js +43 -25
- package/out/concepts/DefaultValue__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +5 -5
- package/out/concepts/Destination__.js +33 -53
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.d.ts +1 -1
- package/out/concepts/End__.js +9 -17
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityIndex__.d.ts +5 -5
- package/out/concepts/EntityIndex__.js +15 -43
- package/out/concepts/EntityIndex__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +13 -9
- package/out/concepts/EntityProperty__.js +41 -119
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +7 -7
- package/out/concepts/Entity__.js +40 -64
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.d.ts +4 -4
- package/out/concepts/EnumItem__.js +11 -37
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/Enum__.d.ts +5 -5
- package/out/concepts/Enum__.js +23 -54
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/Event__.d.ts +5 -5
- package/out/concepts/Event__.js +21 -53
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ExternalDestination__.d.ts +2 -2
- package/out/concepts/ExternalDestination__.js +38 -33
- package/out/concepts/ExternalDestination__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts +2 -2
- package/out/concepts/ForEachStatement__.js +28 -73
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +5 -5
- package/out/concepts/FrontendLibrary__.js +30 -47
- package/out/concepts/FrontendLibrary__.js.map +1 -1
- package/out/concepts/FrontendVariable__.d.ts +13 -1
- package/out/concepts/FrontendVariable__.js +23 -13
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +8 -8
- package/out/concepts/Frontend__.js +91 -108
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Function__.d.ts +8 -8
- package/out/concepts/Function__.js +53 -73
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +1 -1
- package/out/concepts/I18nInfo__.js +5 -28
- package/out/concepts/I18nInfo__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +2 -2
- package/out/concepts/Identifier__.js +43 -38
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.d.ts +1 -1
- package/out/concepts/IfStatement__.js +43 -30
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/ImportedInterface__.d.ts +1 -1
- package/out/concepts/ImportedInterface__.js +5 -14
- package/out/concepts/ImportedInterface__.js.map +1 -1
- package/out/concepts/Integration__.d.ts +5 -5
- package/out/concepts/Integration__.js +21 -33
- package/out/concepts/Integration__.js.map +1 -1
- package/out/concepts/InterfaceParam__.d.ts +11 -11
- package/out/concepts/InterfaceParam__.js +11 -49
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +16 -15
- package/out/concepts/Interface__.js +43 -81
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/JSBlock__.d.ts +1 -1
- package/out/concepts/JSBlock__.js +9 -22
- package/out/concepts/JSBlock__.js.map +1 -1
- package/out/concepts/JavaLogic__.d.ts +1 -1
- package/out/concepts/JavaLogic__.js +5 -28
- package/out/concepts/JavaLogic__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +12 -12
- package/out/concepts/LogicItem__.js +18 -45
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +20 -19
- package/out/concepts/Logic__.js +110 -155
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.d.ts +2 -2
- package/out/concepts/MatchCase__.js +36 -43
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Match__.d.ts +3 -3
- package/out/concepts/Match__.js +84 -56
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +3 -2
- package/out/concepts/MemberExpression__.js +58 -48
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/MetadataType__.d.ts +6 -14
- package/out/concepts/MetadataType__.js +36 -77
- package/out/concepts/MetadataType__.js.map +1 -1
- package/out/concepts/MicroApp__.d.ts +1 -1
- package/out/concepts/MicroApp__.js +5 -48
- package/out/concepts/MicroApp__.js.map +1 -1
- package/out/concepts/Module__.d.ts +16 -16
- package/out/concepts/Module__.js +126 -190
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/MsgTriggerEvent__.d.ts +8 -8
- package/out/concepts/MsgTriggerEvent__.js +21 -28
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +5 -5
- package/out/concepts/MsgTriggerLauncher__.js +21 -33
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +26 -0
- package/out/concepts/MultiApprovalPolicy__.js +59 -0
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -0
- package/out/concepts/Namespace__.d.ts +12 -12
- package/out/concepts/Namespace__.js +115 -140
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +6 -6
- package/out/concepts/NewComposite__.js +70 -71
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +2 -2
- package/out/concepts/NewList__.js +19 -30
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/NewMap__.d.ts +2 -2
- package/out/concepts/NewMap__.js +28 -39
- package/out/concepts/NewMap__.js.map +1 -1
- package/out/concepts/New__.d.ts +1 -1
- package/out/concepts/New__.js +5 -13
- package/out/concepts/New__.js.map +1 -1
- package/out/concepts/NullLiteral__.d.ts +2 -2
- package/out/concepts/NullLiteral__.js +6 -14
- package/out/concepts/NullLiteral__.js.map +1 -1
- package/out/concepts/NumericLiteral__.d.ts +3 -3
- package/out/concepts/NumericLiteral__.js +8 -26
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts +4 -4
- package/out/concepts/OqlQueryComponent__.js +18 -41
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +18 -18
- package/out/concepts/OverriddenLogic__.js +108 -148
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Param__.d.ts +15 -15
- package/out/concepts/Param__.js +60 -66
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Point__.d.ts +1 -1
- package/out/concepts/Point__.js +5 -23
- package/out/concepts/Point__.js.map +1 -1
- package/out/concepts/ProcessComponent__.d.ts +5 -5
- package/out/concepts/ProcessComponent__.js +30 -57
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.d.ts +29 -13
- package/out/concepts/ProcessElement__.js +119 -119
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.d.ts +1 -1
- package/out/concepts/ProcessOutcome__.js +9 -22
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +1 -1
- package/out/concepts/ProcessOutcomes__.js +13 -21
- package/out/concepts/ProcessOutcomes__.js.map +1 -1
- package/out/concepts/Process__.d.ts +11 -9
- package/out/concepts/Process__.js +64 -85
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/QueryAggregateExpression__.d.ts +2 -2
- package/out/concepts/QueryAggregateExpression__.js +5 -28
- package/out/concepts/QueryAggregateExpression__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.d.ts +1 -1
- package/out/concepts/QueryFieldExpression__.js +9 -32
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.d.ts +2 -2
- package/out/concepts/QueryFromExpression__.js +36 -35
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryGroupByExpression__.d.ts +1 -1
- package/out/concepts/QueryGroupByExpression__.js +5 -18
- package/out/concepts/QueryGroupByExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +2 -2
- package/out/concepts/QueryJoinExpression__.js +22 -48
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryLimitExpression__.d.ts +1 -1
- package/out/concepts/QueryLimitExpression__.js +5 -23
- package/out/concepts/QueryLimitExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +1 -1
- package/out/concepts/QueryOrderByExpression__.js +5 -23
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.d.ts +3 -3
- package/out/concepts/QuerySelectExpression__.js +28 -35
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Rect__.d.ts +1 -1
- package/out/concepts/Rect__.js +5 -33
- package/out/concepts/Rect__.js.map +1 -1
- package/out/concepts/Return__.d.ts +13 -13
- package/out/concepts/Return__.js +30 -52
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Role__.d.ts +2 -2
- package/out/concepts/Role__.js +15 -38
- package/out/concepts/Role__.js.map +1 -1
- package/out/concepts/SelectMembers__.d.ts +2 -2
- package/out/concepts/SelectMembers__.js +19 -31
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/SequentialPolicy__.d.ts +20 -0
- package/out/concepts/SequentialPolicy__.js +48 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +5 -5
- package/out/concepts/Slot__.js +11 -49
- package/out/concepts/Slot__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +4 -4
- package/out/concepts/SqlQueryComponent__.js +16 -44
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/Start__.d.ts +1 -1
- package/out/concepts/Start__.js +9 -17
- package/out/concepts/Start__.js.map +1 -1
- package/out/concepts/StaticString__.d.ts +49 -0
- package/out/concepts/StaticString__.js +91 -0
- package/out/concepts/StaticString__.js.map +1 -0
- package/out/concepts/StringInterpolation__.d.ts +2 -2
- package/out/concepts/StringInterpolation__.js +22 -23
- package/out/concepts/StringInterpolation__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts +2 -2
- package/out/concepts/StringLiteral__.js +10 -23
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +11 -7
- package/out/concepts/StructureProperty__.js +23 -66
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +7 -6
- package/out/concepts/Structure__.js +30 -52
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SwitchCase__.d.ts +1 -1
- package/out/concepts/SwitchCase__.js +36 -24
- package/out/concepts/SwitchCase__.js.map +1 -1
- package/out/concepts/SwitchStatement__.d.ts +2 -2
- package/out/concepts/SwitchStatement__.js +36 -20
- package/out/concepts/SwitchStatement__.js.map +1 -1
- package/out/concepts/Theme__.d.ts +1 -1
- package/out/concepts/Theme__.js +13 -21
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/Transactional__.d.ts +9 -9
- package/out/concepts/Transactional__.js +11 -34
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TriggerEvent__.d.ts +9 -78
- package/out/concepts/TriggerEvent__.js +15 -118
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +4 -4
- package/out/concepts/TriggerLauncher__.js +11 -39
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +7 -6
- package/out/concepts/TypeAnnotation__.js +41 -65
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +1 -1
- package/out/concepts/TypeParam__.js +11 -24
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.d.ts +1 -1
- package/out/concepts/UnaryExpression__.js +5 -23
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Unparsed__.d.ts +2 -2
- package/out/concepts/Unparsed__.js +6 -19
- package/out/concepts/Unparsed__.js.map +1 -1
- package/out/concepts/UseComponent__.d.ts +1 -1
- package/out/concepts/UseComponent__.js +5 -23
- package/out/concepts/UseComponent__.js.map +1 -1
- package/out/concepts/ValidationRule__.d.ts +3 -3
- package/out/concepts/ValidationRule__.js +48 -51
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +16 -16
- package/out/concepts/Variable__.js +38 -54
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewBlock__.d.ts +1 -1
- package/out/concepts/ViewBlock__.js +5 -28
- package/out/concepts/ViewBlock__.js.map +1 -1
- package/out/concepts/ViewComponent__.d.ts +8 -8
- package/out/concepts/ViewComponent__.js +110 -121
- package/out/concepts/ViewComponent__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +9 -9
- package/out/concepts/ViewElement__.js +138 -162
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +25 -13
- package/out/concepts/View__.js +197 -184
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.d.ts +1 -1
- package/out/concepts/WhileStatement__.js +36 -24
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/index.d.ts +12 -0
- package/out/concepts/basics/stdlib/index.js +46 -1
- package/out/concepts/basics/stdlib/index.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.d.ts +7 -5
- package/out/concepts/basics/stdlib/nasl.auth.js +76 -69
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.browser.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.browser.js +54 -45
- package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.collection.d.ts +7 -5
- package/out/concepts/basics/stdlib/nasl.collection.js +29 -24
- package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.configuration.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.configuration.js +27 -18
- package/out/concepts/basics/stdlib/nasl.configuration.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.core.d.ts +5 -3
- package/out/concepts/basics/stdlib/nasl.core.js +25 -27
- package/out/concepts/basics/stdlib/nasl.core.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.event.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.event.js +16 -7
- package/out/concepts/basics/stdlib/nasl.event.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.http.d.ts +7 -5
- package/out/concepts/basics/stdlib/nasl.http.js +78 -73
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.interface.d.ts +6 -4
- package/out/concepts/basics/stdlib/nasl.interface.js +28 -22
- package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.io.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.io.js +30 -21
- package/out/concepts/basics/stdlib/nasl.io.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.logging.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.logging.js +33 -24
- package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.process.d.ts +6 -4
- package/out/concepts/basics/stdlib/nasl.process.js +541 -536
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.d.ts +6 -4
- package/out/concepts/basics/stdlib/nasl.ui.js +400 -425
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.d.ts +5 -4
- package/out/concepts/basics/stdlib/nasl.util.js +716 -702
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +4 -2
- package/out/concepts/basics/stdlib/nasl.validation.js +191 -182
- package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -1
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +4 -5
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +29 -8
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -1
- package/out/concepts/index.d.ts +2 -1
- package/out/concepts/index.js +18 -2
- package/out/concepts/index.js.map +1 -1
- package/out/concepts/index__.d.ts +4 -0
- package/out/concepts/index__.js +4 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/types__.d.ts +0 -127
- package/out/concepts/types__.js +0 -2
- package/out/concepts/utils/asserts.d.ts +6676 -0
- package/out/concepts/utils/asserts.js +8870 -0
- package/out/concepts/utils/asserts.js.map +1 -0
- package/out/concepts/utils/types.d.ts +430 -0
- package/out/concepts/utils/types.js +3 -0
- package/out/concepts/utils/types.js.map +1 -0
- package/out/decorators/index.d.ts +10 -7
- package/out/decorators/index.js +12 -8
- package/out/decorators/index.js.map +1 -1
- package/out/generator/genBundleFiles.js +33 -1
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.js +32 -3
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/manager/diagnostic.js +3 -1
- package/out/manager/diagnostic.js.map +1 -1
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.d.ts +4 -5
- package/out/server/formatTsUtils.js +13 -12
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getConnector.js +19 -1
- package/out/server/getConnector.js.map +1 -1
- package/out/server/getFunctions.js +2 -2
- package/out/server/getFunctions.js.map +1 -1
- package/out/server/getLogging.js +1 -1
- package/out/server/getLogging.js.map +1 -1
- package/out/server/getLogics.d.ts +1 -0
- package/out/server/getLogics.js +17 -13
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.d.ts +4 -4
- package/out/server/getMemberIdentifier.js +22 -1
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/getProcessComponents.js +1 -1
- package/out/server/getProcessComponents.js.map +1 -1
- package/out/server/getProcesses.js +56 -6
- package/out/server/getProcesses.js.map +1 -1
- package/out/server/getValidates.d.ts +1 -1
- package/out/server/getValidates.js +2 -2
- package/out/server/getValidates.js.map +1 -1
- package/out/server/index.js +1 -0
- package/out/server/index.js.map +1 -1
- package/out/server/naslServer.d.ts +8 -12
- package/out/server/naslServer.js +58 -76
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +3 -0
- package/out/server/translator.js.map +1 -1
- package/out/service/creator/errHandles.js +6 -3
- package/out/service/creator/errHandles.js.map +1 -1
- package/out/service/storage/init.d.ts +2 -0
- package/out/service/storage/init.js +35 -20
- package/out/service/storage/init.js.map +1 -1
- package/out/translator/types.d.ts +1 -0
- package/out/translator/utils.d.ts +1 -1
- package/out/translator/utils.js +1 -2
- package/out/translator/utils.js.map +1 -1
- package/out/utils/i18nInfo.js +0 -30
- package/out/utils/i18nInfo.js.map +1 -1
- package/out/utils/time-slicing/controller.d.ts +1 -1
- package/out/utils/time-slicing/controller.js +79 -65
- package/out/utils/time-slicing/controller.js.map +1 -1
- package/out/utils/time-slicing/performance.js +0 -1
- package/out/utils/time-slicing/performance.js.map +1 -1
- package/out/utils/time-slicing/runner.d.ts +1 -1
- package/out/utils/time-slicing/runner.js +4 -5
- package/out/utils/time-slicing/runner.js.map +1 -1
- package/out/utils/time-slicing/tool.d.ts +1 -1
- package/out/utils/types.d.ts +5 -0
- package/package.json +2 -2
- package/sandbox/stdlib/nasl.configuration.ts +16 -1
- package/sandbox/stdlib/nasl.core.ts +3 -0
- package/sandbox/stdlib/nasl.oql.ts +19 -2
- package/sandbox/stdlib/nasl.util.ts +2 -2
- package/src/automate/engine/utils.js +6 -6
- package/src/bak/translator.js +2 -1
- package/src/common/BaseNode.ts +30 -30
- package/src/common/Command.ts +1 -1
- package/src/common/EventEmitter.ts +6 -1
- package/src/common/utils.ts +2 -2
- package/src/concepts/Abort__.ts +5 -6
- package/src/concepts/AbstractInterface__.ts +5 -5
- package/src/concepts/Anchor__.ts +7 -9
- package/src/concepts/AnonymousFunction__.ts +23 -29
- package/src/concepts/App__.ts +89 -73
- package/src/concepts/Argument__.ts +11 -15
- package/src/concepts/Assignee__.ts +13 -11
- package/src/concepts/AssignmentLine__.ts +5 -5
- package/src/concepts/Assignment__.ts +24 -25
- package/src/concepts/Attribute__.ts +10 -20
- package/src/concepts/AuthInterface__.ts +9 -15
- package/src/concepts/AuthLogicForCallInterface__.ts +43 -33
- package/src/concepts/AuthLogic__.ts +11 -13
- package/src/concepts/BackendVariable__.ts +39 -30
- package/src/concepts/Backend__.ts +10 -10
- package/src/concepts/BatchAssignment__.ts +23 -18
- package/src/concepts/BinaryExpression__.ts +14 -14
- package/src/concepts/BindAttribute__.ts +25 -34
- package/src/concepts/BindDirective__.ts +14 -21
- package/src/concepts/BindEvent__.ts +31 -30
- package/src/concepts/BindStyle__.ts +14 -15
- package/src/concepts/Block__.ts +9 -8
- package/src/concepts/BooleanLiteral__.ts +5 -7
- package/src/concepts/CallAuthInterface__.ts +16 -16
- package/src/concepts/CallConnector__.ts +15 -14
- package/src/concepts/CallFunction__.ts +23 -22
- package/src/concepts/CallInterface__.ts +25 -23
- package/src/concepts/CallLogic__.ts +127 -85
- package/src/concepts/CallQueryComponent__.ts +41 -32
- package/src/concepts/Comment__.ts +5 -7
- package/src/concepts/CompletionProperty__.ts +6 -13
- package/src/concepts/ConfigGroup__.ts +10 -10
- package/src/concepts/ConfigPropertyValue__.ts +6 -8
- package/src/concepts/ConfigProperty__.ts +13 -15
- package/src/concepts/Configuration__.ts +10 -9
- package/src/concepts/Connection__.ts +10 -12
- package/src/concepts/ConnectorTrigger__.ts +11 -14
- package/src/concepts/Connector__.ts +33 -33
- package/src/concepts/Constant__.ts +35 -26
- package/src/concepts/CountersignPolicy__.ts +78 -0
- package/src/concepts/DataSource__.ts +10 -12
- package/src/concepts/DatabaseTypeAnnotation__.ts +5 -7
- package/src/concepts/DefaultValue__.ts +18 -8
- package/src/concepts/Destination__.ts +18 -18
- package/src/concepts/End__.ts +7 -8
- package/src/concepts/EntityIndex__.ts +9 -13
- package/src/concepts/EntityProperty__.ts +18 -28
- package/src/concepts/Entity__.ts +19 -22
- package/src/concepts/EnumItem__.ts +8 -10
- package/src/concepts/Enum__.ts +12 -14
- package/src/concepts/Event__.ts +11 -15
- package/src/concepts/ExternalDestination__.ts +12 -15
- package/src/concepts/ForEachStatement__.ts +28 -41
- package/src/concepts/FrontendLibrary__.ts +14 -14
- package/src/concepts/FrontendVariable__.ts +22 -6
- package/src/concepts/Frontend__.ts +48 -30
- package/src/concepts/Function__.ts +26 -23
- package/src/concepts/I18nInfo__.ts +5 -8
- package/src/concepts/Identifier__.ts +12 -15
- package/src/concepts/IfStatement__.ts +9 -9
- package/src/concepts/ImportedInterface__.ts +5 -7
- package/src/concepts/Integration__.ts +11 -11
- package/src/concepts/InterfaceParam__.ts +20 -24
- package/src/concepts/Interface__.ts +26 -31
- package/src/concepts/JSBlock__.ts +5 -7
- package/src/concepts/JavaLogic__.ts +5 -9
- package/src/concepts/LogicItem__.ts +21 -25
- package/src/concepts/Logic__.ts +87 -81
- package/src/concepts/MatchCase__.ts +20 -18
- package/src/concepts/Match__.ts +48 -23
- package/src/concepts/MemberExpression__.ts +32 -29
- package/src/concepts/MetadataType__.ts +15 -34
- package/src/concepts/MicroApp__.ts +5 -12
- package/src/concepts/Module__.ts +47 -43
- package/src/concepts/MsgTriggerEvent__.ts +14 -14
- package/src/concepts/MsgTriggerLauncher__.ts +11 -12
- package/src/concepts/MultiApprovalPolicy__.ts +72 -0
- package/src/concepts/Namespace__.ts +40 -32
- package/src/concepts/NewComposite__.ts +43 -28
- package/src/concepts/NewList__.ts +14 -14
- package/src/concepts/NewMap__.ts +17 -16
- package/src/concepts/New__.ts +5 -6
- package/src/concepts/NullLiteral__.ts +6 -7
- package/src/concepts/NumericLiteral__.ts +8 -10
- package/src/concepts/OqlQueryComponent__.ts +12 -14
- package/src/concepts/OverriddenLogic__.ts +81 -71
- package/src/concepts/Param__.ts +40 -40
- package/src/concepts/Point__.ts +5 -7
- package/src/concepts/ProcessComponent__.ts +13 -15
- package/src/concepts/ProcessElement__.ts +101 -34
- package/src/concepts/ProcessOutcome__.ts +5 -7
- package/src/concepts/ProcessOutcomes__.ts +5 -6
- package/src/concepts/Process__.ts +29 -25
- package/src/concepts/QueryAggregateExpression__.ts +6 -10
- package/src/concepts/QueryFieldExpression__.ts +6 -10
- package/src/concepts/QueryFromExpression__.ts +8 -11
- package/src/concepts/QueryGroupByExpression__.ts +5 -7
- package/src/concepts/QueryJoinExpression__.ts +11 -14
- package/src/concepts/QueryLimitExpression__.ts +5 -8
- package/src/concepts/QueryOrderByExpression__.ts +5 -8
- package/src/concepts/QuerySelectExpression__.ts +11 -10
- package/src/concepts/Rect__.ts +5 -9
- package/src/concepts/Return__.ts +30 -26
- package/src/concepts/Role__.ts +7 -10
- package/src/concepts/SelectMembers__.ts +10 -10
- package/src/concepts/SequentialPolicy__.ts +60 -0
- package/src/concepts/Slot__.ts +9 -15
- package/src/concepts/SqlQueryComponent__.ts +11 -16
- package/src/concepts/Start__.ts +5 -6
- package/src/concepts/StaticString__.ts +104 -0
- package/src/concepts/StringInterpolation__.ts +13 -9
- package/src/concepts/StringLiteral__.ts +6 -8
- package/src/concepts/StructureProperty__.ts +16 -20
- package/src/concepts/Structure__.ts +14 -15
- package/src/concepts/SwitchCase__.ts +7 -8
- package/src/concepts/SwitchStatement__.ts +8 -8
- package/src/concepts/Theme__.ts +5 -5
- package/src/concepts/Transactional__.ts +13 -16
- package/src/concepts/TriggerEvent__.ts +22 -177
- package/src/concepts/TriggerLauncher__.ts +9 -13
- package/src/concepts/TypeAnnotation__.ts +22 -18
- package/src/concepts/TypeParam__.ts +5 -6
- package/src/concepts/UnaryExpression__.ts +5 -8
- package/src/concepts/Unparsed__.ts +6 -8
- package/src/concepts/UseComponent__.ts +5 -7
- package/src/concepts/ValidationRule__.ts +13 -16
- package/src/concepts/Variable__.ts +50 -37
- package/src/concepts/ViewBlock__.ts +5 -8
- package/src/concepts/ViewComponent__.ts +68 -47
- package/src/concepts/ViewElement__.ts +114 -89
- package/src/concepts/View__.ts +183 -91
- package/src/concepts/WhileStatement__.ts +7 -8
- package/src/concepts/basics/stdlib/index.ts +66 -20
- package/src/concepts/basics/stdlib/nasl.auth.ts +167 -149
- package/src/concepts/basics/stdlib/nasl.browser.ts +143 -132
- package/src/concepts/basics/stdlib/nasl.collection.ts +54 -39
- package/src/concepts/basics/stdlib/nasl.configuration.ts +19 -9
- package/src/concepts/basics/stdlib/nasl.core.ts +41 -35
- package/src/concepts/basics/stdlib/nasl.event.ts +27 -17
- package/src/concepts/basics/stdlib/nasl.http.ts +170 -158
- package/src/concepts/basics/stdlib/nasl.interface.ts +48 -37
- package/src/concepts/basics/stdlib/nasl.io.ts +54 -44
- package/src/concepts/basics/stdlib/nasl.logging.ts +56 -55
- package/src/concepts/basics/stdlib/nasl.process.ts +610 -594
- package/src/concepts/basics/stdlib/nasl.ui.ts +1005 -986
- package/src/concepts/basics/stdlib/nasl.util.ts +2270 -2251
- package/src/concepts/basics/stdlib/nasl.validation.ts +567 -556
- package/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts +19 -23
- package/src/concepts/index.ts +9 -1
- package/src/concepts/index__.ts +4 -0
- package/src/concepts/types__.ts +0 -254
- package/src/concepts/utils/asserts.ts +9530 -0
- package/src/concepts/utils/types.ts +670 -0
- package/src/decorators/index.ts +17 -16
- package/src/generator/genBundleFiles.ts +34 -2
- package/src/generator/genMetaData.ts +31 -3
- package/src/generator/genReleaseBody.ts +41 -40
- package/src/server/extendBaseNode.ts +2 -1
- package/src/server/formatTsUtils.ts +21 -20
- package/src/server/getConnector.ts +21 -2
- package/src/server/getFunctions.ts +3 -3
- package/src/server/getLogging.ts +2 -2
- package/src/server/getLogics.ts +16 -12
- package/src/server/getMemberIdentifier.ts +26 -5
- package/src/server/getProcessComponents.ts +2 -2
- package/src/server/getProcesses.ts +56 -6
- package/src/server/getValidates.ts +3 -2
- package/src/server/index.ts +2 -1
- package/src/server/naslServer.ts +51 -60
- package/src/server/translator.ts +3 -0
- package/src/service/creator/errHandles.js +7 -4
- package/src/service/storage/init.ts +34 -7
- package/src/translator/types.ts +1 -0
- package/src/translator/utils.ts +1 -2
- package/src/utils/i18nInfo.ts +0 -30
- package/src/utils/time-slicing/controller.ts +34 -23
- package/src/utils/time-slicing/runner.ts +7 -9
- package/src/utils/time-slicing/tool.ts +1 -1
- package/src/utils/types.ts +6 -0
- package/test/concepts/anonymous-function/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/anonymous-function/toJS.spec.ts +2 -2
- package/test/concepts/anonymous-function/toVue.spec.ts +2 -2
- package/test/concepts/assignment/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/assignment/toJS.spec.ts +2 -2
- package/test/concepts/assignment/toVue.spec.ts +2 -2
- package/test/concepts/batch-assignment/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/batch-assignment/toJS.spec.ts +2 -2
- package/test/concepts/batch-assignment/toVue.spec.ts +2 -2
- package/test/concepts/binary-expression/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/binary-expression/toJS.spec.ts +2 -2
- package/test/concepts/binary-expression/toVue.spec.ts +2 -2
- package/test/concepts/boolean-literal/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/boolean-literal/toJS.spec.ts +2 -2
- package/test/concepts/boolean-literal/toVue.spec.ts +2 -2
- package/test/concepts/call-function/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/call-function/toJS.spec.ts +2 -2
- package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +6 -9
- package/test/concepts/call-interface/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/call-interface/toJS.spec.ts +2 -2
- package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +27 -3
- package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +18 -3
- package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +15 -0
- package/test/concepts/call-logic/__snapshots__/toUI.spec.ts.snap +7 -0
- package/test/concepts/call-logic/__snapshots__/toVue.spec.ts.snap +101 -0
- package/test/concepts/call-logic/__snapshots__/toVueDesigner.spec.ts.snap +7 -0
- package/test/concepts/call-logic/fixtures/json-deserialize.json +173 -0
- package/test/concepts/call-logic/fixtures/json-serialize-with-string.json +177 -0
- package/test/concepts/call-logic/fixtures/json-serialize.json +178 -0
- package/test/concepts/call-logic/getQuickInfoOffset.spec.ts +3 -3
- package/test/concepts/call-logic/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/call-logic/toJS.spec.ts +2 -2
- package/test/concepts/call-logic/toUI.spec.ts +16 -0
- package/test/concepts/call-logic/toVue.spec.ts +14 -0
- package/test/concepts/call-logic/toVueDesigner.spec.ts +16 -0
- package/test/concepts/data-source/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/data-source/toEmbeddedTSFile.spec.ts +3 -3
- package/test/concepts/entity/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/entity/toEmbeddedTSFile.spec.ts +2 -2
- package/test/concepts/identifier/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/identifier/toJS.spec.ts +2 -2
- package/test/concepts/identifier/toVue.spec.ts +2 -2
- package/test/concepts/match/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/match/toJS.spec.ts +2 -2
- package/test/concepts/member-expression/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/member-expression/toJS.spec.ts +2 -2
- package/test/concepts/member-expression/toVue.spec.ts +2 -2
- package/test/concepts/null-literal/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/null-literal/toJS.spec.ts +2 -2
- package/test/concepts/null-literal/toVue.spec.ts +2 -2
- package/test/concepts/numeric-literal/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/numeric-literal/toJS.spec.ts +2 -2
- package/test/concepts/numeric-literal/toVue.spec.ts +2 -2
- package/test/concepts/string-literal/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/string-literal/toJS.spec.ts +2 -2
- package/test/concepts/string-literal/toVue.spec.ts +2 -2
- package/test/concepts/utils.ts +2 -2
- package/test/concepts/validation-rule/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/validation-rule/toJS.spec.ts +2 -2
- package/test/concepts/validation-rule/validation-rule.spec.ts +3 -3
- package/test/concepts/view-element/toEmbeddedTS.spec.ts +3 -3
- package/test/concepts/view-element/toVue.spec.ts +2 -2
- package/test/time-slicing/runner.spec.ts +5 -1
- package/test/time-slicing/time-slicing-nodejs.spec.ts +1 -1
- package/test/time-slicing/wrapper.spec.ts +1 -1
- package/tsconfig.json +2 -1
|
@@ -3,636 +3,641 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.processTypeList = exports.processStructures = void 0;
|
|
6
|
+
exports.initialize = exports.processTypeList = exports.processStructures = void 0;
|
|
7
7
|
const Namespace__1 = __importDefault(require("../../Namespace__"));
|
|
8
|
-
const Param__1 = __importDefault(require("../../Param__"));
|
|
9
|
-
const Return__1 = __importDefault(require("../../Return__"));
|
|
10
|
-
const Logic__1 = __importDefault(require("../../Logic__"));
|
|
11
|
-
const Structure__1 = __importDefault(require("../../Structure__"));
|
|
12
|
-
const StructureProperty__1 = __importDefault(require("../../StructureProperty__"));
|
|
13
|
-
const TypeAnnotation__1 = __importDefault(require("../../TypeAnnotation__"));
|
|
14
|
-
const ProcessComponent__1 = __importDefault(require("../../ProcessComponent__"));
|
|
15
|
-
const UseComponent__1 = __importDefault(require("../../UseComponent__"));
|
|
16
|
-
const Attribute__1 = __importDefault(require("../../Attribute__"));
|
|
17
8
|
const reference2TypeAnnotationList_1 = require("./reference2TypeAnnotationList");
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
returns: [
|
|
41
|
-
new Return__1.default({
|
|
42
|
-
name: 'result',
|
|
43
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
44
|
-
}),
|
|
45
|
-
],
|
|
46
|
-
}),
|
|
47
|
-
new Logic__1.default({
|
|
48
|
-
name: 'setProcessDefinitionState',
|
|
49
|
-
description: '流程定义设置激活/挂起',
|
|
50
|
-
params: [
|
|
51
|
-
new Param__1.default({
|
|
52
|
-
name: 'name',
|
|
53
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
54
|
-
}),
|
|
55
|
-
new Param__1.default({
|
|
56
|
-
name: 'state',
|
|
57
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
58
|
-
}),
|
|
59
|
-
new Param__1.default({
|
|
60
|
-
name: 'processInstancesAffected',
|
|
61
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
62
|
-
}),
|
|
63
|
-
new Param__1.default({
|
|
64
|
-
name: 'effectiveDate',
|
|
65
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Date'),
|
|
66
|
-
}),
|
|
67
|
-
],
|
|
68
|
-
returns: [
|
|
69
|
-
new Return__1.default({
|
|
70
|
-
name: 'result',
|
|
71
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
72
|
-
}),
|
|
73
|
-
],
|
|
74
|
-
}),
|
|
75
|
-
new Logic__1.default({
|
|
76
|
-
name: 'getProcessInstance',
|
|
77
|
-
description: '获取流程详情,如发起人、时间',
|
|
78
|
-
params: [
|
|
79
|
-
new Param__1.default({
|
|
80
|
-
name: 'processId',
|
|
81
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
82
|
-
}),
|
|
83
|
-
],
|
|
84
|
-
returns: [
|
|
85
|
-
new Return__1.default({
|
|
86
|
-
name: 'result',
|
|
87
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
88
|
-
}),
|
|
89
|
-
],
|
|
90
|
-
}),
|
|
91
|
-
new Logic__1.default({
|
|
92
|
-
name: 'getProcessInstanceList',
|
|
93
|
-
description: '获取流程列表',
|
|
94
|
-
params: [
|
|
95
|
-
new Param__1.default({
|
|
96
|
-
name: 'processId',
|
|
97
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
98
|
-
}),
|
|
99
|
-
new Param__1.default({
|
|
100
|
-
name: 'startBy',
|
|
101
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
102
|
-
}),
|
|
103
|
-
new Param__1.default({
|
|
104
|
-
name: 'finished',
|
|
105
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
106
|
-
}),
|
|
107
|
-
new Param__1.default({
|
|
108
|
-
name: 'processDefName',
|
|
109
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
110
|
-
}),
|
|
111
|
-
new Param__1.default({
|
|
112
|
-
name: 'startTimeBefore',
|
|
113
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
114
|
-
}),
|
|
115
|
-
new Param__1.default({
|
|
116
|
-
name: 'startTimeAfter',
|
|
117
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
118
|
-
}),
|
|
119
|
-
new Param__1.default({
|
|
120
|
-
name: 'endTimeBefore',
|
|
121
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
122
|
-
}),
|
|
123
|
-
new Param__1.default({
|
|
124
|
-
name: 'endTimeAfter',
|
|
125
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
126
|
-
}),
|
|
127
|
-
new Param__1.default({
|
|
128
|
-
name: 'page',
|
|
129
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
130
|
-
}),
|
|
131
|
-
new Param__1.default({
|
|
132
|
-
name: 'size',
|
|
133
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
134
|
-
}),
|
|
135
|
-
new Param__1.default({
|
|
136
|
-
name: 'sort',
|
|
137
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
138
|
-
}),
|
|
139
|
-
new Param__1.default({
|
|
140
|
-
name: 'order',
|
|
141
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
142
|
-
}),
|
|
143
|
-
],
|
|
144
|
-
returns: [
|
|
145
|
-
new Return__1.default({
|
|
146
|
-
name: 'result',
|
|
147
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeAnonymousStructure([
|
|
148
|
-
new StructureProperty__1.default({
|
|
149
|
-
name: 'list',
|
|
150
|
-
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
151
|
-
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
152
|
-
}),
|
|
153
|
-
}),
|
|
154
|
-
new StructureProperty__1.default({
|
|
155
|
-
name: 'total',
|
|
156
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
157
|
-
}),
|
|
158
|
-
]),
|
|
159
|
-
}),
|
|
160
|
-
],
|
|
161
|
-
}),
|
|
162
|
-
new Logic__1.default({
|
|
163
|
-
name: 'getTaskDefinitionList',
|
|
164
|
-
description: '获取任务定义列表',
|
|
165
|
-
params: [
|
|
166
|
-
new Param__1.default({
|
|
167
|
-
name: 'processDefName',
|
|
168
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
169
|
-
}),
|
|
170
|
-
],
|
|
171
|
-
returns: [
|
|
172
|
-
new Return__1.default({
|
|
173
|
-
name: 'result',
|
|
174
|
-
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
175
|
-
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
176
|
-
}),
|
|
177
|
-
}),
|
|
178
|
-
],
|
|
179
|
-
}),
|
|
180
|
-
new Logic__1.default({
|
|
181
|
-
name: 'getTaskDefinition',
|
|
182
|
-
description: '获取任务定义的详情,如任务标题',
|
|
183
|
-
params: [
|
|
184
|
-
new Param__1.default({
|
|
185
|
-
name: 'name',
|
|
186
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
187
|
-
}),
|
|
188
|
-
new Param__1.default({
|
|
189
|
-
name: 'processDefName',
|
|
190
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
191
|
-
}),
|
|
192
|
-
],
|
|
193
|
-
returns: [
|
|
194
|
-
new Return__1.default({
|
|
195
|
-
name: 'result',
|
|
196
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
197
|
-
}),
|
|
198
|
-
],
|
|
199
|
-
}),
|
|
200
|
-
new Logic__1.default({
|
|
201
|
-
name: 'getTaskInstance',
|
|
202
|
-
description: '获取任务详情,如状态、完成人',
|
|
203
|
-
params: [
|
|
204
|
-
new Param__1.default({
|
|
205
|
-
name: 'taskId',
|
|
206
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
207
|
-
}),
|
|
208
|
-
],
|
|
209
|
-
returns: [
|
|
210
|
-
new Return__1.default({
|
|
211
|
-
name: 'result',
|
|
212
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
213
|
-
}),
|
|
214
|
-
],
|
|
215
|
-
}),
|
|
216
|
-
new Logic__1.default({
|
|
217
|
-
name: 'getTaskInstanceList',
|
|
218
|
-
description: '获取流程任务列表',
|
|
219
|
-
params: [
|
|
220
|
-
new Param__1.default({
|
|
221
|
-
name: 'taskId',
|
|
222
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
223
|
-
}),
|
|
224
|
-
new Param__1.default({
|
|
225
|
-
name: 'user',
|
|
226
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
227
|
-
}),
|
|
228
|
-
new Param__1.default({
|
|
229
|
-
name: 'finished',
|
|
230
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
231
|
-
}),
|
|
232
|
-
new Param__1.default({
|
|
233
|
-
name: 'processId',
|
|
234
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
235
|
-
}),
|
|
236
|
-
new Param__1.default({
|
|
237
|
-
name: 'processIdIn',
|
|
238
|
-
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
239
|
-
typeArguments: [TypeAnnotation__1.default.createTypeParam('String')],
|
|
240
|
-
}),
|
|
241
|
-
}),
|
|
242
|
-
new Param__1.default({
|
|
243
|
-
name: 'processDefName',
|
|
244
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
245
|
-
}),
|
|
246
|
-
new Param__1.default({
|
|
247
|
-
name: 'taskDefName',
|
|
248
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
249
|
-
}),
|
|
250
|
-
new Param__1.default({
|
|
251
|
-
name: 'createTimeBefore',
|
|
252
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
253
|
-
}),
|
|
254
|
-
new Param__1.default({
|
|
255
|
-
name: 'createTimeAfter',
|
|
256
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
257
|
-
}),
|
|
258
|
-
new Param__1.default({
|
|
259
|
-
name: 'completeTimeBefore',
|
|
260
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
261
|
-
}),
|
|
262
|
-
new Param__1.default({
|
|
263
|
-
name: 'completeTimeAfter',
|
|
264
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
265
|
-
}),
|
|
266
|
-
new Param__1.default({
|
|
267
|
-
name: 'page',
|
|
268
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
269
|
-
}),
|
|
270
|
-
new Param__1.default({
|
|
271
|
-
name: 'size',
|
|
272
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
273
|
-
}),
|
|
274
|
-
new Param__1.default({
|
|
275
|
-
name: 'sort',
|
|
276
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
277
|
-
}),
|
|
278
|
-
new Param__1.default({
|
|
279
|
-
name: 'order',
|
|
280
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
281
|
-
}),
|
|
282
|
-
],
|
|
283
|
-
returns: [
|
|
284
|
-
new Return__1.default({
|
|
285
|
-
name: 'result',
|
|
286
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeAnonymousStructure([
|
|
287
|
-
new StructureProperty__1.default({
|
|
288
|
-
name: 'list',
|
|
289
|
-
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
290
|
-
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
291
|
-
}),
|
|
292
|
-
}),
|
|
293
|
-
new StructureProperty__1.default({
|
|
294
|
-
name: 'total',
|
|
295
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Long'),
|
|
296
|
-
}),
|
|
297
|
-
]),
|
|
298
|
-
}),
|
|
299
|
-
],
|
|
300
|
-
}),
|
|
301
|
-
new Logic__1.default({
|
|
302
|
-
name: 'claimTaskInstance',
|
|
303
|
-
description: '认领流程任务',
|
|
304
|
-
params: [
|
|
305
|
-
new Param__1.default({
|
|
306
|
-
name: 'taskId',
|
|
307
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
308
|
-
}),
|
|
309
|
-
new Param__1.default({
|
|
310
|
-
name: 'user',
|
|
311
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
312
|
-
}),
|
|
313
|
-
],
|
|
314
|
-
returns: [
|
|
315
|
-
new Return__1.default({
|
|
316
|
-
name: 'result',
|
|
317
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
318
|
-
}),
|
|
319
|
-
],
|
|
320
|
-
}),
|
|
321
|
-
new Logic__1.default({
|
|
322
|
-
name: 'unclaimTaskInstance',
|
|
323
|
-
description: '取消认领流程任务',
|
|
324
|
-
params: [
|
|
325
|
-
new Param__1.default({
|
|
326
|
-
name: 'taskId',
|
|
327
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
328
|
-
}),
|
|
329
|
-
],
|
|
330
|
-
returns: [
|
|
331
|
-
new Return__1.default({
|
|
332
|
-
name: 'result',
|
|
333
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
334
|
-
}),
|
|
335
|
-
],
|
|
336
|
-
}),
|
|
337
|
-
new Logic__1.default({
|
|
338
|
-
name: 'getTaskDestinationUrl',
|
|
339
|
-
description: '获取任务审批页跳转链接',
|
|
340
|
-
params: [
|
|
341
|
-
new Param__1.default({
|
|
342
|
-
name: 'taskId',
|
|
343
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
344
|
-
}),
|
|
345
|
-
],
|
|
346
|
-
returns: [
|
|
347
|
-
new Return__1.default({
|
|
348
|
-
name: 'result',
|
|
349
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
350
|
-
}),
|
|
351
|
-
],
|
|
352
|
-
}),
|
|
353
|
-
new Logic__1.default({
|
|
354
|
-
name: 'transferTaskInstance',
|
|
355
|
-
description: '将任务审批人转交给其他人',
|
|
356
|
-
params: [
|
|
357
|
-
new Param__1.default({
|
|
358
|
-
name: 'taskId',
|
|
359
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
360
|
-
}),
|
|
361
|
-
new Param__1.default({
|
|
362
|
-
name: 'userName',
|
|
363
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
364
|
-
}),
|
|
365
|
-
],
|
|
366
|
-
returns: [
|
|
367
|
-
new Return__1.default({
|
|
368
|
-
name: 'result',
|
|
369
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
370
|
-
}),
|
|
371
|
-
],
|
|
372
|
-
}),
|
|
373
|
-
new Logic__1.default({
|
|
374
|
-
name: 'withdrawProcessInstance',
|
|
375
|
-
description: '撤回流程,仅发起人可撤回',
|
|
376
|
-
params: [
|
|
377
|
-
new Param__1.default({
|
|
378
|
-
name: 'processId',
|
|
379
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
380
|
-
}),
|
|
381
|
-
],
|
|
382
|
-
returns: [
|
|
383
|
-
new Return__1.default({
|
|
384
|
-
name: 'result',
|
|
385
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
386
|
-
}),
|
|
387
|
-
],
|
|
388
|
-
}),
|
|
389
|
-
new Logic__1.default({
|
|
390
|
-
name: 'endProcessInstance',
|
|
391
|
-
description: '结束流程,仅发起人可结束',
|
|
392
|
-
params: [
|
|
393
|
-
new Param__1.default({
|
|
394
|
-
name: 'processId',
|
|
395
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
396
|
-
}),
|
|
397
|
-
],
|
|
398
|
-
returns: [
|
|
399
|
-
new Return__1.default({
|
|
400
|
-
name: 'result',
|
|
401
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
402
|
-
}),
|
|
403
|
-
],
|
|
404
|
-
}),
|
|
405
|
-
new Logic__1.default({
|
|
406
|
-
name: 'getRejectableTaskDefinitionList',
|
|
407
|
-
description: '获取可驳回的任务定义列表',
|
|
408
|
-
params: [
|
|
409
|
-
new Param__1.default({
|
|
410
|
-
name: 'taskId',
|
|
411
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
412
|
-
}),
|
|
413
|
-
],
|
|
414
|
-
returns: [
|
|
415
|
-
new Return__1.default({
|
|
416
|
-
name: 'result',
|
|
417
|
-
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
418
|
-
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
419
|
-
}),
|
|
420
|
-
}),
|
|
421
|
-
],
|
|
422
|
-
}),
|
|
423
|
-
new Logic__1.default({
|
|
424
|
-
name: 'updateTaskDefinitionStrategy',
|
|
425
|
-
description: '设置任务策略',
|
|
426
|
-
params: [
|
|
427
|
-
new Param__1.default({
|
|
428
|
-
name: 'processDefName',
|
|
429
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
430
|
-
}),
|
|
431
|
-
new Param__1.default({
|
|
432
|
-
name: 'name',
|
|
433
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
434
|
-
}),
|
|
435
|
-
new Param__1.default({
|
|
436
|
-
name: 'emptyAssignee',
|
|
437
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
438
|
-
}),
|
|
439
|
-
new Param__1.default({
|
|
440
|
-
name: 'skipEnabled',
|
|
441
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
442
|
-
}),
|
|
443
|
-
],
|
|
444
|
-
returns: [
|
|
445
|
-
new Return__1.default({
|
|
446
|
-
name: 'result',
|
|
447
|
-
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
448
|
-
}),
|
|
449
|
-
],
|
|
450
|
-
}),
|
|
451
|
-
];
|
|
452
|
-
exports.processStructures = [
|
|
453
|
-
new Structure__1.default({
|
|
9
|
+
const decorators_1 = require("../../../decorators");
|
|
10
|
+
exports.processStructures = [];
|
|
11
|
+
exports.processTypeList = [];
|
|
12
|
+
const processNamespace = new Namespace__1.default({
|
|
13
|
+
name: 'process',
|
|
14
|
+
logics: [],
|
|
15
|
+
structures: exports.processStructures,
|
|
16
|
+
processComponents: [],
|
|
17
|
+
});
|
|
18
|
+
exports.default = processNamespace;
|
|
19
|
+
/** @internal */
|
|
20
|
+
function initialize() {
|
|
21
|
+
const Structure = (0, decorators_1.getConceptConstructor)('Structure');
|
|
22
|
+
const StructureProperty = (0, decorators_1.getConceptConstructor)('StructureProperty');
|
|
23
|
+
const TypeAnnotation = (0, decorators_1.getConceptConstructor)('TypeAnnotation');
|
|
24
|
+
const Logic = (0, decorators_1.getConceptConstructor)('Logic');
|
|
25
|
+
const Param = (0, decorators_1.getConceptConstructor)('Param');
|
|
26
|
+
const Return = (0, decorators_1.getConceptConstructor)('Return');
|
|
27
|
+
const ProcessComponent = (0, decorators_1.getConceptConstructor)('ProcessComponent');
|
|
28
|
+
const Attribute = (0, decorators_1.getConceptConstructor)('Attribute');
|
|
29
|
+
const UseComponent = (0, decorators_1.getConceptConstructor)('UseComponent');
|
|
30
|
+
exports.processStructures.push(new Structure({
|
|
454
31
|
name: 'LCAPProcessDefinition',
|
|
455
32
|
properties: [
|
|
456
|
-
new
|
|
33
|
+
new StructureProperty({
|
|
457
34
|
name: 'name',
|
|
458
|
-
typeAnnotation:
|
|
35
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
459
36
|
}),
|
|
460
|
-
new
|
|
37
|
+
new StructureProperty({
|
|
461
38
|
name: 'title',
|
|
462
|
-
typeAnnotation:
|
|
39
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
463
40
|
}),
|
|
464
|
-
new
|
|
41
|
+
new StructureProperty({
|
|
465
42
|
name: 'description',
|
|
466
|
-
typeAnnotation:
|
|
43
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
467
44
|
}),
|
|
468
|
-
new
|
|
45
|
+
new StructureProperty({
|
|
469
46
|
name: 'suspended',
|
|
470
|
-
typeAnnotation:
|
|
47
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
471
48
|
}),
|
|
472
49
|
],
|
|
473
|
-
}),
|
|
474
|
-
new Structure__1.default({
|
|
50
|
+
}), new Structure({
|
|
475
51
|
name: 'LCAPProcessInstance',
|
|
476
52
|
properties: [
|
|
477
|
-
new
|
|
53
|
+
new StructureProperty({
|
|
478
54
|
name: 'processId',
|
|
479
|
-
typeAnnotation:
|
|
55
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
480
56
|
}),
|
|
481
|
-
new
|
|
57
|
+
new StructureProperty({
|
|
482
58
|
name: 'title',
|
|
483
|
-
typeAnnotation:
|
|
59
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
484
60
|
}),
|
|
485
|
-
new
|
|
61
|
+
new StructureProperty({
|
|
486
62
|
name: 'description',
|
|
487
|
-
typeAnnotation:
|
|
63
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
488
64
|
}),
|
|
489
|
-
new
|
|
65
|
+
new StructureProperty({
|
|
490
66
|
name: 'startBy',
|
|
491
|
-
typeAnnotation:
|
|
67
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
492
68
|
}),
|
|
493
|
-
new
|
|
69
|
+
new StructureProperty({
|
|
494
70
|
name: 'startTime',
|
|
495
|
-
typeAnnotation:
|
|
71
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
496
72
|
}),
|
|
497
|
-
new
|
|
73
|
+
new StructureProperty({
|
|
498
74
|
name: 'endTime',
|
|
499
|
-
typeAnnotation:
|
|
75
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
500
76
|
}),
|
|
501
|
-
new
|
|
77
|
+
new StructureProperty({
|
|
502
78
|
name: 'finished',
|
|
503
|
-
typeAnnotation:
|
|
79
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
504
80
|
}),
|
|
505
|
-
new
|
|
81
|
+
new StructureProperty({
|
|
506
82
|
name: 'processDefName',
|
|
507
|
-
typeAnnotation:
|
|
83
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
508
84
|
}),
|
|
509
85
|
],
|
|
510
|
-
}),
|
|
511
|
-
new Structure__1.default({
|
|
86
|
+
}), new Structure({
|
|
512
87
|
name: 'LCAPTaskDefinition',
|
|
513
88
|
properties: [
|
|
514
|
-
new
|
|
89
|
+
new StructureProperty({
|
|
515
90
|
name: 'name',
|
|
516
|
-
typeAnnotation:
|
|
91
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
517
92
|
}),
|
|
518
|
-
new
|
|
93
|
+
new StructureProperty({
|
|
519
94
|
name: 'title',
|
|
520
|
-
typeAnnotation:
|
|
95
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
521
96
|
}),
|
|
522
|
-
new
|
|
97
|
+
new StructureProperty({
|
|
523
98
|
name: 'description',
|
|
524
|
-
typeAnnotation:
|
|
99
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
525
100
|
}),
|
|
526
|
-
new
|
|
101
|
+
new StructureProperty({
|
|
527
102
|
name: 'processDefName',
|
|
528
|
-
typeAnnotation:
|
|
103
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
529
104
|
}),
|
|
530
|
-
new
|
|
105
|
+
new StructureProperty({
|
|
531
106
|
name: 'emptyAssignee',
|
|
532
|
-
typeAnnotation:
|
|
107
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
533
108
|
}),
|
|
534
|
-
new
|
|
109
|
+
new StructureProperty({
|
|
535
110
|
name: 'skipEnabled',
|
|
536
|
-
typeAnnotation:
|
|
111
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
537
112
|
}),
|
|
538
113
|
],
|
|
539
|
-
}),
|
|
540
|
-
new Structure__1.default({
|
|
114
|
+
}), new Structure({
|
|
541
115
|
name: 'LCAPTaskInstance',
|
|
542
116
|
properties: [
|
|
543
|
-
new
|
|
117
|
+
new StructureProperty({
|
|
544
118
|
name: 'taskId',
|
|
545
|
-
typeAnnotation:
|
|
119
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
546
120
|
}),
|
|
547
|
-
new
|
|
121
|
+
new StructureProperty({
|
|
548
122
|
name: 'title',
|
|
549
|
-
typeAnnotation:
|
|
123
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
550
124
|
}),
|
|
551
|
-
new
|
|
125
|
+
new StructureProperty({
|
|
552
126
|
name: 'description',
|
|
553
|
-
typeAnnotation:
|
|
127
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
554
128
|
}),
|
|
555
|
-
new
|
|
129
|
+
new StructureProperty({
|
|
556
130
|
name: 'finished',
|
|
557
|
-
typeAnnotation:
|
|
131
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
558
132
|
}),
|
|
559
|
-
new
|
|
133
|
+
new StructureProperty({
|
|
560
134
|
name: 'completeBy',
|
|
561
|
-
typeAnnotation:
|
|
135
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
562
136
|
}),
|
|
563
|
-
new
|
|
137
|
+
new StructureProperty({
|
|
564
138
|
name: 'createTime',
|
|
565
|
-
typeAnnotation:
|
|
139
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
566
140
|
}),
|
|
567
|
-
new
|
|
141
|
+
new StructureProperty({
|
|
568
142
|
name: 'completeTime',
|
|
569
|
-
typeAnnotation:
|
|
143
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
570
144
|
}),
|
|
571
|
-
new
|
|
145
|
+
new StructureProperty({
|
|
572
146
|
name: 'taskDefName',
|
|
573
|
-
typeAnnotation:
|
|
147
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
574
148
|
}),
|
|
575
|
-
new
|
|
149
|
+
new StructureProperty({
|
|
576
150
|
name: 'processId',
|
|
577
|
-
typeAnnotation:
|
|
151
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
578
152
|
}),
|
|
579
|
-
new
|
|
153
|
+
new StructureProperty({
|
|
580
154
|
name: 'processDefName',
|
|
581
|
-
typeAnnotation:
|
|
155
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
582
156
|
}),
|
|
583
157
|
],
|
|
584
|
-
}),
|
|
585
|
-
new Structure__1.default({
|
|
158
|
+
}), new Structure({
|
|
586
159
|
name: 'LCAPOperateProcessResult',
|
|
587
160
|
properties: [
|
|
588
|
-
new
|
|
161
|
+
new StructureProperty({
|
|
589
162
|
name: 'success',
|
|
590
|
-
typeAnnotation:
|
|
163
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
591
164
|
}),
|
|
592
|
-
new
|
|
165
|
+
new StructureProperty({
|
|
593
166
|
name: 'failMessage',
|
|
594
|
-
typeAnnotation:
|
|
167
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
595
168
|
}),
|
|
596
|
-
new
|
|
169
|
+
new StructureProperty({
|
|
597
170
|
name: 'code',
|
|
598
|
-
typeAnnotation:
|
|
599
|
-
}),
|
|
600
|
-
],
|
|
601
|
-
})
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
171
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
172
|
+
}),
|
|
173
|
+
],
|
|
174
|
+
}));
|
|
175
|
+
exports.processTypeList.push(...(0, reference2TypeAnnotationList_1.reference2TypeAnnotationList)(exports.processStructures, 'nasl.process'));
|
|
176
|
+
const logics = [
|
|
177
|
+
new Logic({
|
|
178
|
+
name: 'getProcessDefinitionList',
|
|
179
|
+
description: '获取流程定义列表',
|
|
180
|
+
params: [],
|
|
181
|
+
returns: [
|
|
182
|
+
new Return({
|
|
183
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
184
|
+
typeArguments: [TypeAnnotation.createTypeParam('T')],
|
|
185
|
+
}),
|
|
186
|
+
}),
|
|
187
|
+
],
|
|
188
|
+
}),
|
|
189
|
+
new Logic({
|
|
190
|
+
name: 'getProcessDefinition',
|
|
191
|
+
description: '获取流程定义的详情,如流程标题',
|
|
192
|
+
params: [
|
|
193
|
+
new Param({
|
|
194
|
+
name: 'name',
|
|
195
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
196
|
+
}),
|
|
197
|
+
],
|
|
198
|
+
returns: [
|
|
199
|
+
new Return({
|
|
200
|
+
name: 'result',
|
|
201
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
202
|
+
}),
|
|
203
|
+
],
|
|
204
|
+
}),
|
|
205
|
+
new Logic({
|
|
206
|
+
name: 'setProcessDefinitionState',
|
|
207
|
+
description: '流程定义设置激活/挂起',
|
|
208
|
+
params: [
|
|
209
|
+
new Param({
|
|
210
|
+
name: 'name',
|
|
211
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
212
|
+
}),
|
|
213
|
+
new Param({
|
|
214
|
+
name: 'state',
|
|
215
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
216
|
+
}),
|
|
217
|
+
new Param({
|
|
218
|
+
name: 'processInstancesAffected',
|
|
219
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
220
|
+
}),
|
|
221
|
+
new Param({
|
|
222
|
+
name: 'effectiveDate',
|
|
223
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Date'),
|
|
224
|
+
}),
|
|
225
|
+
],
|
|
226
|
+
returns: [
|
|
227
|
+
new Return({
|
|
228
|
+
name: 'result',
|
|
229
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
230
|
+
}),
|
|
231
|
+
],
|
|
232
|
+
}),
|
|
233
|
+
new Logic({
|
|
234
|
+
name: 'getProcessInstance',
|
|
235
|
+
description: '获取流程详情,如发起人、时间',
|
|
236
|
+
params: [
|
|
237
|
+
new Param({
|
|
238
|
+
name: 'processId',
|
|
239
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
240
|
+
}),
|
|
241
|
+
],
|
|
242
|
+
returns: [
|
|
243
|
+
new Return({
|
|
244
|
+
name: 'result',
|
|
245
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
246
|
+
}),
|
|
247
|
+
],
|
|
248
|
+
}),
|
|
249
|
+
new Logic({
|
|
250
|
+
name: 'getProcessInstanceList',
|
|
251
|
+
description: '获取流程列表',
|
|
252
|
+
params: [
|
|
253
|
+
new Param({
|
|
254
|
+
name: 'processId',
|
|
255
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
256
|
+
}),
|
|
257
|
+
new Param({
|
|
258
|
+
name: 'startBy',
|
|
259
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
260
|
+
}),
|
|
261
|
+
new Param({
|
|
262
|
+
name: 'finished',
|
|
263
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
264
|
+
}),
|
|
265
|
+
new Param({
|
|
266
|
+
name: 'processDefName',
|
|
267
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
268
|
+
}),
|
|
269
|
+
new Param({
|
|
270
|
+
name: 'startTimeBefore',
|
|
271
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
272
|
+
}),
|
|
273
|
+
new Param({
|
|
274
|
+
name: 'startTimeAfter',
|
|
275
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
276
|
+
}),
|
|
277
|
+
new Param({
|
|
278
|
+
name: 'endTimeBefore',
|
|
279
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
280
|
+
}),
|
|
281
|
+
new Param({
|
|
282
|
+
name: 'endTimeAfter',
|
|
283
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
284
|
+
}),
|
|
285
|
+
new Param({
|
|
286
|
+
name: 'page',
|
|
287
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
288
|
+
}),
|
|
289
|
+
new Param({
|
|
290
|
+
name: 'size',
|
|
291
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
292
|
+
}),
|
|
293
|
+
new Param({
|
|
294
|
+
name: 'sort',
|
|
295
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
296
|
+
}),
|
|
297
|
+
new Param({
|
|
298
|
+
name: 'order',
|
|
299
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
300
|
+
}),
|
|
301
|
+
],
|
|
302
|
+
returns: [
|
|
303
|
+
new Return({
|
|
304
|
+
name: 'result',
|
|
305
|
+
typeAnnotation: TypeAnnotation.createTypeAnonymousStructure([
|
|
306
|
+
new StructureProperty({
|
|
307
|
+
name: 'list',
|
|
308
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
309
|
+
typeArguments: [TypeAnnotation.createTypeParam('T')],
|
|
310
|
+
}),
|
|
311
|
+
}),
|
|
312
|
+
new StructureProperty({
|
|
313
|
+
name: 'total',
|
|
314
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
315
|
+
}),
|
|
316
|
+
]),
|
|
317
|
+
}),
|
|
318
|
+
],
|
|
319
|
+
}),
|
|
320
|
+
new Logic({
|
|
321
|
+
name: 'getTaskDefinitionList',
|
|
322
|
+
description: '获取任务定义列表',
|
|
323
|
+
params: [
|
|
324
|
+
new Param({
|
|
325
|
+
name: 'processDefName',
|
|
326
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
327
|
+
}),
|
|
328
|
+
],
|
|
329
|
+
returns: [
|
|
330
|
+
new Return({
|
|
331
|
+
name: 'result',
|
|
332
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
333
|
+
typeArguments: [TypeAnnotation.createTypeParam('T')],
|
|
334
|
+
}),
|
|
335
|
+
}),
|
|
336
|
+
],
|
|
337
|
+
}),
|
|
338
|
+
new Logic({
|
|
339
|
+
name: 'getTaskDefinition',
|
|
340
|
+
description: '获取任务定义的详情,如任务标题',
|
|
341
|
+
params: [
|
|
342
|
+
new Param({
|
|
343
|
+
name: 'name',
|
|
344
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
345
|
+
}),
|
|
346
|
+
new Param({
|
|
347
|
+
name: 'processDefName',
|
|
348
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
349
|
+
}),
|
|
350
|
+
],
|
|
351
|
+
returns: [
|
|
352
|
+
new Return({
|
|
353
|
+
name: 'result',
|
|
354
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
355
|
+
}),
|
|
356
|
+
],
|
|
357
|
+
}),
|
|
358
|
+
new Logic({
|
|
359
|
+
name: 'getTaskInstance',
|
|
360
|
+
description: '获取任务详情,如状态、完成人',
|
|
361
|
+
params: [
|
|
362
|
+
new Param({
|
|
363
|
+
name: 'taskId',
|
|
364
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
365
|
+
}),
|
|
366
|
+
],
|
|
367
|
+
returns: [
|
|
368
|
+
new Return({
|
|
369
|
+
name: 'result',
|
|
370
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
371
|
+
}),
|
|
372
|
+
],
|
|
373
|
+
}),
|
|
374
|
+
new Logic({
|
|
375
|
+
name: 'getTaskInstanceList',
|
|
376
|
+
description: '获取流程任务列表',
|
|
377
|
+
params: [
|
|
378
|
+
new Param({
|
|
379
|
+
name: 'taskId',
|
|
380
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
381
|
+
}),
|
|
382
|
+
new Param({
|
|
383
|
+
name: 'user',
|
|
384
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
385
|
+
}),
|
|
386
|
+
new Param({
|
|
387
|
+
name: 'finished',
|
|
388
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
389
|
+
}),
|
|
390
|
+
new Param({
|
|
391
|
+
name: 'processId',
|
|
392
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
393
|
+
}),
|
|
394
|
+
new Param({
|
|
395
|
+
name: 'processIdIn',
|
|
396
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
397
|
+
typeArguments: [TypeAnnotation.createTypeParam('String')],
|
|
398
|
+
}),
|
|
399
|
+
}),
|
|
400
|
+
new Param({
|
|
401
|
+
name: 'processDefName',
|
|
402
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
403
|
+
}),
|
|
404
|
+
new Param({
|
|
405
|
+
name: 'taskDefName',
|
|
406
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
407
|
+
}),
|
|
408
|
+
new Param({
|
|
409
|
+
name: 'createTimeBefore',
|
|
410
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
411
|
+
}),
|
|
412
|
+
new Param({
|
|
413
|
+
name: 'createTimeAfter',
|
|
414
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
415
|
+
}),
|
|
416
|
+
new Param({
|
|
417
|
+
name: 'completeTimeBefore',
|
|
418
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
419
|
+
}),
|
|
420
|
+
new Param({
|
|
421
|
+
name: 'completeTimeAfter',
|
|
422
|
+
typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
|
|
423
|
+
}),
|
|
424
|
+
new Param({
|
|
425
|
+
name: 'page',
|
|
426
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
427
|
+
}),
|
|
428
|
+
new Param({
|
|
429
|
+
name: 'size',
|
|
430
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
431
|
+
}),
|
|
432
|
+
new Param({
|
|
433
|
+
name: 'sort',
|
|
434
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
435
|
+
}),
|
|
436
|
+
new Param({
|
|
437
|
+
name: 'order',
|
|
438
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
439
|
+
}),
|
|
440
|
+
],
|
|
441
|
+
returns: [
|
|
442
|
+
new Return({
|
|
443
|
+
name: 'result',
|
|
444
|
+
typeAnnotation: TypeAnnotation.createTypeAnonymousStructure([
|
|
445
|
+
new StructureProperty({
|
|
446
|
+
name: 'list',
|
|
447
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
448
|
+
typeArguments: [TypeAnnotation.createTypeParam('T')],
|
|
449
|
+
}),
|
|
450
|
+
}),
|
|
451
|
+
new StructureProperty({
|
|
452
|
+
name: 'total',
|
|
453
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
454
|
+
}),
|
|
455
|
+
]),
|
|
456
|
+
}),
|
|
457
|
+
],
|
|
458
|
+
}),
|
|
459
|
+
new Logic({
|
|
460
|
+
name: 'claimTaskInstance',
|
|
461
|
+
description: '认领流程任务',
|
|
462
|
+
params: [
|
|
463
|
+
new Param({
|
|
464
|
+
name: 'taskId',
|
|
465
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
466
|
+
}),
|
|
467
|
+
new Param({
|
|
468
|
+
name: 'user',
|
|
469
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
470
|
+
}),
|
|
471
|
+
],
|
|
472
|
+
returns: [
|
|
473
|
+
new Return({
|
|
474
|
+
name: 'result',
|
|
475
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
476
|
+
}),
|
|
477
|
+
],
|
|
478
|
+
}),
|
|
479
|
+
new Logic({
|
|
480
|
+
name: 'unclaimTaskInstance',
|
|
481
|
+
description: '取消认领流程任务',
|
|
482
|
+
params: [
|
|
483
|
+
new Param({
|
|
484
|
+
name: 'taskId',
|
|
485
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
486
|
+
}),
|
|
487
|
+
],
|
|
488
|
+
returns: [
|
|
489
|
+
new Return({
|
|
490
|
+
name: 'result',
|
|
491
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
492
|
+
}),
|
|
493
|
+
],
|
|
494
|
+
}),
|
|
495
|
+
new Logic({
|
|
496
|
+
name: 'getTaskDestinationUrl',
|
|
497
|
+
description: '获取任务审批页跳转链接',
|
|
498
|
+
params: [
|
|
499
|
+
new Param({
|
|
500
|
+
name: 'taskId',
|
|
501
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
502
|
+
}),
|
|
503
|
+
],
|
|
504
|
+
returns: [
|
|
505
|
+
new Return({
|
|
506
|
+
name: 'result',
|
|
507
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
508
|
+
}),
|
|
509
|
+
],
|
|
510
|
+
}),
|
|
511
|
+
new Logic({
|
|
512
|
+
name: 'transferTaskInstance',
|
|
513
|
+
description: '将任务审批人转交给其他人',
|
|
514
|
+
params: [
|
|
515
|
+
new Param({
|
|
516
|
+
name: 'taskId',
|
|
517
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
518
|
+
}),
|
|
519
|
+
new Param({
|
|
520
|
+
name: 'userName',
|
|
521
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
522
|
+
}),
|
|
523
|
+
],
|
|
524
|
+
returns: [
|
|
525
|
+
new Return({
|
|
526
|
+
name: 'result',
|
|
527
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
528
|
+
}),
|
|
529
|
+
],
|
|
530
|
+
}),
|
|
531
|
+
new Logic({
|
|
532
|
+
name: 'withdrawProcessInstance',
|
|
533
|
+
description: '撤回流程,仅发起人可撤回',
|
|
534
|
+
params: [
|
|
535
|
+
new Param({
|
|
536
|
+
name: 'processId',
|
|
537
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
538
|
+
}),
|
|
539
|
+
],
|
|
540
|
+
returns: [
|
|
541
|
+
new Return({
|
|
542
|
+
name: 'result',
|
|
543
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
544
|
+
}),
|
|
545
|
+
],
|
|
546
|
+
}),
|
|
547
|
+
new Logic({
|
|
548
|
+
name: 'endProcessInstance',
|
|
549
|
+
description: '结束流程,仅发起人可结束',
|
|
550
|
+
params: [
|
|
551
|
+
new Param({
|
|
552
|
+
name: 'processId',
|
|
553
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
554
|
+
}),
|
|
555
|
+
],
|
|
556
|
+
returns: [
|
|
557
|
+
new Return({
|
|
558
|
+
name: 'result',
|
|
559
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
560
|
+
}),
|
|
561
|
+
],
|
|
562
|
+
}),
|
|
563
|
+
new Logic({
|
|
564
|
+
name: 'getRejectableTaskDefinitionList',
|
|
565
|
+
description: '获取可驳回的任务定义列表',
|
|
566
|
+
params: [
|
|
567
|
+
new Param({
|
|
568
|
+
name: 'taskId',
|
|
569
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
570
|
+
}),
|
|
571
|
+
],
|
|
572
|
+
returns: [
|
|
573
|
+
new Return({
|
|
574
|
+
name: 'result',
|
|
575
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
576
|
+
typeArguments: [TypeAnnotation.createTypeParam('T')],
|
|
577
|
+
}),
|
|
578
|
+
}),
|
|
579
|
+
],
|
|
580
|
+
}),
|
|
581
|
+
new Logic({
|
|
582
|
+
name: 'updateTaskDefinitionStrategy',
|
|
583
|
+
description: '设置任务策略',
|
|
584
|
+
params: [
|
|
585
|
+
new Param({
|
|
586
|
+
name: 'processDefName',
|
|
587
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
588
|
+
}),
|
|
589
|
+
new Param({
|
|
590
|
+
name: 'name',
|
|
591
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
592
|
+
}),
|
|
593
|
+
new Param({
|
|
594
|
+
name: 'emptyAssignee',
|
|
595
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
596
|
+
}),
|
|
597
|
+
new Param({
|
|
598
|
+
name: 'skipEnabled',
|
|
599
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
600
|
+
}),
|
|
601
|
+
],
|
|
602
|
+
returns: [
|
|
603
|
+
new Return({
|
|
604
|
+
name: 'result',
|
|
605
|
+
typeAnnotation: TypeAnnotation.createTypeParam('T'),
|
|
606
|
+
}),
|
|
607
|
+
],
|
|
608
|
+
}),
|
|
609
|
+
];
|
|
610
|
+
const processComponents = [
|
|
611
|
+
new ProcessComponent({
|
|
610
612
|
name: 'UserTask',
|
|
611
613
|
attrs: [
|
|
612
|
-
new
|
|
614
|
+
new Attribute({
|
|
613
615
|
name: 'assignee',
|
|
614
616
|
title: '名称',
|
|
615
617
|
description: '名称',
|
|
616
618
|
group: '运行属性',
|
|
617
|
-
typeAnnotation:
|
|
618
|
-
useComponent: new
|
|
619
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
620
|
+
useComponent: new UseComponent({ type: 's-edit-user' }),
|
|
619
621
|
}),
|
|
620
|
-
new
|
|
622
|
+
new Attribute({
|
|
621
623
|
name: 'title',
|
|
622
624
|
title: '任务标题',
|
|
623
625
|
description: '任务标题',
|
|
624
626
|
group: '任务箱属性',
|
|
625
|
-
typeAnnotation:
|
|
627
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
626
628
|
}),
|
|
627
|
-
new
|
|
629
|
+
new Attribute({
|
|
628
630
|
name: 'destination',
|
|
629
631
|
title: '跳转页面',
|
|
630
632
|
description: '跳转页面',
|
|
631
633
|
group: '任务箱属性',
|
|
632
|
-
typeAnnotation:
|
|
634
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
633
635
|
}),
|
|
634
636
|
],
|
|
635
637
|
}),
|
|
636
|
-
]
|
|
637
|
-
|
|
638
|
+
];
|
|
639
|
+
logics.forEach((logic) => processNamespace.addLogic(logic));
|
|
640
|
+
processComponents.forEach((item) => processNamespace.addProcessComponent(item));
|
|
641
|
+
}
|
|
642
|
+
exports.initialize = initialize;
|
|
638
643
|
//# sourceMappingURL=nasl.process.js.map
|