@kipicore/dbcore 1.1.117 → 1.1.118

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.
@@ -16,7 +16,7 @@ export interface ICompetitionAttributes extends IDefaultAttributes, Document {
16
16
  type: COMPETITION_TYPE;
17
17
  rules: string;
18
18
  maxGroupSize: number;
19
- benue: string;
19
+ venue: string;
20
20
  rounds: IRoundsInformationAttributes[];
21
21
  competitionPoster: string[];
22
22
  startTime: Date;
@@ -8,6 +8,7 @@ export interface IExamRoomStudentRangeAttributes {
8
8
  }
9
9
  export interface ISeatingClassroomAttributes {
10
10
  classRoomId: string;
11
+ capacity: number;
11
12
  examDetails: IExamRoomStudentRangeAttributes[];
12
13
  }
13
14
  export interface ISeatingArrangementModelAttributes extends IDefaultAttributes, Document {
@@ -84,7 +84,7 @@ const CompetitionSchema = new mongoose_1.Schema({
84
84
  type: Number,
85
85
  required: false,
86
86
  },
87
- benue: {
87
+ venue: {
88
88
  type: String,
89
89
  required: true,
90
90
  },
@@ -42,6 +42,7 @@ const ExamRoomStudentRangeSchema = new mongoose_1.Schema({
42
42
  }, { _id: false });
43
43
  const SeatingClassroomSchema = new mongoose_1.Schema({
44
44
  classRoomId: { type: String, required: true },
45
+ capacity: { type: Number, required: false },
45
46
  examDetails: { type: [ExamRoomStudentRangeSchema], required: true },
46
47
  }, { _id: false });
47
48
  const SeatingArrangementSchema = new mongoose_1.Schema({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.117",
3
+ "version": "1.1.118",
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",