complexqa_frontend_core 1.0.7 → 1.0.8
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/complexqa_frontend_core.js +211 -59
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Api } from "./api";
|
|
2
|
+
import { serviceTranslate } from "./services/serviceTranslate";
|
|
1
3
|
|
|
2
4
|
/**
|
|
3
5
|
* Прототип идеи, пока не уверен, что именно так надо
|
|
@@ -39,7 +41,11 @@ export class App
|
|
|
39
41
|
this.service.translate = new serviceTranslate();
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
import { clone_object, echo, is_array } from "../utils/utils";
|
|
46
|
+
import axios from "axios";
|
|
47
|
+
import * as qs from "query-string/base";
|
|
48
|
+
import { ApiException } from "../exceptions/ApiException";
|
|
43
49
|
|
|
44
50
|
/**
|
|
45
51
|
* Общие методы для всех типизированных элементов
|
|
@@ -461,7 +467,9 @@ export class ApiAbstractElementClass
|
|
|
461
467
|
|
|
462
468
|
return response;
|
|
463
469
|
}
|
|
464
|
-
}
|
|
470
|
+
}
|
|
471
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
472
|
+
import { typeFunctional } from "../types/family_elements/typeFunctional";
|
|
465
473
|
|
|
466
474
|
|
|
467
475
|
/**
|
|
@@ -477,7 +485,12 @@ export class FunctionalApi extends ApiAbstractElementClass
|
|
|
477
485
|
super(options);
|
|
478
486
|
this.set_element_class_instance(typeFunctional);
|
|
479
487
|
}
|
|
480
|
-
}
|
|
488
|
+
}
|
|
489
|
+
import { TestPlanApi } from "./test_plan_api";
|
|
490
|
+
import { ProjectApi } from "./project_api";
|
|
491
|
+
import { ServiceApi } from "./service_api";
|
|
492
|
+
import { TestCaseApi } from "./test_case_api";
|
|
493
|
+
import { TestSuiteApi } from "./test_suite_api";
|
|
481
494
|
|
|
482
495
|
/**
|
|
483
496
|
* Обертка над axios
|
|
@@ -586,7 +599,9 @@ export class Api
|
|
|
586
599
|
this.test_case = new TestCaseApi(payload);
|
|
587
600
|
this.test_suite = new TestSuiteApi(payload);
|
|
588
601
|
}
|
|
589
|
-
}
|
|
602
|
+
}
|
|
603
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
604
|
+
import { typeProject } from "../types/family_elements/typeProject";
|
|
590
605
|
|
|
591
606
|
/**
|
|
592
607
|
*
|
|
@@ -601,7 +616,7 @@ export class ProjectApi extends ApiAbstractElementClass
|
|
|
601
616
|
super(options);
|
|
602
617
|
this.set_element_class_instance(typeProject);
|
|
603
618
|
}
|
|
604
|
-
}
|
|
619
|
+
}
|
|
605
620
|
|
|
606
621
|
// тут нужен свой класс, не для типов
|
|
607
622
|
export class ServiceApi
|
|
@@ -621,7 +636,9 @@ export class ServiceApi
|
|
|
621
636
|
{
|
|
622
637
|
return [];
|
|
623
638
|
}
|
|
624
|
-
}
|
|
639
|
+
}
|
|
640
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
641
|
+
import { typeTeamMember } from "../types/family_elements/typeTeamMember";
|
|
625
642
|
|
|
626
643
|
|
|
627
644
|
/**
|
|
@@ -637,7 +654,9 @@ export class TeamMemberApi extends ApiAbstractElementClass
|
|
|
637
654
|
super(options);
|
|
638
655
|
this.set_element_class_instance(typeTeamMember);
|
|
639
656
|
}
|
|
640
|
-
}
|
|
657
|
+
}
|
|
658
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
659
|
+
import { typeTestCase } from "../types/family_elements/typeTestCase";
|
|
641
660
|
|
|
642
661
|
|
|
643
662
|
/**
|
|
@@ -653,7 +672,9 @@ export class TestCaseApi extends ApiAbstractElementClass
|
|
|
653
672
|
super(options);
|
|
654
673
|
this.set_element_class_instance(typeTestCase);
|
|
655
674
|
}
|
|
656
|
-
}
|
|
675
|
+
}
|
|
676
|
+
import { typeTestCaseStep } from "../types/family_elements/typeTestCaseStep";
|
|
677
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
657
678
|
|
|
658
679
|
|
|
659
680
|
/**
|
|
@@ -669,7 +690,9 @@ export class TestCaseStepApi extends ApiAbstractElementClass
|
|
|
669
690
|
super(options);
|
|
670
691
|
this.set_element_class_instance(typeTestCaseStep);
|
|
671
692
|
}
|
|
672
|
-
}
|
|
693
|
+
}
|
|
694
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
695
|
+
import { typeTestPlan } from "../types/family_elements/typeTestPlan";
|
|
673
696
|
|
|
674
697
|
|
|
675
698
|
/**
|
|
@@ -685,7 +708,9 @@ export class TestPlanApi extends ApiAbstractElementClass
|
|
|
685
708
|
super(options);
|
|
686
709
|
this.set_element_class_instance(typeTestPlan);
|
|
687
710
|
}
|
|
688
|
-
}
|
|
711
|
+
}
|
|
712
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
713
|
+
import { typeTestRun } from "../types/family_elements/typeTestRun";
|
|
689
714
|
|
|
690
715
|
export class TestRunApi extends ApiAbstractElementClass
|
|
691
716
|
{
|
|
@@ -696,7 +721,9 @@ export class TestRunApi extends ApiAbstractElementClass
|
|
|
696
721
|
super(options);
|
|
697
722
|
this.set_element_class_instance(typeTestRun);
|
|
698
723
|
}
|
|
699
|
-
}
|
|
724
|
+
}
|
|
725
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
726
|
+
import { typeTestRunResult } from "../types/family_elements/typeTestRunResult";
|
|
700
727
|
|
|
701
728
|
|
|
702
729
|
/**
|
|
@@ -712,7 +739,9 @@ export class TestRunResultApi extends ApiAbstractElementClass
|
|
|
712
739
|
super(options);
|
|
713
740
|
this.set_element_class_instance(typeTestRunResult);
|
|
714
741
|
}
|
|
715
|
-
}
|
|
742
|
+
}
|
|
743
|
+
import { ApiAbstractElementClass } from "./api_abstract_element_class";
|
|
744
|
+
import { typeTestSuite } from "../types/family_elements/typeTestSuite";
|
|
716
745
|
|
|
717
746
|
|
|
718
747
|
/**
|
|
@@ -728,7 +757,7 @@ export class TestSuiteApi extends ApiAbstractElementClass
|
|
|
728
757
|
super(options);
|
|
729
758
|
this.set_element_class_instance(typeTestSuite);
|
|
730
759
|
}
|
|
731
|
-
}
|
|
760
|
+
}
|
|
732
761
|
export class ApiException extends Error
|
|
733
762
|
{
|
|
734
763
|
/**
|
|
@@ -797,7 +826,7 @@ export class ApiException extends Error
|
|
|
797
826
|
return this.#message;
|
|
798
827
|
}
|
|
799
828
|
}
|
|
800
|
-
}
|
|
829
|
+
}
|
|
801
830
|
/**
|
|
802
831
|
*
|
|
803
832
|
* @version v.0.1 (25/06/2024)
|
|
@@ -833,7 +862,10 @@ export class abstractService
|
|
|
833
862
|
{
|
|
834
863
|
|
|
835
864
|
}*/
|
|
836
|
-
}
|
|
865
|
+
}
|
|
866
|
+
import { abstractService } from "./abstractService";
|
|
867
|
+
import i18next from 'i18next';
|
|
868
|
+
import { Api } from "../api";
|
|
837
869
|
|
|
838
870
|
/**
|
|
839
871
|
*
|
|
@@ -928,7 +960,9 @@ export class serviceTranslate extends abstractService
|
|
|
928
960
|
{
|
|
929
961
|
return this.#vendor_instance.t(group + '.' + key);
|
|
930
962
|
}
|
|
931
|
-
}
|
|
963
|
+
}
|
|
964
|
+
import { abstractService } from "./abstractService";
|
|
965
|
+
import { MockUserService } from "./mock_data/MockUserService";
|
|
932
966
|
|
|
933
967
|
/**
|
|
934
968
|
*
|
|
@@ -1056,7 +1090,7 @@ export class UserService extends abstractService
|
|
|
1056
1090
|
UserService.current_language = current_language;
|
|
1057
1091
|
}
|
|
1058
1092
|
}
|
|
1059
|
-
|
|
1093
|
+
|
|
1060
1094
|
/**
|
|
1061
1095
|
*
|
|
1062
1096
|
* @param {object} object
|
|
@@ -1246,7 +1280,7 @@ export function in_array(value, array, strict = false)
|
|
|
1246
1280
|
export function cls()
|
|
1247
1281
|
{
|
|
1248
1282
|
console.clear();
|
|
1249
|
-
}
|
|
1283
|
+
}
|
|
1250
1284
|
export class MockUserService
|
|
1251
1285
|
{
|
|
1252
1286
|
static mock_attributes = [ {
|
|
@@ -1276,7 +1310,8 @@ export class MockUserService
|
|
|
1276
1310
|
},
|
|
1277
1311
|
];
|
|
1278
1312
|
|
|
1279
|
-
}
|
|
1313
|
+
}
|
|
1314
|
+
import { clone_object, echo, in_array, is_array } from "../../utils/utils";
|
|
1280
1315
|
|
|
1281
1316
|
/**
|
|
1282
1317
|
* Базовый абстрактный класс для всех типов
|
|
@@ -1714,7 +1749,7 @@ export class familyGeneralElement
|
|
|
1714
1749
|
}
|
|
1715
1750
|
});
|
|
1716
1751
|
}
|
|
1717
|
-
}
|
|
1752
|
+
}
|
|
1718
1753
|
/**
|
|
1719
1754
|
* Заготовка - логи действий
|
|
1720
1755
|
*
|
|
@@ -1723,7 +1758,9 @@ export class familyGeneralElement
|
|
|
1723
1758
|
export class typeActionLog
|
|
1724
1759
|
{
|
|
1725
1760
|
|
|
1726
|
-
}
|
|
1761
|
+
}
|
|
1762
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
1763
|
+
import { is_object } from "../../utils/utils";
|
|
1727
1764
|
|
|
1728
1765
|
|
|
1729
1766
|
/**
|
|
@@ -1817,7 +1854,9 @@ export class typeFunctional extends familyGeneralElement
|
|
|
1817
1854
|
}
|
|
1818
1855
|
|
|
1819
1856
|
|
|
1820
|
-
}
|
|
1857
|
+
}
|
|
1858
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
1859
|
+
import { is_object } from "../../utils/utils";
|
|
1821
1860
|
|
|
1822
1861
|
|
|
1823
1862
|
/**
|
|
@@ -1910,7 +1949,9 @@ export class typeFunctionalGroup extends familyGeneralElement
|
|
|
1910
1949
|
}
|
|
1911
1950
|
|
|
1912
1951
|
|
|
1913
|
-
}
|
|
1952
|
+
}
|
|
1953
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
1954
|
+
import { is_object } from "../../utils/utils";
|
|
1914
1955
|
|
|
1915
1956
|
/**
|
|
1916
1957
|
*
|
|
@@ -2001,7 +2042,10 @@ export class typeMilestone extends familyGeneralElement
|
|
|
2001
2042
|
}
|
|
2002
2043
|
|
|
2003
2044
|
|
|
2004
|
-
}
|
|
2045
|
+
}
|
|
2046
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2047
|
+
import { echo, is_object } from "../../utils/utils";
|
|
2048
|
+
import { MockDataTypeProject } from "./mock_data/mock_data_typeProject";
|
|
2005
2049
|
|
|
2006
2050
|
|
|
2007
2051
|
/**
|
|
@@ -2112,7 +2156,9 @@ export class typeProject extends familyGeneralElement
|
|
|
2112
2156
|
member_get() {}
|
|
2113
2157
|
|
|
2114
2158
|
|
|
2115
|
-
}
|
|
2159
|
+
}
|
|
2160
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2161
|
+
import { is_object } from "../../utils/utils";
|
|
2116
2162
|
|
|
2117
2163
|
/**
|
|
2118
2164
|
* (идея) - у проекта должна быть тестовая документация
|
|
@@ -2190,7 +2236,9 @@ export class typeProjectDocument extends familyGeneralElement
|
|
|
2190
2236
|
{
|
|
2191
2237
|
|
|
2192
2238
|
}
|
|
2193
|
-
}
|
|
2239
|
+
}
|
|
2240
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2241
|
+
import { is_object } from "../../utils/utils";
|
|
2194
2242
|
|
|
2195
2243
|
/**
|
|
2196
2244
|
* Тестовые аккаунты
|
|
@@ -2247,7 +2295,9 @@ export class typeProjectTestAccount extends familyGeneralElement
|
|
|
2247
2295
|
|
|
2248
2296
|
return this;
|
|
2249
2297
|
}
|
|
2250
|
-
}
|
|
2298
|
+
}
|
|
2299
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2300
|
+
import { is_object } from "../../utils/utils";
|
|
2251
2301
|
|
|
2252
2302
|
/**
|
|
2253
2303
|
* Тестовые данные
|
|
@@ -2288,7 +2338,9 @@ export class typeProjectTestData extends familyGeneralElement
|
|
|
2288
2338
|
|
|
2289
2339
|
return this;
|
|
2290
2340
|
}
|
|
2291
|
-
}
|
|
2341
|
+
}
|
|
2342
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2343
|
+
import { is_object } from "../../utils/utils";
|
|
2292
2344
|
|
|
2293
2345
|
/**
|
|
2294
2346
|
* Роли в проекте
|
|
@@ -2341,7 +2393,9 @@ export class typeProjectUserRole extends familyGeneralElement
|
|
|
2341
2393
|
|
|
2342
2394
|
return this;
|
|
2343
2395
|
}
|
|
2344
|
-
}
|
|
2396
|
+
}
|
|
2397
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2398
|
+
import { is_object } from "../../utils/utils";
|
|
2345
2399
|
|
|
2346
2400
|
|
|
2347
2401
|
/**
|
|
@@ -2417,7 +2471,9 @@ export class typeTask extends familyGeneralElement
|
|
|
2417
2471
|
|
|
2418
2472
|
return this;
|
|
2419
2473
|
}
|
|
2420
|
-
}
|
|
2474
|
+
}
|
|
2475
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2476
|
+
import { is_object } from "../../utils/utils";
|
|
2421
2477
|
|
|
2422
2478
|
|
|
2423
2479
|
/**
|
|
@@ -2520,7 +2576,9 @@ export class typeTeam extends familyGeneralElement
|
|
|
2520
2576
|
user_delete() {}
|
|
2521
2577
|
|
|
2522
2578
|
users_get() {}
|
|
2523
|
-
}
|
|
2579
|
+
}
|
|
2580
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2581
|
+
import { is_object } from "../../utils/utils";
|
|
2524
2582
|
|
|
2525
2583
|
|
|
2526
2584
|
/**
|
|
@@ -2576,7 +2634,9 @@ export class typeTeamMember extends familyGeneralElement
|
|
|
2576
2634
|
|
|
2577
2635
|
return this;
|
|
2578
2636
|
}
|
|
2579
|
-
}
|
|
2637
|
+
}
|
|
2638
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2639
|
+
import { is_object } from "../../utils/utils";
|
|
2580
2640
|
|
|
2581
2641
|
/**
|
|
2582
2642
|
* Роль пользователя в команде
|
|
@@ -2630,7 +2690,9 @@ export class typeTeamUserRole extends familyGeneralElement
|
|
|
2630
2690
|
|
|
2631
2691
|
return this;
|
|
2632
2692
|
}
|
|
2633
|
-
}
|
|
2693
|
+
}
|
|
2694
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2695
|
+
import { echo, is_object } from "../../utils/utils";
|
|
2634
2696
|
|
|
2635
2697
|
|
|
2636
2698
|
/**
|
|
@@ -2726,12 +2788,14 @@ export class typeTestCase extends familyGeneralElement
|
|
|
2726
2788
|
}
|
|
2727
2789
|
|
|
2728
2790
|
|
|
2729
|
-
}
|
|
2791
|
+
}
|
|
2792
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2793
|
+
import { is_object } from "../../utils/utils";
|
|
2730
2794
|
|
|
2731
2795
|
|
|
2732
2796
|
/**
|
|
2733
2797
|
*
|
|
2734
|
-
* @version v.
|
|
2798
|
+
* @version v.1.1 (26/05/2024)
|
|
2735
2799
|
*/
|
|
2736
2800
|
export class typeTestCaseStep extends familyGeneralElement
|
|
2737
2801
|
{
|
|
@@ -2739,14 +2803,81 @@ export class typeTestCaseStep extends familyGeneralElement
|
|
|
2739
2803
|
test_case_step_type;
|
|
2740
2804
|
team_id; // foreign key
|
|
2741
2805
|
test_case_id; // relations
|
|
2806
|
+
sort_order;
|
|
2742
2807
|
step_text;
|
|
2808
|
+
step_element;
|
|
2809
|
+
step_element_action;
|
|
2810
|
+
step_excepted_result;
|
|
2743
2811
|
|
|
2744
2812
|
primary_key = 'test_case_step_id';
|
|
2813
|
+
api_key = 'test_case_step';
|
|
2814
|
+
|
|
2815
|
+
structure_scheme = {
|
|
2816
|
+
test_case_step_id : 'integer | require',
|
|
2817
|
+
test_case_step_type : 'string | enum | optional',
|
|
2818
|
+
team_id : 'integer | require',
|
|
2819
|
+
test_case_id : 'integer | require',
|
|
2820
|
+
sort_order : 'integer | optional',
|
|
2821
|
+
step_text : 'string | optional',
|
|
2822
|
+
step_element : 'string | optional',
|
|
2823
|
+
step_element_action : 'string | optional',
|
|
2824
|
+
step_excepted_result: 'string | optional',
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2745
2827
|
|
|
2746
2828
|
available_enum_values = {
|
|
2747
2829
|
test_case_step_type: [ 'TEST_CASE_STEP', 'TEST_CASE_PRESTEP' ],
|
|
2748
2830
|
};
|
|
2749
|
-
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
/******************************************************************************************/
|
|
2834
|
+
/******************************************************************************************/
|
|
2835
|
+
/******************************************************************************************/
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
*
|
|
2840
|
+
* @param {object|false|undefined} data
|
|
2841
|
+
*/
|
|
2842
|
+
constructor(data = false)
|
|
2843
|
+
{
|
|
2844
|
+
super();
|
|
2845
|
+
|
|
2846
|
+
if (data && is_object(data))
|
|
2847
|
+
{
|
|
2848
|
+
_.mapObject(data, (value, key) =>
|
|
2849
|
+
{
|
|
2850
|
+
if (this.hasOwnProperty(key))
|
|
2851
|
+
{
|
|
2852
|
+
this [ key ] = value;
|
|
2853
|
+
}
|
|
2854
|
+
});
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
return this;
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
/******************************************************************************************/
|
|
2863
|
+
/******************************************************************************************/
|
|
2864
|
+
/******************************************************************************************/
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
*
|
|
2870
|
+
* @version v.0.1 (05/06/2025)
|
|
2871
|
+
*
|
|
2872
|
+
* @returns {string}
|
|
2873
|
+
*/
|
|
2874
|
+
get_element_name()
|
|
2875
|
+
{
|
|
2876
|
+
return this.test_suite_name;
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2880
|
+
import { is_object } from "../../utils/utils";
|
|
2750
2881
|
|
|
2751
2882
|
|
|
2752
2883
|
/**
|
|
@@ -2779,7 +2910,9 @@ export class typeTestPlan extends familyGeneralElement
|
|
|
2779
2910
|
|
|
2780
2911
|
return this;
|
|
2781
2912
|
}
|
|
2782
|
-
}
|
|
2913
|
+
}
|
|
2914
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2915
|
+
import { is_object } from "../../utils/utils";
|
|
2783
2916
|
|
|
2784
2917
|
/**
|
|
2785
2918
|
* Коллекция тестов для работы, она же parent для typeTestRunResult
|
|
@@ -2833,7 +2966,9 @@ export class typeTestRun extends familyGeneralElement
|
|
|
2833
2966
|
|
|
2834
2967
|
return this;
|
|
2835
2968
|
}
|
|
2836
|
-
}
|
|
2969
|
+
}
|
|
2970
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
2971
|
+
import { is_object } from "../../utils/utils";
|
|
2837
2972
|
|
|
2838
2973
|
/**
|
|
2839
2974
|
* 1 результат по каждому тест кейсу
|
|
@@ -2903,32 +3038,38 @@ export class typeTestRunResult extends familyGeneralElement
|
|
|
2903
3038
|
|
|
2904
3039
|
return this;
|
|
2905
3040
|
}
|
|
2906
|
-
}
|
|
3041
|
+
}
|
|
3042
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
3043
|
+
import { echo, is_object } from "../../utils/utils";
|
|
2907
3044
|
|
|
2908
3045
|
/**
|
|
2909
3046
|
* Структурная коллекция тестов
|
|
2910
3047
|
*
|
|
2911
|
-
* @version v.
|
|
3048
|
+
* @version v.1.1 (23/06/2024)
|
|
2912
3049
|
*/
|
|
2913
3050
|
export class typeTestSuite extends familyGeneralElement
|
|
2914
3051
|
{
|
|
2915
3052
|
test_suite_id;
|
|
2916
3053
|
project_id;
|
|
2917
|
-
functional_id;
|
|
3054
|
+
//functional_id; // пока убрал, думаю, что можно без этого всё сделать
|
|
2918
3055
|
test_suite_name;
|
|
2919
3056
|
test_suite_description;
|
|
2920
3057
|
team_id;
|
|
3058
|
+
created_at;
|
|
3059
|
+
updated_at;
|
|
2921
3060
|
|
|
2922
3061
|
primary_key = 'test_suite_id';
|
|
2923
|
-
api_key
|
|
3062
|
+
api_key = 'test_suite';
|
|
2924
3063
|
|
|
2925
3064
|
structure_scheme = {
|
|
2926
|
-
test_suite_id
|
|
2927
|
-
project_id
|
|
2928
|
-
functional_id : 'integer | optional',
|
|
3065
|
+
test_suite_id: 'integer | require',
|
|
3066
|
+
project_id : 'integer | require',
|
|
3067
|
+
//functional_id : 'integer | optional',
|
|
2929
3068
|
test_suite_name : 'string | protected | require',
|
|
2930
3069
|
test_suite_description: 'string | require',
|
|
2931
3070
|
team_id : 'integer | require',
|
|
3071
|
+
created_at : 'timestamp | require',
|
|
3072
|
+
updated_at : 'timestamp | optional',
|
|
2932
3073
|
};
|
|
2933
3074
|
|
|
2934
3075
|
|
|
@@ -2955,11 +3096,10 @@ export class typeTestSuite extends familyGeneralElement
|
|
|
2955
3096
|
}
|
|
2956
3097
|
|
|
2957
3098
|
|
|
2958
|
-
|
|
2959
|
-
/******************************************************************************************/
|
|
2960
3099
|
/******************************************************************************************/
|
|
2961
3100
|
/******************************************************************************************/
|
|
2962
3101
|
|
|
3102
|
+
/******************************************************************************************/
|
|
2963
3103
|
|
|
2964
3104
|
|
|
2965
3105
|
/**
|
|
@@ -2973,7 +3113,9 @@ export class typeTestSuite extends familyGeneralElement
|
|
|
2973
3113
|
return this.test_suite_name;
|
|
2974
3114
|
}
|
|
2975
3115
|
|
|
2976
|
-
}
|
|
3116
|
+
}
|
|
3117
|
+
import { familyGeneralElement } from "./0_familyGeneralElement";
|
|
3118
|
+
import { is_object } from "../../utils/utils";
|
|
2977
3119
|
|
|
2978
3120
|
|
|
2979
3121
|
/**
|
|
@@ -3027,7 +3169,7 @@ export class typeUser extends familyGeneralElement
|
|
|
3027
3169
|
|
|
3028
3170
|
return this;
|
|
3029
3171
|
}
|
|
3030
|
-
}
|
|
3172
|
+
}
|
|
3031
3173
|
/**
|
|
3032
3174
|
* базовый тип для всех служебных типов
|
|
3033
3175
|
* @version v.0.1 (26/05/2024)
|
|
@@ -3035,7 +3177,8 @@ export class typeUser extends familyGeneralElement
|
|
|
3035
3177
|
export class familyService
|
|
3036
3178
|
{
|
|
3037
3179
|
//
|
|
3038
|
-
}
|
|
3180
|
+
}
|
|
3181
|
+
import { familyService } from "./familyService";
|
|
3039
3182
|
|
|
3040
3183
|
/**
|
|
3041
3184
|
* Общее конфигурирование приложений
|
|
@@ -3073,7 +3216,8 @@ export class typeAppConfiguration extends familyService
|
|
|
3073
3216
|
|
|
3074
3217
|
return this;
|
|
3075
3218
|
}
|
|
3076
|
-
}
|
|
3219
|
+
}
|
|
3220
|
+
import { familyService } from "./familyService";
|
|
3077
3221
|
|
|
3078
3222
|
/**
|
|
3079
3223
|
*
|
|
@@ -3110,7 +3254,8 @@ export class typeFilter extends familyService
|
|
|
3110
3254
|
|
|
3111
3255
|
return this;
|
|
3112
3256
|
}
|
|
3113
|
-
}
|
|
3257
|
+
}
|
|
3258
|
+
import { familyService } from "./familyService";
|
|
3114
3259
|
|
|
3115
3260
|
/**
|
|
3116
3261
|
*
|
|
@@ -3119,7 +3264,7 @@ export class typeFilter extends familyService
|
|
|
3119
3264
|
export class typeFOR extends familyService
|
|
3120
3265
|
{
|
|
3121
3266
|
filters;
|
|
3122
|
-
|
|
3267
|
+
options;
|
|
3123
3268
|
response;
|
|
3124
3269
|
|
|
3125
3270
|
/**
|
|
@@ -3145,7 +3290,8 @@ export class typeFOR extends familyService
|
|
|
3145
3290
|
|
|
3146
3291
|
return this;
|
|
3147
3292
|
}
|
|
3148
|
-
}
|
|
3293
|
+
}
|
|
3294
|
+
import { familyService } from "./familyService";
|
|
3149
3295
|
|
|
3150
3296
|
/**
|
|
3151
3297
|
* Описание стандартного колбека типового для методов
|
|
@@ -3184,7 +3330,9 @@ export class typeFunctionCallback extends familyService
|
|
|
3184
3330
|
|
|
3185
3331
|
return this;
|
|
3186
3332
|
}
|
|
3187
|
-
}
|
|
3333
|
+
}
|
|
3334
|
+
import { familyService } from "./familyService";
|
|
3335
|
+
import { is_object } from "../../utils/utils";
|
|
3188
3336
|
|
|
3189
3337
|
/**
|
|
3190
3338
|
* Уведомления
|
|
@@ -3218,7 +3366,8 @@ export class typeNotification extends familyService
|
|
|
3218
3366
|
|
|
3219
3367
|
return this;
|
|
3220
3368
|
}
|
|
3221
|
-
}
|
|
3369
|
+
}
|
|
3370
|
+
import { familyService } from "./familyService";
|
|
3222
3371
|
|
|
3223
3372
|
/**
|
|
3224
3373
|
*
|
|
@@ -3254,7 +3403,8 @@ export class typeTableColumn extends familyService
|
|
|
3254
3403
|
|
|
3255
3404
|
return this;
|
|
3256
3405
|
}
|
|
3257
|
-
}
|
|
3406
|
+
}
|
|
3407
|
+
import { typeAppConfiguration } from "./typeAppConfiguration";
|
|
3258
3408
|
|
|
3259
3409
|
/**
|
|
3260
3410
|
* Настройки таблиц (aggrid)
|
|
@@ -3309,7 +3459,7 @@ export class typeTableConfiguration extends typeAppConfiguration
|
|
|
3309
3459
|
|
|
3310
3460
|
return this;
|
|
3311
3461
|
}
|
|
3312
|
-
}
|
|
3462
|
+
}
|
|
3313
3463
|
/**
|
|
3314
3464
|
*
|
|
3315
3465
|
* @version v.0.1 (02/07/2024)
|
|
@@ -3322,7 +3472,9 @@ export class abstractMockData
|
|
|
3322
3472
|
{
|
|
3323
3473
|
this.mock_data_type = mock_data_type;
|
|
3324
3474
|
}
|
|
3325
|
-
}
|
|
3475
|
+
}
|
|
3476
|
+
import { abstractMockData } from "./abstract_mock_data";
|
|
3477
|
+
import { count, is_object } from "../../../utils/utils";
|
|
3326
3478
|
|
|
3327
3479
|
|
|
3328
3480
|
/**
|