@kipicore/dbcore 1.1.310 → 1.1.312

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.
@@ -21,6 +21,7 @@ export interface IChapterIndexAttributes {
21
21
  files?: IChapterFileAttributes[];
22
22
  teachingTime?: number;
23
23
  isDefault?: boolean;
24
+ difficultyLevel?: number;
24
25
  }
25
26
  export interface IAssignedUsersAttributes {
26
27
  userId: string;
@@ -60,3 +60,18 @@ export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Docume
60
60
  isFeeCarryForward: boolean;
61
61
  isFeeCollectionCreated: boolean;
62
62
  }
63
+ export interface IUserWiseData {
64
+ userId: string;
65
+ medium: string | null;
66
+ standard: string | null;
67
+ board: string | null;
68
+ stream: string | null;
69
+ grNumber: string | null;
70
+ subject: string[];
71
+ subMedium: string | null;
72
+ subStandard: string | null;
73
+ subBoard: string | null;
74
+ subStream: string | null;
75
+ subSubject: string[];
76
+ studentString: string;
77
+ }
@@ -161,6 +161,10 @@ const ChapterIndexSchema = new mongoose_1.Schema({
161
161
  type: Boolean,
162
162
  default: false,
163
163
  },
164
+ difficultyLevel: {
165
+ type: Number,
166
+ required: false,
167
+ },
164
168
  }, { _id: false });
165
169
  // Define the schema for ISubjectIndexModelAttributes
166
170
  const SubjectIndexSchema = new mongoose_1.Schema({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.310",
3
+ "version": "1.1.312",
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",