complexqa_frontend_core 2.8.1 → 2.9.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/src/api/index.js +12 -0
- package/src/api/mcp_testing/mcp_call_api.js +51 -1
- package/src/api/mcp_testing/mcp_call_expected_output_value_api.js +16 -0
- package/src/api/mcp_testing/mcp_call_expected_text_content_api.js +16 -0
- package/src/api/mcp_testing/mcp_call_run_api.js +64 -0
- package/src/api/mcp_testing/mcp_call_run_item_api.js +16 -0
- package/src/api/mcp_testing/mcp_call_run_job_api.js +16 -0
- package/src/api/mcp_testing/mcp_call_run_result_api.js +16 -0
- package/src/index.js +6 -0
- package/src/types/element_translate/typeMcpCall.i18n.js +40 -1
- package/src/types/element_translate/typeMcpCallExpectedOutputValue.i18n.js +107 -0
- package/src/types/element_translate/typeMcpCallExpectedTextContent.i18n.js +54 -0
- package/src/types/element_translate/typeMcpCallRun.i18n.js +95 -0
- package/src/types/element_translate/typeMcpCallRunItem.i18n.js +42 -0
- package/src/types/element_translate/typeMcpCallRunJob.i18n.js +115 -0
- package/src/types/element_translate/typeMcpCallRunResult.i18n.js +99 -0
- package/src/types/family_mcp_testing/typeMcpCall.js +12 -1
- package/src/types/family_mcp_testing/typeMcpCallExpectedOutputValue.js +80 -0
- package/src/types/family_mcp_testing/typeMcpCallExpectedTextContent.js +68 -0
- package/src/types/family_mcp_testing/typeMcpCallRun.js +85 -0
- package/src/types/family_mcp_testing/typeMcpCallRunItem.js +69 -0
- package/src/types/family_mcp_testing/typeMcpCallRunJob.js +86 -0
- package/src/types/family_mcp_testing/typeMcpCallRunResult.js +83 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { is_object } from "../../utils/utils.js";
|
|
2
|
+
import { familyMcpTesting } from "./familyMcpTesting.js";
|
|
3
|
+
import { typeMcpCallRunResult_i18n } from "../element_translate/typeMcpCallRunResult.i18n.js";
|
|
4
|
+
import { register_type_class } from "../core/type_class_resolver.js";
|
|
5
|
+
import _ from 'underscore';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @version v.1.0 (02/11/2026)
|
|
9
|
+
*/
|
|
10
|
+
export class typeMcpCallRunResult extends familyMcpTesting
|
|
11
|
+
{
|
|
12
|
+
mcp_call_run_result_id;
|
|
13
|
+
mcp_call_run_id;
|
|
14
|
+
mcp_call_id;
|
|
15
|
+
mcp_call_result_id;
|
|
16
|
+
mcp_server_id;
|
|
17
|
+
team_id;
|
|
18
|
+
project_id;
|
|
19
|
+
mcp_call_run_result_status;
|
|
20
|
+
failure_reason;
|
|
21
|
+
started_at;
|
|
22
|
+
finished_at;
|
|
23
|
+
created_at;
|
|
24
|
+
updated_at;
|
|
25
|
+
|
|
26
|
+
primary_key = 'mcp_call_run_result_id';
|
|
27
|
+
api_key = 'mcp_call_run_result';
|
|
28
|
+
clone_element = false;
|
|
29
|
+
clone_element_mass = false;
|
|
30
|
+
|
|
31
|
+
structure_scheme = {
|
|
32
|
+
mcp_call_run_result_id: 'integer | require',
|
|
33
|
+
mcp_call_run_id: 'integer | typeMcpCallRun | require',
|
|
34
|
+
mcp_call_id: 'integer | typeMcpCall | require',
|
|
35
|
+
mcp_call_result_id: 'integer | typeMcpCallResult | optional',
|
|
36
|
+
mcp_server_id: 'integer | typeMcpServer | require',
|
|
37
|
+
team_id: 'integer | require',
|
|
38
|
+
project_id: 'integer | require',
|
|
39
|
+
mcp_call_run_result_status: 'string | enum | require',
|
|
40
|
+
failure_reason: 'string | optional',
|
|
41
|
+
started_at: 'timestamp | optional',
|
|
42
|
+
finished_at: 'timestamp | optional',
|
|
43
|
+
created_at: 'timestamp | require',
|
|
44
|
+
updated_at: 'timestamp | require',
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
create_scheme = [];
|
|
48
|
+
|
|
49
|
+
available_enum_values = {
|
|
50
|
+
mcp_call_run_result_status: [ 'PENDING', 'PASSED', 'FAILED', 'SKIPPED', 'ERROR' ],
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
enum_value_translate_matrix = typeMcpCallRunResult_i18n.enum_value_translate_matrix;
|
|
54
|
+
attribute_name_translate_matrix = typeMcpCallRunResult_i18n.attribute_name_translate_matrix;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {object|false|undefined} data
|
|
58
|
+
*/
|
|
59
|
+
constructor(data = false)
|
|
60
|
+
{
|
|
61
|
+
super();
|
|
62
|
+
|
|
63
|
+
if (data && is_object(data))
|
|
64
|
+
{
|
|
65
|
+
_.mapObject(data, (value, key) =>
|
|
66
|
+
{
|
|
67
|
+
if (this.hasOwnProperty(key))
|
|
68
|
+
{
|
|
69
|
+
this[ key ] = value;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
get_element_name()
|
|
78
|
+
{
|
|
79
|
+
return String(this.mcp_call_run_result_id || '');
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
register_type_class('typeMcpCallRunResult', typeMcpCallRunResult);
|