@kipicore/dbcore 1.1.161 → 1.1.162
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.
|
@@ -63,11 +63,11 @@ const CampusCarnivalSchema = new mongoose_1.Schema({
|
|
|
63
63
|
},
|
|
64
64
|
academicCalendarId: {
|
|
65
65
|
type: String,
|
|
66
|
-
required:
|
|
66
|
+
required: false,
|
|
67
67
|
},
|
|
68
68
|
instituteId: {
|
|
69
69
|
type: String,
|
|
70
|
-
required:
|
|
70
|
+
required: false,
|
|
71
71
|
},
|
|
72
72
|
createdBy: {
|
|
73
73
|
type: String,
|
|
@@ -42,19 +42,19 @@ const RoundsInformationSchema = new mongoose_1.Schema({
|
|
|
42
42
|
},
|
|
43
43
|
startTime: {
|
|
44
44
|
type: Date,
|
|
45
|
-
required:
|
|
45
|
+
required: false,
|
|
46
46
|
},
|
|
47
47
|
endTime: {
|
|
48
48
|
type: Date,
|
|
49
|
-
required:
|
|
49
|
+
required: false,
|
|
50
50
|
},
|
|
51
51
|
mark: {
|
|
52
52
|
type: Number,
|
|
53
|
-
required:
|
|
53
|
+
required: false,
|
|
54
54
|
},
|
|
55
55
|
passingMark: {
|
|
56
56
|
type: Number,
|
|
57
|
-
required:
|
|
57
|
+
required: false,
|
|
58
58
|
},
|
|
59
59
|
status: {
|
|
60
60
|
type: String,
|
|
@@ -65,29 +65,29 @@ const RoundsInformationSchema = new mongoose_1.Schema({
|
|
|
65
65
|
const StandardsInformationSchema = new mongoose_1.Schema({
|
|
66
66
|
standardId: {
|
|
67
67
|
type: String,
|
|
68
|
-
required:
|
|
68
|
+
required: false,
|
|
69
69
|
},
|
|
70
70
|
numberOfParticipants: {
|
|
71
71
|
type: Number,
|
|
72
|
-
required:
|
|
72
|
+
required: false,
|
|
73
73
|
},
|
|
74
74
|
maxParticipants: {
|
|
75
75
|
type: Number,
|
|
76
|
-
required:
|
|
76
|
+
required: false,
|
|
77
77
|
},
|
|
78
78
|
batchId: {
|
|
79
79
|
type: [String],
|
|
80
|
-
required:
|
|
80
|
+
required: false,
|
|
81
81
|
},
|
|
82
82
|
}, { _id: false });
|
|
83
83
|
const CompetitionSchema = new mongoose_1.Schema({
|
|
84
84
|
name: {
|
|
85
85
|
type: String,
|
|
86
|
-
required:
|
|
86
|
+
required: false,
|
|
87
87
|
},
|
|
88
88
|
description: {
|
|
89
89
|
type: String,
|
|
90
|
-
required:
|
|
90
|
+
required: false,
|
|
91
91
|
},
|
|
92
92
|
type: {
|
|
93
93
|
type: String,
|
|
@@ -109,19 +109,19 @@ const CompetitionSchema = new mongoose_1.Schema({
|
|
|
109
109
|
},
|
|
110
110
|
venue: {
|
|
111
111
|
type: String,
|
|
112
|
-
required:
|
|
112
|
+
required: false,
|
|
113
113
|
},
|
|
114
114
|
rounds: {
|
|
115
115
|
type: [RoundsInformationSchema],
|
|
116
|
-
required:
|
|
116
|
+
required: false,
|
|
117
117
|
},
|
|
118
118
|
startTime: {
|
|
119
119
|
type: Date,
|
|
120
|
-
required:
|
|
120
|
+
required: false,
|
|
121
121
|
},
|
|
122
122
|
endTime: {
|
|
123
123
|
type: Date,
|
|
124
|
-
required:
|
|
124
|
+
required: false,
|
|
125
125
|
},
|
|
126
126
|
status: {
|
|
127
127
|
type: String,
|
|
@@ -130,15 +130,15 @@ const CompetitionSchema = new mongoose_1.Schema({
|
|
|
130
130
|
},
|
|
131
131
|
judges: {
|
|
132
132
|
type: [String],
|
|
133
|
-
required:
|
|
133
|
+
required: false,
|
|
134
134
|
},
|
|
135
135
|
coordinator: {
|
|
136
136
|
type: [String],
|
|
137
|
-
required:
|
|
137
|
+
required: false,
|
|
138
138
|
},
|
|
139
139
|
standards: {
|
|
140
140
|
type: [StandardsInformationSchema],
|
|
141
|
-
required:
|
|
141
|
+
required: false,
|
|
142
142
|
},
|
|
143
143
|
isNeedApproval: {
|
|
144
144
|
type: Boolean,
|
|
@@ -146,7 +146,7 @@ const CompetitionSchema = new mongoose_1.Schema({
|
|
|
146
146
|
},
|
|
147
147
|
subCategory: {
|
|
148
148
|
type: String,
|
|
149
|
-
required:
|
|
149
|
+
required: false,
|
|
150
150
|
},
|
|
151
151
|
academicCalendarId: {
|
|
152
152
|
type: String,
|
|
@@ -154,11 +154,11 @@ const CompetitionSchema = new mongoose_1.Schema({
|
|
|
154
154
|
},
|
|
155
155
|
instituteId: {
|
|
156
156
|
type: String,
|
|
157
|
-
required:
|
|
157
|
+
required: false,
|
|
158
158
|
},
|
|
159
159
|
campusCarnivalId: {
|
|
160
160
|
type: String,
|
|
161
|
-
required:
|
|
161
|
+
required: false,
|
|
162
162
|
},
|
|
163
163
|
createdBy: {
|
|
164
164
|
type: String,
|
package/package.json
CHANGED