@lcap/nasl-concepts 4.4.0-beta.9 → 4.4.0-rc.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/out/common/BaseNode.d.ts +54 -18
- package/out/common/BaseNode.d.ts.map +1 -1
- package/out/common/BaseNode.js +280 -20
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/EventEmitter.d.ts +5 -1
- package/out/common/EventEmitter.d.ts.map +1 -1
- package/out/common/EventEmitter.js +24 -9
- package/out/common/EventEmitter.js.map +1 -1
- package/out/concepts/App__.d.ts.map +1 -1
- package/out/concepts/App__.js +1 -0
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts.map +1 -1
- package/out/concepts/Assignment__.js +2 -1
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts.map +1 -1
- package/out/concepts/BinaryExpression__.js +18 -16
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts.map +1 -1
- package/out/concepts/BindEvent__.js +38 -7
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts.map +1 -1
- package/out/concepts/CallConnector__.js +4 -2
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts.map +1 -1
- package/out/concepts/CallInterface__.js +9 -6
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts.map +1 -1
- package/out/concepts/CallLogic__.js +6 -3
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.js +6 -1
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +0 -4
- package/out/concepts/EntityProperty__.d.ts.map +1 -1
- package/out/concepts/EntityProperty__.js +29 -6
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts.map +1 -1
- package/out/concepts/Entity__.js +15 -1
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.d.ts +0 -4
- package/out/concepts/EnumItem__.d.ts.map +1 -1
- package/out/concepts/EnumItem__.js +11 -5
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/Enum__.d.ts.map +1 -1
- package/out/concepts/Enum__.js +8 -0
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts.map +1 -1
- package/out/concepts/ForEachStatement__.js +2 -1
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +15 -0
- package/out/concepts/Frontend__.d.ts.map +1 -1
- package/out/concepts/Frontend__.js +11 -4
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Logic__.d.ts.map +1 -1
- package/out/concepts/Logic__.js +4 -0
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/Module__.d.ts +3 -0
- package/out/concepts/Module__.d.ts.map +1 -1
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/ProcessDefinitionV2__.d.ts +2 -1
- package/out/concepts/ProcessDefinitionV2__.d.ts.map +1 -1
- package/out/concepts/ProcessDefinitionV2__.js +47 -5
- package/out/concepts/ProcessDefinitionV2__.js.map +1 -1
- package/out/concepts/ProcessElementV2__.d.ts +20 -1
- package/out/concepts/ProcessElementV2__.d.ts.map +1 -1
- package/out/concepts/ProcessElementV2__.js +36 -3
- package/out/concepts/ProcessElementV2__.js.map +1 -1
- package/out/concepts/ProcessV2__.js +2 -2
- package/out/concepts/ProcessV2__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +0 -4
- package/out/concepts/StructureProperty__.d.ts.map +1 -1
- package/out/concepts/StructureProperty__.js +15 -4
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts.map +1 -1
- package/out/concepts/Structure__.js +9 -1
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/StyleInfo__.d.ts +42 -0
- package/out/concepts/StyleInfo__.d.ts.map +1 -0
- package/out/concepts/StyleInfo__.js +84 -0
- package/out/concepts/StyleInfo__.js.map +1 -0
- package/out/concepts/SubLogic__.d.ts.map +1 -1
- package/out/concepts/SubLogic__.js +7 -2
- package/out/concepts/SubLogic__.js.map +1 -1
- package/out/concepts/SubProcessDataMappingRule__.d.ts +35 -0
- package/out/concepts/SubProcessDataMappingRule__.d.ts.map +1 -0
- package/out/concepts/SubProcessDataMappingRule__.js +65 -0
- package/out/concepts/SubProcessDataMappingRule__.js.map +1 -0
- package/out/concepts/UnaryExpression__.d.ts.map +1 -1
- package/out/concepts/UnaryExpression__.js +3 -2
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +1 -0
- package/out/concepts/ViewElement__.d.ts.map +1 -1
- package/out/concepts/ViewElement__.js +4 -1
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/index__.d.ts +2 -0
- package/out/concepts/index__.d.ts.map +1 -1
- package/out/concepts/index__.js +2 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +102 -0
- package/out/concepts/utils/asserts.d.ts.map +1 -1
- package/out/concepts/utils/asserts.js +148 -14
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +7 -1
- package/out/concepts/utils/types.d.ts.map +1 -1
- package/out/keywords/index.js +39 -0
- package/out/keywords/index.js.map +1 -1
- package/out/semantics/localVarCollector.js +1 -1
- package/out/semantics/localVarCollector.js.map +1 -1
- package/out/service/formatTsUtils.d.ts.map +1 -1
- package/out/service/formatTsUtils.js +5 -1
- package/out/service/formatTsUtils.js.map +1 -1
- package/out/service/getLogics.d.ts.map +1 -1
- package/out/service/getLogics.js +27 -7
- package/out/service/getLogics.js.map +1 -1
- package/out/service/getMemberIdentifier.d.ts +2 -1
- package/out/service/getMemberIdentifier.d.ts.map +1 -1
- package/out/service/getMemberIdentifier.js +66 -3
- package/out/service/getMemberIdentifier.js.map +1 -1
- package/out/service/getProcessesV2.d.ts.map +1 -1
- package/out/service/getProcessesV2.js +33 -0
- package/out/service/getProcessesV2.js.map +1 -1
- package/out/utils/analyzer/index.d.ts +3 -3
- package/out/utils/analyzer/index.d.ts.map +1 -1
- package/out/utils/analyzer/index.js.map +1 -1
- package/out/validator/index.d.ts +10 -0
- package/out/validator/index.d.ts.map +1 -1
- package/out/validator/index.js +13 -0
- package/out/validator/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -3,20 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isStrictViewComponentDeclaration = exports.isStrictDataSourceSetter = exports.isStrictAnonymousFunctionSetter = exports.isStrictPropertyTransformSetter = exports.isStrictPropertySelectSetter = exports.isStrictImageSetter = exports.isStrictIconSetter = exports.isStrictNumberInputSetter = exports.isStrictCapsulesSetter = exports.isStrictEnumSelectSetter = exports.isStrictSetterOption = exports.isStrictSwitchSetter = exports.isStrictInputSetter = exports.isStrictCustomSetter = exports.isStrictThemeVariable = exports.isStrictBindStyle = exports.isStrictBindEvent = exports.isStrictBindDirective = exports.isStrictBindAttribute = exports.isStrictViewElement = exports.isStrictView = exports.isStrictMetadataType = exports.isStrictEntityIndex = exports.isStrictEntityProperty = exports.isStrictEntity = exports.isStrictDataSource = exports.isStrictEnumItem = exports.isStrictEnum = exports.isStrictStructureProperty = exports.isStrictStructure = exports.isStrictTypeParam = exports.isStrictDatabaseTypeAnnotation = exports.isStrictTypeAnnotation = exports.isStrictMicroApp = exports.isStrictIntegration = exports.isStrictBackend = exports.isStrictFrontend = exports.isStrictFrontendType = exports.isStrictReferredDefinition = exports.isStrictDirectory = exports.isStrictNamespace = exports.isStrictModule = exports.isStrictApp = exports.isStrictApplyAnnotation = exports.isStrictAnnotationProperty = exports.isStrictAnnotation = exports.assertFileNode = exports.isFileNode = exports.assertBaseNode = exports.isBaseNode = void 0;
|
|
4
4
|
exports.isStrictComment = exports.isStrictBatchAssignment = exports.isStrictAssignment = exports.isStrictContinue = exports.isStrictBreak = exports.isStrictWhileStatement = exports.isStrictForEachStatement = exports.isStrictSwitchCase = exports.isStrictSwitchStatement = exports.isStrictIfStatement = exports.isStrictEnd = exports.isStrictStart = exports.isStrictAbort = exports.isStrictDefaultValue = exports.isStrictTransactional = exports.isStrictInterfaceParam = exports.isStrictGatewayInterface = exports.isStrictMicroserviceInterface = exports.isStrictConnectionInfo = exports.isStrictMcpInterface = exports.isStrictInterface = exports.isStrictRetryConfig = exports.isStrictAnonymousFunction = exports.isStrictFunction = exports.isStrictSubLogic = exports.isStrictConstant = exports.isStrictFrontendVariable = exports.isStrictBackendVariable = exports.isStrictVariable = exports.isStrictReturn = exports.isStrictParamWithGroup = exports.isStrictParam = exports.isStrictBusinessLogic = exports.isStrictOverriddenLogic = exports.isStrictAuthLogicForCallInterface = exports.isStrictAuthLogic = exports.isStrictPermissionForSharedScope = exports.isStrictSharedScope = exports.isStrictLogic = exports.isStrictViewComponent = exports.isStrictSlot = exports.isStrictTheme = exports.isStrictCSSRule = exports.isStrictLogicDeclaration = exports.isStrictSlotDeclaration = exports.isStrictEventDeclaration = exports.isStrictPropDeclaration = exports.isStrictEvent = exports.isStrictAttribute = exports.isStrictBusinessComponent = void 0;
|
|
5
5
|
exports.isStrictProcessComponent = exports.isStrictProcessElement = exports.isStrictProcess = exports.isStrictOqlQueryComponent = exports.isStrictSqlQueryComponent = exports.isStrictQueryLimitExpression = exports.isStrictQueryGroupByExpression = exports.isStrictQueryOrderByExpression = exports.isStrictQueryAggregateExpression = exports.isStrictQueryFieldExpression = exports.isStrictQueryJoinExpression = exports.isStrictQueryFromExpression = exports.isStrictQuerySelectExpression = exports.isStrictCallQueryComponent = exports.isStrictPaginate = exports.isStrictNewRegex = exports.isStrictNewMap = exports.isStrictNewList = exports.isStrictNewStructure = exports.isStrictNewComposite = exports.isStrictNew = exports.isStrictUnparsed = exports.isStrictMemberExpression = exports.isStrictUnaryExpression = exports.isStrictMatch = exports.isStrictMatchCase = exports.isStrictVariadicExpression = exports.isStrictBinaryExpression = exports.isStrictNumericLiteral = exports.isStrictStaticString = exports.isStrictStringInterpolation = exports.isStrictStringLiteral = exports.isStrictBooleanLiteral = exports.isStrictNullLiteral = exports.isStrictIdentifier = exports.isStrictBlock = exports.isStrictJavaLogic = exports.isStrictJSBlock = exports.isStrictAnchor = exports.isStrictArgument = exports.isStrictValidationLogic = exports.isStrictValidationRule = exports.isStrictExternalDestination = exports.isStrictDestination = exports.isStrictCallGatewayInterface = exports.isStrictCallMicroserviceInterface = exports.isStrictCallInterface = exports.isStrictCallFunction = exports.isStrictCallEvent = exports.isStrictCallLogic = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.assertReassignUnmannedV2 = exports.assertAutoRejectUnmannedV2 = exports.assertAutoApproveUnmannedV2 = exports.assertUnmannedApprovalStrategyV2 = exports.assertOrSignPolicyV2 = exports.assertCountersignPolicyV2 = exports.assertSequentialPolicyV2 = exports.assertApprovalPolicyV2 = exports.assertFlowConditionV2 = exports.assertDepartmentAssignees = exports.assertRoleAssignees = exports.assertUserAssignees = exports.assertAssignees = exports.assertDepartmentManagerV2 = exports.assertDirectManagerV2 = exports.assertManagerV2 = exports.assertDepartmentV2 = exports.assertAssigneeV2 = exports.assertOperatePermissionV2 = exports.assertProcessElementV2 = exports.assertFieldPermissionV2 = exports.assertProcessBindV2 = exports.assertHistoryProcessV2 = exports.assertProcessDefinitionV2 = exports.assertProcessV2 = exports.assertConnectorLogic = exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertDependency = exports.assertMsgTriggerLauncher = void 0;
|
|
6
|
+
exports.isStrictFlowConditionV2 = exports.isStrictDepartmentAssignees = exports.isStrictRoleAssignees = exports.isStrictUserAssignees = exports.isStrictDepartmentManagerV2 = exports.isStrictDirectManagerV2 = exports.isStrictDepartmentV2 = exports.isStrictAssigneeV2 = exports.isStrictOperatePermissionV2 = exports.isStrictSubProcessDataMappingRule = exports.isStrictProcessElementV2 = exports.isStrictFieldPermissionV2 = exports.isStrictProcessBindV2 = exports.isStrictHistoryProcessV2 = exports.isStrictProcessDefinitionV2 = exports.isStrictProcessV2 = exports.isStrictConnectorLogic = exports.isStrictConnection = exports.isStrictCallConnector = exports.isStrictConnector = exports.isStrictDependency = exports.isStrictMsgTriggerLauncher = exports.isStrictConnectorTriggerLauncher = exports.isStrictTriggerLauncher = exports.isStrictConnectorTrigger = exports.isStrictInterfaceTriggerEvent = exports.isStrictMsgTriggerEvent = exports.isStrictCallAuthInterface = exports.isStrictAuthInterface = exports.isStrictViewBlockWithImage = exports.isStrictViewBlock = exports.isStrictFrontendLibrary = exports.isStrictAssignmentLine = exports.isStrictSelectMembers = exports.isStrictRect = exports.isStrictPoint = exports.isStrictUseComponent = exports.isStrictCompletionProperty = exports.isStrictStyleInfo = exports.isStrictI18nInfo = exports.isStrictConfigPropertyValue = exports.isStrictConfigProperty = exports.isStrictConfigGroup = exports.isStrictConfiguration = exports.isStrictRole = exports.isStrictProcessOutcomes = exports.isStrictAssignee = exports.isStrictProcessOutcome = exports.isStrictCountersignPolicy = exports.isStrictSequentialPolicy = void 0;
|
|
7
|
+
exports.isPropertySelectSetter = exports.isImageSetter = exports.isIconSetter = exports.isNumberInputSetter = exports.isCapsulesSetter = exports.isEnumSelectSetter = exports.isSetterOption = exports.isSwitchSetter = exports.isInputSetter = exports.isCustomSetter = exports.isBaseSetter = exports.isThemeVariable = exports.isBindStyle = exports.isBindEvent = exports.isBindDirective = exports.isBindAttribute = exports.isViewElement = exports.isView = exports.isMetadataType = exports.isEntityIndex = exports.isEntityProperty = exports.isEntity = exports.isDataSource = exports.isEnumItem = exports.isEnum = exports.isStructureProperty = exports.isStructure = exports.isTypeParam = exports.isDatabaseTypeAnnotation = exports.isTypeAnnotation = exports.isMicroApp = exports.isIntegration = exports.isBackend = exports.isFrontend = exports.isFrontendType = exports.isReferredDefinition = exports.isDirectory = exports.isNamespace = exports.isModule = exports.isApp = exports.isApplyAnnotation = exports.isAnnotatable = exports.isAnnotationProperty = exports.isAnnotation = exports.isStrictReassignUnmannedV2 = exports.isStrictAutoRejectUnmannedV2 = exports.isStrictAutoApproveUnmannedV2 = exports.isStrictOrSignPolicyV2 = exports.isStrictCountersignPolicyV2 = exports.isStrictSequentialPolicyV2 = void 0;
|
|
8
|
+
exports.isSwitchStatement = exports.isStrictIfExpression = exports.isIfStatement = exports.isEnd = exports.isStart = exports.isAbort = exports.isDefaultValue = exports.isTransactional = exports.isInterfaceParam = exports.isGatewayInterface = exports.isMicroserviceInterface = exports.isConnectionInfo = exports.isMcpInterface = exports.isInterface = exports.isRetryConfig = exports.isImportedInterface = exports.isAnonymousFunction = exports.isFunction = exports.isSubLogic = exports.isLogicItem = exports.isConstant = exports.isFrontendVariable = exports.isBackendVariable = exports.isVariable = exports.isReturn = exports.isParamWithGroup = exports.isParam = exports.isAbstractInterface = exports.isBusinessLogic = exports.isOverriddenLogic = exports.isAuthLogicForCallInterface = exports.isAuthLogic = exports.isPermissionForSharedScope = exports.isSharedScope = exports.isLogic = exports.isViewComponent = exports.isSlot = exports.isTheme = exports.isCSSRule = exports.isLogicDeclaration = exports.isSlotDeclaration = exports.isEventDeclaration = exports.isPropDeclaration = exports.isEvent = exports.isAttribute = exports.isBusinessComponent = exports.isViewComponentDeclaration = exports.isDataSourceSetter = exports.isAnonymousFunctionSetter = exports.isPropertyTransformSetter = void 0;
|
|
9
|
+
exports.isQueryFieldExpression = exports.isQueryJoinExpression = exports.isQueryFromExpression = exports.isQuerySelectExpression = exports.isCallQueryComponent = exports.isPaginate = exports.isNewRegex = exports.isNewMap = exports.isNewList = exports.isNewStructure = exports.isNewComposite = exports.isNew = exports.isUnparsed = exports.isMemberExpression = exports.isUnaryExpression = exports.isMatch = exports.isMatchCase = exports.isVariadicExpression = exports.isBinaryExpression = exports.isNumericLiteral = exports.isStaticString = exports.isStringInterpolation = exports.isStringLiteral = exports.isBooleanLiteral = exports.isNullLiteral = exports.isIdentifier = exports.isBlock = exports.isJavaLogic = exports.isJSBlock = exports.isAnchor = exports.isArgument = exports.isValidationLogic = exports.isValidationRule = exports.isAbstractValidation = exports.isExternalDestination = exports.isDestination = exports.isCallGatewayInterface = exports.isCallMicroserviceInterface = exports.isCallInterface = exports.isCallFunction = exports.isCallEvent = exports.isCallLogic = exports.isComment = exports.isBatchAssignment = exports.isAssignment = exports.isContinue = exports.isBreak = exports.isWhileStatement = exports.isForEachStatement = exports.isSwitchCase = void 0;
|
|
10
|
+
exports.isFieldPermissionV2 = exports.isProcessBindV2 = exports.isHistoryProcessV2 = exports.isProcessDefinitionV2 = exports.isProcessV2 = exports.isConnectorLogic = exports.isConnection = exports.isCallConnector = exports.isConnector = exports.isDependency = exports.isMsgTriggerLauncher = exports.isConnectorTriggerLauncher = exports.isTriggerLauncher = exports.isConnectorTrigger = exports.isInterfaceTriggerEvent = exports.isMsgTriggerEvent = exports.isTriggerEvent = exports.isCallAuthInterface = exports.isAuthInterface = exports.isViewBlockWithImage = exports.isViewBlock = exports.isFrontendLibrary = exports.isAssignmentLine = exports.isSelectMembers = exports.isRect = exports.isPoint = exports.isUseComponent = exports.isCompletionProperty = exports.isStyleInfo = exports.isI18nInfo = exports.isConfigPropertyValue = exports.isConfigProperty = exports.isConfigGroup = exports.isConfiguration = exports.isRole = exports.isProcessOutcomes = exports.isAssignee = exports.isProcessOutcome = exports.isCountersignPolicy = exports.isSequentialPolicy = exports.isMultiApprovalPolicy = exports.isProcessComponent = exports.isProcessElement = exports.isProcess = exports.isOqlQueryComponent = exports.isSqlQueryComponent = exports.isQueryLimitExpression = exports.isQueryGroupByExpression = exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = void 0;
|
|
11
|
+
exports.assertStrictBindDirective = exports.assertStrictBindAttribute = exports.assertStrictViewElement = exports.assertStrictView = exports.assertStrictMetadataType = exports.assertStrictEntityIndex = exports.assertStrictEntityProperty = exports.assertStrictEntity = exports.assertStrictDataSource = exports.assertStrictEnumItem = exports.assertStrictEnum = exports.assertStrictStructureProperty = exports.assertStrictStructure = exports.assertStrictTypeParam = exports.assertStrictDatabaseTypeAnnotation = exports.assertStrictTypeAnnotation = exports.assertStrictMicroApp = exports.assertStrictIntegration = exports.assertStrictBackend = exports.assertStrictFrontend = exports.assertStrictFrontendType = exports.assertStrictReferredDefinition = exports.assertStrictDirectory = exports.assertStrictNamespace = exports.assertStrictModule = exports.assertStrictApp = exports.assertStrictApplyAnnotation = exports.assertStrictAnnotationProperty = exports.assertStrictAnnotation = exports.isReassignUnmannedV2 = exports.isAutoRejectUnmannedV2 = exports.isAutoApproveUnmannedV2 = exports.isUnmannedApprovalStrategyV2 = exports.isOrSignPolicyV2 = exports.isCountersignPolicyV2 = exports.isSequentialPolicyV2 = exports.isApprovalPolicyV2 = exports.isFlowConditionV2 = exports.isDepartmentAssignees = exports.isRoleAssignees = exports.isUserAssignees = exports.isAssignees = exports.isDepartmentManagerV2 = exports.isDirectManagerV2 = exports.isManagerV2 = exports.isDepartmentV2 = exports.isAssigneeV2 = exports.isOperatePermissionV2 = exports.isSubProcessDataMappingRule = exports.isProcessElementV2 = void 0;
|
|
12
|
+
exports.assertStrictMicroserviceInterface = exports.assertStrictConnectionInfo = exports.assertStrictMcpInterface = exports.assertStrictInterface = exports.assertStrictRetryConfig = exports.assertStrictAnonymousFunction = exports.assertStrictFunction = exports.assertStrictSubLogic = exports.assertStrictConstant = exports.assertStrictFrontendVariable = exports.assertStrictBackendVariable = exports.assertStrictVariable = exports.assertStrictReturn = exports.assertStrictParamWithGroup = exports.assertStrictParam = exports.assertStrictBusinessLogic = exports.assertStrictOverriddenLogic = exports.assertStrictAuthLogicForCallInterface = exports.assertStrictAuthLogic = exports.assertStrictPermissionForSharedScope = exports.assertStrictSharedScope = exports.assertStrictLogic = exports.assertStrictViewComponent = exports.assertStrictSlot = exports.assertStrictTheme = exports.assertStrictCSSRule = exports.assertStrictLogicDeclaration = exports.assertStrictSlotDeclaration = exports.assertStrictEventDeclaration = exports.assertStrictPropDeclaration = exports.assertStrictEvent = exports.assertStrictAttribute = exports.assertStrictBusinessComponent = exports.assertStrictViewComponentDeclaration = exports.assertStrictDataSourceSetter = exports.assertStrictAnonymousFunctionSetter = exports.assertStrictPropertyTransformSetter = exports.assertStrictPropertySelectSetter = exports.assertStrictImageSetter = exports.assertStrictIconSetter = exports.assertStrictNumberInputSetter = exports.assertStrictCapsulesSetter = exports.assertStrictEnumSelectSetter = exports.assertStrictSetterOption = exports.assertStrictSwitchSetter = exports.assertStrictInputSetter = exports.assertStrictCustomSetter = exports.assertStrictThemeVariable = exports.assertStrictBindStyle = exports.assertStrictBindEvent = void 0;
|
|
13
|
+
exports.assertStrictNewStructure = exports.assertStrictNewComposite = exports.assertStrictNew = exports.assertStrictUnparsed = exports.assertStrictMemberExpression = exports.assertStrictUnaryExpression = exports.assertStrictMatch = exports.assertStrictMatchCase = exports.assertStrictVariadicExpression = exports.assertStrictBinaryExpression = exports.assertStrictNumericLiteral = exports.assertStrictStaticString = exports.assertStrictStringInterpolation = exports.assertStrictStringLiteral = exports.assertStrictBooleanLiteral = exports.assertStrictNullLiteral = exports.assertStrictIdentifier = exports.assertStrictBlock = exports.assertStrictJavaLogic = exports.assertStrictJSBlock = exports.assertStrictAnchor = exports.assertStrictArgument = exports.assertStrictValidationLogic = exports.assertStrictValidationRule = exports.assertStrictExternalDestination = exports.assertStrictDestination = exports.assertStrictCallGatewayInterface = exports.assertStrictCallMicroserviceInterface = exports.assertStrictCallInterface = exports.assertStrictCallFunction = exports.assertStrictCallEvent = exports.assertStrictCallLogic = exports.assertStrictComment = exports.assertStrictBatchAssignment = exports.assertStrictAssignment = exports.assertStrictContinue = exports.assertStrictBreak = exports.assertStrictWhileStatement = exports.assertStrictForEachStatement = exports.assertStrictSwitchCase = exports.assertStrictSwitchStatement = exports.assertStrictIfExpression = exports.assertStrictIfStatement = exports.assertStrictEnd = exports.assertStrictStart = exports.assertStrictAbort = exports.assertStrictDefaultValue = exports.assertStrictTransactional = exports.assertStrictInterfaceParam = exports.assertStrictGatewayInterface = void 0;
|
|
14
|
+
exports.assertStrictCallConnector = exports.assertStrictConnector = exports.assertStrictDependency = exports.assertStrictMsgTriggerLauncher = exports.assertStrictConnectorTriggerLauncher = exports.assertStrictTriggerLauncher = exports.assertStrictConnectorTrigger = exports.assertStrictInterfaceTriggerEvent = exports.assertStrictMsgTriggerEvent = exports.assertStrictCallAuthInterface = exports.assertStrictAuthInterface = exports.assertStrictViewBlockWithImage = exports.assertStrictViewBlock = exports.assertStrictFrontendLibrary = exports.assertStrictAssignmentLine = exports.assertStrictSelectMembers = exports.assertStrictRect = exports.assertStrictPoint = exports.assertStrictUseComponent = exports.assertStrictCompletionProperty = exports.assertStrictStyleInfo = exports.assertStrictI18nInfo = exports.assertStrictConfigPropertyValue = exports.assertStrictConfigProperty = exports.assertStrictConfigGroup = exports.assertStrictConfiguration = exports.assertStrictRole = exports.assertStrictProcessOutcomes = exports.assertStrictAssignee = exports.assertStrictProcessOutcome = exports.assertStrictCountersignPolicy = exports.assertStrictSequentialPolicy = exports.assertStrictProcessComponent = exports.assertStrictProcessElement = exports.assertStrictProcess = exports.assertStrictOqlQueryComponent = exports.assertStrictSqlQueryComponent = exports.assertStrictQueryLimitExpression = exports.assertStrictQueryGroupByExpression = exports.assertStrictQueryOrderByExpression = exports.assertStrictQueryAggregateExpression = exports.assertStrictQueryFieldExpression = exports.assertStrictQueryJoinExpression = exports.assertStrictQueryFromExpression = exports.assertStrictQuerySelectExpression = exports.assertStrictCallQueryComponent = exports.assertStrictPaginate = exports.assertStrictNewRegex = exports.assertStrictNewMap = exports.assertStrictNewList = void 0;
|
|
15
|
+
exports.assertMetadataType = exports.assertEntityIndex = exports.assertEntityProperty = exports.assertEntity = exports.assertDataSource = exports.assertEnumItem = exports.assertEnum = exports.assertStructureProperty = exports.assertStructure = exports.assertTypeParam = exports.assertDatabaseTypeAnnotation = exports.assertTypeAnnotation = exports.assertMicroApp = exports.assertIntegration = exports.assertBackend = exports.assertFrontend = exports.assertFrontendType = exports.assertReferredDefinition = exports.assertDirectory = exports.assertNamespace = exports.assertModule = exports.assertApp = exports.assertApplyAnnotation = exports.assertAnnotatable = exports.assertAnnotationProperty = exports.assertAnnotation = exports.assertStrictReassignUnmannedV2 = exports.assertStrictAutoRejectUnmannedV2 = exports.assertStrictAutoApproveUnmannedV2 = exports.assertStrictOrSignPolicyV2 = exports.assertStrictCountersignPolicyV2 = exports.assertStrictSequentialPolicyV2 = exports.assertStrictFlowConditionV2 = exports.assertStrictDepartmentAssignees = exports.assertStrictRoleAssignees = exports.assertStrictUserAssignees = exports.assertStrictDepartmentManagerV2 = exports.assertStrictDirectManagerV2 = exports.assertStrictDepartmentV2 = exports.assertStrictAssigneeV2 = exports.assertStrictOperatePermissionV2 = exports.assertStrictSubProcessDataMappingRule = exports.assertStrictProcessElementV2 = exports.assertStrictFieldPermissionV2 = exports.assertStrictProcessBindV2 = exports.assertStrictHistoryProcessV2 = exports.assertStrictProcessDefinitionV2 = exports.assertStrictProcessV2 = exports.assertStrictConnectorLogic = exports.assertStrictConnection = void 0;
|
|
16
|
+
exports.assertSubLogic = exports.assertLogicItem = exports.assertConstant = exports.assertFrontendVariable = exports.assertBackendVariable = exports.assertVariable = exports.assertReturn = exports.assertParamWithGroup = exports.assertParam = exports.assertAbstractInterface = exports.assertBusinessLogic = exports.assertOverriddenLogic = exports.assertAuthLogicForCallInterface = exports.assertAuthLogic = exports.assertPermissionForSharedScope = exports.assertSharedScope = exports.assertLogic = exports.assertViewComponent = exports.assertSlot = exports.assertTheme = exports.assertCSSRule = exports.assertLogicDeclaration = exports.assertSlotDeclaration = exports.assertEventDeclaration = exports.assertPropDeclaration = exports.assertEvent = exports.assertAttribute = exports.assertBusinessComponent = exports.assertViewComponentDeclaration = exports.assertDataSourceSetter = exports.assertAnonymousFunctionSetter = exports.assertPropertyTransformSetter = exports.assertPropertySelectSetter = exports.assertImageSetter = exports.assertIconSetter = exports.assertNumberInputSetter = exports.assertCapsulesSetter = exports.assertEnumSelectSetter = exports.assertSetterOption = exports.assertSwitchSetter = exports.assertInputSetter = exports.assertCustomSetter = exports.assertBaseSetter = exports.assertThemeVariable = exports.assertBindStyle = exports.assertBindEvent = exports.assertBindDirective = exports.assertBindAttribute = exports.assertViewElement = exports.assertView = void 0;
|
|
17
|
+
exports.assertBinaryExpression = exports.assertNumericLiteral = exports.assertStaticString = exports.assertStringInterpolation = exports.assertStringLiteral = exports.assertBooleanLiteral = exports.assertNullLiteral = exports.assertIdentifier = exports.assertBlock = exports.assertJavaLogic = exports.assertJSBlock = exports.assertAnchor = exports.assertArgument = exports.assertValidationLogic = exports.assertValidationRule = exports.assertAbstractValidation = exports.assertExternalDestination = exports.assertDestination = exports.assertCallGatewayInterface = exports.assertCallMicroserviceInterface = exports.assertCallInterface = exports.assertCallFunction = exports.assertCallEvent = exports.assertCallLogic = exports.assertComment = exports.assertBatchAssignment = exports.assertAssignment = exports.assertContinue = exports.assertBreak = exports.assertWhileStatement = exports.assertForEachStatement = exports.assertSwitchCase = exports.assertSwitchStatement = exports.isIfExpression = exports.assertIfStatement = exports.assertEnd = exports.assertStart = exports.assertAbort = exports.assertDefaultValue = exports.assertTransactional = exports.assertInterfaceParam = exports.assertGatewayInterface = exports.assertMicroserviceInterface = exports.assertConnectionInfo = exports.assertMcpInterface = exports.assertInterface = exports.assertRetryConfig = exports.assertImportedInterface = exports.assertAnonymousFunction = exports.assertFunction = void 0;
|
|
18
|
+
exports.assertAuthInterface = exports.assertViewBlockWithImage = exports.assertViewBlock = exports.assertFrontendLibrary = exports.assertAssignmentLine = exports.assertSelectMembers = exports.assertRect = exports.assertPoint = exports.assertUseComponent = exports.assertCompletionProperty = exports.assertStyleInfo = exports.assertI18nInfo = exports.assertConfigPropertyValue = exports.assertConfigProperty = exports.assertConfigGroup = exports.assertConfiguration = exports.assertRole = exports.assertProcessOutcomes = exports.assertAssignee = exports.assertProcessOutcome = exports.assertCountersignPolicy = exports.assertSequentialPolicy = exports.assertMultiApprovalPolicy = exports.assertProcessComponent = exports.assertProcessElement = exports.assertProcess = exports.assertOqlQueryComponent = exports.assertSqlQueryComponent = exports.assertQueryLimitExpression = exports.assertQueryGroupByExpression = exports.assertQueryOrderByExpression = exports.assertQueryAggregateExpression = exports.assertQueryFieldExpression = exports.assertQueryJoinExpression = exports.assertQueryFromExpression = exports.assertQuerySelectExpression = exports.assertCallQueryComponent = exports.assertPaginate = exports.assertNewRegex = exports.assertNewMap = exports.assertNewList = exports.assertNewStructure = exports.assertNewComposite = exports.assertNew = exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertVariadicExpression = void 0;
|
|
19
|
+
exports.assertReassignUnmannedV2 = exports.assertAutoRejectUnmannedV2 = exports.assertAutoApproveUnmannedV2 = exports.assertUnmannedApprovalStrategyV2 = exports.assertOrSignPolicyV2 = exports.assertCountersignPolicyV2 = exports.assertSequentialPolicyV2 = exports.assertApprovalPolicyV2 = exports.assertFlowConditionV2 = exports.assertDepartmentAssignees = exports.assertRoleAssignees = exports.assertUserAssignees = exports.assertAssignees = exports.assertDepartmentManagerV2 = exports.assertDirectManagerV2 = exports.assertManagerV2 = exports.assertDepartmentV2 = exports.assertAssigneeV2 = exports.assertOperatePermissionV2 = exports.assertSubProcessDataMappingRule = exports.assertProcessElementV2 = exports.assertFieldPermissionV2 = exports.assertProcessBindV2 = exports.assertHistoryProcessV2 = exports.assertProcessDefinitionV2 = exports.assertProcessV2 = exports.assertConnectorLogic = exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertDependency = exports.assertMsgTriggerLauncher = exports.assertConnectorTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertInterfaceTriggerEvent = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = void 0;
|
|
20
20
|
/**
|
|
21
21
|
* 判断为节点
|
|
22
22
|
*/
|
|
@@ -2405,6 +2405,21 @@ function isStrictI18nInfo(node) {
|
|
|
2405
2405
|
return isBaseNode(node) && node.concept === 'I18nInfo';
|
|
2406
2406
|
}
|
|
2407
2407
|
exports.isStrictI18nInfo = isStrictI18nInfo;
|
|
2408
|
+
/**
|
|
2409
|
+
* 严格判断输入为 StyleInfo 节点
|
|
2410
|
+
*
|
|
2411
|
+
* @description 仅判断节点本身,不包含继承类
|
|
2412
|
+
* @example
|
|
2413
|
+
* ```ts
|
|
2414
|
+
* if (isStrictStyleInfo(node)) {
|
|
2415
|
+
* // 在这个花括号内,node 的类型为 StyleInfo
|
|
2416
|
+
* }
|
|
2417
|
+
* ```
|
|
2418
|
+
*/
|
|
2419
|
+
function isStrictStyleInfo(node) {
|
|
2420
|
+
return isBaseNode(node) && node.concept === 'StyleInfo';
|
|
2421
|
+
}
|
|
2422
|
+
exports.isStrictStyleInfo = isStrictStyleInfo;
|
|
2408
2423
|
/**
|
|
2409
2424
|
* 严格判断输入为 CompletionProperty 节点
|
|
2410
2425
|
*
|
|
@@ -2825,6 +2840,21 @@ function isStrictProcessElementV2(node) {
|
|
|
2825
2840
|
return isBaseNode(node) && node.concept === 'ProcessElementV2';
|
|
2826
2841
|
}
|
|
2827
2842
|
exports.isStrictProcessElementV2 = isStrictProcessElementV2;
|
|
2843
|
+
/**
|
|
2844
|
+
* 严格判断输入为 SubProcessDataMappingRule 节点
|
|
2845
|
+
*
|
|
2846
|
+
* @description 仅判断节点本身,不包含继承类
|
|
2847
|
+
* @example
|
|
2848
|
+
* ```ts
|
|
2849
|
+
* if (isStrictSubProcessDataMappingRule(node)) {
|
|
2850
|
+
* // 在这个花括号内,node 的类型为 SubProcessDataMappingRule
|
|
2851
|
+
* }
|
|
2852
|
+
* ```
|
|
2853
|
+
*/
|
|
2854
|
+
function isStrictSubProcessDataMappingRule(node) {
|
|
2855
|
+
return isBaseNode(node) && node.concept === 'SubProcessDataMappingRule';
|
|
2856
|
+
}
|
|
2857
|
+
exports.isStrictSubProcessDataMappingRule = isStrictSubProcessDataMappingRule;
|
|
2828
2858
|
/**
|
|
2829
2859
|
* 严格判断输入为 OperatePermissionV2 节点
|
|
2830
2860
|
*
|
|
@@ -5973,6 +6003,23 @@ function isI18nInfo(node) {
|
|
|
5973
6003
|
(node.concept === 'I18nInfo'));
|
|
5974
6004
|
}
|
|
5975
6005
|
exports.isI18nInfo = isI18nInfo;
|
|
6006
|
+
/**
|
|
6007
|
+
* 判断输入为 StyleInfo 节点实例
|
|
6008
|
+
*
|
|
6009
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6010
|
+
* @description 等价于`instanceof`运算,StyleInfo 节点没有继承类,此判断等价于`isStrictStyleInfo`
|
|
6011
|
+
* @example
|
|
6012
|
+
* ```ts
|
|
6013
|
+
* if (isStyleInfo(node)) {
|
|
6014
|
+
* // 在这个花括号内,node 的类型是 StyleInfo 或者 StyleInfo 继承类型
|
|
6015
|
+
* }
|
|
6016
|
+
* ```
|
|
6017
|
+
*/
|
|
6018
|
+
function isStyleInfo(node) {
|
|
6019
|
+
return (isBaseNode(node) &&
|
|
6020
|
+
(node.concept === 'StyleInfo'));
|
|
6021
|
+
}
|
|
6022
|
+
exports.isStyleInfo = isStyleInfo;
|
|
5976
6023
|
/**
|
|
5977
6024
|
* 判断输入为 CompletionProperty 节点实例
|
|
5978
6025
|
*
|
|
@@ -6472,6 +6519,23 @@ function isProcessElementV2(node) {
|
|
|
6472
6519
|
(node.concept === 'ProcessElementV2'));
|
|
6473
6520
|
}
|
|
6474
6521
|
exports.isProcessElementV2 = isProcessElementV2;
|
|
6522
|
+
/**
|
|
6523
|
+
* 判断输入为 SubProcessDataMappingRule 节点实例
|
|
6524
|
+
*
|
|
6525
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6526
|
+
* @description 等价于`instanceof`运算,SubProcessDataMappingRule 节点没有继承类,此判断等价于`isStrictSubProcessDataMappingRule`
|
|
6527
|
+
* @example
|
|
6528
|
+
* ```ts
|
|
6529
|
+
* if (isSubProcessDataMappingRule(node)) {
|
|
6530
|
+
* // 在这个花括号内,node 的类型是 SubProcessDataMappingRule 或者 SubProcessDataMappingRule 继承类型
|
|
6531
|
+
* }
|
|
6532
|
+
* ```
|
|
6533
|
+
*/
|
|
6534
|
+
function isSubProcessDataMappingRule(node) {
|
|
6535
|
+
return (isBaseNode(node) &&
|
|
6536
|
+
(node.concept === 'SubProcessDataMappingRule'));
|
|
6537
|
+
}
|
|
6538
|
+
exports.isSubProcessDataMappingRule = isSubProcessDataMappingRule;
|
|
6475
6539
|
/**
|
|
6476
6540
|
* 判断输入为 OperatePermissionV2 节点实例
|
|
6477
6541
|
*
|
|
@@ -9493,6 +9557,23 @@ function assertStrictI18nInfo(node) {
|
|
|
9493
9557
|
}
|
|
9494
9558
|
}
|
|
9495
9559
|
exports.assertStrictI18nInfo = assertStrictI18nInfo;
|
|
9560
|
+
/**
|
|
9561
|
+
* 严格断言为 StyleInfo 节点
|
|
9562
|
+
*
|
|
9563
|
+
* @description 仅断言节点本身,不包含继承类
|
|
9564
|
+
* @example
|
|
9565
|
+
* ```ts
|
|
9566
|
+
* assertStrictStyleInfo(node);
|
|
9567
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 StyleInfo 类型
|
|
9568
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
9569
|
+
* ```
|
|
9570
|
+
*/
|
|
9571
|
+
function assertStrictStyleInfo(node) {
|
|
9572
|
+
if (!isStrictStyleInfo(node)) {
|
|
9573
|
+
throw new Error(`StyleInfo 节点严格断言失败`);
|
|
9574
|
+
}
|
|
9575
|
+
}
|
|
9576
|
+
exports.assertStrictStyleInfo = assertStrictStyleInfo;
|
|
9496
9577
|
/**
|
|
9497
9578
|
* 严格断言为 CompletionProperty 节点
|
|
9498
9579
|
*
|
|
@@ -9969,6 +10050,23 @@ function assertStrictProcessElementV2(node) {
|
|
|
9969
10050
|
}
|
|
9970
10051
|
}
|
|
9971
10052
|
exports.assertStrictProcessElementV2 = assertStrictProcessElementV2;
|
|
10053
|
+
/**
|
|
10054
|
+
* 严格断言为 SubProcessDataMappingRule 节点
|
|
10055
|
+
*
|
|
10056
|
+
* @description 仅断言节点本身,不包含继承类
|
|
10057
|
+
* @example
|
|
10058
|
+
* ```ts
|
|
10059
|
+
* assertStrictSubProcessDataMappingRule(node);
|
|
10060
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SubProcessDataMappingRule 类型
|
|
10061
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
10062
|
+
* ```
|
|
10063
|
+
*/
|
|
10064
|
+
function assertStrictSubProcessDataMappingRule(node) {
|
|
10065
|
+
if (!isStrictSubProcessDataMappingRule(node)) {
|
|
10066
|
+
throw new Error(`SubProcessDataMappingRule 节点严格断言失败`);
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
exports.assertStrictSubProcessDataMappingRule = assertStrictSubProcessDataMappingRule;
|
|
9972
10070
|
/**
|
|
9973
10071
|
* 严格断言为 OperatePermissionV2 节点
|
|
9974
10072
|
*
|
|
@@ -13194,6 +13292,24 @@ function assertI18nInfo(node) {
|
|
|
13194
13292
|
}
|
|
13195
13293
|
}
|
|
13196
13294
|
exports.assertI18nInfo = assertI18nInfo;
|
|
13295
|
+
/**
|
|
13296
|
+
* 断言为 StyleInfo 节点
|
|
13297
|
+
*
|
|
13298
|
+
* @description 包含节点类以及节点继承类的判断
|
|
13299
|
+
* @description 节点没有继承类时,等价于`assertStrictStyleInfo`方法
|
|
13300
|
+
* @example
|
|
13301
|
+
* ```ts
|
|
13302
|
+
* assertStyleInfo(node);
|
|
13303
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 StyleInfo 或者 StyleInfo 继承类型
|
|
13304
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
13305
|
+
* ```
|
|
13306
|
+
*/
|
|
13307
|
+
function assertStyleInfo(node) {
|
|
13308
|
+
if (!isStyleInfo(node)) {
|
|
13309
|
+
throw new Error(`StyleInfo 节点断言失败`);
|
|
13310
|
+
}
|
|
13311
|
+
}
|
|
13312
|
+
exports.assertStyleInfo = assertStyleInfo;
|
|
13197
13313
|
/**
|
|
13198
13314
|
* 断言为 CompletionProperty 节点
|
|
13199
13315
|
*
|
|
@@ -13716,6 +13832,24 @@ function assertProcessElementV2(node) {
|
|
|
13716
13832
|
}
|
|
13717
13833
|
}
|
|
13718
13834
|
exports.assertProcessElementV2 = assertProcessElementV2;
|
|
13835
|
+
/**
|
|
13836
|
+
* 断言为 SubProcessDataMappingRule 节点
|
|
13837
|
+
*
|
|
13838
|
+
* @description 包含节点类以及节点继承类的判断
|
|
13839
|
+
* @description 节点没有继承类时,等价于`assertStrictSubProcessDataMappingRule`方法
|
|
13840
|
+
* @example
|
|
13841
|
+
* ```ts
|
|
13842
|
+
* assertSubProcessDataMappingRule(node);
|
|
13843
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SubProcessDataMappingRule 或者 SubProcessDataMappingRule 继承类型
|
|
13844
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
13845
|
+
* ```
|
|
13846
|
+
*/
|
|
13847
|
+
function assertSubProcessDataMappingRule(node) {
|
|
13848
|
+
if (!isSubProcessDataMappingRule(node)) {
|
|
13849
|
+
throw new Error(`SubProcessDataMappingRule 节点断言失败`);
|
|
13850
|
+
}
|
|
13851
|
+
}
|
|
13852
|
+
exports.assertSubProcessDataMappingRule = assertSubProcessDataMappingRule;
|
|
13719
13853
|
/**
|
|
13720
13854
|
* 断言为 OperatePermissionV2 节点
|
|
13721
13855
|
*
|