Skip to content

Commit 7bfd301

Browse files
authored
Merge pull request #231 from HackGT/crystaltine-patch-1
2 parents c964fea + 5a89656 commit 7bfd301

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

services/registration/src/models/application.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export interface Application extends mongoose.Document {
3131
applicationSubmitTime?: Date;
3232
applicationExtendedDeadline?: Date;
3333
applicationData: {
34+
firstName?: string;
35+
lastName?: string;
3436
adult?: boolean;
3537
dateOfBirth?: string;
3638
jobTitle?: string;
@@ -67,6 +69,7 @@ export interface Application extends mongoose.Document {
6769
travelReimbursement?: string;
6870
extraInfo?: string;
6971
confirmChecks?: Schema.Types.Mixed;
72+
mlhConfirmations?: Schema.Types.Mixed;
7073
customData?: Schema.Types.Mixed;
7174
essays?: Types.DocumentArray<Essay>;
7275
resume?: Types.ObjectId;
@@ -117,6 +120,12 @@ const applicationSchema = new Schema<Application>(
117120
index: true,
118121
},
119122
applicationData: {
123+
firstName: {
124+
type: Boolean,
125+
},
126+
lastName: {
127+
type: Boolean,
128+
},
120129
adult: {
121130
type: Boolean,
122131
},
@@ -225,6 +234,9 @@ const applicationSchema = new Schema<Application>(
225234
confirmChecks: {
226235
type: Schema.Types.Mixed,
227236
},
237+
mlhConfirmations: {
238+
type: Schema.Types.Mixed
239+
},
228240
customData: {
229241
type: Schema.Types.Mixed,
230242
},

0 commit comments

Comments
 (0)