@up-im/medotvet_sdk 0.0.17 → 0.0.18
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/README.md +1 -1
- package/dist/interfaces/iUser.d.ts +5 -1
- package/package.json +1 -1
- package/src/interfaces/iUser.ts +2 -1
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ interface iUser {
|
|
|
176
176
|
diploma_status: { id: DiplomaStatusValue, title: string } | null // 1-не загружен, 2-проверка, 3-принят, 4-отклонён
|
|
177
177
|
diploma_files: string[] | null
|
|
178
178
|
diploma_reject_reason: string | null
|
|
179
|
-
test_status:
|
|
179
|
+
test_status: { id: TestStatusValue, title: string } | null // 1-не пройден, 2-пройден (TestStatus)
|
|
180
180
|
ref: iUserData | null // пригласивший пользователь
|
|
181
181
|
my_ref_code: string | null // рефкод для приглашения других
|
|
182
182
|
agreement: boolean | null
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DiplomaStatusValue } from "./diplomaStatus";
|
|
2
2
|
import { iCity } from "./iCity";
|
|
3
3
|
import { iSpecialization } from "./iSpecialization";
|
|
4
|
+
import { TestStatusValue } from "./testStatus";
|
|
4
5
|
import { iUserData } from "./iUserData";
|
|
5
6
|
import { UserRole, UserRoleKeys } from "./userRole";
|
|
6
7
|
export interface iUser {
|
|
@@ -36,7 +37,10 @@ export interface iUser {
|
|
|
36
37
|
} | null;
|
|
37
38
|
diploma_files: string[] | null;
|
|
38
39
|
diploma_reject_reason: string | null;
|
|
39
|
-
test_status:
|
|
40
|
+
test_status: {
|
|
41
|
+
id: TestStatusValue;
|
|
42
|
+
title: string;
|
|
43
|
+
} | null;
|
|
40
44
|
ref: iUserData | null;
|
|
41
45
|
my_ref_code: string | null;
|
|
42
46
|
agreement: boolean | null;
|
package/package.json
CHANGED
package/src/interfaces/iUser.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DiplomaStatusValue } from "./diplomaStatus"
|
|
2
2
|
import { iCity } from "./iCity"
|
|
3
3
|
import { iSpecialization } from "./iSpecialization"
|
|
4
|
+
import { TestStatusValue } from "./testStatus"
|
|
4
5
|
import { iUserData } from "./iUserData"
|
|
5
6
|
import { UserRole, UserRoleKeys } from "./userRole"
|
|
6
7
|
|
|
@@ -32,7 +33,7 @@ export interface iUser {
|
|
|
32
33
|
diploma_status: { id: DiplomaStatusValue, title: string } | null // 1-не загружен, 2-на проверке, 3-верифицирован, 4-отклонен (Medotvet)
|
|
33
34
|
diploma_files: string[] | null // массив путей к файлам диплома (Medotvet)
|
|
34
35
|
diploma_reject_reason: string | null // причина отклонения диплома (Medotvet)
|
|
35
|
-
test_status:
|
|
36
|
+
test_status: { id: TestStatusValue, title: string } | null // 1-не пройден, 2-пройден (Medotvet)
|
|
36
37
|
ref: iUserData | null // друг, если не пустой то ввести промокод нельзя
|
|
37
38
|
my_ref_code: string | null
|
|
38
39
|
agreement: boolean | null
|