complexqa_frontend_core 1.22.3 → 1.24.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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/publish/api/event_api.js +20 -0
  3. package/publish/api/index.js +34 -21
  4. package/publish/api/tag/tag_color_api.js +16 -0
  5. package/publish/api/tag/tag_template_api.js +16 -0
  6. package/publish/api/tag_api.js +52 -0
  7. package/publish/api/tag_relation_api.js +57 -0
  8. package/publish/app_configuration/table/helpers/table_element_models.js +6 -0
  9. package/publish/app_configuration/table/sections/bug.js +7 -1
  10. package/publish/app_configuration/table/sections/event.js +76 -0
  11. package/publish/app_configuration/table/sections/tag.js +84 -0
  12. package/publish/app_configuration/table/sections/tag_relation.js +309 -0
  13. package/publish/app_configuration/table/sections/test_account.js +7 -1
  14. package/publish/app_configuration/table/sections/test_case.js +7 -1
  15. package/publish/app_configuration/table/sections/test_run.js +7 -1
  16. package/publish/app_configuration/table/sections/test_run_result.js +7 -1
  17. package/publish/app_configuration/table/sections/text_document.js +7 -1
  18. package/publish/app_configuration/table/table_configuration.js +6 -0
  19. package/publish/index.js +5 -0
  20. package/publish/types/core/0_familyGeneralElement.js +2 -2
  21. package/publish/types/core/1_familyTestDocumentation.js +9 -1
  22. package/publish/types/element_translate/typeBug.i18n.js +11 -0
  23. package/publish/types/element_translate/typeEvent.i18n.js +493 -0
  24. package/publish/types/element_translate/typeTag.i18n.js +69 -0
  25. package/publish/types/element_translate/typeTagRelation.i18n.js +74 -0
  26. package/publish/types/element_translate/typeTestAccount.i18n.js +11 -0
  27. package/publish/types/element_translate/typeTestCase.i18n.js +11 -0
  28. package/publish/types/element_translate/typeTestRun.i18n.js +11 -0
  29. package/publish/types/element_translate/typeTestRunResult.i18n.js +11 -0
  30. package/publish/types/element_translate/typeTextDocument.i18n.js +11 -0
  31. package/publish/types/family_elements/typeBug.js +0 -2
  32. package/publish/types/family_elements/typeTag.js +84 -0
  33. package/publish/types/family_elements/typeTestAccount.js +2 -0
  34. package/publish/types/family_events/familyEvent.js +72 -0
  35. package/publish/types/family_events/typeEvent.js +95 -0
  36. package/publish/types/family_files/typeTextDocument.js +2 -0
  37. package/publish/types/family_relation/typeTagRelation.js +123 -0
@@ -11,6 +11,7 @@ export const typeTestAccount_i18n = {
11
11
  team_id : 'Team',
12
12
  resource : 'Resource',
13
13
  login : 'Login',
14
+ tags : 'Tags',
14
15
  password : 'Password',
15
16
  test_account_description: 'Description',
16
17
  },
@@ -20,6 +21,7 @@ export const typeTestAccount_i18n = {
20
21
  team_id : 'Команда',
21
22
  resource : 'Ресурс',
22
23
  login : 'Логин',
24
+ tags : 'Теги',
23
25
  password : 'Пароль',
24
26
  test_account_description: 'Описание',
25
27
  },
@@ -29,6 +31,7 @@ export const typeTestAccount_i18n = {
29
31
  team_id : 'Team',
30
32
  resource : 'Ressource',
31
33
  login : 'Anmeldename',
34
+ tags : 'Tags',
32
35
  password : 'Passwort',
33
36
  test_account_description: 'Beschreibung',
34
37
  },
@@ -38,6 +41,7 @@ export const typeTestAccount_i18n = {
38
41
  team_id : 'الفريق',
39
42
  resource : 'المورد',
40
43
  login : 'اسم المستخدم',
44
+ tags : 'الوسوم',
41
45
  password : 'كلمة المرور',
42
46
  test_account_description: 'الوصف',
43
47
  },
@@ -47,6 +51,7 @@ export const typeTestAccount_i18n = {
47
51
  team_id : 'Equipo',
48
52
  resource : 'Recurso',
49
53
  login : 'Usuario',
54
+ tags : 'Etiquetas',
50
55
  password : 'Contraseña',
51
56
  test_account_description: 'Descripción',
52
57
  },
