@taiger-common/model 1.0.21 → 1.0.23

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.
@@ -41,5 +41,9 @@ exports.documentThreadsSchema = new mongoose_1.Schema({
41
41
  ignore_message: Boolean
42
42
  }
43
43
  ],
44
+ isEssayConsultantNeeded: {
45
+ type: Boolean
46
+ },
47
+ essayConsultantIds: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'User' }],
44
48
  updatedAt: Date
45
49
  });
@@ -157,10 +157,13 @@ exports.programModule = {
157
157
  type: Boolean,
158
158
  default: false
159
159
  },
160
+ goetheZertifikat: {
161
+ type: String
162
+ },
160
163
  testdaf: {
161
164
  type: String
162
165
  },
163
- basic_german_requirement: {
166
+ dsh: {
164
167
  type: String
165
168
  },
166
169
  gre: {
@@ -283,6 +286,10 @@ exports.programModule = {
283
286
  type: String,
284
287
  enum: core_1.SCHOOL_TYPES
285
288
  },
289
+ isEssayConsultantNeeded: {
290
+ type: Boolean,
291
+ default: false
292
+ },
286
293
  tags: [
287
294
  {
288
295
  type: String,
@@ -38,5 +38,9 @@ export var documentThreadsSchema = new Schema({
38
38
  ignore_message: Boolean
39
39
  }
40
40
  ],
41
+ isEssayConsultantNeeded: {
42
+ type: Boolean
43
+ },
44
+ essayConsultantIds: [{ type: Schema.Types.ObjectId, ref: 'User' }],
41
45
  updatedAt: Date
42
46
  });
@@ -154,10 +154,13 @@ export var programModule = {
154
154
  type: Boolean,
155
155
  default: false
156
156
  },
157
+ goetheZertifikat: {
158
+ type: String
159
+ },
157
160
  testdaf: {
158
161
  type: String
159
162
  },
160
- basic_german_requirement: {
163
+ dsh: {
161
164
  type: String
162
165
  },
163
166
  gre: {
@@ -280,6 +283,10 @@ export var programModule = {
280
283
  type: String,
281
284
  enum: SCHOOL_TYPES
282
285
  },
286
+ isEssayConsultantNeeded: {
287
+ type: Boolean,
288
+ default: false
289
+ },
283
290
  tags: [
284
291
  {
285
292
  type: String,
@@ -76,11 +76,13 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
76
76
  flag_by_user_id: import("mongoose").Types.ObjectId[];
77
77
  isFinalVersion: boolean;
78
78
  isOriginAuthorDeclarationConfirmedByStudent: boolean;
79
+ essayConsultantIds: import("mongoose").Types.ObjectId[];
79
80
  updatedAt?: NativeDate | null | undefined;
80
81
  student_id?: import("mongoose").Types.ObjectId | null | undefined;
81
82
  isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
82
83
  program_id?: import("mongoose").Types.ObjectId | null | undefined;
83
84
  file_type?: string | null | undefined;
85
+ isEssayConsultantNeeded?: boolean | null | undefined;
84
86
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
85
87
  messages: import("mongoose").Types.DocumentArray<{
86
88
  message: string;
@@ -133,11 +135,13 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
133
135
  flag_by_user_id: import("mongoose").Types.ObjectId[];
134
136
  isFinalVersion: boolean;
135
137
  isOriginAuthorDeclarationConfirmedByStudent: boolean;
138
+ essayConsultantIds: import("mongoose").Types.ObjectId[];
136
139
  updatedAt?: NativeDate | null | undefined;
137
140
  student_id?: import("mongoose").Types.ObjectId | null | undefined;
138
141
  isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
139
142
  program_id?: import("mongoose").Types.ObjectId | null | undefined;
140
143
  file_type?: string | null | undefined;
144
+ isEssayConsultantNeeded?: boolean | null | undefined;
141
145
  }>> & import("mongoose").FlatRecord<{
142
146
  messages: import("mongoose").Types.DocumentArray<{
143
147
  message: string;
@@ -190,11 +194,13 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
190
194
  flag_by_user_id: import("mongoose").Types.ObjectId[];
191
195
  isFinalVersion: boolean;
192
196
  isOriginAuthorDeclarationConfirmedByStudent: boolean;
197
+ essayConsultantIds: import("mongoose").Types.ObjectId[];
193
198
  updatedAt?: NativeDate | null | undefined;
194
199
  student_id?: import("mongoose").Types.ObjectId | null | undefined;
195
200
  isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
196
201
  program_id?: import("mongoose").Types.ObjectId | null | undefined;
197
202
  file_type?: string | null | undefined;
203
+ isEssayConsultantNeeded?: boolean | null | undefined;
198
204
  }> & {
199
205
  _id: import("mongoose").Types.ObjectId;
200
206
  } & {
@@ -100,10 +100,13 @@ export declare const programModule: {
100
100
  type: BooleanConstructor;
101
101
  default: boolean;
102
102
  };
103
+ goetheZertifikat: {
104
+ type: StringConstructor;
105
+ };
103
106
  testdaf: {
104
107
  type: StringConstructor;
105
108
  };
106
- basic_german_requirement: {
109
+ dsh: {
107
110
  type: StringConstructor;
108
111
  };
109
112
  gre: {
@@ -226,6 +229,10 @@ export declare const programModule: {
226
229
  type: StringConstructor;
227
230
  enum: import("@taiger-common/core").SchoolType[];
228
231
  };
232
+ isEssayConsultantNeeded: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
229
236
  tags: {
230
237
  type: StringConstructor;
231
238
  enum: string[];
@@ -239,6 +246,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
239
246
  createdAt: NativeDate;
240
247
  updatedAt: NativeDate;
241
248
  } & {
249
+ isEssayConsultantNeeded: boolean;
242
250
  school: string;
243
251
  program_name: string;
244
252
  programSubjects: string[];
@@ -266,8 +274,9 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
266
274
  ielts_listening?: number | null | undefined;
267
275
  ielts_writing?: number | null | undefined;
268
276
  ielts_speaking?: number | null | undefined;
277
+ goetheZertifikat?: string | null | undefined;
269
278
  testdaf?: string | null | undefined;
270
- basic_german_requirement?: string | null | undefined;
279
+ dsh?: string | null | undefined;
271
280
  gre?: string | null | undefined;
272
281
  gre_verbal?: number | null | undefined;
273
282
  gre_quantitative?: number | null | undefined;
@@ -312,6 +321,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
312
321
  createdAt: NativeDate;
313
322
  updatedAt: NativeDate;
314
323
  } & {
324
+ isEssayConsultantNeeded: boolean;
315
325
  school: string;
316
326
  program_name: string;
317
327
  programSubjects: string[];
@@ -339,8 +349,9 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
339
349
  ielts_listening?: number | null | undefined;
340
350
  ielts_writing?: number | null | undefined;
341
351
  ielts_speaking?: number | null | undefined;
352
+ goetheZertifikat?: string | null | undefined;
342
353
  testdaf?: string | null | undefined;
343
- basic_german_requirement?: string | null | undefined;
354
+ dsh?: string | null | undefined;
344
355
  gre?: string | null | undefined;
345
356
  gre_verbal?: number | null | undefined;
346
357
  gre_quantitative?: number | null | undefined;
@@ -385,6 +396,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
385
396
  createdAt: NativeDate;
386
397
  updatedAt: NativeDate;
387
398
  } & {
399
+ isEssayConsultantNeeded: boolean;
388
400
  school: string;
389
401
  program_name: string;
390
402
  programSubjects: string[];
@@ -412,8 +424,9 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
412
424
  ielts_listening?: number | null | undefined;
413
425
  ielts_writing?: number | null | undefined;
414
426
  ielts_speaking?: number | null | undefined;
427
+ goetheZertifikat?: string | null | undefined;
415
428
  testdaf?: string | null | undefined;
416
- basic_german_requirement?: string | null | undefined;
429
+ dsh?: string | null | undefined;
417
430
  gre?: string | null | undefined;
418
431
  gre_verbal?: number | null | undefined;
419
432
  gre_quantitative?: number | null | undefined;