mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 23:53:09 +02:00
feat: add type definition for messagingMessage event to main stream channel (#30)
* add: type definition for messagingMessage event * update: changelog
This commit is contained in:
parent
71f35d90c5
commit
34afa60aff
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# 0.0.8(wip)
|
||||||
|
- add type definition for `messagingMessage` event to main stream channel
|
||||||
|
|
||||||
# 0.0.7
|
# 0.0.7
|
||||||
- Notificationsの型を修正
|
- Notificationsの型を修正
|
||||||
- MessagingMessageの型を修正
|
- MessagingMessageの型を修正
|
||||||
|
|
|
@ -16,6 +16,7 @@ export type Channels = {
|
||||||
meUpdated: (payload: MeDetailed) => void;
|
meUpdated: (payload: MeDetailed) => void;
|
||||||
pageEvent: (payload: PageEvent) => void;
|
pageEvent: (payload: PageEvent) => void;
|
||||||
urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void;
|
urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void;
|
||||||
|
messagingMessage: (payload: MessagingMessage) => void;
|
||||||
readAllNotifications: () => void;
|
readAllNotifications: () => void;
|
||||||
unreadNotification: () => void;
|
unreadNotification: () => void;
|
||||||
unreadMention: () => void;
|
unreadMention: () => void;
|
||||||
|
|
Loading…
Reference in a new issue