@kipicore/dbcore 1.1.227 → 1.1.228
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.
- package/dist/db/psql/index.d.ts +5 -0
- package/dist/db/psql/seeders/Data/greetingModule.d.ts +5 -0
- package/dist/db/psql/seeders/Data/greetingModule.js +11 -4
- package/dist/db/psql/seeders/Data/taskManagementModule.d.ts +5 -0
- package/dist/db/psql/seeders/Data/taskManagementModule.js +11 -4
- package/dist/models/psql/facilityModel.js +1 -1
- package/package.json +1 -1
package/dist/db/psql/index.d.ts
CHANGED
|
@@ -5,10 +5,17 @@ const GreetingModule = {
|
|
|
5
5
|
code: 'GREETING',
|
|
6
6
|
appType: [appTypeEnum.SCHOOL_APP],
|
|
7
7
|
features: [
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
{
|
|
9
|
+
name: 'Greeting Management',
|
|
10
|
+
code: 'GREETING.GREETINGMANAGEMENT',
|
|
11
|
+
appType: [appTypeEnum.SCHOOL_APP],
|
|
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] },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
12
19
|
],
|
|
13
20
|
};
|
|
14
21
|
module.exports = GreetingModule;
|
|
@@ -5,10 +5,17 @@ const TaskManagementModule = {
|
|
|
5
5
|
code: 'TASKMANAGEMENT',
|
|
6
6
|
appType: [appTypeEnum.SCHOOL_APP],
|
|
7
7
|
features: [
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
{
|
|
9
|
+
name: 'Task',
|
|
10
|
+
code: 'TASKMANAGEMENT.TASK',
|
|
11
|
+
appType: [appTypeEnum.SCHOOL_APP],
|
|
12
|
+
actions: [
|
|
13
|
+
{ name: 'Add', code: 'TASKMANAGEMENT.TASK.ADD', appType: [appTypeEnum.SCHOOL_APP] },
|
|
14
|
+
{ name: 'Update', code: 'TASKMANAGEMENT.TASK.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
15
|
+
{ name: 'View', code: 'TASKMANAGEMENT.TASK.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
|
|
16
|
+
{ name: 'Delete', code: 'TASKMANAGEMENT.TASK.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
12
19
|
],
|
|
13
20
|
};
|
|
14
21
|
module.exports = TaskManagementModule;
|
|
@@ -53,7 +53,7 @@ class FacilityModel extends sequelize_1.Model {
|
|
|
53
53
|
const type = await typeManagementModel_1.default.findOne({
|
|
54
54
|
where: {
|
|
55
55
|
id: facility.typeManagementId,
|
|
56
|
-
type:
|
|
56
|
+
// type: TYPE_MANAGEMENT_TYPE.FACILITY,
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
59
|
if (!type)
|
package/package.json
CHANGED