jp-shared 1.1.7 → 1.1.9
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.
|
@@ -31,21 +31,10 @@ const schema = new mongoose.Schema(
|
|
|
31
31
|
message: "Invalid Recruiter ID format",
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
// validate: {
|
|
39
|
-
// validator: function (v) {
|
|
40
|
-
// return mongoose.Types.ObjectId.isValid(v);
|
|
41
|
-
// },
|
|
42
|
-
// message: "Invalid Plan ID format",
|
|
43
|
-
// },
|
|
44
|
-
// },
|
|
45
|
-
// jobId: {
|
|
46
|
-
// type: String,
|
|
47
|
-
// required: [true, "Job ID is required"],
|
|
48
|
-
// },
|
|
34
|
+
isFroozen: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
},
|
|
49
38
|
paymentHistoryId: {
|
|
50
39
|
type: ObjectId,
|
|
51
40
|
required: [true, "Payment History ID is required"],
|