mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-16 23:58:54 +09:00
update type definitions
This commit is contained in:
parent
691f0d07b9
commit
8c08be47cb
@ -156,7 +156,11 @@ export type MessagingMessage = {
|
||||
|
||||
export type InstanceMetadata = {
|
||||
emojis: {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
category: string;
|
||||
aliases: string[];
|
||||
}[];
|
||||
ads: {
|
||||
id: ID;
|
||||
|
@ -3,7 +3,7 @@ import { EventEmitter } from 'eventemitter3';
|
||||
import ReconnectingWebsocket from 'reconnecting-websocket';
|
||||
import { stringify } from 'querystring';
|
||||
import { markRaw } from '@vue/reactivity';
|
||||
import { MeDetailed, MessagingMessage, Note, Notification, PageEvent, User } from './entities';
|
||||
import { DriveFile, MeDetailed, MessagingMessage, Note, Notification, PageEvent, User } from './entities';
|
||||
|
||||
function urlQuery(obj: {}): string {
|
||||
return stringify(Object.entries(obj)
|
||||
@ -25,6 +25,21 @@ type ChannelDef = {
|
||||
unfollow: (payload: User) => void; // 自分が他人をフォロー解除したとき
|
||||
meUpdated: (payload: MeDetailed) => void;
|
||||
pageEvent: (payload: PageEvent) => void;
|
||||
urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void;
|
||||
readAllNotifications: () => void;
|
||||
unreadNotification: () => void;
|
||||
unreadMention: () => void;
|
||||
readAllUnreadMentions: () => void;
|
||||
unreadSpecifiedNote: () => void;
|
||||
readAllUnreadSpecifiedNotes: () => void;
|
||||
readAllMessagingMessages: () => void;
|
||||
unreadMessagingMessage: () => void;
|
||||
readAllAntennas: () => void;
|
||||
unreadAntenna: () => void;
|
||||
readAllAnnouncements: () => void;
|
||||
readAllChannels: () => void;
|
||||
unreadChannel: () => void;
|
||||
myTokenRegenerated: () => void;
|
||||
};
|
||||
};
|
||||
homeTimeline: {
|
||||
|
Loading…
Reference in New Issue
Block a user