complexqa_frontend_core 1.24.1 → 1.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/publish/api/attachment_api.js +55 -0
- package/publish/api/file_app_api.js +22 -0
- package/publish/api/index.js +6 -0
- package/publish/api/team_domain_api.js +62 -0
- package/publish/api/team_management_api.js +1 -1
- package/publish/api/util/url_inspect_api.js +54 -0
- package/publish/app_configuration/table/helpers/table_element_models.js +6 -0
- package/publish/app_configuration/table/sections/team_domain.js +55 -0
- package/publish/app_configuration/table/sections/util_execution_url_inspect.js +60 -0
- package/publish/app_configuration/table/table_configuration.js +4 -0
- package/publish/index.js +4 -0
- package/publish/services/FileAppService.js +67 -21
- package/publish/types/element_translate/typeAttachment.i18n.js +201 -0
- package/publish/types/element_translate/typeTeamDomain.i18n.js +71 -0
- package/publish/types/element_translate/typeTeamTotalStatistic.i18n.js +210 -67
- package/publish/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +55 -0
- package/publish/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +111 -0
- package/publish/types/family_contracts/typeTeamTotalStatistic.js +6 -10
- package/publish/types/family_elements/typeAttachment.js +119 -0
- package/publish/types/family_elements/typeTeam.js +5 -2
- package/publish/types/family_elements/typeTeamDomain.js +172 -0
- package/publish/types/family_events/familyEvent.js +1 -0
- package/publish/types/family_files/typeFileScreenshot.js +2 -2
- package/publish/types/family_utils/typeUtilExecutionUrlInspect.js +199 -0
- package/publish/types/family_utils/typeUtilExecutionUrlInspectCheck.js +100 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { familyUtil } from "./familyUtil.js";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import { typeUtilExecutionUrlInspectCheck_i18n } from "../element_translate/typeUtilExecutionUrlInspectCheck.i18n.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* One probe inside url.inspect suite (check_kind + check_status + finding_code).
|
|
8
|
+
* finding_code is not a status. Viewport screenshots live on suite.browser, not on this type.
|
|
9
|
+
*
|
|
10
|
+
* @version v.0.1 (14/08/2026)
|
|
11
|
+
*/
|
|
12
|
+
export class typeUtilExecutionUrlInspectCheck extends familyUtil
|
|
13
|
+
{
|
|
14
|
+
url_inspect_check_id;
|
|
15
|
+
util_execution_id;
|
|
16
|
+
sort_order;
|
|
17
|
+
check_kind;
|
|
18
|
+
check_status;
|
|
19
|
+
finding_code;
|
|
20
|
+
summary_message;
|
|
21
|
+
detail_message;
|
|
22
|
+
|
|
23
|
+
primary_key = 'url_inspect_check_id';
|
|
24
|
+
api_key = 'url_inspect';
|
|
25
|
+
|
|
26
|
+
structure_scheme = {
|
|
27
|
+
url_inspect_check_id: 'integer | optional',
|
|
28
|
+
util_execution_id : 'integer | optional',
|
|
29
|
+
sort_order : 'integer | optional',
|
|
30
|
+
check_kind : 'string | enum | optional',
|
|
31
|
+
check_status : 'string | enum | optional',
|
|
32
|
+
finding_code : 'string | enum | optional',
|
|
33
|
+
summary_message : 'string | optional',
|
|
34
|
+
detail_message : 'string | optional',
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
available_enum_values = {
|
|
38
|
+
check_kind : [ 'DNS', 'TCP_80', 'TCP_443', 'TLS', 'HTTP', 'HTTPS', 'SECURITY_HEADERS', 'BROWSER' ],
|
|
39
|
+
check_status: [ 'PENDING', 'QUEUED', 'RUNNING', 'COMPLETED', 'SKIPPED', 'ERROR' ],
|
|
40
|
+
finding_code: [
|
|
41
|
+
'SUCCESS',
|
|
42
|
+
'ERR_NAME_NOT_RESOLVED',
|
|
43
|
+
'ERR_CONNECTION_REFUSED',
|
|
44
|
+
'ERR_CONNECTION_TIMED_OUT',
|
|
45
|
+
'ERR_CERT_DATE_INVALID',
|
|
46
|
+
'ERR_CERT_AUTHORITY_INVALID',
|
|
47
|
+
'ERR_CERT_COMMON_NAME_INVALID',
|
|
48
|
+
'ERR_SSL_PROTOCOL_ERROR',
|
|
49
|
+
'ERR_TOO_MANY_REDIRECTS',
|
|
50
|
+
'HTTP_STATUS',
|
|
51
|
+
'NO_TLS',
|
|
52
|
+
'EMPTY_BODY',
|
|
53
|
+
'PROTOTYPE_BROWSER_SKIPPED',
|
|
54
|
+
'NO_PUBLIC_ADDRESS',
|
|
55
|
+
'UNKNOWN_CHECK_KIND',
|
|
56
|
+
'BROWSER_FAILED',
|
|
57
|
+
'BROWSER_SUBMIT_FAILED',
|
|
58
|
+
],
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
enum_value_translate_matrix = typeUtilExecutionUrlInspectCheck_i18n.enum_value_translate_matrix;
|
|
62
|
+
attribute_name_translate_matrix = typeUtilExecutionUrlInspectCheck_i18n.attribute_name_translate_matrix;
|
|
63
|
+
|
|
64
|
+
status_color = {
|
|
65
|
+
PENDING : '#4D92FA',
|
|
66
|
+
QUEUED : '#009688',
|
|
67
|
+
RUNNING : '#4D92FA',
|
|
68
|
+
COMPLETED: '#009688',
|
|
69
|
+
SKIPPED : '#9E9E9E',
|
|
70
|
+
ERROR : '#E66565',
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
clone_element = false;
|
|
74
|
+
delete_mass = false;
|
|
75
|
+
update_properties = false;
|
|
76
|
+
update = false;
|
|
77
|
+
clone_element_mass = false;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @param {object|false|undefined} data
|
|
82
|
+
*/
|
|
83
|
+
constructor(data = false)
|
|
84
|
+
{
|
|
85
|
+
super();
|
|
86
|
+
|
|
87
|
+
if (data && is_object(data))
|
|
88
|
+
{
|
|
89
|
+
_.mapObject(data, (value, key) =>
|
|
90
|
+
{
|
|
91
|
+
if (this.hasOwnProperty(key))
|
|
92
|
+
{
|
|
93
|
+
this [ key ] = value;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
}
|