jp-shared 1.0.29 → 1.0.30

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.
@@ -20,7 +20,6 @@ const PROJECT_STATUS = ["completed", "notCompleted", null];
20
20
  const educationSchema = new mongoose.Schema({
21
21
  _id: { type: ObjectId, auto: true },
22
22
  qualificationId: { type: ObjectId, required: true },
23
- // qualification: { type: String, required: true },
24
23
  specializationId: {
25
24
  type: ObjectId,
26
25
  required: function () {
@@ -28,7 +27,6 @@ const educationSchema = new mongoose.Schema({
28
27
  },
29
28
  default: null,
30
29
  },
31
- // specialization: { type: String, required: true },
32
30
  courseId: {
33
31
  type: ObjectId,
34
32
  required: function () {
@@ -36,8 +34,7 @@ const educationSchema = new mongoose.Schema({
36
34
  },
37
35
  default: null,
38
36
  },
39
- // course: { type: String, required: true },
40
- institute: { type: ObjectId, required: true },
37
+ instituteId: { type: ObjectId, default: null, },
41
38
  courseType: { type: String, required: true },
42
39
  courseStartYear: {
43
40
  type: Number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jp-shared",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"