@@ -56,6 +61,7 @@ export const typeTestAccount_i18n = {
56
61
  team_id : 'Équipe',
57
62
  resource : 'Ressource',
58
63
  login : 'Identifiant',
64
+ tags : 'Tags',
59
65
  password : 'Mot de passe',
60
66
  test_account_description: 'Description',
61
67
  },
@@ -65,6 +71,7 @@ export const typeTestAccount_i18n = {
65
71
  team_id : 'Թիմ',
66
72
  resource : 'Ռեսուրս',
67
73
  login : 'Մուտք',
74
+ tags : 'Պիտակներ',
68
75
  password : 'Գաղտնաբառ',
69
76
  test_account_description: 'Նկարագրություն',
70
77
  },
@@ -74,6 +81,7 @@ export const typeTestAccount_i18n = {
74
81
  team_id : 'Team',
75
82
  resource : 'Risorsa',
76
83
  login : 'Accesso',
84
+ tags : 'Tag',
77
85
  password : 'Password',
78
86
  test_account_description: 'Descrizione',
79
87
  },
@@ -83,6 +91,7 @@ export const typeTestAccount_i18n = {
83
91
  team_id : 'Zespół',
84
92
  resource : 'Zasób',
85
93
  login : 'Login',
94
+ tags : 'Tagi',
86
95
  password : 'Hasło',
87
96
  test_account_description: 'Opis',
88
97
  },
@@ -92,6 +101,7 @@ export const typeTestAccount_i18n = {
92
101
  team_id : 'Equipa',
93
102
  resource : 'Recurso',
94
103
  login : 'Login',
104
+ tags : 'Tags',
95
105
  password : 'Palavra-passe',
96
106
  test_account_description: 'Descrição',
97
107
  },
@@ -101,6 +111,7 @@ export const typeTestAccount_i18n = {
101
111
  team_id : 'Команд',
102
112
  resource : 'Ресурс',
103
113
  login : 'Логин',
114
+ tags : 'Теглар',
104
115
  password : 'Серсүз',
105
116
  test_account_description: 'Тасвирлау',
106
117
  },
