@kipicore/dbcore 1.1.326 → 1.1.328

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.
@@ -93,11 +93,11 @@ const FeeAndDiscountModule = {
93
93
  {
94
94
  name: 'Fees History',
95
95
  code: 'FEE.HISTORY',
96
- appType: [appTypeEnum.SCHOOL_APP],
96
+ appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP],
97
97
  actions: [
98
98
  // { name: 'Add', code: 'FEE.HISTORY.ADD', appType: [appTypeEnum.SCHOOL_APP] },
99
99
  { name: 'Update', code: 'FEE.HISTORY.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
100
- { name: 'View', code: 'FEE.HISTORY.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
100
+ { name: 'View', code: 'FEE.HISTORY.VIEW', appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP] },
101
101
  // { name: 'Delete', code: 'FEE.HISTORY.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
102
102
  // { name: 'Approval', code: 'FEE.HISTORY.APPROVAL', appType: [appTypeEnum.SCHOOL_APP] },
103
103
  ],
@@ -3,17 +3,17 @@ const appTypeEnum = require('./appType');
3
3
  const GreetingModule = {
4
4
  name: 'Greeting',
5
5
  code: 'GREETING',
6
- appType: [appTypeEnum.SCHOOL_APP],
6
+ appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP],
7
7
  features: [
8
8
  {
9
9
  name: 'Greeting Management',
10
10
  code: 'GREETING.GREETINGMANAGEMENT',
11
- appType: [appTypeEnum.SCHOOL_APP],
11
+ appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP],
12
12
  actions: [
13
- { name: 'Add', code: 'GREETING.GREETINGMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP] },
14
- { name: 'Update', code: 'GREETING.GREETINGMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
15
- { name: 'View', code: 'GREETING.GREETINGMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
16
- { name: 'Delete', code: 'GREETING.GREETINGMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
13
+ { name: 'Add', code: 'GREETING.GREETINGMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP] },
14
+ { name: 'Update', code: 'GREETING.GREETINGMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP] },
15
+ { name: 'View', code: 'GREETING.GREETINGMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP] },
16
+ { name: 'Delete', code: 'GREETING.GREETINGMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP, appTypeEnum.INSTITUTE_APP] },
17
17
  ],
18
18
  },
19
19
  ],
@@ -2,6 +2,7 @@ import { Document } from 'mongoose';
2
2
  import { IDefaultAttributes } from './commonInterface';
3
3
  export interface IExamList {
4
4
  examId: string;
5
+ typeId?: string;
5
6
  number: number;
6
7
  }
7
8
  export interface IMarkSheetArrangement {
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const mongoose_1 = __importStar(require("mongoose"));
37
37
  const examListSchema = new mongoose_1.Schema({
38
38
  examId: { type: String, required: false },
39
+ typeId: { type: String, required: false },
39
40
  number: { type: Number, required: false },
40
41
  }, { _id: false });
41
42
  const markSheetArrangementSchema = new mongoose_1.Schema({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.326",
3
+ "version": "1.1.328",
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",