@kipicore/dbcore 1.1.439 → 1.1.441
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/constants/app.d.ts +2 -1
- package/dist/constants/app.js +1 -0
- package/dist/interfaces/approvalRequestInterface.d.ts +2 -2
- package/dist/interfaces/communityGroupInterface.d.ts +4 -2
- package/dist/interfaces/communityMessageInterface.d.ts +1 -1
- package/dist/models/mongodb/communityGroupModel.js +6 -0
- package/package.json +1 -1
package/dist/constants/app.d.ts
CHANGED
|
@@ -823,7 +823,8 @@ export declare enum SOCKET_EVENTS {
|
|
|
823
823
|
COMMUNITY_GROUP_JOIN = "COMMUNITY_GROUP_JOIN",
|
|
824
824
|
COMMUNITY_LEAVE_GROUP = "COMMUNITY_LEAVE_GROUP",
|
|
825
825
|
COMMUNITY_UNREAD_UPDATE = "COMMUNITY_UNREAD_UPDATE",
|
|
826
|
-
COMMUNITY_SEND_MESSAGE = "COMMUNITY_SEND_MESSAGE"
|
|
826
|
+
COMMUNITY_SEND_MESSAGE = "COMMUNITY_SEND_MESSAGE",
|
|
827
|
+
COMMUNITY_NEW_MESSAGE = "COMMUNITY_NEW_MESSAGE"
|
|
827
828
|
}
|
|
828
829
|
export declare enum HOME_WORK_STATUS {
|
|
829
830
|
COMPLETED = "COMPLETED",
|
package/dist/constants/app.js
CHANGED
|
@@ -1041,6 +1041,7 @@ var SOCKET_EVENTS;
|
|
|
1041
1041
|
SOCKET_EVENTS["COMMUNITY_LEAVE_GROUP"] = "COMMUNITY_LEAVE_GROUP";
|
|
1042
1042
|
SOCKET_EVENTS["COMMUNITY_UNREAD_UPDATE"] = "COMMUNITY_UNREAD_UPDATE";
|
|
1043
1043
|
SOCKET_EVENTS["COMMUNITY_SEND_MESSAGE"] = "COMMUNITY_SEND_MESSAGE";
|
|
1044
|
+
SOCKET_EVENTS["COMMUNITY_NEW_MESSAGE"] = "COMMUNITY_NEW_MESSAGE";
|
|
1044
1045
|
})(SOCKET_EVENTS || (exports.SOCKET_EVENTS = SOCKET_EVENTS = {}));
|
|
1045
1046
|
var HOME_WORK_STATUS;
|
|
1046
1047
|
(function (HOME_WORK_STATUS) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Document } from 'mongoose';
|
|
2
2
|
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
import { APPROVE_REQUEST_STATUS
|
|
3
|
+
import { APPROVE_REQUEST_STATUS } from '../constants/app';
|
|
4
4
|
export interface IApproveRequestModelAttributes extends IDefaultAttributes, Document {
|
|
5
5
|
id: string;
|
|
6
|
-
approveType:
|
|
6
|
+
approveType: string;
|
|
7
7
|
data: object;
|
|
8
8
|
status: APPROVE_REQUEST_STATUS;
|
|
9
9
|
approveBy?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Document } from 'mongoose';
|
|
2
|
-
import { COMMUNITY_TYPE, USER_TYPES } from '../constants/app';
|
|
2
|
+
import { APP_TYPE, COMMUNITY_TYPE, USER_TYPES } from '../constants/app';
|
|
3
3
|
import { IDefaultAttributes } from './commonInterface';
|
|
4
4
|
export interface ICommunityGroupModelAttributes extends IDefaultAttributes, Document {
|
|
5
5
|
id: string;
|
|
@@ -7,8 +7,10 @@ export interface ICommunityGroupModelAttributes extends IDefaultAttributes, Docu
|
|
|
7
7
|
description?: string;
|
|
8
8
|
entityIds: string[];
|
|
9
9
|
userTypes: USER_TYPES[];
|
|
10
|
+
appType: APP_TYPE[];
|
|
10
11
|
type: COMMUNITY_TYPE;
|
|
11
12
|
iconId: string;
|
|
12
|
-
bannerId
|
|
13
|
+
bannerId?: string;
|
|
13
14
|
imgDeletedDays: number;
|
|
15
|
+
joinMemberAuto: boolean;
|
|
14
16
|
}
|
package/package.json
CHANGED