@lcap/nasl-concepts 4.4.0-beta.5 → 4.4.0-beta.6
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/concepts/BaseSetter__.d.ts +1 -1
- package/out/concepts/BaseSetter__.d.ts.map +1 -1
- package/out/concepts/BaseSetter__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts.map +1 -1
- package/out/concepts/CallQueryComponent__.js +4 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/CustomSetter__.d.ts +34 -0
- package/out/concepts/CustomSetter__.d.ts.map +1 -0
- package/out/concepts/CustomSetter__.js +61 -0
- package/out/concepts/CustomSetter__.js.map +1 -0
- package/out/concepts/DataSourceSetter__.d.ts +30 -0
- package/out/concepts/DataSourceSetter__.d.ts.map +1 -0
- package/out/concepts/DataSourceSetter__.js +58 -0
- package/out/concepts/DataSourceSetter__.js.map +1 -0
- package/out/concepts/EnumSelectSetter__.d.ts +4 -0
- package/out/concepts/EnumSelectSetter__.d.ts.map +1 -1
- package/out/concepts/EnumSelectSetter__.js +7 -0
- package/out/concepts/EnumSelectSetter__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts.map +1 -1
- package/out/concepts/MemberExpression__.js +4 -2
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/PropDeclaration__.d.ts +1 -5
- package/out/concepts/PropDeclaration__.d.ts.map +1 -1
- package/out/concepts/PropDeclaration__.js +0 -3
- package/out/concepts/PropDeclaration__.js.map +1 -1
- package/out/concepts/StaticString__.js +2 -2
- package/out/concepts/StaticString__.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 +154 -18
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +8 -2
- package/out/concepts/utils/types.d.ts.map +1 -1
- package/out/service/getMemberIdentifier.d.ts.map +1 -1
- package/out/service/getMemberIdentifier.js +4 -0
- package/out/service/getMemberIdentifier.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
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 = void 0;
|
|
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
|
+
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
|
+
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.isStrictCountersignPolicyV2 = exports.isStrictSequentialPolicyV2 = exports.isStrictFlowConditionV2 = exports.isStrictDepartmentAssignees = exports.isStrictRoleAssignees = exports.isStrictUserAssignees = exports.isStrictDepartmentManagerV2 = exports.isStrictDirectManagerV2 = exports.isStrictDepartmentV2 = exports.isStrictAssigneeV2 = exports.isStrictOperatePermissionV2 = 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.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.isAnonymousFunctionSetter = exports.isPropertyTransformSetter = 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 = void 0;
|
|
8
|
+
exports.isForEachStatement = exports.isSwitchCase = 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 = void 0;
|
|
9
|
+
exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = 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 = void 0;
|
|
10
|
+
exports.isAssigneeV2 = exports.isOperatePermissionV2 = exports.isProcessElementV2 = 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.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 = void 0;
|
|
11
|
+
exports.assertStrictCustomSetter = exports.assertStrictThemeVariable = exports.assertStrictBindStyle = exports.assertStrictBindEvent = 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 = void 0;
|
|
12
|
+
exports.assertStrictDefaultValue = exports.assertStrictTransactional = exports.assertStrictInterfaceParam = exports.assertStrictGatewayInterface = 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 = void 0;
|
|
13
|
+
exports.assertStrictPaginate = exports.assertStrictNewRegex = exports.assertStrictNewMap = exports.assertStrictNewList = 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 = void 0;
|
|
14
|
+
exports.assertStrictHistoryProcessV2 = exports.assertStrictProcessDefinitionV2 = exports.assertStrictProcessV2 = exports.assertStrictConnectorLogic = exports.assertStrictConnection = 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.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 = void 0;
|
|
15
|
+
exports.assertBindStyle = exports.assertBindEvent = exports.assertBindDirective = exports.assertBindAttribute = exports.assertViewElement = exports.assertView = 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.assertStrictProcessElementV2 = exports.assertStrictFieldPermissionV2 = exports.assertStrictProcessBindV2 = void 0;
|
|
16
|
+
exports.assertMcpInterface = exports.assertInterface = exports.assertRetryConfig = exports.assertImportedInterface = exports.assertAnonymousFunction = exports.assertFunction = 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 = void 0;
|
|
17
|
+
exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertVariadicExpression = 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 = void 0;
|
|
18
|
+
exports.assertConnectorTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertInterfaceTriggerEvent = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = exports.assertAuthInterface = exports.assertViewBlockWithImage = exports.assertViewBlock = exports.assertFrontendLibrary = exports.assertAssignmentLine = exports.assertSelectMembers = exports.assertRect = exports.assertPoint = exports.assertUseComponent = exports.assertCompletionProperty = 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 = 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.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;
|
|
20
20
|
/**
|
|
21
21
|
* 判断为节点
|
|
22
22
|
*/
|
|
@@ -530,6 +530,21 @@ function isStrictThemeVariable(node) {
|
|
|
530
530
|
return isBaseNode(node) && node.concept === 'ThemeVariable';
|
|
531
531
|
}
|
|
532
532
|
exports.isStrictThemeVariable = isStrictThemeVariable;
|
|
533
|
+
/**
|
|
534
|
+
* 严格判断输入为 CustomSetter 节点
|
|
535
|
+
*
|
|
536
|
+
* @description 仅判断节点本身,不包含继承类
|
|
537
|
+
* @example
|
|
538
|
+
* ```ts
|
|
539
|
+
* if (isStrictCustomSetter(node)) {
|
|
540
|
+
* // 在这个花括号内,node 的类型为 CustomSetter
|
|
541
|
+
* }
|
|
542
|
+
* ```
|
|
543
|
+
*/
|
|
544
|
+
function isStrictCustomSetter(node) {
|
|
545
|
+
return isBaseNode(node) && node.concept === 'CustomSetter';
|
|
546
|
+
}
|
|
547
|
+
exports.isStrictCustomSetter = isStrictCustomSetter;
|
|
533
548
|
/**
|
|
534
549
|
* 严格判断输入为 InputSetter 节点
|
|
535
550
|
*
|
|
@@ -695,6 +710,21 @@ function isStrictAnonymousFunctionSetter(node) {
|
|
|
695
710
|
return isBaseNode(node) && node.concept === 'AnonymousFunctionSetter';
|
|
696
711
|
}
|
|
697
712
|
exports.isStrictAnonymousFunctionSetter = isStrictAnonymousFunctionSetter;
|
|
713
|
+
/**
|
|
714
|
+
* 严格判断输入为 DataSourceSetter 节点
|
|
715
|
+
*
|
|
716
|
+
* @description 仅判断节点本身,不包含继承类
|
|
717
|
+
* @example
|
|
718
|
+
* ```ts
|
|
719
|
+
* if (isStrictDataSourceSetter(node)) {
|
|
720
|
+
* // 在这个花括号内,node 的类型为 DataSourceSetter
|
|
721
|
+
* }
|
|
722
|
+
* ```
|
|
723
|
+
*/
|
|
724
|
+
function isStrictDataSourceSetter(node) {
|
|
725
|
+
return isBaseNode(node) && node.concept === 'DataSourceSetter';
|
|
726
|
+
}
|
|
727
|
+
exports.isStrictDataSourceSetter = isStrictDataSourceSetter;
|
|
698
728
|
/**
|
|
699
729
|
* 严格判断输入为 ViewComponentDeclaration 节点
|
|
700
730
|
*
|
|
@@ -3606,6 +3636,7 @@ exports.isThemeVariable = isThemeVariable;
|
|
|
3606
3636
|
function isBaseSetter(node) {
|
|
3607
3637
|
return (isBaseNode(node) &&
|
|
3608
3638
|
(node.concept === 'BaseSetter' ||
|
|
3639
|
+
node.concept === 'CustomSetter' ||
|
|
3609
3640
|
node.concept === 'InputSetter' ||
|
|
3610
3641
|
node.concept === 'SwitchSetter' ||
|
|
3611
3642
|
node.concept === 'EnumSelectSetter' ||
|
|
@@ -3615,9 +3646,27 @@ function isBaseSetter(node) {
|
|
|
3615
3646
|
node.concept === 'ImageSetter' ||
|
|
3616
3647
|
node.concept === 'PropertySelectSetter' ||
|
|
3617
3648
|
node.concept === 'PropertyTransformSetter' ||
|
|
3618
|
-
node.concept === 'AnonymousFunctionSetter'
|
|
3649
|
+
node.concept === 'AnonymousFunctionSetter' ||
|
|
3650
|
+
node.concept === 'DataSourceSetter'));
|
|
3619
3651
|
}
|
|
3620
3652
|
exports.isBaseSetter = isBaseSetter;
|
|
3653
|
+
/**
|
|
3654
|
+
* 判断输入为 CustomSetter 节点实例
|
|
3655
|
+
*
|
|
3656
|
+
* @description 包含节点类以及节点继承类的判断
|
|
3657
|
+
* @description 等价于`instanceof`运算,CustomSetter 节点没有继承类,此判断等价于`isStrictCustomSetter`
|
|
3658
|
+
* @example
|
|
3659
|
+
* ```ts
|
|
3660
|
+
* if (isCustomSetter(node)) {
|
|
3661
|
+
* // 在这个花括号内,node 的类型是 CustomSetter 或者 CustomSetter 继承类型
|
|
3662
|
+
* }
|
|
3663
|
+
* ```
|
|
3664
|
+
*/
|
|
3665
|
+
function isCustomSetter(node) {
|
|
3666
|
+
return (isBaseNode(node) &&
|
|
3667
|
+
(node.concept === 'CustomSetter'));
|
|
3668
|
+
}
|
|
3669
|
+
exports.isCustomSetter = isCustomSetter;
|
|
3621
3670
|
/**
|
|
3622
3671
|
* 判断输入为 InputSetter 节点实例
|
|
3623
3672
|
*
|
|
@@ -3805,6 +3854,23 @@ function isAnonymousFunctionSetter(node) {
|
|
|
3805
3854
|
(node.concept === 'AnonymousFunctionSetter'));
|
|
3806
3855
|
}
|
|
3807
3856
|
exports.isAnonymousFunctionSetter = isAnonymousFunctionSetter;
|
|
3857
|
+
/**
|
|
3858
|
+
* 判断输入为 DataSourceSetter 节点实例
|
|
3859
|
+
*
|
|
3860
|
+
* @description 包含节点类以及节点继承类的判断
|
|
3861
|
+
* @description 等价于`instanceof`运算,DataSourceSetter 节点没有继承类,此判断等价于`isStrictDataSourceSetter`
|
|
3862
|
+
* @example
|
|
3863
|
+
* ```ts
|
|
3864
|
+
* if (isDataSourceSetter(node)) {
|
|
3865
|
+
* // 在这个花括号内,node 的类型是 DataSourceSetter 或者 DataSourceSetter 继承类型
|
|
3866
|
+
* }
|
|
3867
|
+
* ```
|
|
3868
|
+
*/
|
|
3869
|
+
function isDataSourceSetter(node) {
|
|
3870
|
+
return (isBaseNode(node) &&
|
|
3871
|
+
(node.concept === 'DataSourceSetter'));
|
|
3872
|
+
}
|
|
3873
|
+
exports.isDataSourceSetter = isDataSourceSetter;
|
|
3808
3874
|
/**
|
|
3809
3875
|
* 判断输入为 ViewComponentDeclaration 节点实例
|
|
3810
3876
|
*
|
|
@@ -7285,6 +7351,23 @@ function assertStrictThemeVariable(node) {
|
|
|
7285
7351
|
}
|
|
7286
7352
|
}
|
|
7287
7353
|
exports.assertStrictThemeVariable = assertStrictThemeVariable;
|
|
7354
|
+
/**
|
|
7355
|
+
* 严格断言为 CustomSetter 节点
|
|
7356
|
+
*
|
|
7357
|
+
* @description 仅断言节点本身,不包含继承类
|
|
7358
|
+
* @example
|
|
7359
|
+
* ```ts
|
|
7360
|
+
* assertStrictCustomSetter(node);
|
|
7361
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CustomSetter 类型
|
|
7362
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
7363
|
+
* ```
|
|
7364
|
+
*/
|
|
7365
|
+
function assertStrictCustomSetter(node) {
|
|
7366
|
+
if (!isStrictCustomSetter(node)) {
|
|
7367
|
+
throw new Error(`CustomSetter 节点严格断言失败`);
|
|
7368
|
+
}
|
|
7369
|
+
}
|
|
7370
|
+
exports.assertStrictCustomSetter = assertStrictCustomSetter;
|
|
7288
7371
|
/**
|
|
7289
7372
|
* 严格断言为 InputSetter 节点
|
|
7290
7373
|
*
|
|
@@ -7472,6 +7555,23 @@ function assertStrictAnonymousFunctionSetter(node) {
|
|
|
7472
7555
|
}
|
|
7473
7556
|
}
|
|
7474
7557
|
exports.assertStrictAnonymousFunctionSetter = assertStrictAnonymousFunctionSetter;
|
|
7558
|
+
/**
|
|
7559
|
+
* 严格断言为 DataSourceSetter 节点
|
|
7560
|
+
*
|
|
7561
|
+
* @description 仅断言节点本身,不包含继承类
|
|
7562
|
+
* @example
|
|
7563
|
+
* ```ts
|
|
7564
|
+
* assertStrictDataSourceSetter(node);
|
|
7565
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DataSourceSetter 类型
|
|
7566
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
7567
|
+
* ```
|
|
7568
|
+
*/
|
|
7569
|
+
function assertStrictDataSourceSetter(node) {
|
|
7570
|
+
if (!isStrictDataSourceSetter(node)) {
|
|
7571
|
+
throw new Error(`DataSourceSetter 节点严格断言失败`);
|
|
7572
|
+
}
|
|
7573
|
+
}
|
|
7574
|
+
exports.assertStrictDataSourceSetter = assertStrictDataSourceSetter;
|
|
7475
7575
|
/**
|
|
7476
7576
|
* 严格断言为 ViewComponentDeclaration 节点
|
|
7477
7577
|
*
|
|
@@ -10737,6 +10837,24 @@ function assertBaseSetter(node) {
|
|
|
10737
10837
|
}
|
|
10738
10838
|
}
|
|
10739
10839
|
exports.assertBaseSetter = assertBaseSetter;
|
|
10840
|
+
/**
|
|
10841
|
+
* 断言为 CustomSetter 节点
|
|
10842
|
+
*
|
|
10843
|
+
* @description 包含节点类以及节点继承类的判断
|
|
10844
|
+
* @description 节点没有继承类时,等价于`assertStrictCustomSetter`方法
|
|
10845
|
+
* @example
|
|
10846
|
+
* ```ts
|
|
10847
|
+
* assertCustomSetter(node);
|
|
10848
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CustomSetter 或者 CustomSetter 继承类型
|
|
10849
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
10850
|
+
* ```
|
|
10851
|
+
*/
|
|
10852
|
+
function assertCustomSetter(node) {
|
|
10853
|
+
if (!isCustomSetter(node)) {
|
|
10854
|
+
throw new Error(`CustomSetter 节点断言失败`);
|
|
10855
|
+
}
|
|
10856
|
+
}
|
|
10857
|
+
exports.assertCustomSetter = assertCustomSetter;
|
|
10740
10858
|
/**
|
|
10741
10859
|
* 断言为 InputSetter 节点
|
|
10742
10860
|
*
|
|
@@ -10935,6 +11053,24 @@ function assertAnonymousFunctionSetter(node) {
|
|
|
10935
11053
|
}
|
|
10936
11054
|
}
|
|
10937
11055
|
exports.assertAnonymousFunctionSetter = assertAnonymousFunctionSetter;
|
|
11056
|
+
/**
|
|
11057
|
+
* 断言为 DataSourceSetter 节点
|
|
11058
|
+
*
|
|
11059
|
+
* @description 包含节点类以及节点继承类的判断
|
|
11060
|
+
* @description 节点没有继承类时,等价于`assertStrictDataSourceSetter`方法
|
|
11061
|
+
* @example
|
|
11062
|
+
* ```ts
|
|
11063
|
+
* assertDataSourceSetter(node);
|
|
11064
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DataSourceSetter 或者 DataSourceSetter 继承类型
|
|
11065
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
11066
|
+
* ```
|
|
11067
|
+
*/
|
|
11068
|
+
function assertDataSourceSetter(node) {
|
|
11069
|
+
if (!isDataSourceSetter(node)) {
|
|
11070
|
+
throw new Error(`DataSourceSetter 节点断言失败`);
|
|
11071
|
+
}
|
|
11072
|
+
}
|
|
11073
|
+
exports.assertDataSourceSetter = assertDataSourceSetter;
|
|
10938
11074
|
/**
|
|
10939
11075
|
* 断言为 ViewComponentDeclaration 节点
|
|
10940
11076
|
*
|