@campxdev/server-shared 1.0.32 → 1.0.33
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.
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Document, Schema as MongooseSchema } from 'mongoose';
|
|
26
26
|
export declare const GlobalUserCName = "global_users";
|
|
27
|
+
export declare class StudentDetails extends Document {
|
|
28
|
+
studentAltMobile: string;
|
|
29
|
+
parentName: string;
|
|
30
|
+
parentMobile: string;
|
|
31
|
+
fatherName: string;
|
|
32
|
+
motherName: string;
|
|
33
|
+
address: string;
|
|
34
|
+
}
|
|
27
35
|
export declare class GlobalUser extends Document {
|
|
28
36
|
tenantId: string;
|
|
29
37
|
userId: number;
|
|
@@ -38,6 +46,7 @@ export declare class GlobalUser extends Document {
|
|
|
38
46
|
workPhoneNumber: string;
|
|
39
47
|
personalPhoneNumber: string;
|
|
40
48
|
personalEmail: string;
|
|
49
|
+
studentDetails: StudentDetails;
|
|
41
50
|
lastLoggedIn: Date;
|
|
42
51
|
createdBy: string;
|
|
43
52
|
updatedBy: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-users.schema.d.ts","sourceRoot":"","sources":["../../../src/domain/schemas/global-users.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAG9D,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,qBACa,UAAW,SAAQ,QAAQ;IAEtC,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,C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E,MAAM,CAAC;IAGtB,cAAc,EAAE,cAAc,CAAC;IAG/B,YAAY,EAAE,IAAI,CAAC;IAGnB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,gBAAgB;;;;UAA2C,CAAC"}
|
|
@@ -9,11 +9,48 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GlobalUserSchema = exports.GlobalUser = exports.GlobalUserCName = void 0;
|
|
12
|
+
exports.GlobalUserSchema = exports.GlobalUser = exports.StudentDetails = exports.GlobalUserCName = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
15
|
const utils_1 = require("../../utils");
|
|
16
16
|
exports.GlobalUserCName = 'global_users';
|
|
17
|
+
let StudentDetails = class StudentDetails extends mongoose_2.Document {
|
|
18
|
+
studentAltMobile;
|
|
19
|
+
parentName;
|
|
20
|
+
parentMobile;
|
|
21
|
+
fatherName;
|
|
22
|
+
motherName;
|
|
23
|
+
address;
|
|
24
|
+
};
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], StudentDetails.prototype, "studentAltMobile", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], StudentDetails.prototype, "parentName", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], StudentDetails.prototype, "parentMobile", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], StudentDetails.prototype, "fatherName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], StudentDetails.prototype, "motherName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], StudentDetails.prototype, "address", void 0);
|
|
49
|
+
StudentDetails = __decorate([
|
|
50
|
+
(0, mongoose_1.Schema)({ id: false })
|
|
51
|
+
], StudentDetails);
|
|
52
|
+
exports.StudentDetails = StudentDetails;
|
|
53
|
+
const StudentDetailsSchema = mongoose_1.SchemaFactory.createForClass(StudentDetails);
|
|
17
54
|
let GlobalUser = class GlobalUser extends mongoose_2.Document {
|
|
18
55
|
tenantId;
|
|
19
56
|
userId;
|
|
@@ -28,6 +65,7 @@ let GlobalUser = class GlobalUser extends mongoose_2.Document {
|
|
|
28
65
|
workPhoneNumber;
|
|
29
66
|
personalPhoneNumber;
|
|
30
67
|
personalEmail;
|
|
68
|
+
studentDetails;
|
|
31
69
|
lastLoggedIn;
|
|
32
70
|
createdBy;
|
|
33
71
|
updatedBy;
|
|
@@ -84,6 +122,10 @@ __decorate([
|
|
|
84
122
|
(0, mongoose_1.Prop)(),
|
|
85
123
|
__metadata("design:type", String)
|
|
86
124
|
], GlobalUser.prototype, "personalEmail", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, mongoose_1.Prop)({ type: StudentDetailsSchema }),
|
|
127
|
+
__metadata("design:type", StudentDetails)
|
|
128
|
+
], GlobalUser.prototype, "studentDetails", void 0);
|
|
87
129
|
__decorate([
|
|
88
130
|
(0, mongoose_1.Prop)({ required: false }),
|
|
89
131
|
__metadata("design:type", Date)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-users.schema.js","sourceRoot":"","sources":["../../../src/domain/schemas/global-users.schema.ts"],"names":[],"m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