@lyxa.ai/core 1.0.355 → 1.0.357
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.
|
@@ -8,6 +8,7 @@ export type SocketSubscriptionIdentifiersMap = {
|
|
|
8
8
|
};
|
|
9
9
|
export type SocketEmitMap = {
|
|
10
10
|
[SocketSubscriptionType.ON_CHATROOM]: SocketEmits.MESSAGE_RECEIVE;
|
|
11
|
+
[SocketSubscriptionType.NOTIFICATION]: SocketEmits;
|
|
11
12
|
};
|
|
12
13
|
export type SocketPayloadMap = {
|
|
13
14
|
[SocketEmits.MESSAGE_RECEIVE]: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"socket.types.js","sourceRoot":"/","sources":["libraries/socket/socket.types.ts"],"names":[],"mappings":";;AAAA,+CAA2E","sourcesContent":["import { SocketEmits, SocketSubscriptionType } from '../../utilities/enum';\n\nexport type SocketSubscriptionIdentifiersMap = {\n\t[SocketSubscriptionType.ON_CHATROOM]: { chatroomId: string };\n\t[SocketSubscriptionType.ON_CHATLIST]: {};\n\t[SocketSubscriptionType.NOTIFICATION]: {};\n};\n\nexport type SocketEmitMap = {\n\t[SocketSubscriptionType.ON_CHATROOM]: SocketEmits.MESSAGE_RECEIVE;\n};\n\nexport type SocketPayloadMap = {\n\t[SocketEmits.MESSAGE_RECEIVE]: {\n\t\t_id: string;\n\t\tsenderId: string;\n\t\tcontent: string;\n\t\tchatroomId: string;\n\t\tcreatedAt: string;\n\t};\n};\n"]}
|
|
1
|
+
{"version":3,"file":"socket.types.js","sourceRoot":"/","sources":["libraries/socket/socket.types.ts"],"names":[],"mappings":";;AAAA,+CAA2E","sourcesContent":["import { SocketEmits, SocketSubscriptionType } from '../../utilities/enum';\n\nexport type SocketSubscriptionIdentifiersMap = {\n\t[SocketSubscriptionType.ON_CHATROOM]: { chatroomId: string };\n\t[SocketSubscriptionType.ON_CHATLIST]: {};\n\t[SocketSubscriptionType.NOTIFICATION]: {};\n};\n\nexport type SocketEmitMap = {\n\t[SocketSubscriptionType.ON_CHATROOM]: SocketEmits.MESSAGE_RECEIVE;\n\t[SocketSubscriptionType.NOTIFICATION]: SocketEmits;\n};\n\nexport type SocketPayloadMap = {\n\t[SocketEmits.MESSAGE_RECEIVE]: {\n\t\t_id: string;\n\t\tsenderId: string;\n\t\tcontent: string;\n\t\tchatroomId: string;\n\t\tcreatedAt: string;\n\t};\n};\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED