@kipicore/dbcore 1.1.158 → 1.1.159

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.
@@ -101,7 +101,7 @@ const CompetitionSchema = new mongoose_1.Schema({
101
101
  },
102
102
  rules: {
103
103
  type: String,
104
- required: true,
104
+ required: false,
105
105
  },
106
106
  maxGroupSize: {
107
107
  type: Number,
@@ -142,7 +142,7 @@ const CompetitionSchema = new mongoose_1.Schema({
142
142
  },
143
143
  isNeedApproval: {
144
144
  type: Boolean,
145
- required: true,
145
+ required: false,
146
146
  },
147
147
  subCategory: {
148
148
  type: String,
@@ -150,7 +150,7 @@ const CompetitionSchema = new mongoose_1.Schema({
150
150
  },
151
151
  academicCalendarId: {
152
152
  type: String,
153
- required: true,
153
+ required: false,
154
154
  },
155
155
  instituteId: {
156
156
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.158",
3
+ "version": "1.1.159",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",