@kipicore/dbcore 1.1.130 → 1.1.131
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.
|
@@ -18,8 +18,10 @@ export interface IAppointmentModelAttributes extends IDefaultAttributes, Documen
|
|
|
18
18
|
metaId: string;
|
|
19
19
|
mobile: string;
|
|
20
20
|
userType: string;
|
|
21
|
+
createdDate?: Date;
|
|
21
22
|
scheduledAt?: Date;
|
|
22
23
|
reScheduledAt?: Date;
|
|
23
24
|
scheduledDate?: Date;
|
|
24
25
|
reScheduledDate?: Date;
|
|
26
|
+
childId?: string;
|
|
25
27
|
}
|
|
@@ -107,6 +107,13 @@ const appointmentHistorySchema = new mongoose_1.Schema({
|
|
|
107
107
|
reScheduledDate: {
|
|
108
108
|
type: Date,
|
|
109
109
|
},
|
|
110
|
+
createdDate: {
|
|
111
|
+
type: Date,
|
|
112
|
+
},
|
|
113
|
+
childId: {
|
|
114
|
+
type: String,
|
|
115
|
+
trim: true,
|
|
116
|
+
}
|
|
110
117
|
}, {
|
|
111
118
|
timestamps: true,
|
|
112
119
|
versionKey: false,
|
|
@@ -36,11 +36,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
const mongoose_1 = __importStar(require("mongoose"));
|
|
37
37
|
const appointmentSchema = new mongoose_1.Schema({
|
|
38
38
|
date: {
|
|
39
|
-
type: Date
|
|
39
|
+
type: Date,
|
|
40
40
|
},
|
|
41
41
|
appointmentNumber: {
|
|
42
42
|
type: String, // auto increment will handle from server side.
|
|
43
|
-
required: false
|
|
43
|
+
required: false,
|
|
44
44
|
},
|
|
45
45
|
appointmentStatus: {
|
|
46
46
|
type: String,
|
|
@@ -96,6 +96,9 @@ const appointmentSchema = new mongoose_1.Schema({
|
|
|
96
96
|
type: String,
|
|
97
97
|
trim: true,
|
|
98
98
|
},
|
|
99
|
+
createdDate: {
|
|
100
|
+
type: Date,
|
|
101
|
+
},
|
|
99
102
|
scheduledAt: {
|
|
100
103
|
type: Date,
|
|
101
104
|
},
|
|
@@ -108,6 +111,10 @@ const appointmentSchema = new mongoose_1.Schema({
|
|
|
108
111
|
reScheduledDate: {
|
|
109
112
|
type: Date,
|
|
110
113
|
},
|
|
114
|
+
childId: {
|
|
115
|
+
type: String,
|
|
116
|
+
trim: true
|
|
117
|
+
}
|
|
111
118
|
}, {
|
|
112
119
|
timestamps: true,
|
|
113
120
|
versionKey: false,
|
package/package.json
CHANGED