@kipicore/dbcore 1.1.432 → 1.1.433

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.
@@ -70,6 +70,8 @@ const TaskManagementModule = require('./seeders/Data/taskManagementModule');
70
70
  const ReportManagementModule = require('./seeders/Data/ReportManagementModule');
71
71
  const DashboardManagementModule = require('./seeders/Data/dashboardManagementModule'); // Need to uncomment dashboard module is ready
72
72
  const CertificateManagementModule = require('./seeders/Data/certificateManagementModule'); // Need to uncomment certificate module is ready
73
+ const CallRegisterModule = require('./seeders/Data/CallRegisterModule');
74
+ const PostalDispatchModule = require('./seeders/Data/PostalDispatchModule');
73
75
  const allModules = [
74
76
  AcademicCalendarModule,
75
77
  // AdministrativeStaffModule,
@@ -139,5 +141,7 @@ const allModules = [
139
141
  CertificateManagementModule, // Need to uncomment certificate module is ready
140
142
  // UserRoleModule,
141
143
  ReportManagementModule,
144
+ CallRegisterModule,
145
+ PostalDispatchModule
142
146
  ];
143
147
  module.exports = allModules;
@@ -0,0 +1,13 @@
1
+ export let name: string;
2
+ export let code: string;
3
+ export let appType: string[];
4
+ export let features: {
5
+ name: string;
6
+ code: string;
7
+ appType: string[];
8
+ actions: {
9
+ name: string;
10
+ code: string;
11
+ appType: string[];
12
+ }[];
13
+ }[];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ const appTypeEnum = require('./appType');
3
+ const CallRegisterModule = {
4
+ name: 'Call Register',
5
+ code: 'CALLREGISTER',
6
+ appType: [appTypeEnum.SCHOOL_APP],
7
+ features: [
8
+ {
9
+ name: 'Call Management',
10
+ code: 'CALLREGISTER.CALLMANAGEMENT',
11
+ appType: [appTypeEnum.SCHOOL_APP],
12
+ actions: [
13
+ { name: 'Add', code: 'CALLREGISTER.CALLMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP] },
14
+ { name: 'Update', code: 'CALLREGISTER.CALLMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
15
+ { name: 'View', code: 'CALLREGISTER.CALLMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
16
+ { name: 'Delete', code: 'CALLREGISTER.CALLMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
17
+ ],
18
+ },
19
+ ],
20
+ };
21
+ module.exports = CallRegisterModule;
@@ -0,0 +1,13 @@
1
+ export let name: string;
2
+ export let code: string;
3
+ export let appType: string[];
4
+ export let features: {
5
+ name: string;
6
+ code: string;
7
+ appType: string[];
8
+ actions: {
9
+ name: string;
10
+ code: string;
11
+ appType: string[];
12
+ }[];
13
+ }[];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ const appTypeEnum = require('./appType');
3
+ const PostalDispatchModule = {
4
+ name: 'Postal Dispatch',
5
+ code: 'POSTALDISPATCH',
6
+ appType: [appTypeEnum.SCHOOL_APP],
7
+ features: [
8
+ {
9
+ name: 'Postal Management',
10
+ code: 'POSTALDISPATCH.POSTALMANAGEMENT',
11
+ appType: [appTypeEnum.SCHOOL_APP],
12
+ actions: [
13
+ { name: 'Add', code: 'POSTALDISPATCH.POSTALMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP] },
14
+ { name: 'Update', code: 'POSTALDISPATCH.POSTALMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
15
+ { name: 'View', code: 'POSTALDISPATCH.POSTALMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
16
+ { name: 'Delete', code: 'POSTALDISPATCH.POSTALMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
17
+ ],
18
+ },
19
+ ],
20
+ };
21
+ module.exports = PostalDispatchModule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.432",
3
+ "version": "1.1.433",
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",