Update misskey-js.api.md
This commit is contained in:
parent
2cac0cfe1a
commit
d0b341495b
|
@ -30,6 +30,10 @@ type Announcement = {
|
||||||
text: string;
|
text: string;
|
||||||
title: string;
|
title: string;
|
||||||
imageUrl: string | null;
|
imageUrl: string | null;
|
||||||
|
display: 'normal' | 'banner' | 'dialog';
|
||||||
|
icon: 'info' | 'warning' | 'error' | 'success';
|
||||||
|
needConfirmationToRead: boolean;
|
||||||
|
forYou: boolean;
|
||||||
isRead?: boolean;
|
isRead?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2453,6 +2457,7 @@ type MeDetailed = UserDetailed & {
|
||||||
noCrawle: boolean;
|
noCrawle: boolean;
|
||||||
receiveAnnouncementEmail: boolean;
|
receiveAnnouncementEmail: boolean;
|
||||||
usePasswordLessLogin: boolean;
|
usePasswordLessLogin: boolean;
|
||||||
|
unreadAnnouncements: Announcement[];
|
||||||
[other: string]: any;
|
[other: string]: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue