complexqa_frontend_core 1.6.8 → 1.7.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.6.8",
3
+ "version": "1.7.2",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
package/publish/index.js CHANGED
@@ -1,17 +1,24 @@
1
- import { serviceTranslate } from "./services/serviceTranslate";
1
+ // import { serviceTranslate } from "./services/serviceTranslate";
2
2
 
3
3
 
4
- export { typeFilter } from './types/family_service/typeFilter.js';
4
+ export { Api } from "./api/index.js";
5
+ export { UserService } from './services/UserService.js';
6
+
5
7
  export { typeFOR } from './types/family_service/typeFOR.js';
8
+ export { typeFilter } from './types/family_service/typeFilter.js';
9
+ export { TableBaseConfig } from './app_configuration/table_base_config.js';
10
+ export { TableConfiguration } from './app_configuration/table_configuration.js';
11
+
6
12
  export { typeProject } from './types/family_elements/typeProject.js';
13
+ export { typeTestSuite } from './types/family_elements/typeTestSuite.js'
7
14
  export { typeTestCase } from './types/family_elements/typeTestCase.js';
8
- export { typeTestRun } from './types/family_elements/typeTestRun.js'
9
15
  export { typeTestCaseStep } from './types/family_elements/typeTestCaseStep.js';
10
- export { UserService } from './services/UserService.js';
11
- export { Api } from "./api/index.js";
16
+ export { typeTestRun } from './types/family_elements/typeTestRun.js'
17
+ export { typeTestRunResult } from './types/family_elements/typeTestRunResult.js'
18
+
12
19
  export { typeTeam } from './types/family_elements/typeTeam.js';
13
- export { TableConfiguration } from './app_configuration/table_configuration.js'
14
- export { TableBaseConfig } from './app_configuration/table_base_config.js'
20
+ export { typeTeamMember } from './types/family_elements/typeTeamMember.js';
21
+
15
22
 
16
23
 
17
24
  /**
@@ -439,4 +439,43 @@ export class familyGeneralElement
439
439
  }
440
440
  });
441
441
  }
442
+
443
+
444
+
445
+ /**
446
+ *
447
+ * @version v.1.0 (07/03/2026)
448
+ */
449
+ async delete_mass(element_ids, callback = {})
450
+ {
451
+
452
+ }
453
+
454
+
455
+ /**
456
+ *
457
+ * @version v.1.0 (07/03/2026)
458
+ */
459
+ async clone_element(element = false, callback = {})
460
+ {
461
+ if (!this.api_key)
462
+ {
463
+ throw new Error('element has not api_key');
464
+ }
465
+
466
+ if (!element)
467
+ {
468
+ element = this;
469
+ }
470
+ }
471
+
472
+
473
+ /**
474
+ *
475
+ * @version v.1.0 (07/03/2026)
476
+ */
477
+ async clone_element_mass(element_ids, callback = {})
478
+ {
479
+
480
+ }
442
481
  }
@@ -1,4 +1,3 @@
1
- import { familyGeneralElement } from "./0_familyGeneralElement";
2
1
  import { is_object } from "../../utils/utils";
3
2
  import { familyTestDocumentation } from "./1_familyTestDocumentation.js";
4
3
 
@@ -15,10 +14,10 @@ export class typeTestRunResult extends familyTestDocumentation
15
14
  test_case_id;
16
15
  test_run_id;
17
16
  test_result_status;
18
- task_id; // надо ли?
17
+ //task_id; // надо ли?
19
18
  project_id;
20
- functional_id; // надо ли?
21
- milestone_id;
19
+ //functional_id; // надо ли?
20
+ //milestone_id;
22
21
  elapsed_time; // фактическое время выполнения
23
22
  reference_defects_ids; // list of IDs in user bug tracker / include sentry ids
24
23
 
@@ -36,10 +35,10 @@ export class typeTestRunResult extends familyTestDocumentation
36
35
  test_case_id : 'integer | require',
37
36
  test_run_id : 'integer | require',
38
37
  test_result_status : 'string | enum | require',
39
- task_id : 'integer | require',
38
+ //task_id : 'integer | require',
40
39
  project_id : 'integer | require',
41
- functional_id : 'integer | optional',
42
- milestone_id : 'integer | optional',
40
+ //functional_id : 'integer | optional',
41
+ //milestone_id : 'integer | optional',
43
42
  test_run_result_to_execute: 'time | optional',
44
43
  reference_defects_ids : 'array | reference | optional',
45
44
  };
@@ -1,4 +1,3 @@
1
- import { familyGeneralElement } from "./0_familyGeneralElement";
2
1
  import { echo, is_object } from "../../utils/utils";
3
2
  import { familyTestDocumentation } from "./1_familyTestDocumentation.js";
4
3
 
@@ -11,6 +10,7 @@ export class typeTestSuite extends familyTestDocumentation
11
10
  {
12
11
  test_suite_id;
13
12
  project_id;
13
+ parent_test_suite_id;
14
14
  //functional_id; // пока убрал, думаю, что можно без этого всё сделать
15
15
  test_suite_name;
16
16
  test_suite_description;
@@ -24,6 +24,7 @@ export class typeTestSuite extends familyTestDocumentation
24
24
  structure_scheme = {
25
25
  test_suite_id: 'integer | require',
26
26
  project_id : 'integer | require',
27
+ parent_test_suite_id : 'integer | optional',
27
28
  //functional_id : 'integer | optional',
28
29
  test_suite_name : 'string | optional',
29
30
  test_suite_description: 'string | optional',