@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,348 +3,355 @@ 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.initialize = void 0;
|
|
6
7
|
const Namespace__1 = __importDefault(require("../../Namespace__"));
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const Function__1 = __importDefault(require("../../Function__"));
|
|
10
|
-
const TypeAnnotation__1 = __importDefault(require("../../TypeAnnotation__"));
|
|
11
|
-
const genEmptyParamFunction = function (name) {
|
|
12
|
-
return new Function__1.default({
|
|
13
|
-
name,
|
|
14
|
-
params: [],
|
|
15
|
-
returns: [
|
|
16
|
-
new Return__1.default({
|
|
17
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
18
|
-
}),
|
|
19
|
-
],
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
exports.default = new Namespace__1.default({
|
|
8
|
+
const decorators_1 = require("../../../decorators");
|
|
9
|
+
const validationNamespace = new Namespace__1.default({
|
|
23
10
|
name: 'validation',
|
|
24
|
-
functions: [
|
|
11
|
+
functions: [],
|
|
12
|
+
});
|
|
13
|
+
exports.default = validationNamespace;
|
|
14
|
+
/** @internal */
|
|
15
|
+
function initialize() {
|
|
16
|
+
const TypeAnnotation = (0, decorators_1.getConceptConstructor)('TypeAnnotation');
|
|
17
|
+
const Param = (0, decorators_1.getConceptConstructor)('Param');
|
|
18
|
+
const Return = (0, decorators_1.getConceptConstructor)('Return');
|
|
19
|
+
const Function = (0, decorators_1.getConceptConstructor)('Function');
|
|
20
|
+
const genEmptyParamFunction = function (name) {
|
|
21
|
+
return new Function({
|
|
22
|
+
name,
|
|
23
|
+
params: [],
|
|
24
|
+
returns: [
|
|
25
|
+
new Return({
|
|
26
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
27
|
+
}),
|
|
28
|
+
],
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
const functions = [
|
|
25
32
|
genEmptyParamFunction('required'),
|
|
26
33
|
genEmptyParamFunction('filled'),
|
|
27
34
|
genEmptyParamFunction('notEmpty'),
|
|
28
35
|
genEmptyParamFunction('empty'),
|
|
29
|
-
new
|
|
36
|
+
new Function({
|
|
30
37
|
name: 'minLength',
|
|
31
38
|
params: [
|
|
32
|
-
new
|
|
39
|
+
new Param({
|
|
33
40
|
name: 'min',
|
|
34
|
-
typeAnnotation:
|
|
41
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
35
42
|
required: true,
|
|
36
43
|
}),
|
|
37
44
|
],
|
|
38
45
|
returns: [
|
|
39
|
-
new
|
|
40
|
-
typeAnnotation:
|
|
46
|
+
new Return({
|
|
47
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
41
48
|
}),
|
|
42
49
|
],
|
|
43
50
|
}),
|
|
44
|
-
new
|
|
51
|
+
new Function({
|
|
45
52
|
name: 'maxLength',
|
|
46
53
|
params: [
|
|
47
|
-
new
|
|
54
|
+
new Param({
|
|
48
55
|
name: 'max',
|
|
49
|
-
typeAnnotation:
|
|
56
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
50
57
|
required: true,
|
|
51
58
|
}),
|
|
52
59
|
],
|
|
53
60
|
returns: [
|
|
54
|
-
new
|
|
55
|
-
typeAnnotation:
|
|
61
|
+
new Return({
|
|
62
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
56
63
|
}),
|
|
57
64
|
],
|
|
58
65
|
}),
|
|
59
|
-
new
|
|
66
|
+
new Function({
|
|
60
67
|
name: 'rangeLength',
|
|
61
68
|
params: [
|
|
62
|
-
new
|
|
69
|
+
new Param({
|
|
63
70
|
name: 'min',
|
|
64
|
-
typeAnnotation:
|
|
71
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
65
72
|
required: true,
|
|
66
73
|
}),
|
|
67
|
-
new
|
|
74
|
+
new Param({
|
|
68
75
|
name: 'max',
|
|
69
|
-
typeAnnotation:
|
|
76
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
70
77
|
required: true,
|
|
71
78
|
}),
|
|
72
79
|
],
|
|
73
80
|
returns: [
|
|
74
|
-
new
|
|
75
|
-
typeAnnotation:
|
|
81
|
+
new Return({
|
|
82
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
76
83
|
}),
|
|
77
84
|
],
|
|
78
85
|
}),
|
|
79
|
-
new
|
|
86
|
+
new Function({
|
|
80
87
|
name: 'min',
|
|
81
88
|
params: [
|
|
82
|
-
new
|
|
89
|
+
new Param({
|
|
83
90
|
name: 'min',
|
|
84
|
-
typeAnnotation:
|
|
91
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
85
92
|
required: true,
|
|
86
93
|
}),
|
|
87
94
|
],
|
|
88
95
|
returns: [
|
|
89
|
-
new
|
|
90
|
-
typeAnnotation:
|
|
96
|
+
new Return({
|
|
97
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
91
98
|
}),
|
|
92
99
|
],
|
|
93
100
|
}),
|
|
94
|
-
new
|
|
101
|
+
new Function({
|
|
95
102
|
name: 'max',
|
|
96
103
|
params: [
|
|
97
|
-
new
|
|
104
|
+
new Param({
|
|
98
105
|
name: 'max',
|
|
99
|
-
typeAnnotation:
|
|
106
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
100
107
|
required: true,
|
|
101
108
|
}),
|
|
102
109
|
],
|
|
103
110
|
returns: [
|
|
104
|
-
new
|
|
105
|
-
typeAnnotation:
|
|
111
|
+
new Return({
|
|
112
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
106
113
|
}),
|
|
107
114
|
],
|
|
108
115
|
}),
|
|
109
|
-
new
|
|
116
|
+
new Function({
|
|
110
117
|
name: 'range',
|
|
111
118
|
params: [
|
|
112
|
-
new
|
|
119
|
+
new Param({
|
|
113
120
|
name: 'min',
|
|
114
|
-
typeAnnotation:
|
|
121
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
115
122
|
required: true,
|
|
116
123
|
}),
|
|
117
|
-
new
|
|
124
|
+
new Param({
|
|
118
125
|
name: 'max',
|
|
119
|
-
typeAnnotation:
|
|
126
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
120
127
|
required: true,
|
|
121
128
|
}),
|
|
122
129
|
],
|
|
123
130
|
returns: [
|
|
124
|
-
new
|
|
125
|
-
typeAnnotation:
|
|
131
|
+
new Return({
|
|
132
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
126
133
|
}),
|
|
127
134
|
],
|
|
128
135
|
}),
|
|
129
|
-
new
|
|
136
|
+
new Function({
|
|
130
137
|
name: 'pattern',
|
|
131
138
|
params: [
|
|
132
|
-
new
|
|
139
|
+
new Param({
|
|
133
140
|
name: 're',
|
|
134
|
-
typeAnnotation:
|
|
141
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
135
142
|
required: true,
|
|
136
143
|
}),
|
|
137
144
|
],
|
|
138
145
|
returns: [
|
|
139
|
-
new
|
|
140
|
-
typeAnnotation:
|
|
146
|
+
new Return({
|
|
147
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
141
148
|
}),
|
|
142
149
|
],
|
|
143
150
|
}),
|
|
144
|
-
new
|
|
151
|
+
new Function({
|
|
145
152
|
name: 'is',
|
|
146
153
|
params: [
|
|
147
|
-
new
|
|
154
|
+
new Param({
|
|
148
155
|
name: 'arg',
|
|
149
|
-
typeAnnotation:
|
|
156
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
150
157
|
required: true,
|
|
151
158
|
}),
|
|
152
159
|
],
|
|
153
160
|
returns: [
|
|
154
|
-
new
|
|
155
|
-
typeAnnotation:
|
|
161
|
+
new Return({
|
|
162
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
156
163
|
}),
|
|
157
164
|
],
|
|
158
165
|
}),
|
|
159
|
-
new
|
|
166
|
+
new Function({
|
|
160
167
|
name: 'isNot',
|
|
161
168
|
params: [
|
|
162
|
-
new
|
|
169
|
+
new Param({
|
|
163
170
|
name: 'arg',
|
|
164
|
-
typeAnnotation:
|
|
171
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
165
172
|
required: true,
|
|
166
173
|
}),
|
|
167
174
|
],
|
|
168
175
|
returns: [
|
|
169
|
-
new
|
|
170
|
-
typeAnnotation:
|
|
176
|
+
new Return({
|
|
177
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
171
178
|
}),
|
|
172
179
|
],
|
|
173
180
|
}),
|
|
174
|
-
new
|
|
181
|
+
new Function({
|
|
175
182
|
name: 'equals',
|
|
176
183
|
params: [
|
|
177
|
-
new
|
|
184
|
+
new Param({
|
|
178
185
|
name: 'arg',
|
|
179
|
-
typeAnnotation:
|
|
186
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
180
187
|
required: true,
|
|
181
188
|
}),
|
|
182
189
|
],
|
|
183
190
|
returns: [
|
|
184
|
-
new
|
|
185
|
-
typeAnnotation:
|
|
191
|
+
new Return({
|
|
192
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
186
193
|
}),
|
|
187
194
|
],
|
|
188
195
|
}),
|
|
189
|
-
new
|
|
196
|
+
new Function({
|
|
190
197
|
name: 'notEquals',
|
|
191
198
|
params: [
|
|
192
|
-
new
|
|
199
|
+
new Param({
|
|
193
200
|
name: 'arg',
|
|
194
|
-
typeAnnotation:
|
|
201
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
195
202
|
required: true,
|
|
196
203
|
}),
|
|
197
204
|
],
|
|
198
205
|
returns: [
|
|
199
|
-
new
|
|
200
|
-
typeAnnotation:
|
|
206
|
+
new Return({
|
|
207
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
201
208
|
}),
|
|
202
209
|
],
|
|
203
210
|
}),
|
|
204
|
-
new
|
|
211
|
+
new Function({
|
|
205
212
|
name: 'confirmed',
|
|
206
213
|
params: [
|
|
207
|
-
new
|
|
214
|
+
new Param({
|
|
208
215
|
name: 'value',
|
|
209
|
-
typeAnnotation:
|
|
216
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
210
217
|
required: true,
|
|
211
218
|
}),
|
|
212
219
|
],
|
|
213
220
|
returns: [
|
|
214
|
-
new
|
|
215
|
-
typeAnnotation:
|
|
221
|
+
new Return({
|
|
222
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
216
223
|
}),
|
|
217
224
|
],
|
|
218
225
|
}),
|
|
219
|
-
new
|
|
226
|
+
new Function({
|
|
220
227
|
name: 'includes',
|
|
221
228
|
params: [
|
|
222
|
-
new
|
|
229
|
+
new Param({
|
|
223
230
|
name: 'arr',
|
|
224
|
-
typeAnnotation:
|
|
225
|
-
typeArguments: [
|
|
231
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
232
|
+
typeArguments: [TypeAnnotation.createPrimitive('Any')],
|
|
226
233
|
}),
|
|
227
234
|
required: true,
|
|
228
235
|
}),
|
|
229
236
|
],
|
|
230
237
|
returns: [
|
|
231
|
-
new
|
|
232
|
-
typeAnnotation:
|
|
238
|
+
new Return({
|
|
239
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
233
240
|
}),
|
|
234
241
|
],
|
|
235
242
|
}),
|
|
236
|
-
new
|
|
243
|
+
new Function({
|
|
237
244
|
name: 'excludes',
|
|
238
245
|
params: [
|
|
239
|
-
new
|
|
246
|
+
new Param({
|
|
240
247
|
name: 'arr',
|
|
241
|
-
typeAnnotation:
|
|
242
|
-
typeArguments: [
|
|
248
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
249
|
+
typeArguments: [TypeAnnotation.createPrimitive('Any')],
|
|
243
250
|
}),
|
|
244
251
|
required: true,
|
|
245
252
|
}),
|
|
246
253
|
],
|
|
247
254
|
returns: [
|
|
248
|
-
new
|
|
249
|
-
typeAnnotation:
|
|
255
|
+
new Return({
|
|
256
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
250
257
|
}),
|
|
251
258
|
],
|
|
252
259
|
}),
|
|
253
|
-
new
|
|
260
|
+
new Function({
|
|
254
261
|
name: 'included',
|
|
255
262
|
params: [
|
|
256
|
-
new
|
|
263
|
+
new Param({
|
|
257
264
|
name: 'arr',
|
|
258
|
-
typeAnnotation:
|
|
259
|
-
typeArguments: [
|
|
265
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
266
|
+
typeArguments: [TypeAnnotation.createPrimitive('Any')],
|
|
260
267
|
}),
|
|
261
268
|
required: true,
|
|
262
269
|
}),
|
|
263
270
|
],
|
|
264
271
|
returns: [
|
|
265
|
-
new
|
|
266
|
-
typeAnnotation:
|
|
272
|
+
new Return({
|
|
273
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
267
274
|
}),
|
|
268
275
|
],
|
|
269
276
|
}),
|
|
270
|
-
new
|
|
277
|
+
new Function({
|
|
271
278
|
name: 'excluded',
|
|
272
279
|
params: [
|
|
273
|
-
new
|
|
280
|
+
new Param({
|
|
274
281
|
name: 'arr',
|
|
275
|
-
typeAnnotation:
|
|
276
|
-
typeArguments: [
|
|
282
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
283
|
+
typeArguments: [TypeAnnotation.createPrimitive('Any')],
|
|
277
284
|
}),
|
|
278
285
|
required: true,
|
|
279
286
|
}),
|
|
280
287
|
],
|
|
281
288
|
returns: [
|
|
282
|
-
new
|
|
283
|
-
typeAnnotation:
|
|
289
|
+
new Return({
|
|
290
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
284
291
|
}),
|
|
285
292
|
],
|
|
286
293
|
}),
|
|
287
|
-
new
|
|
294
|
+
new Function({
|
|
288
295
|
name: 'unique',
|
|
289
296
|
params: [
|
|
290
|
-
new
|
|
297
|
+
new Param({
|
|
291
298
|
name: 'arr',
|
|
292
|
-
typeAnnotation:
|
|
293
|
-
typeArguments: [
|
|
299
|
+
typeAnnotation: TypeAnnotation.createGeneric('List', {
|
|
300
|
+
typeArguments: [TypeAnnotation.createPrimitive('Any')],
|
|
294
301
|
}),
|
|
295
302
|
required: true,
|
|
296
303
|
}),
|
|
297
304
|
],
|
|
298
305
|
returns: [
|
|
299
|
-
new
|
|
300
|
-
typeAnnotation:
|
|
306
|
+
new Return({
|
|
307
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
301
308
|
}),
|
|
302
309
|
],
|
|
303
310
|
}),
|
|
304
|
-
new
|
|
311
|
+
new Function({
|
|
305
312
|
name: 'noDuplicates',
|
|
306
313
|
params: [],
|
|
307
314
|
returns: [
|
|
308
|
-
new
|
|
309
|
-
typeAnnotation:
|
|
315
|
+
new Return({
|
|
316
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
310
317
|
}),
|
|
311
318
|
],
|
|
312
319
|
}),
|
|
313
320
|
genEmptyParamFunction('string'),
|
|
314
321
|
genEmptyParamFunction('number'),
|
|
315
|
-
new
|
|
322
|
+
new Function({
|
|
316
323
|
name: 'numeric',
|
|
317
324
|
params: [
|
|
318
|
-
new
|
|
325
|
+
new Param({
|
|
319
326
|
name: 'noSymbols',
|
|
320
|
-
typeAnnotation:
|
|
327
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
321
328
|
required: false,
|
|
322
329
|
}),
|
|
323
330
|
],
|
|
324
331
|
returns: [
|
|
325
|
-
new
|
|
326
|
-
typeAnnotation:
|
|
332
|
+
new Return({
|
|
333
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
327
334
|
}),
|
|
328
335
|
],
|
|
329
336
|
}),
|
|
330
337
|
genEmptyParamFunction('integer'),
|
|
331
|
-
new
|
|
338
|
+
new Function({
|
|
332
339
|
name: 'decimal',
|
|
333
340
|
params: [
|
|
334
|
-
new
|
|
341
|
+
new Param({
|
|
335
342
|
name: 'force',
|
|
336
|
-
typeAnnotation:
|
|
343
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
337
344
|
required: false,
|
|
338
345
|
}),
|
|
339
|
-
new
|
|
346
|
+
new Param({
|
|
340
347
|
name: 'digits',
|
|
341
|
-
typeAnnotation:
|
|
348
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
342
349
|
required: false,
|
|
343
350
|
}),
|
|
344
351
|
],
|
|
345
352
|
returns: [
|
|
346
|
-
new
|
|
347
|
-
typeAnnotation:
|
|
353
|
+
new Return({
|
|
354
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
348
355
|
}),
|
|
349
356
|
],
|
|
350
357
|
}),
|
|
@@ -382,87 +389,87 @@ exports.default = new Namespace__1.default({
|
|
|
382
389
|
'without__',
|
|
383
390
|
'email',
|
|
384
391
|
].map(genEmptyParamFunction),
|
|
385
|
-
new
|
|
392
|
+
new Function({
|
|
386
393
|
name: 'ip',
|
|
387
394
|
params: [
|
|
388
|
-
new
|
|
395
|
+
new Param({
|
|
389
396
|
name: 'version',
|
|
390
|
-
typeAnnotation:
|
|
397
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
391
398
|
required: true,
|
|
392
399
|
}),
|
|
393
400
|
],
|
|
394
401
|
returns: [
|
|
395
|
-
new
|
|
396
|
-
typeAnnotation:
|
|
402
|
+
new Return({
|
|
403
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
397
404
|
}),
|
|
398
405
|
],
|
|
399
406
|
}),
|
|
400
|
-
new
|
|
407
|
+
new Function({
|
|
401
408
|
name: 'ipRange',
|
|
402
409
|
params: [
|
|
403
|
-
new
|
|
410
|
+
new Param({
|
|
404
411
|
name: 'version',
|
|
405
|
-
typeAnnotation:
|
|
412
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
|
|
406
413
|
required: true,
|
|
407
414
|
}),
|
|
408
415
|
],
|
|
409
416
|
returns: [
|
|
410
|
-
new
|
|
411
|
-
typeAnnotation:
|
|
417
|
+
new Return({
|
|
418
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
412
419
|
}),
|
|
413
420
|
],
|
|
414
421
|
}),
|
|
415
422
|
...['port', 'url', 'macAddress', 'md5', 'ascii', 'base64'].map(genEmptyParamFunction),
|
|
416
|
-
new
|
|
423
|
+
new Function({
|
|
417
424
|
name: 'byteLength',
|
|
418
425
|
params: [
|
|
419
|
-
new
|
|
426
|
+
new Param({
|
|
420
427
|
name: 'min',
|
|
421
|
-
typeAnnotation:
|
|
428
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
422
429
|
required: true,
|
|
423
430
|
}),
|
|
424
|
-
new
|
|
431
|
+
new Param({
|
|
425
432
|
name: 'max',
|
|
426
|
-
typeAnnotation:
|
|
433
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
427
434
|
required: true,
|
|
428
435
|
}),
|
|
429
436
|
],
|
|
430
437
|
returns: [
|
|
431
|
-
new
|
|
432
|
-
typeAnnotation:
|
|
438
|
+
new Return({
|
|
439
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
433
440
|
}),
|
|
434
441
|
],
|
|
435
442
|
}),
|
|
436
443
|
genEmptyParamFunction('dataURI'),
|
|
437
|
-
new
|
|
444
|
+
new Function({
|
|
438
445
|
name: 'divisibleBy',
|
|
439
446
|
params: [
|
|
440
|
-
new
|
|
447
|
+
new Param({
|
|
441
448
|
name: 'divisor',
|
|
442
|
-
typeAnnotation:
|
|
449
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Long'),
|
|
443
450
|
required: true,
|
|
444
451
|
}),
|
|
445
452
|
],
|
|
446
453
|
returns: [
|
|
447
|
-
new
|
|
448
|
-
typeAnnotation:
|
|
454
|
+
new Return({
|
|
455
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
449
456
|
}),
|
|
450
457
|
],
|
|
451
458
|
}),
|
|
452
459
|
genEmptyParamFunction('halfWidth'),
|
|
453
460
|
genEmptyParamFunction('fullWidth'),
|
|
454
|
-
new
|
|
461
|
+
new Function({
|
|
455
462
|
name: 'hash',
|
|
456
463
|
params: [
|
|
457
|
-
new
|
|
464
|
+
new Param({
|
|
458
465
|
name: 'algorithm',
|
|
459
|
-
typeAnnotation:
|
|
466
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
460
467
|
required: true,
|
|
461
468
|
}),
|
|
462
469
|
],
|
|
463
470
|
returns: [
|
|
464
|
-
new
|
|
465
|
-
typeAnnotation:
|
|
471
|
+
new Return({
|
|
472
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
466
473
|
}),
|
|
467
474
|
],
|
|
468
475
|
}),
|
|
@@ -471,35 +478,35 @@ exports.default = new Namespace__1.default({
|
|
|
471
478
|
genEmptyParamFunction('creditCard'),
|
|
472
479
|
genEmptyParamFunction('fqdn'),
|
|
473
480
|
genEmptyParamFunction('ipOrFQDN'),
|
|
474
|
-
new
|
|
481
|
+
new Function({
|
|
475
482
|
name: 'isbn',
|
|
476
483
|
params: [
|
|
477
|
-
new
|
|
484
|
+
new Param({
|
|
478
485
|
name: 'version',
|
|
479
|
-
typeAnnotation:
|
|
486
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
480
487
|
required: true,
|
|
481
488
|
}),
|
|
482
489
|
],
|
|
483
490
|
returns: [
|
|
484
|
-
new
|
|
485
|
-
typeAnnotation:
|
|
491
|
+
new Return({
|
|
492
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
486
493
|
}),
|
|
487
494
|
],
|
|
488
495
|
}),
|
|
489
496
|
genEmptyParamFunction('issn'),
|
|
490
497
|
genEmptyParamFunction('isin'),
|
|
491
|
-
new
|
|
498
|
+
new Function({
|
|
492
499
|
name: 'iso8601',
|
|
493
500
|
params: [
|
|
494
|
-
new
|
|
501
|
+
new Param({
|
|
495
502
|
name: 'strict',
|
|
496
|
-
typeAnnotation:
|
|
503
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
497
504
|
required: true,
|
|
498
505
|
}),
|
|
499
506
|
],
|
|
500
507
|
returns: [
|
|
501
|
-
new
|
|
502
|
-
typeAnnotation:
|
|
508
|
+
new Return({
|
|
509
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
503
510
|
}),
|
|
504
511
|
],
|
|
505
512
|
}),
|
|
@@ -508,58 +515,60 @@ exports.default = new Namespace__1.default({
|
|
|
508
515
|
genEmptyParamFunction('json'),
|
|
509
516
|
genEmptyParamFunction('jwt'),
|
|
510
517
|
genEmptyParamFunction('latLong'),
|
|
511
|
-
new
|
|
518
|
+
new Function({
|
|
512
519
|
name: 'mobile',
|
|
513
520
|
params: [
|
|
514
|
-
new
|
|
521
|
+
new Param({
|
|
515
522
|
name: 'locale',
|
|
516
|
-
typeAnnotation:
|
|
523
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
517
524
|
required: false,
|
|
518
525
|
}),
|
|
519
|
-
new
|
|
526
|
+
new Param({
|
|
520
527
|
name: 'strict',
|
|
521
|
-
typeAnnotation:
|
|
528
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
522
529
|
required: false,
|
|
523
530
|
}),
|
|
524
531
|
],
|
|
525
532
|
returns: [
|
|
526
|
-
new
|
|
527
|
-
typeAnnotation:
|
|
533
|
+
new Return({
|
|
534
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
528
535
|
}),
|
|
529
536
|
],
|
|
530
537
|
}),
|
|
531
538
|
genEmptyParamFunction('mongoId'),
|
|
532
|
-
new
|
|
539
|
+
new Function({
|
|
533
540
|
name: 'postalCode',
|
|
534
541
|
params: [
|
|
535
|
-
new
|
|
542
|
+
new Param({
|
|
536
543
|
name: 'locale',
|
|
537
|
-
typeAnnotation:
|
|
544
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
538
545
|
required: true,
|
|
539
546
|
}),
|
|
540
547
|
],
|
|
541
548
|
returns: [
|
|
542
|
-
new
|
|
543
|
-
typeAnnotation:
|
|
549
|
+
new Return({
|
|
550
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
544
551
|
}),
|
|
545
552
|
],
|
|
546
553
|
}),
|
|
547
|
-
new
|
|
554
|
+
new Function({
|
|
548
555
|
name: 'uuid',
|
|
549
556
|
params: [
|
|
550
|
-
new
|
|
557
|
+
new Param({
|
|
551
558
|
name: 'version',
|
|
552
|
-
typeAnnotation:
|
|
559
|
+
typeAnnotation: TypeAnnotation.createPrimitive('String'),
|
|
553
560
|
required: false,
|
|
554
561
|
}),
|
|
555
562
|
],
|
|
556
563
|
returns: [
|
|
557
|
-
new
|
|
558
|
-
typeAnnotation:
|
|
564
|
+
new Return({
|
|
565
|
+
typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
|
|
559
566
|
}),
|
|
560
567
|
],
|
|
561
568
|
}),
|
|
562
569
|
genEmptyParamFunction('chinese'),
|
|
563
|
-
]
|
|
564
|
-
|
|
570
|
+
];
|
|
571
|
+
functions.forEach((func) => validationNamespace.addFunction(func));
|
|
572
|
+
}
|
|
573
|
+
exports.initialize = initialize;
|
|
565
574
|
//# sourceMappingURL=nasl.validation.js.map
|