mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 22:49:24 +09:00
Add missing main stream types (#36)
* Add missing main stream types * changelog, fix * update api * fix Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
d2b634c349
commit
755189f6f3
@ -1,3 +1,5 @@
|
|||||||
|
- add missing main stream types
|
||||||
|
|
||||||
# 0.0.10
|
# 0.0.10
|
||||||
- add consts
|
- add consts
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CustomEmoji, DriveFile, MeDetailed, MessagingMessage, Note, Notification, PageEvent, User, UserGroup } from './entities';
|
import { Antenna, CustomEmoji, DriveFile, MeDetailed, MessagingMessage, Note, Notification, PageEvent, User, UserGroup } from './entities';
|
||||||
|
|
||||||
type FIXME = any;
|
type FIXME = any;
|
||||||
|
|
||||||
@ -16,21 +16,31 @@ 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: (payload: Notification) => void;
|
||||||
unreadMention: () => void;
|
unreadMention: (payload: Note['id']) => void;
|
||||||
readAllUnreadMentions: () => void;
|
readAllUnreadMentions: () => void;
|
||||||
unreadSpecifiedNote: () => void;
|
unreadSpecifiedNote: (payload: Note['id']) => void;
|
||||||
readAllUnreadSpecifiedNotes: () => void;
|
readAllUnreadSpecifiedNotes: () => void;
|
||||||
readAllMessagingMessages: () => void;
|
readAllMessagingMessages: () => void;
|
||||||
unreadMessagingMessage: () => void;
|
messagingMessage: (payload: MessagingMessage) => void;
|
||||||
|
unreadMessagingMessage: (payload: MessagingMessage) => void;
|
||||||
readAllAntennas: () => void;
|
readAllAntennas: () => void;
|
||||||
unreadAntenna: () => void;
|
unreadAntenna: (payload: Antenna) => void;
|
||||||
readAllAnnouncements: () => void;
|
readAllAnnouncements: () => void;
|
||||||
readAllChannels: () => void;
|
readAllChannels: () => void;
|
||||||
unreadChannel: () => void;
|
unreadChannel: (payload: Note['id']) => void;
|
||||||
myTokenRegenerated: () => void;
|
myTokenRegenerated: () => void;
|
||||||
|
reversiNoInvites: () => void;
|
||||||
|
reversiInvited: (payload: FIXME) => void;
|
||||||
|
signin: (payload: FIXME) => void;
|
||||||
|
registryUpdated: (payload: {
|
||||||
|
scope?: string[];
|
||||||
|
key: string;
|
||||||
|
value: any | null;
|
||||||
|
}) => void;
|
||||||
|
driveFileCreated: (payload: DriveFile) => void;
|
||||||
|
readAntenna: (payload: Antenna) => void;
|
||||||
};
|
};
|
||||||
receives: null;
|
receives: null;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user