@taiger-common/model 1.0.25 → 1.0.26

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.
package/README.md CHANGED
@@ -18,4 +18,7 @@ npm version patch # or minor/major
18
18
  git push origin main --tags
19
19
 
20
20
  # Publish to npm
21
- npm publish
21
+ npm publish
22
+
23
+ # Concat command for powershell (please modify the commit message)
24
+ git add .; git commit -m "fix: add application_year"; git push origin main; npm run build; npm version patch; git push origin main --tags; npm publish
@@ -12,10 +12,6 @@ exports.interviewsSchema = new mongoose_1.Schema({
12
12
  type: String,
13
13
  default: ''
14
14
  },
15
- status: {
16
- type: String,
17
- default: 'Unscheduled'
18
- },
19
15
  interviewer: {
20
16
  type: String,
21
17
  default: ''
@@ -429,7 +429,8 @@ var applicationSchema = new mongoose_1.Schema({
429
429
  finalEnrolment: { type: Boolean, default: false },
430
430
  decided: { type: String, default: '-' },
431
431
  closed: { type: String, default: '-' },
432
- admission: { type: String, default: '-' }
432
+ admission: { type: String, default: '-' },
433
+ application_year: { type: String, default: '' }
433
434
  });
434
435
  var studentSchema = new mongoose_1.Schema({
435
436
  agents: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Agent' }],
@@ -9,10 +9,6 @@ export var interviewsSchema = new Schema({
9
9
  type: String,
10
10
  default: ''
11
11
  },
12
- status: {
13
- type: String,
14
- default: 'Unscheduled'
15
- },
16
12
  interviewer: {
17
13
  type: String,
18
14
  default: ''
@@ -424,7 +424,8 @@ var applicationSchema = new Schema({
424
424
  finalEnrolment: { type: Boolean, default: false },
425
425
  decided: { type: String, default: '-' },
426
426
  closed: { type: String, default: '-' },
427
- admission: { type: String, default: '-' }
427
+ admission: { type: String, default: '-' },
428
+ application_year: { type: String, default: '' }
428
429
  });
429
430
  var studentSchema = new Schema({
430
431
  agents: [{ type: Schema.Types.ObjectId, ref: 'Agent' }],
@@ -30,7 +30,6 @@ export declare const interviewsSchema: Schema<any, import("mongoose").Model<any,
30
30
  createdAt: NativeDate;
31
31
  updatedAt: NativeDate;
32
32
  } & {
33
- status: string;
34
33
  trainer_id: import("mongoose").Types.ObjectId[];
35
34
  interview_description: string;
36
35
  interviewer: string;
@@ -47,7 +46,6 @@ export declare const interviewsSchema: Schema<any, import("mongoose").Model<any,
47
46
  createdAt: NativeDate;
48
47
  updatedAt: NativeDate;
49
48
  } & {
50
- status: string;
51
49
  trainer_id: import("mongoose").Types.ObjectId[];
52
50
  interview_description: string;
53
51
  interviewer: string;
@@ -64,7 +62,6 @@ export declare const interviewsSchema: Schema<any, import("mongoose").Model<any,
64
62
  createdAt: NativeDate;
65
63
  updatedAt: NativeDate;
66
64
  } & {
67
- status: string;
68
65
  trainer_id: import("mongoose").Types.ObjectId[];
69
66
  interview_description: string;
70
67
  interviewer: string;