mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 22:49:24 +09:00
update type definitions
This commit is contained in:
parent
691f0d07b9
commit
8c08be47cb
@ -156,7 +156,11 @@ export type MessagingMessage = {
|
|||||||
|
|
||||||
export type InstanceMetadata = {
|
export type InstanceMetadata = {
|
||||||
emojis: {
|
emojis: {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
url: string;
|
||||||
category: string;
|
category: string;
|
||||||
|
aliases: string[];
|
||||||
}[];
|
}[];
|
||||||
ads: {
|
ads: {
|
||||||
id: ID;
|
id: ID;
|
||||||
|
@ -3,7 +3,7 @@ import { EventEmitter } from 'eventemitter3';
|
|||||||
import ReconnectingWebsocket from 'reconnecting-websocket';
|
import ReconnectingWebsocket from 'reconnecting-websocket';
|
||||||
import { stringify } from 'querystring';
|
import { stringify } from 'querystring';
|
||||||
import { markRaw } from '@vue/reactivity';
|
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 {
|
function urlQuery(obj: {}): string {
|
||||||
return stringify(Object.entries(obj)
|
return stringify(Object.entries(obj)
|
||||||
@ -25,6 +25,21 @@ type ChannelDef = {
|
|||||||
unfollow: (payload: User) => void; // 自分が他人をフォロー解除したとき
|
unfollow: (payload: User) => void; // 自分が他人をフォロー解除したとき
|
||||||
meUpdated: (payload: MeDetailed) => void;
|
meUpdated: (payload: MeDetailed) => void;
|
||||||
pageEvent: (payload: PageEvent) => 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: {
|
homeTimeline: {
|
||||||
|
Loading…
Reference in New Issue
Block a user