docta-package 1.2.64 → 1.2.65
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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IDoctorDocument } from "../../models";
|
|
2
2
|
import { SpecialtyOutputDto } from "./specialty";
|
|
3
3
|
import { ExpertiseOutputDto } from "./expertise";
|
|
4
|
-
import { UserOutputDto
|
|
4
|
+
import { UserOutputDto } from "./user";
|
|
5
5
|
import { EducationOutputDto } from "./education";
|
|
6
6
|
import { PositionOutputDto } from "./position";
|
|
7
7
|
import { LanguageOutputDto } from "./language";
|
|
8
8
|
import { FaqOutputDto } from "./faq";
|
|
9
9
|
import { LocationOutputDto } from "./location";
|
|
10
|
-
declare class
|
|
10
|
+
export declare class DoctorPublicOutputDto {
|
|
11
11
|
id: string;
|
|
12
12
|
specialty: SpecialtyOutputDto;
|
|
13
13
|
name: string;
|
|
@@ -26,11 +26,7 @@ declare class OutputDto {
|
|
|
26
26
|
location: LocationOutputDto | null;
|
|
27
27
|
constructor(doctor: IDoctorDocument);
|
|
28
28
|
}
|
|
29
|
-
export declare class
|
|
30
|
-
user: UserPublicOutputDto;
|
|
31
|
-
constructor(doctor: IDoctorDocument);
|
|
32
|
-
}
|
|
33
|
-
export declare class DoctorOutputDto extends OutputDto {
|
|
29
|
+
export declare class DoctorOutputDto extends DoctorPublicOutputDto {
|
|
34
30
|
user: UserOutputDto;
|
|
35
31
|
isDeleted: boolean;
|
|
36
32
|
createdAt: number;
|
|
@@ -44,4 +40,3 @@ export declare class DoctorAdminOutputDto extends DoctorOutputDto {
|
|
|
44
40
|
deletedBy: UserOutputDto | null;
|
|
45
41
|
constructor(doctor: IDoctorDocument);
|
|
46
42
|
}
|
|
47
|
-
export {};
|
|
@@ -9,7 +9,7 @@ const position_1 = require("./position");
|
|
|
9
9
|
const language_1 = require("./language");
|
|
10
10
|
const faq_1 = require("./faq");
|
|
11
11
|
const location_1 = require("./location");
|
|
12
|
-
class
|
|
12
|
+
class DoctorPublicOutputDto {
|
|
13
13
|
constructor(doctor) {
|
|
14
14
|
var _a, _b, _c;
|
|
15
15
|
this.id = (_b = ((_a = doctor.id) !== null && _a !== void 0 ? _a : doctor._id)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
@@ -36,14 +36,8 @@ class OutputDto {
|
|
|
36
36
|
: null;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
class DoctorPublicOutputDto extends OutputDto {
|
|
40
|
-
constructor(doctor) {
|
|
41
|
-
super(doctor);
|
|
42
|
-
this.user = new user_1.UserPublicOutputDto(doctor.user);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
39
|
exports.DoctorPublicOutputDto = DoctorPublicOutputDto;
|
|
46
|
-
class DoctorOutputDto extends
|
|
40
|
+
class DoctorOutputDto extends DoctorPublicOutputDto {
|
|
47
41
|
constructor(doctor) {
|
|
48
42
|
super(doctor);
|
|
49
43
|
this.user = new user_1.UserOutputDto(doctor.user);
|