@@ -11,6 +11,7 @@ export const typeTestCase_i18n = {
11
11
  project_id : 'Project',
12
12
  team_id : 'Team',
13
13
  assigned_to : 'Assigned to',
14
+ tags : 'Tags',
14
15
  test_case_status : 'Status',
15
16
  test_case_title : 'Title',
16
17
  test_case_descriptions : 'Descriptions',
@@ -26,6 +27,7 @@ export const typeTestCase_i18n = {
26
27
  project_id : 'Проект',
27
28
  team_id : 'Команда',
28
29
  assigned_to : 'Назначен',
30
+ tags : 'Теги',
29
31
  test_case_status : 'Статус',
30
32
  test_case_title : 'Название',
31
33
  test_case_descriptions : 'Описание',
@@ -41,6 +43,7 @@ export const typeTestCase_i18n = {
41
43
  project_id : 'Projekt',
42
44
  team_id : 'Team',
43
45
  assigned_to : 'Zugewiesen an',
46
+ tags : 'Tags',
44
47
  test_case_status : 'Status',
45
48
  test_case_title : 'Titel',
46
49
  test_case_descriptions : 'Beschreibung',
@@ -56,6 +59,7 @@ export const typeTestCase_i18n = {
56
59
  project_id : 'المشروع',
57
60
  team_id : 'الفريق',
58
61
  assigned_to : 'مُسند إلى',
62
+ tags : 'الوسوم',
59
63
  test_case_status : 'الحالة',
60
64
  test_case_title : 'العنوان',
61
65
  test_case_descriptions : 'الوصف',
@@ -71,6 +75,7 @@ export const typeTestCase_i18n = {
71
75
  project_id : 'Proyecto',
72
76
  team_id : 'Equipo',
73
77
  assigned_to : 'Asignado a',
78
+ tags : 'Etiquetas',
74
79
  test_case_status : 'Estado',
75
80
  test_case_title : 'Título',
76
81
  test_case_descriptions : 'Descripción',
@@ -86,6 +91,7 @@ export const typeTestCase_i18n = {
86
91
  project_id : 'Projet',
87
92
  team_id : 'Équipe',
88
93
  assigned_to : 'Assigné à',
94
+ tags : 'Tags',
89
95
  test_case_status : 'Statut',
90
96
  test_case_title : 'Titre',
91
97
  test_case_descriptions : 'Description',
@@ -101,6 +107,7 @@ export const typeTestCase_i18n = {
101
107
  project_id : 'Նախագիծ',
102
108
  team_id : 'Թիմ',
103
109
  assigned_to : 'Նշանակված',
110
+ tags : 'Պիտակներ',
104
111
  test_case_status : 'Կարգավիճակ',
105
112
  test_case_title : 'Վերնագիր',
106
113
  test_case_descriptions : 'Նկարագրություն',
@@ -116,6 +123,7 @@ export const typeTestCase_i18n = {
116
123
  project_id : 'Progetto',
117
124
  team_id : 'Team',
118
125
  assigned_to : 'Assegnato a',
126
+ tags : 'Tag',
119
127
  test_case_status : 'Stato',
120
128
  test_case_title : 'Titolo',
121
129
  test_case_descriptions : 'Descrizione',
@@ -131,6 +139,7 @@ export const typeTestCase_i18n = {
131
139
  project_id : 'Projekt',
132
140
  team_id : 'Zespół',
133
141
  assigned_to : 'Przypisany do',
142
+ tags : 'Tagi',
134
143
  test_case_status : 'Status',
135
144
  test_case_title : 'Tytuł',
136
145
  test_case_descriptions : 'Opis',
@@ -146,6 +155,7 @@ export const typeTestCase_i18n = {
146
155
  project_id : 'Projeto',
147
156
  team_id : 'Equipa',
148
157
  assigned_to : 'Atribuído a',
158
+ tags : 'Tags',
149
159
  test_case_status : 'Estado',
150
160
  test_case_title : 'Título',
151
161
  test_case_descriptions : 'Descrição',
@@ -161,6 +171,7 @@ export const typeTestCase_i18n = {
161
171
  project_id : 'Проект',
162
172
  team_id : 'Команд',
163
173
  assigned_to : 'Билгеләнгән',
174
+ tags : 'Теглар',
164
175
  test_case_status : 'Статус',
165
176
  test_case_title : 'Исем',
166
177
  test_case_descriptions : 'Тасвирлау',
@@ -12,6 +12,7 @@ export const typeTestRun_i18n = {
12
12
  team_id : 'Team',
13
13
  test_run_description: 'Description',
14
14
  assigned_to : 'Assigned to',
15
+ tags : 'Tags',
15
16
  test_case_ids : 'Test cases',
16
17
  test_run_status : 'Status',
17
18
  created_at : 'Created at',
@@ -25,6 +26,7 @@ export const typeTestRun_i18n = {
25
26
  team_id : 'Команда',
26
27
  test_run_description: 'Описание',
27
28
  assigned_to : 'Назначен',
29
+ tags : 'Теги',
28
30
  test_case_ids : 'Тест кейсы',
29
31
  test_run_status : 'Статус',
30
32
  created_at : 'Создано',
@@ -38,6 +40,7 @@ export const typeTestRun_i18n = {
38
40
  team_id : 'Team',
39
41
  test_run_description: 'Beschreibung',
40
42
  assigned_to : 'Zugewiesen an',
43
+ tags : 'Tags',
41
44
  test_case_ids : 'Testfälle',
42
45
  test_run_status : 'Status',
43
46
  created_at : 'Erstellt am',
@@ -51,6 +54,7 @@ export const typeTestRun_i18n = {
51
54
  team_id : 'الفريق',
52
55
  test_run_description: 'الوصف',
53
56
  assigned_to : 'مُسند إلى',
57
+ tags : 'الوسوم',
54
58
  test_case_ids : 'حالات الاختبار',
55
59
  test_run_status : 'الحالة',
56
60
  created_at : 'تاريخ الإنشاء',
@@ -64,6 +68,7 @@ export const typeTestRun_i18n = {
64
68
  team_id : 'Equipo',
65
69
  test_run_description: 'Descripción',
66
70
  assigned_to : 'Asignado a',
71
+ tags : 'Etiquetas',
67
72
  test_case_ids : 'Casos de prueba',
68
73
  test_run_status : 'Estado',
69
74
  created_at : 'Creado el',
@@ -77,6 +82,7 @@ export const typeTestRun_i18n = {
77
82
  team_id : 'Équipe',
78
83
  test_run_description: 'Description',
79
84
  assigned_to : 'Assigné à',
85
+ tags : 'Tags',
80
86
  test_case_ids : 'Cas de test',
81
87
  test_run_status : 'Statut',
82
88
  created_at : 'Créé le',
@@ -90,6 +96,7 @@ export const typeTestRun_i18n = {
90
96
  team_id : 'Թիմ',
91
97
  test_run_description: 'Նկարագրություն',
92
98
  assigned_to : 'Նշանակված',
99
+ tags : 'Պիտակներ',
93
100
  test_case_ids : 'Թեստային դեպքեր',
94
101
  test_run_status : 'Կարգավիճակ',
95
102
  created_at : 'Ստեղծված',
@@ -103,6 +110,7 @@ export const typeTestRun_i18n = {
103
110
  team_id : 'Team',
104
111
  test_run_description: 'Descrizione',
105
112
  assigned_to : 'Assegnato a',
113
+ tags : 'Tag',
106
114
  test_case_ids : 'Casi di test',
107
115
  test_run_status : 'Stato',
108
116
  created_at : 'Creato il',
@@ -116,6 +124,7 @@ export const typeTestRun_i18n = {
116
124
  team_id : 'Zespół',
117
125
  test_run_description: 'Opis',
118
126
  assigned_to : 'Przypisany do',
127
+ tags : 'Tagi',
119
128
  test_case_ids : 'Przypadki testowe',
120
129
  test_run_status : 'Status',
121
130
  created_at : 'Utworzono',
@@ -129,6 +138,7 @@ export const typeTestRun_i18n = {
129
138
  team_id : 'Equipa',
130
139
  test_run_description: 'Descrição',
131
140
  assigned_to : 'Atribuído a',
141
+ tags : 'Tags',
132
142
  test_case_ids : 'Casos de teste',
133
143
  test_run_status : 'Estado',
134
144
  created_at : 'Criado em',
@@ -142,6 +152,7 @@ export const typeTestRun_i18n = {
142
152
  team_id : 'Команд',
143
153
  test_run_description: 'Тасвирлау',
144
154
  assigned_to : 'Билгеләнгән',
155
+ tags : 'Теглар',
145
156
  test_case_ids : 'Тест очраклары',
146
157
  test_run_status : 'Статус',
147
158
  created_at : 'Ясалган',
@@ -12,6 +12,7 @@ export const typeTestRunResult_i18n = {
12
12
  test_result_status : 'Status',
13
13
  test_result_description: 'Description',
14
14
  assigned_to : 'Assigned to',
15
+ tags : 'Tags',
15
16
  project_id : 'Project',
16
17
  created_at : 'Created at',
17
18
  updated_at : 'Updated at',
@@ -24,6 +25,7 @@ export const typeTestRunResult_i18n = {
24
25
  test_result_status : 'Статус',
25
26
  test_result_description: 'Описание',
26
27
  assigned_to : 'Назначен',
28
+ tags : 'Теги',
27
29
  project_id : 'Проект',
28
30
  created_at : 'Создано',
29
31
  updated_at : 'Обновлено',
@@ -36,6 +38,7 @@ export const typeTestRunResult_i18n = {
36
38
  test_result_status : 'Status',
37
39
  test_result_description: 'Beschreibung',
38
40
  assigned_to : 'Zugewiesen an',
41
+ tags : 'Tags',
39
42
  project_id : 'Projekt',
40
43
  created_at : 'Erstellt am',
41
44
  updated_at : 'Geändert am',
@@ -48,6 +51,7 @@ export const typeTestRunResult_i18n = {
48
51
  test_result_status : 'الحالة',
49
52
  test_result_description: 'الوصف',
50
53
  assigned_to : 'مُسند إلى',
54
+ tags : 'الوسوم',
51
55
  project_id : 'المشروع',
52
56
  created_at : 'تاريخ الإنشاء',
53
57
  updated_at : 'تاريخ التحديث',
@@ -60,6 +64,7 @@ export const typeTestRunResult_i18n = {
60
64
  test_result_status : 'Estado',
61
65
  test_result_description: 'Descripción',
62
66
  assigned_to : 'Asignado a',
67
+ tags : 'Etiquetas',
63
68
  project_id : 'Proyecto',
64
69
  created_at : 'Creado el',
65
70
  updated_at : 'Actualizado el',
@@ -72,6 +77,7 @@ export const typeTestRunResult_i18n = {
72
77
  test_result_status : 'Statut',
73
78
  test_result_description: 'Description',
74
79
  assigned_to : 'Assigné à',
80
+ tags : 'Tags',
75
81
  project_id : 'Projet',
76
82
  created_at : 'Créé le',
77
83
  updated_at : 'Modifié le',
@@ -84,6 +90,7 @@ export const typeTestRunResult_i18n = {
84
90
  test_result_status : 'Կարգավիճակ',
85
91
  test_result_description: 'Նկարագրություն',
86
92
  assigned_to : 'Նշանակված',
93
+ tags : 'Պիտակներ',
87
94
  project_id : 'Նախագիծ',
88
95
  created_at : 'Ստեղծված',
89
96
  updated_at : 'Թարմացված',
@@ -96,6 +103,7 @@ export const typeTestRunResult_i18n = {
96
103
  test_result_status : 'Stato',
97
104
  test_result_description: 'Descrizione',
98
105
  assigned_to : 'Assegnato a',
106
+ tags : 'Tag',
99
107
  project_id : 'Progetto',
100
108
  created_at : 'Creato il',
101
109
  updated_at : 'Aggiornato il',
@@ -108,6 +116,7 @@ export const typeTestRunResult_i18n = {
108
116
  test_result_status : 'Status',
109
117
  test_result_description: 'Opis',
110
118
  assigned_to : 'Przypisany do',
119
+ tags : 'Tagi',
111
120
  project_id : 'Projekt',
112
121
  created_at : 'Utworzono',
113
122
  updated_at : 'Zaktualizowano',
@@ -120,6 +129,7 @@ export const typeTestRunResult_i18n = {
120
129
  test_result_status : 'Estado',
121
130
  test_result_description: 'Descrição',
122
131
  assigned_to : 'Atribuído a',
132
+ tags : 'Tags',
123
133
  project_id : 'Projeto',
124
134
  created_at : 'Criado em',
125
135
  updated_at : 'Atualizado em',
@@ -132,6 +142,7 @@ export const typeTestRunResult_i18n = {
132
142
  test_result_status : 'Статус',
133
143
  test_result_description: 'Тасвирлау',
134
144
  assigned_to : 'Билгеләнгән',
145
+ tags : 'Теглар',
135
146
  project_id : 'Проект',
136
147
  created_at : 'Ясалган',
137
148
  updated_at : 'Яңартылган',
@@ -11,6 +11,7 @@ export const typeTextDocument_i18n = {
11
11
  team_id : 'Team',
12
12
  text_document_folder_id: 'Folder',
13
13
  text_document_title : 'Title',
14
+ tags : 'Tags',
14
15
  text_document_status : 'Status',
15
16
  file_uuid : 'File',
16
17
  created_by_user_id : 'Author',
@@ -23,6 +24,7 @@ export const typeTextDocument_i18n = {
23
24
  team_id : 'Команда',
24
25
  text_document_folder_id: 'Папка',
25
26
  text_document_title : 'Название',
27
+ tags : 'Теги',
26
28
  text_document_status : 'Статус',
27
29
  file_uuid : 'Файл',
28
30
  created_by_user_id : 'Автор',
@@ -35,6 +37,7 @@ export const typeTextDocument_i18n = {
35
37
  team_id : 'Team',
36
38
  text_document_folder_id: 'Ordner',
37
39
  text_document_title : 'Titel',
40
+ tags : 'Tags',
38
41
  text_document_status : 'Status',
39
42
  file_uuid : 'Datei',
40
43
  created_by_user_id : 'Autor',
@@ -47,6 +50,7 @@ export const typeTextDocument_i18n = {
47
50
  team_id : 'الفريق',
48
51
  text_document_folder_id: 'المجلد',
49
52
  text_document_title : 'العنوان',
53
+ tags : 'الوسوم',
50
54
  text_document_status : 'الحالة',
51
55
  file_uuid : 'الملف',
52
56
  created_by_user_id : 'المؤلف',
@@ -59,6 +63,7 @@ export const typeTextDocument_i18n = {
59
63
  team_id : 'Equipo',
60
64
  text_document_folder_id: 'Carpeta',
61
65
  text_document_title : 'Título',
66
+ tags : 'Etiquetas',
62
67
  text_document_status : 'Estado',
63
68
  file_uuid : 'Archivo',
64
69
  created_by_user_id : 'Autor',
@@ -71,6 +76,7 @@ export const typeTextDocument_i18n = {
71
76
  team_id : 'Équipe',
72
77
  text_document_folder_id: 'Dossier',
73
78
  text_document_title : 'Titre',
79
+ tags : 'Tags',
74
80
  text_document_status : 'Statut',
75
81
  file_uuid : 'Fichier',
76
82
  created_by_user_id : 'Auteur',
@@ -83,6 +89,7 @@ export const typeTextDocument_i18n = {
83
89
  team_id : 'Թիմ',
84
90
  text_document_folder_id: 'Թղթապանակ',
85
91
  text_document_title : 'Վերնագիր',
92
+ tags : 'Պիտակներ',
86
93
  text_document_status : 'Կարգավիճակ',
87
94
  file_uuid : 'Ֆայլ',
88
95
  created_by_user_id : 'Հեղինակ',
@@ -95,6 +102,7 @@ export const typeTextDocument_i18n = {
95
102
  team_id : 'Team',
96
103
  text_document_folder_id: 'Cartella',
97
104
  text_document_title : 'Titolo',
105
+ tags : 'Tag',
98
106
  text_document_status : 'Stato',
99
107
  file_uuid : 'File',
100
108
  created_by_user_id : 'Autore',
@@ -107,6 +115,7 @@ export const typeTextDocument_i18n = {
107
115
  team_id : 'Zespół',
108
116
  text_document_folder_id: 'Folder',
109
117
  text_document_title : 'Tytuł',
118
+ tags : 'Tagi',
110
119
  text_document_status : 'Status',
111
120
  file_uuid : 'Plik',
112
121
  created_by_user_id : 'Autor',
@@ -119,6 +128,7 @@ export const typeTextDocument_i18n = {
119
128
  team_id : 'Equipa',
120
129
  text_document_folder_id: 'Pasta',
121
130
  text_document_title : 'Título',
131
+ tags : 'Tags',
122
132
  text_document_status : 'Estado',
123
133
  file_uuid : 'Ficheiro',
124
134
  created_by_user_id : 'Autor',
@@ -131,6 +141,7 @@ export const typeTextDocument_i18n = {
131
141
  team_id : 'Команд',
132
142
  text_document_folder_id: 'Папка',
133
143
  text_document_title : 'Исем',
144
+ tags : 'Теглар',
134
145
  text_document_status : 'Статус',
135
146
  file_uuid : 'Файл',
136
147
  created_by_user_id : 'Автор',
@@ -54,8 +54,6 @@ export class typeBug extends familyTestDocumentation
54
54
  // related_bug_ids; // pseudo — Bugzilla depends_on / blocks (many-to-many) в развитие
55
55
  duplicate_of_id; // Jira/GitHub Duplicate
56
56
 
57
- // bug_labels; // штука хорошая, но в развитие
58
-
59
57
  created_at;
60
58
  updated_at;
61
59
  completed_at; // resolved / closed (YouTrack resolved, GitHub closed_at)
@@ -0,0 +1,84 @@
1
+ import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
2
+ import { is_object } from "../../utils/utils.js";
3
+ import _ from 'underscore';
4
+ import { typeTag_i18n } from "../element_translate/typeTag.i18n.js";
5
+
6
+ /**
7
+ * Project-scoped tag catalog entry.
8
+ *
9
+ * @see docs/Tags/tag-docs.MD
10
+ *
11
+ * @version v.0.1 (12/08/2026)
12
+ */
13
+ export class typeTag extends familyTestDocumentation
14
+ {
15
+ tag_id;
16
+ team_id;
17
+ project_id;
18
+ name;
19
+ description;
20
+ tag_color_id;
21
+ created_at;
22
+ updated_at;
23
+
24
+ primary_key = 'tag_id';
25
+ api_key = 'tag';
26
+
27
+ structure_scheme = {
28
+ tag_id : 'integer | require',
29
+ project_id : 'integer | require',
30
+ team_id : 'integer | require',
31
+ name : 'string | require',
32
+ description : 'string | StringHtml | optional',
33
+ tag_color_id: 'integer | require',
34
+ created_at : 'timestamp | optional',
35
+ updated_at : 'timestamp | optional',
36
+ };
37
+
38
+ create_scheme = [
39
+ 'project_id',
40
+ 'name',
41
+ 'tag_color_id',
42
+ ];
43
+
44
+ attribute_name_translate_matrix = typeTag_i18n.attribute_name_translate_matrix;
45
+
46
+
47
+ /**
48
+ * @param {object|false|undefined} data
49
+ * @returns {typeTag}
50
+ */
51
+ constructor(data = false)
52
+ {
53
+ super();
54
+
55
+ if (data && is_object(data))
56
+ {
57
+ _.mapObject(data, (value, key) =>
58
+ {
59
+ if (this.hasOwnProperty(key))
60
+ {
61
+ this[ key ] = value;
62
+ }
63
+ });
64
+ }
65
+
66
+ return this;
67
+ }
68
+
69
+
70
+ /**
71
+ * Hex from hydrated tag_color_id object, or null.
72
+ *
73
+ * @returns {string|null}
74
+ */
75
+ get_color_hex()
76
+ {
77
+ if (this.tag_color_id && typeof this.tag_color_id === 'object' && this.tag_color_id.hex)
78
+ {
79
+ return this.tag_color_id.hex;
80
+ }
81
+
82
+ return null;
83
+ }
84
+ }
@@ -17,6 +17,8 @@ export class typeTestAccount extends familyGeneralElement
17
17
  login;
18
18
  password;
19
19
  test_account_description;
20
+ /** Hydrated via search options.add: ['tags'] */
21
+ tags;
20
22
  created_at;
21
23
  updated_at;
22
24
 
@@ -0,0 +1,72 @@
1
+ import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
+
3
+
4
+ /**
5
+ * Базовый класс семейства иммутабельных доменных событий (event-service).
6
+ *
7
+ * Каналы activity / changelog / integration — политики чтения над одним типом,
8
+ * не отдельные классы SDK.
9
+ *
10
+ * @version v.1.1 (26/07/2026)
11
+ */
12
+ export class familyEvent extends familyGeneralElement
13
+ {
14
+ /**
15
+ * @returns {string[]}
16
+ */
17
+ static get_action_values()
18
+ {
19
+ return ['CREATE', 'UPDATE', 'DELETE'];
20
+ }
21
+
22
+
23
+ /**
24
+ * @returns {string[]}
25
+ */
26
+ static get_outcome_values()
27
+ {
28
+ return ['SUCCESS', 'FAILURE'];
29
+ }
30
+
31
+
32
+ /**
33
+ * @returns {string[]}
34
+ */
35
+ static get_actor_type_values()
36
+ {
37
+ return ['USER', 'SYSTEM', 'SERVICE'];
38
+ }
39
+
40
+
41
+ /**
42
+ * Каталог subject_type (= api_key), совпадает с seed event-service.
43
+ *
44
+ * @returns {string[]}
45
+ */
46
+ static get_subject_type_values()
47
+ {
48
+ return [
49
+ 'team_management',
50
+ 'team_member',
51
+ 'project',
52
+ 'test_plan',
53
+ 'test_case',
54
+ 'test_case_step',
55
+ 'test_suite',
56
+ 'test_run',
57
+ 'test_run_result',
58
+ 'task',
59
+ 'bug',
60
+ 'bug_relation',
61
+ 'tag',
62
+ 'tag_relation',
63
+ 'test_account',
64
+ 'user_profile',
65
+ 'text_document',
66
+ 'text_document_folder',
67
+ 'execution_context',
68
+ 'browser_tools_util_execution',
69
+ 'browser_tools_screenshot_multi',
70
+ ];
71
+ }
72
+ }