@kipicore/dbcore 1.1.444 → 1.1.446
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
CHANGED
|
@@ -824,7 +824,8 @@ export declare enum SOCKET_EVENTS {
|
|
|
824
824
|
COMMUNITY_LEAVE_GROUP = "COMMUNITY_LEAVE_GROUP",
|
|
825
825
|
COMMUNITY_UNREAD_UPDATE = "COMMUNITY_UNREAD_UPDATE",
|
|
826
826
|
COMMUNITY_SEND_MESSAGE = "COMMUNITY_SEND_MESSAGE",
|
|
827
|
-
COMMUNITY_NEW_MESSAGE = "COMMUNITY_NEW_MESSAGE"
|
|
827
|
+
COMMUNITY_NEW_MESSAGE = "COMMUNITY_NEW_MESSAGE",
|
|
828
|
+
COMMUNITY_ONLINE_MEMBERS = "COMMUNITY_ONLINE_MEMBERS"
|
|
828
829
|
}
|
|
829
830
|
export declare enum HOME_WORK_STATUS {
|
|
830
831
|
COMPLETED = "COMPLETED",
|
package/dist/constants/app.js
CHANGED
|
@@ -1042,6 +1042,7 @@ var SOCKET_EVENTS;
|
|
|
1042
1042
|
SOCKET_EVENTS["COMMUNITY_UNREAD_UPDATE"] = "COMMUNITY_UNREAD_UPDATE";
|
|
1043
1043
|
SOCKET_EVENTS["COMMUNITY_SEND_MESSAGE"] = "COMMUNITY_SEND_MESSAGE";
|
|
1044
1044
|
SOCKET_EVENTS["COMMUNITY_NEW_MESSAGE"] = "COMMUNITY_NEW_MESSAGE";
|
|
1045
|
+
SOCKET_EVENTS["COMMUNITY_ONLINE_MEMBERS"] = "COMMUNITY_ONLINE_MEMBERS";
|
|
1045
1046
|
})(SOCKET_EVENTS || (exports.SOCKET_EVENTS = SOCKET_EVENTS = {}));
|
|
1046
1047
|
var HOME_WORK_STATUS;
|
|
1047
1048
|
(function (HOME_WORK_STATUS) {
|
|
@@ -37,6 +37,7 @@ const mongoose_1 = __importStar(require("mongoose"));
|
|
|
37
37
|
const communityMessageSchema = new mongoose_1.Schema({
|
|
38
38
|
groupId: { type: String },
|
|
39
39
|
senderId: { type: String },
|
|
40
|
+
parentId: { type: String },
|
|
40
41
|
text: { type: String },
|
|
41
42
|
sendTime: { type: Date },
|
|
42
43
|
mediaUrl: { type: String },
|
package/package.json
CHANGED