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:
Nya Candy 2021-10-17 13:03:43 +08:00 committed by GitHub
parent 71f35d90c5
commit 34afa60aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# 0.0.8(wip)
- add type definition for `messagingMessage` event to main stream channel
# 0.0.7
- Notificationsの型を修正
- MessagingMessageの型を修正

View File

@ -16,6 +16,7 @@ export type Channels = {
meUpdated: (payload: MeDetailed) => void;
pageEvent: (payload: PageEvent) => void;
urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void;
messagingMessage: (payload: MessagingMessage) => void;
readAllNotifications: () => void;
unreadNotification: () => void;
unreadMention: () => void;