complexqa_frontend_core 1.31.6 → 2.0.0
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/README.md +83 -0
- package/package.json +30 -26
- package/{publish → src}/api/api_abstract_class.js +22 -10
- package/{publish → src}/api/api_abstract_element_class.js +19 -1
- package/{publish → src}/api/autotest_case_api.js +2 -2
- package/{publish → src}/api/autotest_result_api.js +2 -2
- package/{publish → src}/api/autotest_run_api.js +2 -2
- package/{publish → src}/api/autotest_step_api.js +2 -2
- package/{publish → src}/api/autotest_suite_api.js +2 -2
- package/{publish → src}/api/bug_api.js +1 -1
- package/{publish → src}/api/functional_api.js +2 -2
- package/{publish → src}/api/index.js +11 -5
- package/{publish → src}/api/object_repository_element_api.js +2 -2
- package/{publish → src}/api/object_repository_folder_api.js +2 -2
- package/{publish → src}/api/object_repository_page_api.js +2 -2
- package/{publish → src}/api/project_api.js +2 -2
- package/{publish → src}/api/public_text_document_api.js +2 -2
- package/{publish → src}/api/team_management_api.js +1 -1
- package/{publish → src}/api/team_member_api.js +2 -2
- package/{publish → src}/api/test_case_api.js +2 -2
- package/{publish → src}/api/test_case_step_api.js +2 -2
- package/{publish → src}/api/test_plan_api.js +2 -2
- package/{publish → src}/api/test_run_api.js +2 -2
- package/{publish → src}/api/test_run_result_api.js +2 -2
- package/{publish → src}/api/test_suite_api.js +2 -2
- package/{publish → src}/api/text_document_api.js +9 -9
- package/src/api/typeApiBinding.js +41 -0
- package/{publish → src}/exceptions/0_BaseException.js +26 -17
- package/{publish → src}/index.js +2 -46
- package/{publish → src}/services/FileAppService.js +8 -5
- package/{publish → src}/services/UserService.js +9 -2
- package/{publish → src}/types/core/0_familyGeneralElement.js +56 -22
- package/{publish → src}/types/core/1_familyRelation.js +3 -0
- package/{publish → src}/types/family_context/typeBrowserContext.js +1 -0
- package/{publish → src}/types/family_context/typeDeploymentTargetContext.js +2 -0
- package/{publish → src}/types/family_context/typeDeviceContext.js +2 -0
- package/{publish → src}/types/family_context/typeExecutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeLocaleContext.js +1 -0
- package/{publish → src}/types/family_context/typeOsContext.js +2 -0
- package/{publish → src}/types/family_context/typeScreenResolutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeUserAgentContext.js +2 -0
- package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCatalog.js +30 -3
- package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepAction.js +10 -1
- package/{publish → src}/types/family_elements/mock_data/mock_data_typeProject.js +2 -2
- package/{publish → src}/types/family_elements/typeAttachment.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestEnvironment.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestPlan.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStep.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeAutotestCase.js +5 -3
- package/{publish → src}/types/family_elements/typeAutotestResult.js +2 -0
- package/{publish → src}/types/family_elements/typeAutotestRun.js +3 -1
- package/{publish → src}/types/family_elements/typeAutotestStep.js +6 -5
- package/{publish → src}/types/family_elements/typeAutotestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeBug.js +4 -1
- package/{publish → src}/types/family_elements/typeCustomProperty.js +1 -0
- package/{publish → src}/types/family_elements/typeFunctional.js +3 -1
- package/{publish → src}/types/family_elements/typeFunctionalGroup.js +3 -1
- package/{publish → src}/types/family_elements/typeMilestone.js +3 -1
- package/{publish → src}/types/family_elements/typeObjectRepositoryElement.js +1 -0
- package/{publish → src}/types/family_elements/typeObjectRepositoryFolder.js +1 -0
- package/{publish → src}/types/family_elements/typePrice.js +1 -0
- package/{publish → src}/types/family_elements/typeProject.js +10 -13
- package/{publish → src}/types/family_elements/typeProjectDocument.js +3 -1
- package/{publish → src}/types/family_elements/typeProjectTestData.js +2 -1
- package/{publish → src}/types/family_elements/typeProjectUserRole.js +3 -1
- package/{publish → src}/types/family_elements/typeTask.js +3 -2
- package/{publish → src}/types/family_elements/typeTeam.js +6 -4
- package/src/types/family_elements/typeTeamDomain.js +175 -0
- package/{publish → src}/types/family_elements/typeTeamMember.js +4 -2
- package/{publish → src}/types/family_elements/typeTeamUserRole.js +2 -1
- package/{publish → src}/types/family_elements/typeTestAccount.js +2 -1
- package/{publish → src}/types/family_elements/typeTestCase.js +4 -1
- package/{publish → src}/types/family_elements/typeTestCaseStep.js +5 -3
- package/{publish → src}/types/family_elements/typeTestPlan.js +2 -1
- package/{publish → src}/types/family_elements/typeTestRun.js +5 -2
- package/{publish → src}/types/family_elements/typeTestRunResult.js +4 -1
- package/{publish → src}/types/family_elements/typeTestSuite.js +2 -1
- package/{publish → src}/types/family_elements/typeUser.js +3 -1
- package/{publish → src}/types/family_events/typeEvent.js +2 -0
- package/{publish → src}/types/family_files/typeFile.js +2 -0
- package/{publish → src}/types/family_files/typeTextDocument.js +3 -0
- package/{publish → src}/types/family_files/typeTextDocumentFolder.js +1 -0
- package/{publish → src}/types/family_relation/typeBugRelation.js +1 -0
- package/{publish → src}/types/family_relation/typeCustomPropertyValue.js +1 -0
- package/{publish → src}/types/family_relation/typeTagRelation.js +1 -0
- package/{publish → src}/types/family_service/typeFOR.js +3 -2
- package/{publish → src}/types/family_service/typeFilter.js +2 -1
- package/{publish → src}/types/family_service/typeFunctionCallback.js +2 -1
- package/{publish → src}/types/family_utils/typeUtilExecution.js +3 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionEvent.js +2 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMulti.js +4 -2
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCapture.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.js +1 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspect.js +202 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspectCheck.js +103 -0
- package/{publish → src}/utils/utils.js +1 -0
- package/types/api/api_abstract_class.d.ts +85 -0
- package/types/api/api_abstract_element_class.d.ts +79 -0
- package/types/api/api_abstract_reference_class.d.ts +26 -0
- package/types/api/attachment_api.d.ts +25 -0
- package/types/api/autotest_case_api.d.ts +36 -0
- package/types/api/autotest_result_api.d.ts +8 -0
- package/types/api/autotest_run_api.d.ts +16 -0
- package/types/api/autotest_step_api.d.ts +45 -0
- package/types/api/autotest_suite_api.d.ts +8 -0
- package/types/api/bug_api.d.ts +9 -0
- package/types/api/bug_relation_api.d.ts +10 -0
- package/types/api/cache/api_search_cache.d.ts +39 -0
- package/types/api/cache/index.d.ts +2 -0
- package/types/api/cache/memory_cache_store.d.ts +24 -0
- package/types/api/context/context_browser_api.d.ts +9 -0
- package/types/api/context/context_deployment_target_api.d.ts +9 -0
- package/types/api/context/context_devices_api.d.ts +9 -0
- package/types/api/context/context_execution_general_api.d.ts +9 -0
- package/types/api/context/context_locale_api.d.ts +9 -0
- package/types/api/context/context_os_api.d.ts +9 -0
- package/types/api/context/context_screen_resolution_api.d.ts +9 -0
- package/types/api/context/context_user_agents_api.d.ts +9 -0
- package/types/api/custom_property/custom_property_template_api.d.ts +10 -0
- package/types/api/custom_property_api.d.ts +25 -0
- package/types/api/custom_property_option_api.d.ts +11 -0
- package/types/api/custom_property_value_api.d.ts +28 -0
- package/types/api/event_api.d.ts +12 -0
- package/types/api/file_app_api.d.ts +105 -0
- package/types/api/functional_api.d.ts +9 -0
- package/types/api/index.d.ts +155 -0
- package/types/api/object_repository_element_api.d.ts +8 -0
- package/types/api/object_repository_folder_api.d.ts +8 -0
- package/types/api/object_repository_page_api.d.ts +8 -0
- package/types/api/project_api.d.ts +53 -0
- package/types/api/public_text_document_api.d.ts +29 -0
- package/types/api/service_api.d.ts +9 -0
- package/types/api/tag/tag_color_api.d.ts +10 -0
- package/types/api/tag/tag_template_api.d.ts +10 -0
- package/types/api/tag_api.d.ts +23 -0
- package/types/api/tag_relation_api.d.ts +30 -0
- package/types/api/task_api.d.ts +19 -0
- package/types/api/team_domain_api.d.ts +30 -0
- package/types/api/team_management_api.d.ts +27 -0
- package/types/api/team_member_api.d.ts +19 -0
- package/types/api/test_account_api.d.ts +9 -0
- package/types/api/test_case_api.d.ts +9 -0
- package/types/api/test_case_step_api.d.ts +28 -0
- package/types/api/test_plan_api.d.ts +9 -0
- package/types/api/test_run_api.d.ts +16 -0
- package/types/api/test_run_result_api.d.ts +9 -0
- package/types/api/test_suite_api.d.ts +9 -0
- package/types/api/text_document_api.d.ts +98 -0
- package/types/api/text_document_folder_api.d.ts +8 -0
- package/types/api/typeApiBinding.d.ts +12 -0
- package/types/api/user_profile_api.d.ts +18 -0
- package/types/api/util/browser_tools_screenshot_multi_api.d.ts +24 -0
- package/types/api/util/browser_tools_util_execution_api.d.ts +26 -0
- package/types/api/util/url_inspect_api.d.ts +24 -0
- package/types/constants/text_document_limits.d.ts +14 -0
- package/types/element_translate/typeTeamDomain.i18n.js +71 -0
- package/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +55 -0
- package/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +111 -0
- package/types/exceptions/0_BaseException.d.ts +25 -0
- package/types/exceptions/ApiException.d.ts +16 -0
- package/types/exceptions/GeneralException.d.ts +13 -0
- package/types/index.d.ts +79 -0
- package/types/services/DeveloperService.d.ts +43 -0
- package/types/services/FileAppService.d.ts +131 -0
- package/types/services/TeamService.d.ts +21 -0
- package/types/services/UserService.d.ts +233 -0
- package/types/services/abstractService.d.ts +13 -0
- package/types/services/mock_data/MockUserService.d.ts +12 -0
- package/types/types/core/0_familyGeneralElement.d.ts +228 -0
- package/types/types/core/1_familyContext.d.ts +87 -0
- package/types/types/core/1_familyRelation.d.ts +53 -0
- package/types/types/core/1_familyTestAutomation.d.ts +25 -0
- package/types/types/core/1_familyTestDocumentation.d.ts +27 -0
- package/types/types/core/type_class_resolver.d.ts +25 -0
- package/types/types/element_translate/_familyContext.i18n.d.ts +316 -0
- package/types/types/element_translate/_familyUtil.i18n.d.ts +515 -0
- package/types/types/element_translate/typeAttachment.i18n.d.ts +358 -0
- package/types/types/element_translate/typeAutotestCase.i18n.d.ts +139 -0
- package/types/types/element_translate/typeAutotestResult.i18n.d.ts +110 -0
- package/types/types/element_translate/typeAutotestRun.i18n.d.ts +170 -0
- package/types/types/element_translate/typeAutotestStep.i18n.d.ts +115 -0
- package/types/types/element_translate/typeAutotestSuite.i18n.d.ts +51 -0
- package/types/types/element_translate/typeBrowserContext.i18n.d.ts +158 -0
- package/types/types/element_translate/typeBug.i18n.d.ts +1863 -0
- package/types/types/element_translate/typeBugRelation.i18n.d.ts +232 -0
- package/types/types/element_translate/typeCustomProperty.i18n.d.ts +233 -0
- package/types/types/element_translate/typeCustomPropertyValue.i18n.d.ts +185 -0
- package/types/types/element_translate/typeDeploymentTargetContext.i18n.d.ts +318 -0
- package/types/types/element_translate/typeDeviceContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeEvent.i18n.d.ts +1096 -0
- package/types/types/element_translate/typeExecutionContext.i18n.d.ts +484 -0
- package/types/types/element_translate/typeFile.i18n.d.ts +119 -0
- package/types/types/element_translate/typeFileScreenshot.i18n.d.ts +7 -0
- package/types/types/element_translate/typeLocaleContext.i18n.d.ts +180 -0
- package/types/types/element_translate/typeObjectRepositoryElement.i18n.d.ts +135 -0
- package/types/types/element_translate/typeObjectRepositoryFolder.i18n.d.ts +85 -0
- package/types/types/element_translate/typeObjectRepositoryPage.i18n.d.ts +56 -0
- package/types/types/element_translate/typeOsContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeProject.i18n.d.ts +211 -0
- package/types/types/element_translate/typeScreenResolutionContext.i18n.d.ts +285 -0
- package/types/types/element_translate/typeTag.i18n.d.ts +122 -0
- package/types/types/element_translate/typeTagRelation.i18n.d.ts +165 -0
- package/types/types/element_translate/typeTeamDomain.i18n.d.ts +146 -0
- package/types/types/element_translate/typeTeamMember.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTeamTotalStatistic.i18n.d.ts +246 -0
- package/types/types/element_translate/typeTestAccount.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTestCase.i18n.d.ts +727 -0
- package/types/types/element_translate/typeTestCaseStep.i18n.d.ts +295 -0
- package/types/types/element_translate/typeTestRun.i18n.d.ts +400 -0
- package/types/types/element_translate/typeTestRunResult.i18n.d.ts +257 -0
- package/types/types/element_translate/typeTextDocument.i18n.d.ts +358 -0
- package/types/types/element_translate/typeTextDocumentFolder.i18n.d.ts +173 -0
- package/types/types/element_translate/typeUserAgentContext.i18n.d.ts +384 -0
- package/types/types/element_translate/typeUtilExecution.i18n.d.ts +465 -0
- package/types/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.d.ts +686 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspect.i18n.d.ts +109 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.d.ts +243 -0
- package/types/types/family_context/typeBrowserContext.d.ts +173 -0
- package/types/types/family_context/typeDeploymentTargetContext.d.ts +335 -0
- package/types/types/family_context/typeDeviceContext.d.ts +313 -0
- package/types/types/family_context/typeExecutionContext.d.ts +331 -0
- package/types/types/family_context/typeLocaleContext.d.ts +197 -0
- package/types/types/family_context/typeOsContext.d.ts +313 -0
- package/types/types/family_context/typeScreenResolutionContext.d.ts +306 -0
- package/types/types/family_context/typeUserAgentContext.d.ts +409 -0
- package/types/types/family_contracts/familyContracts.d.ts +30 -0
- package/types/types/family_contracts/typeTeamTotalStatistic.d.ts +255 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCatalog.d.ts +85 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCategory.d.ts +12 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepLocatorKind.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepAction.d.ts +38 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.d.ts +46 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.d.ts +8 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.d.ts +8 -0
- package/types/types/family_elements/mock_data/abstract_mock_data.d.ts +8 -0
- package/types/types/family_elements/mock_data/mock_data_typeProject.d.ts +16 -0
- package/types/types/family_elements/typeActionLog.d.ts +7 -0
- package/types/types/family_elements/typeAttachment.d.ts +263 -0
- package/types/types/family_elements/typeAutomationTestEnvironment.d.ts +28 -0
- package/types/types/family_elements/typeAutomationTestPlan.d.ts +13 -0
- package/types/types/family_elements/typeAutomationTestStep.d.ts +24 -0
- package/types/types/family_elements/typeAutomationTestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestCase.d.ts +178 -0
- package/types/types/family_elements/typeAutotestResult.d.ts +109 -0
- package/types/types/family_elements/typeAutotestRun.d.ts +176 -0
- package/types/types/family_elements/typeAutotestStep.d.ts +155 -0
- package/types/types/family_elements/typeAutotestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestSuite.d.ts +64 -0
- package/types/types/family_elements/typeBug.d.ts +1097 -0
- package/types/types/family_elements/typeCustomProperty.d.ts +197 -0
- package/types/types/family_elements/typeFunctional.d.ts +48 -0
- package/types/types/family_elements/typeFunctionalGroup.d.ts +46 -0
- package/types/types/family_elements/typeMilestone.d.ts +51 -0
- package/types/types/family_elements/typeObjectRepositoryElement.d.ts +124 -0
- package/types/types/family_elements/typeObjectRepositoryFolder.d.ts +90 -0
- package/types/types/family_elements/typeObjectRepositoryPage.d.ts +69 -0
- package/types/types/family_elements/typePrice.d.ts +18 -0
- package/types/types/family_elements/typeProject.d.ts +205 -0
- package/types/types/family_elements/typeProjectDocument.d.ts +38 -0
- package/types/types/family_elements/typeProjectTestData.d.ts +20 -0
- package/types/types/family_elements/typeProjectUserRole.d.ts +25 -0
- package/types/types/family_elements/typeTag.d.ts +109 -0
- package/types/types/family_elements/typeTask.d.ts +41 -0
- package/types/types/family_elements/typeTeam.d.ts +54 -0
- package/types/types/family_elements/typeTeamDomain.d.ts +164 -0
- package/types/types/family_elements/typeTeamMember.d.ts +169 -0
- package/types/types/family_elements/typeTeamUserRole.d.ts +27 -0
- package/types/types/family_elements/typeTestAccount.d.ts +150 -0
- package/types/types/family_elements/typeTestCase.d.ts +467 -0
- package/types/types/family_elements/typeTestCaseStep.d.ts +230 -0
- package/types/types/family_elements/typeTestPlan.d.ts +8 -0
- package/types/types/family_elements/typeTestRun.d.ts +285 -0
- package/types/types/family_elements/typeTestRunResult.d.ts +183 -0
- package/types/types/family_elements/typeTestSuite.d.ts +39 -0
- package/types/types/family_elements/typeUser.d.ts +38 -0
- package/types/types/family_events/familyEvent.d.ts +30 -0
- package/types/types/family_events/typeEvent.d.ts +667 -0
- package/types/types/family_files/familyFile.d.ts +11 -0
- package/types/types/family_files/typeFile.d.ts +138 -0
- package/types/types/family_files/typeFileAutotestScreenshot.d.ts +23 -0
- package/types/types/family_files/typeFileFactory.d.ts +7 -0
- package/types/types/family_files/typeFileHtml.d.ts +6 -0
- package/types/types/family_files/typeFileJson.d.ts +6 -0
- package/types/types/family_files/typeFilePostman.d.ts +6 -0
- package/types/types/family_files/typeFileScreenshot.d.ts +32 -0
- package/types/types/family_files/typeFileVideo.d.ts +6 -0
- package/types/types/family_files/typeTextDocument.d.ts +253 -0
- package/types/types/family_files/typeTextDocumentFolder.d.ts +136 -0
- package/types/types/family_relation/typeBugRelation.d.ts +212 -0
- package/types/types/family_relation/typeCustomPropertyValue.d.ts +279 -0
- package/types/types/family_relation/typeTagRelation.d.ts +287 -0
- package/types/types/family_service/familyService.d.ts +6 -0
- package/types/types/family_service/typeFOR.d.ts +17 -0
- package/types/types/family_service/typeFilter.d.ts +20 -0
- package/types/types/family_service/typeFunctionCallback.d.ts +20 -0
- package/types/types/family_utils/familyUtil.d.ts +18 -0
- package/types/types/family_utils/typeUtilExecution.d.ts +394 -0
- package/types/types/family_utils/typeUtilExecutionEvent.d.ts +128 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMulti.d.ts +617 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCapture.d.ts +26 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.d.ts +25 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.d.ts +33 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspect.d.ts +227 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspectCheck.d.ts +193 -0
- package/types/utils/text_document_image.d.ts +37 -0
- package/types/utils/utils.d.ts +60 -0
- package/publish/app_configuration/abstract_app_configuration.js +0 -33
- package/publish/app_configuration/locale_table_ru.js +0 -267
- package/publish/app_configuration/locale_table_tt.js +0 -267
- package/publish/app_configuration/menu_configuration_main.js +0 -133
- package/publish/app_configuration/menu_configuration_secondary.js +0 -140
- package/publish/app_configuration/table/helpers/column_factory.js +0 -172
- package/publish/app_configuration/table/helpers/column_locale.js +0 -76
- package/publish/app_configuration/table/helpers/execution_context_listing_fields.js +0 -25
- package/publish/app_configuration/table/helpers/section_registry.js +0 -81
- package/publish/app_configuration/table/helpers/table_element_models.js +0 -74
- package/publish/app_configuration/table/sections/autotest_case.js +0 -76
- package/publish/app_configuration/table/sections/autotest_result.js +0 -59
- package/publish/app_configuration/table/sections/autotest_run.js +0 -66
- package/publish/app_configuration/table/sections/autotest_step.js +0 -82
- package/publish/app_configuration/table/sections/autotest_suite.js +0 -42
- package/publish/app_configuration/table/sections/bug.js +0 -113
- package/publish/app_configuration/table/sections/bug_relation.js +0 -179
- package/publish/app_configuration/table/sections/custom_property.js +0 -95
- package/publish/app_configuration/table/sections/event.js +0 -76
- package/publish/app_configuration/table/sections/execution_context.js +0 -130
- package/publish/app_configuration/table/sections/object_repository_element.js +0 -59
- package/publish/app_configuration/table/sections/object_repository_folder.js +0 -41
- package/publish/app_configuration/table/sections/object_repository_page.js +0 -55
- package/publish/app_configuration/table/sections/project.js +0 -65
- package/publish/app_configuration/table/sections/tag.js +0 -82
- package/publish/app_configuration/table/sections/tag_relation.js +0 -309
- package/publish/app_configuration/table/sections/team.js +0 -48
- package/publish/app_configuration/table/sections/team_domain.js +0 -55
- package/publish/app_configuration/table/sections/team_member.js +0 -49
- package/publish/app_configuration/table/sections/test_account.js +0 -78
- package/publish/app_configuration/table/sections/test_case.js +0 -103
- package/publish/app_configuration/table/sections/test_case_step.js +0 -66
- package/publish/app_configuration/table/sections/test_run.js +0 -85
- package/publish/app_configuration/table/sections/test_run_result.js +0 -153
- package/publish/app_configuration/table/sections/text_document.js +0 -37
- package/publish/app_configuration/table/sections/user.js +0 -31
- package/publish/app_configuration/table/sections/util_execution.js +0 -42
- package/publish/app_configuration/table/sections/util_execution_url_inspect.js +0 -60
- package/publish/app_configuration/table/table_base_config.js +0 -135
- package/publish/app_configuration/table/table_configuration.js +0 -156
- package/publish/app_configuration/table_locale_ar.js +0 -676
- package/publish/app_configuration/text_document_editor_config.js +0 -31
- package/publish/dev.entry.js +0 -58
- package/publish/exceptions/BaseException.js +0 -96
- package/publish/services/serviceTranslate.js +0 -101
- package/publish/types/family_context/0_familyContext.js +0 -144
- package/publish/types/family_elements/0_familyGeneralElement.js +0 -683
- package/publish/types/family_elements/1_familyTestAutomation.js +0 -34
- package/publish/types/family_elements/1_familyTestDocumentation.js +0 -21
- package/publish/types/family_elements/typeProjectTestAccount.js +0 -59
- package/publish/types/family_service/typeAppConfiguration.js +0 -39
- package/publish/types/family_service/typeMenuElement.js +0 -32
- package/publish/types/family_service/typeNotification.js +0 -36
- package/publish/types/family_service/typeTableColumn.js +0 -116
- package/publish/types/family_service/typeTableConfiguration.js +0 -66
- /package/{publish → src}/api/api_abstract_reference_class.js +0 -0
- /package/{publish → src}/api/attachment_api.js +0 -0
- /package/{publish → src}/api/bug_relation_api.js +0 -0
- /package/{publish → src}/api/cache/api_search_cache.js +0 -0
- /package/{publish → src}/api/cache/index.js +0 -0
- /package/{publish → src}/api/cache/memory_cache_store.js +0 -0
- /package/{publish → src}/api/context/context_browser_api.js +0 -0
- /package/{publish → src}/api/context/context_deployment_target_api.js +0 -0
- /package/{publish → src}/api/context/context_devices_api.js +0 -0
- /package/{publish → src}/api/context/context_execution_general_api.js +0 -0
- /package/{publish → src}/api/context/context_locale_api.js +0 -0
- /package/{publish → src}/api/context/context_os_api.js +0 -0
- /package/{publish → src}/api/context/context_screen_resolution_api.js +0 -0
- /package/{publish → src}/api/context/context_user_agents_api.js +0 -0
- /package/{publish → src}/api/custom_property/custom_property_template_api.js +0 -0
- /package/{publish → src}/api/custom_property_api.js +0 -0
- /package/{publish → src}/api/custom_property_option_api.js +0 -0
- /package/{publish → src}/api/custom_property_value_api.js +0 -0
- /package/{publish → src}/api/event_api.js +0 -0
- /package/{publish → src}/api/file_app_api.js +0 -0
- /package/{publish → src}/api/service_api.js +0 -0
- /package/{publish → src}/api/tag/tag_color_api.js +0 -0
- /package/{publish → src}/api/tag/tag_template_api.js +0 -0
- /package/{publish → src}/api/tag_api.js +0 -0
- /package/{publish → src}/api/tag_relation_api.js +0 -0
- /package/{publish → src}/api/task_api.js +0 -0
- /package/{publish → src}/api/team_domain_api.js +0 -0
- /package/{publish → src}/api/test_account_api.js +0 -0
- /package/{publish → src}/api/text_document_folder_api.js +0 -0
- /package/{publish → src}/api/user_profile_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_screenshot_multi_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_util_execution_api.js +0 -0
- /package/{publish → src}/api/util/url_inspect_api.js +0 -0
- /package/{publish → src}/constants/text_document_limits.js +0 -0
- /package/{publish → src}/exceptions/ApiException.js +0 -0
- /package/{publish → src}/exceptions/GeneralException.js +0 -0
- /package/{publish → src}/services/DeveloperService.js +0 -0
- /package/{publish → src}/services/TeamService.js +0 -0
- /package/{publish → src}/services/abstractService.js +0 -0
- /package/{publish → src}/services/mock_data/MockUserService.js +0 -0
- /package/{publish → src}/types/core/1_familyContext.js +0 -0
- /package/{publish → src}/types/core/1_familyTestAutomation.js +0 -0
- /package/{publish → src}/types/core/1_familyTestDocumentation.js +0 -0
- /package/{publish → src}/types/core/type_class_resolver.js +0 -0
- /package/{publish → src}/types/element_translate/_familyContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/_familyUtil.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAttachment.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestSuite.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBrowserContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBug.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBugRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeCustomProperty.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeCustomPropertyValue.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeploymentTargetContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeviceContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeEvent.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeExecutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFile.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFileScreenshot.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeLocaleContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryElement.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryPage.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeOsContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeProject.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeScreenResolutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTag.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTagRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamDomain.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamMember.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamTotalStatistic.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestAccount.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCaseStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRunResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocument.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocumentFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUserAgentContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecution.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +0 -0
- /package/{publish → src}/types/family_contracts/familyContracts.js +0 -0
- /package/{publish → src}/types/family_contracts/typeTeamTotalStatistic.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCategory.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepLocatorKind.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.js +0 -0
- /package/{publish → src}/types/family_elements/mock_data/abstract_mock_data.js +0 -0
- /package/{publish → src}/types/family_elements/typeActionLog.js +0 -0
- /package/{publish → src}/types/family_elements/typeAutotestSuite.js +0 -0
- /package/{publish → src}/types/family_elements/typeObjectRepositoryPage.js +0 -0
- /package/{publish → src}/types/family_elements/typeTag.js +0 -0
- /package/{publish → src}/types/family_events/familyEvent.js +0 -0
- /package/{publish → src}/types/family_files/familyFile.js +0 -0
- /package/{publish → src}/types/family_files/typeFileAutotestScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileFactory.js +0 -0
- /package/{publish → src}/types/family_files/typeFileHtml.js +0 -0
- /package/{publish → src}/types/family_files/typeFileJson.js +0 -0
- /package/{publish → src}/types/family_files/typeFilePostman.js +0 -0
- /package/{publish → src}/types/family_files/typeFileScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileVideo.js +0 -0
- /package/{publish → src}/types/family_service/familyService.js +0 -0
- /package/{publish → src}/types/family_utils/familyUtil.js +0 -0
- /package/{publish → src}/utils/text_document_image.js +0 -0
- /package/{publish/types → types}/family_elements/typeTeamDomain.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspect.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspectCheck.js +0 -0
|
@@ -63,11 +63,16 @@ export class BaseException extends Error
|
|
|
63
63
|
*/
|
|
64
64
|
set_context()
|
|
65
65
|
{
|
|
66
|
-
if (this.error_log_vendor)
|
|
66
|
+
if (!this.error_log_vendor)
|
|
67
67
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const api = typeof globalThis !== 'undefined' ? globalThis.ApiService : false;
|
|
72
|
+
if (api)
|
|
73
|
+
{
|
|
74
|
+
this.error_log_vendor.setTag('frontend_host', api.frontend_host);
|
|
75
|
+
this.error_log_vendor.setTag('general_domain', api.general_domain);
|
|
71
76
|
}
|
|
72
77
|
}
|
|
73
78
|
|
|
@@ -78,23 +83,27 @@ export class BaseException extends Error
|
|
|
78
83
|
*/
|
|
79
84
|
capture_exception()
|
|
80
85
|
{
|
|
81
|
-
if (this.error_log_vendor)
|
|
86
|
+
if (!this.error_log_vendor || typeof Sentry === 'undefined')
|
|
82
87
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
{
|
|
86
|
-
scope.clear();
|
|
87
|
-
this.set_context();
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
88
90
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
echo('start');
|
|
92
|
+
Sentry.captureException(new Error(this.message), scope =>
|
|
93
|
+
{
|
|
94
|
+
scope.clear();
|
|
95
|
+
this.set_context();
|
|
92
96
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
+
const api = typeof globalThis !== 'undefined' ? globalThis.ApiService : false;
|
|
98
|
+
if (api)
|
|
99
|
+
{
|
|
100
|
+
scope.setTag('frontend_host', api.frontend_host);
|
|
101
|
+
scope.setTag('general_domain', api.general_domain);
|
|
102
|
+
}
|
|
97
103
|
|
|
104
|
+
echo('done');
|
|
105
|
+
return scope;
|
|
106
|
+
});
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
}
|
package/{publish → src}/index.js
RENAMED
|
@@ -2,11 +2,10 @@ export { Api } from "./api/index.js";
|
|
|
2
2
|
export { UserService } from './services/UserService.js';
|
|
3
3
|
export { TeamService } from './services/TeamService.js';
|
|
4
4
|
export { FileAppService } from './services/FileAppService.js';
|
|
5
|
+
export { bootstrap_type_api } from './api/typeApiBinding.js';
|
|
5
6
|
|
|
6
7
|
export { typeFOR } from './types/family_service/typeFOR.js';
|
|
7
8
|
export { typeFilter } from './types/family_service/typeFilter.js';
|
|
8
|
-
export { TableBaseConfig } from './app_configuration/table/table_base_config.js';
|
|
9
|
-
export { TableConfiguration } from './app_configuration/table/table_configuration.js';
|
|
10
9
|
|
|
11
10
|
export { typeProject } from './types/family_elements/typeProject.js';
|
|
12
11
|
export { typeTestSuite } from './types/family_elements/typeTestSuite.js'
|
|
@@ -99,7 +98,6 @@ export {
|
|
|
99
98
|
build_text_document_image_html,
|
|
100
99
|
can_add_text_document_image,
|
|
101
100
|
} from './utils/text_document_image.js';
|
|
102
|
-
export { text_document_editor_config, get_text_document_editor_config } from './app_configuration/text_document_editor_config.js';
|
|
103
101
|
|
|
104
102
|
export { typeUser } from './types/family_elements/typeUser.js';
|
|
105
103
|
export { typeTeam } from './types/family_elements/typeTeam.js';
|
|
@@ -109,48 +107,6 @@ export { typeTeamTotalStatistic } from './types/family_contracts/typeTeamTotalSt
|
|
|
109
107
|
|
|
110
108
|
export { typeTask } from './types/family_elements/typeTask.js';
|
|
111
109
|
|
|
112
|
-
export { DeveloperService } from './services/DeveloperService.js';
|
|
113
|
-
|
|
114
110
|
export { GeneralException } from './exceptions/GeneralException.js';
|
|
115
111
|
|
|
116
|
-
export { is_array, is_number, is_object, is_string,
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @version v.0.1 (21/06/2025)
|
|
121
|
-
*/
|
|
122
|
-
export class App
|
|
123
|
-
{
|
|
124
|
-
|
|
125
|
-
init_options = false;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @version v.0.1 (25/06/2024)
|
|
130
|
-
*/
|
|
131
|
-
constructor(init_options)
|
|
132
|
-
{
|
|
133
|
-
|
|
134
|
-
if (this.constructor._instance)
|
|
135
|
-
{
|
|
136
|
-
return this.constructor._instance;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
this.init_options = init_options;
|
|
140
|
-
this.constructor._instance = this;
|
|
141
|
-
|
|
142
|
-
this.#bootstrap();
|
|
143
|
-
|
|
144
|
-
return this.constructor._instance;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @version v.0.1 (25/06/2024)
|
|
150
|
-
*/
|
|
151
|
-
#bootstrap()
|
|
152
|
-
{
|
|
153
|
-
this.service = {};
|
|
154
|
-
this.service.translate = new serviceTranslate();
|
|
155
|
-
}
|
|
156
|
-
}
|
|
112
|
+
export { is_array, is_number, is_object, is_string, count, clone_object } from './utils/utils.js'
|
|
@@ -2,6 +2,8 @@ import { abstractService } from "./abstractService.js";
|
|
|
2
2
|
import { typeFile } from "../types/family_files/typeFile.js";
|
|
3
3
|
import { create_type_file_from_wire } from "../types/family_files/typeFileFactory.js";
|
|
4
4
|
import { ApiException } from "../exceptions/ApiException.js";
|
|
5
|
+
import axios from 'axios';
|
|
6
|
+
import { bootstrap_type_api } from "../api/typeApiBinding.js";
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
/**
|
|
@@ -32,6 +34,7 @@ export class FileAppService extends abstractService
|
|
|
32
34
|
if (options.api_service)
|
|
33
35
|
{
|
|
34
36
|
FileAppService.api_service = options.api_service;
|
|
37
|
+
bootstrap_type_api({ api_service: options.api_service });
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -253,7 +256,7 @@ export class FileAppService extends abstractService
|
|
|
253
256
|
* @param {number} payload.entity_id
|
|
254
257
|
* @param {string} [payload.category]
|
|
255
258
|
*
|
|
256
|
-
* @returns {Promise<
|
|
259
|
+
* @returns {Promise<any>}
|
|
257
260
|
*/
|
|
258
261
|
static async list_entity_files(payload)
|
|
259
262
|
{
|
|
@@ -271,7 +274,7 @@ export class FileAppService extends abstractService
|
|
|
271
274
|
* @param {string} file_uuid
|
|
272
275
|
* @param {'inline'|'attachment'} [disposition]
|
|
273
276
|
*
|
|
274
|
-
* @returns {Promise<
|
|
277
|
+
* @returns {Promise<any>}
|
|
275
278
|
*/
|
|
276
279
|
static async refresh_file_access_url(file_uuid, disposition = 'inline')
|
|
277
280
|
{
|
|
@@ -363,7 +366,7 @@ export class FileAppService extends abstractService
|
|
|
363
366
|
* @param {object} [payload]
|
|
364
367
|
* @param {number} [payload.project_id]
|
|
365
368
|
*
|
|
366
|
-
* @returns {Promise<
|
|
369
|
+
* @returns {Promise<any>}
|
|
367
370
|
*/
|
|
368
371
|
static async list_team_files(payload = {})
|
|
369
372
|
{
|
|
@@ -380,7 +383,7 @@ export class FileAppService extends abstractService
|
|
|
380
383
|
*
|
|
381
384
|
* @param {string[]} file_uuids
|
|
382
385
|
*
|
|
383
|
-
* @returns {Promise<
|
|
386
|
+
* @returns {Promise<any>}
|
|
384
387
|
*/
|
|
385
388
|
static async delete_files(file_uuids)
|
|
386
389
|
{
|
|
@@ -394,7 +397,7 @@ export class FileAppService extends abstractService
|
|
|
394
397
|
/**
|
|
395
398
|
* @param {string} file_uuid
|
|
396
399
|
*
|
|
397
|
-
* @returns {Promise<
|
|
400
|
+
* @returns {Promise<any>}
|
|
398
401
|
*/
|
|
399
402
|
static async delete_file(file_uuid)
|
|
400
403
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { abstractService } from "./abstractService";
|
|
2
|
-
import { MockUserService } from "./mock_data/MockUserService";
|
|
1
|
+
import { abstractService } from "./abstractService.js";
|
|
2
|
+
import { MockUserService } from "./mock_data/MockUserService.js";
|
|
3
3
|
import { in_array, is_array } from "../utils/utils.js";
|
|
4
4
|
import { typeTeam } from "../types/family_elements/typeTeam.js";
|
|
5
5
|
|
|
@@ -81,6 +81,13 @@ export class UserService extends abstractService
|
|
|
81
81
|
static csrf_token = false;
|
|
82
82
|
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {false|string}
|
|
87
|
+
*/
|
|
88
|
+
static web_app_domain = false;
|
|
89
|
+
|
|
90
|
+
|
|
84
91
|
/**
|
|
85
92
|
*
|
|
86
93
|
* @type {string}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { clone_object, echo, in_array, is_array } from "../../utils/utils.js";
|
|
2
2
|
import { is_type_class_token, resolve_type_class } from "./type_class_resolver.js";
|
|
3
|
+
import { bootstrap_type_api, get_type_api_service } from "../../api/typeApiBinding.js";
|
|
4
|
+
import _ from 'underscore';
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* Базовый абстрактный класс для всех типов
|
|
@@ -8,10 +10,15 @@ import { is_type_class_token, resolve_type_class } from "./type_class_resolver.j
|
|
|
8
10
|
*/
|
|
9
11
|
export class familyGeneralElement
|
|
10
12
|
{
|
|
13
|
+
/** @type {string|false} */
|
|
11
14
|
primary_key = false;
|
|
15
|
+
/** @type {string[]|false} */
|
|
12
16
|
create_scheme = false;
|
|
17
|
+
/** @type {object|false} */
|
|
13
18
|
structure_scheme = false;
|
|
19
|
+
/** @type {Record<string, string[]>|false} */
|
|
14
20
|
available_enum_values = false;
|
|
21
|
+
/** @type {string|false} */
|
|
15
22
|
api_key = false;
|
|
16
23
|
attribute_name_translate_matrix = {
|
|
17
24
|
en: {},
|
|
@@ -27,9 +34,42 @@ export class familyGeneralElement
|
|
|
27
34
|
tt: {}
|
|
28
35
|
}
|
|
29
36
|
|
|
37
|
+
/** @type {Record<string, Record<string, string>>|false} */
|
|
30
38
|
enum_value_translate_matrix = false;
|
|
31
39
|
|
|
32
40
|
|
|
41
|
+
/**
|
|
42
|
+
* @param {object} [options]
|
|
43
|
+
* @param {import('../../api/index.js').Api|false} [options.api_service]
|
|
44
|
+
*/
|
|
45
|
+
static bootstrap(options = {})
|
|
46
|
+
{
|
|
47
|
+
bootstrap_type_api(options);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @returns {import('../../api/api_abstract_class.js').ApiAbstractClass}
|
|
53
|
+
*/
|
|
54
|
+
get_api_client()
|
|
55
|
+
{
|
|
56
|
+
if (!this.api_key)
|
|
57
|
+
{
|
|
58
|
+
throw new Error('Error #249-2215 - element has no api_key');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const api = get_type_api_service();
|
|
62
|
+
const client = api[ this.api_key ];
|
|
63
|
+
|
|
64
|
+
if (!client)
|
|
65
|
+
{
|
|
66
|
+
throw new Error(`Api has no client for api_key '${ this.api_key }'`);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return client;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
33
73
|
/***********************************************/
|
|
34
74
|
/***********************************************/
|
|
35
75
|
|
|
@@ -38,7 +78,7 @@ export class familyGeneralElement
|
|
|
38
78
|
/**
|
|
39
79
|
*
|
|
40
80
|
* @version v.0.1 (26/05/2024)
|
|
41
|
-
* @
|
|
81
|
+
* @returns {string}
|
|
42
82
|
*/
|
|
43
83
|
get_primary_key()
|
|
44
84
|
{
|
|
@@ -104,9 +144,8 @@ export class familyGeneralElement
|
|
|
104
144
|
}
|
|
105
145
|
|
|
106
146
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @version v.0.2 (15/06/2024)
|
|
109
147
|
* @param {string} attribute
|
|
148
|
+
* @returns {string[]|false}
|
|
110
149
|
*/
|
|
111
150
|
get_available_enum_values(attribute)
|
|
112
151
|
{
|
|
@@ -365,16 +404,8 @@ export class familyGeneralElement
|
|
|
365
404
|
|
|
366
405
|
|
|
367
406
|
/**
|
|
368
|
-
*
|
|
369
|
-
* @param {
|
|
370
|
-
*
|
|
371
|
-
* @param {typeFunctionCallback|object|false} callback
|
|
372
|
-
*
|
|
373
|
-
* @param {?function} callback.before
|
|
374
|
-
* @param {?function} callback.success
|
|
375
|
-
* @param {?function} callback.error
|
|
376
|
-
* @param {?function} callback.final
|
|
377
|
-
*
|
|
407
|
+
* @param {familyGeneralElement|object} payload
|
|
408
|
+
* @param {object} [callback]
|
|
378
409
|
* @version v.2.0 (12/06/2025)
|
|
379
410
|
*/
|
|
380
411
|
async create(payload, callback)
|
|
@@ -395,7 +426,7 @@ export class familyGeneralElement
|
|
|
395
426
|
/**
|
|
396
427
|
* {Api} ApiService
|
|
397
428
|
*/
|
|
398
|
-
return
|
|
429
|
+
return this.get_api_client().create(payload).then((response) =>
|
|
399
430
|
{
|
|
400
431
|
if (typeof callback?.success === 'function')
|
|
401
432
|
{
|
|
@@ -438,7 +469,7 @@ export class familyGeneralElement
|
|
|
438
469
|
callback?.before({ payload });
|
|
439
470
|
}
|
|
440
471
|
|
|
441
|
-
return
|
|
472
|
+
return this.get_api_client().create_mass(payload).then((response) =>
|
|
442
473
|
{
|
|
443
474
|
if (typeof callback?.success === 'function')
|
|
444
475
|
{
|
|
@@ -484,7 +515,7 @@ export class familyGeneralElement
|
|
|
484
515
|
/**
|
|
485
516
|
* {Api} ApiService
|
|
486
517
|
*/
|
|
487
|
-
return
|
|
518
|
+
return this.get_api_client().update(payload).then((response) =>
|
|
488
519
|
{
|
|
489
520
|
if (typeof callback?.success === 'function')
|
|
490
521
|
{
|
|
@@ -537,7 +568,7 @@ export class familyGeneralElement
|
|
|
537
568
|
/**
|
|
538
569
|
* {Api} ApiService
|
|
539
570
|
*/
|
|
540
|
-
return
|
|
571
|
+
return this.get_api_client().update_property(payload).then((response) =>
|
|
541
572
|
{
|
|
542
573
|
if (typeof callback?.success === 'function')
|
|
543
574
|
{
|
|
@@ -607,7 +638,7 @@ export class familyGeneralElement
|
|
|
607
638
|
/**
|
|
608
639
|
* {Api} ApiService
|
|
609
640
|
*/
|
|
610
|
-
return
|
|
641
|
+
return this.get_api_client().update_property_mass(payload).then((response) =>
|
|
611
642
|
{
|
|
612
643
|
if (typeof callback?.success === 'function')
|
|
613
644
|
{
|
|
@@ -646,9 +677,12 @@ export class familyGeneralElement
|
|
|
646
677
|
element = this;
|
|
647
678
|
}
|
|
648
679
|
|
|
649
|
-
if (
|
|
680
|
+
if (typeof callback.confirm === 'function')
|
|
650
681
|
{
|
|
651
|
-
|
|
682
|
+
if (callback.confirm({ element }) === false)
|
|
683
|
+
{
|
|
684
|
+
return false;
|
|
685
|
+
}
|
|
652
686
|
}
|
|
653
687
|
|
|
654
688
|
let payload = typeof element.get_pure_data === 'function'
|
|
@@ -673,7 +707,7 @@ export class familyGeneralElement
|
|
|
673
707
|
callback?.before({ payload });
|
|
674
708
|
}
|
|
675
709
|
|
|
676
|
-
return
|
|
710
|
+
return this.get_api_client().delete(payload).then((response) =>
|
|
677
711
|
{
|
|
678
712
|
if (typeof callback?.success === 'function')
|
|
679
713
|
{
|
|
@@ -730,7 +764,7 @@ export class familyGeneralElement
|
|
|
730
764
|
/**
|
|
731
765
|
* {Api} ApiService
|
|
732
766
|
*/
|
|
733
|
-
return
|
|
767
|
+
return this.get_api_client().clone_element(payload).then((response) =>
|
|
734
768
|
{
|
|
735
769
|
if (typeof callback?.success === 'function')
|
|
736
770
|
{
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeBrowserContext_i18n } from "../element_translate/typeBrowserContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeDeploymentTargetContext_i18n } from "../element_translate/typeDeploymentTargetContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -29,6 +30,7 @@ export class typeDeploymentTargetContext extends familyContext
|
|
|
29
30
|
...familyContext.get_catalog_base_structure_scheme(),
|
|
30
31
|
};
|
|
31
32
|
|
|
33
|
+
/** @type {Record<string, string[]>} */
|
|
32
34
|
available_enum_values = {
|
|
33
35
|
...familyContext.get_base_available_enum_values(),
|
|
34
36
|
deployment_tier: [ 'LOCAL', 'DEVELOPMENT', 'QA', 'STAGING', 'UAT', 'PRODUCTION', 'DR', 'OTHER' ],
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeDeviceContext_i18n } from "../element_translate/typeDeviceContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -29,6 +30,7 @@ export class typeDeviceContext extends familyContext
|
|
|
29
30
|
...familyContext.get_catalog_base_structure_scheme(),
|
|
30
31
|
};
|
|
31
32
|
|
|
33
|
+
/** @type {Record<string, string[]>} */
|
|
32
34
|
available_enum_values = {
|
|
33
35
|
...familyContext.get_base_available_enum_values(),
|
|
34
36
|
device_class: [ 'DESKTOP', 'MOBILE', 'TABLET', 'TV', 'WATCH', 'OTHER' ],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { typeExecutionContext_i18n } from "../element_translate/typeExecutionContext.i18n.js";
|
|
4
|
+
import _ from 'underscore';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -64,6 +65,7 @@ export class typeExecutionContext extends familyGeneralElement
|
|
|
64
65
|
'team_id',
|
|
65
66
|
];
|
|
66
67
|
|
|
68
|
+
/** @type {Record<string, string[]>} */
|
|
67
69
|
available_enum_values = {
|
|
68
70
|
protocol: [ 'HTTP', 'HTTPS' ],
|
|
69
71
|
};
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeLocaleContext_i18n } from "../element_translate/typeLocaleContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeOsContext_i18n } from "../element_translate/typeOsContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -29,6 +30,7 @@ export class typeOsContext extends familyContext
|
|
|
29
30
|
...familyContext.get_catalog_base_structure_scheme(),
|
|
30
31
|
};
|
|
31
32
|
|
|
33
|
+
/** @type {Record<string, string[]>} */
|
|
32
34
|
available_enum_values = {
|
|
33
35
|
...familyContext.get_base_available_enum_values(),
|
|
34
36
|
os_family: [ 'WINDOWS', 'MACOS', 'LINUX', 'ANDROID', 'IOS', 'OTHER' ],
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeScreenResolutionContext_i18n } from "../element_translate/typeScreenResolutionContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -36,6 +37,7 @@ export class typeScreenResolutionContext extends familyContext
|
|
|
36
37
|
...familyContext.get_catalog_base_structure_scheme(),
|
|
37
38
|
};
|
|
38
39
|
|
|
40
|
+
/** @type {Record<string, string[]>} */
|
|
39
41
|
available_enum_values = {
|
|
40
42
|
...familyContext.get_base_available_enum_values(),
|
|
41
43
|
screen_orientation: [ 'LANDSCAPE', 'PORTRAIT' ],
|
|
@@ -2,6 +2,7 @@ import { familyContext } from "../core/1_familyContext.js";
|
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { register_type_class } from "../core/type_class_resolver.js";
|
|
4
4
|
import { typeUserAgentContext_i18n } from "../element_translate/typeUserAgentContext.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -45,6 +46,7 @@ export class typeUserAgentContext extends familyContext
|
|
|
45
46
|
...familyContext.get_catalog_base_structure_scheme(),
|
|
46
47
|
};
|
|
47
48
|
|
|
49
|
+
/** @type {Record<string, string[]>} */
|
|
48
50
|
available_enum_values = {
|
|
49
51
|
...familyContext.get_base_available_enum_values(),
|
|
50
52
|
device_class: [ 'DESKTOP', 'MOBILE', 'TABLET', 'TV', 'WATCH', 'OTHER' ],
|
package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCatalog.js
RENAMED
|
@@ -22,7 +22,16 @@ export function get_autotest_step_action_class(action_name)
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @param {string} action_name
|
|
25
|
-
* @returns {
|
|
25
|
+
* @returns {{
|
|
26
|
+
* type_id: string,
|
|
27
|
+
* action_name: string,
|
|
28
|
+
* group: string,
|
|
29
|
+
* category: string,
|
|
30
|
+
* value_need: string,
|
|
31
|
+
* target_need: string,
|
|
32
|
+
* has_expected_value: boolean,
|
|
33
|
+
* value_field_key: string
|
|
34
|
+
* }|null}
|
|
26
35
|
*/
|
|
27
36
|
export function get_autotest_step_action_entry(action_name)
|
|
28
37
|
{
|
|
@@ -37,7 +46,16 @@ export function get_autotest_step_action_entry(action_name)
|
|
|
37
46
|
|
|
38
47
|
|
|
39
48
|
/**
|
|
40
|
-
* @returns {
|
|
49
|
+
* @returns {Array<{
|
|
50
|
+
* type_id: string,
|
|
51
|
+
* action_name: string,
|
|
52
|
+
* group: string,
|
|
53
|
+
* category: string,
|
|
54
|
+
* value_need: string,
|
|
55
|
+
* target_need: string,
|
|
56
|
+
* has_expected_value: boolean,
|
|
57
|
+
* value_field_key: string
|
|
58
|
+
* }>}
|
|
41
59
|
*/
|
|
42
60
|
export function list_autotest_step_actions()
|
|
43
61
|
{
|
|
@@ -50,7 +68,16 @@ export function list_autotest_step_actions()
|
|
|
50
68
|
* Empty categories are not returned.
|
|
51
69
|
*
|
|
52
70
|
* @version v.1.0 (14/09/2026)
|
|
53
|
-
* @returns {Array<{category: string, actions:
|
|
71
|
+
* @returns {Array<{category: string, actions: Array<{
|
|
72
|
+
* type_id: string,
|
|
73
|
+
* action_name: string,
|
|
74
|
+
* group: string,
|
|
75
|
+
* category: string,
|
|
76
|
+
* value_need: string,
|
|
77
|
+
* target_need: string,
|
|
78
|
+
* has_expected_value: boolean,
|
|
79
|
+
* value_field_key: string
|
|
80
|
+
* }>}>}
|
|
54
81
|
*/
|
|
55
82
|
export function list_autotest_step_actions_by_category()
|
|
56
83
|
{
|
package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepAction.js
RENAMED
|
@@ -17,7 +17,16 @@ export class typeAutotestStepAction
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @returns {
|
|
20
|
+
* @returns {{
|
|
21
|
+
* type_id: string,
|
|
22
|
+
* action_name: string,
|
|
23
|
+
* group: string,
|
|
24
|
+
* category: string,
|
|
25
|
+
* value_need: string,
|
|
26
|
+
* target_need: string,
|
|
27
|
+
* has_expected_value: boolean,
|
|
28
|
+
* value_field_key: string
|
|
29
|
+
* }}
|
|
21
30
|
*/
|
|
22
31
|
catalog_entry()
|
|
23
32
|
{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -30,6 +31,7 @@ export class typeAutomationTestEnvironment extends familyTestAutomation
|
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
|
|
34
|
+
/** @type {Record<string, string[]>} */
|
|
33
35
|
available_enum_values = {
|
|
34
36
|
device_type : [
|
|
35
37
|
'desktop',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -25,6 +26,7 @@ export class typeAutomationTestStep extends familyTestAutomation
|
|
|
25
26
|
url : 'string | optional',
|
|
26
27
|
};
|
|
27
28
|
|
|
29
|
+
/** @type {Record<string, string[]>} */
|
|
28
30
|
available_enum_values = {
|
|
29
31
|
action: [
|
|
30
32
|
'wait_element_located',
|