summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-08 14:32:52 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-08 14:32:52 +0900
commitb697f948dfb778e56b193958173d4ac8889ae196 (patch)
tree8c8c8ad15102dfec82952a25af5ed42a441d0351
parentuse css module (diff)
downloadmisskey-b697f948dfb778e56b193958173d4ac8889ae196.tar.gz
misskey-b697f948dfb778e56b193958173d4ac8889ae196.tar.bz2
misskey-b697f948dfb778e56b193958173d4ac8889ae196.zip
Update misskey-js.api.md
-rw-r--r--packages/misskey-js/etc/misskey-js.api.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md
index 2511f14dcc..e57484be6b 100644
--- a/packages/misskey-js/etc/misskey-js.api.md
+++ b/packages/misskey-js/etc/misskey-js.api.md
@@ -166,6 +166,8 @@ export type Channels = {
readAllAntennas: () => void;
unreadAntenna: (payload: Antenna) => void;
readAllAnnouncements: () => void;
+ readAllChannels: () => void;
+ unreadChannel: (payload: Note['id']) => void;
myTokenRegenerated: () => void;
reversiNoInvites: () => void;
reversiInvited: (payload: FIXME) => void;
@@ -1855,6 +1857,12 @@ export type Endpoints = {
req: NoParams;
res: null;
};
+ 'notifications/read': {
+ req: {
+ notificationId: Notification_2['id'];
+ };
+ res: null;
+ };
'page-push': {
req: {
pageId: Page['id'];
@@ -2353,6 +2361,7 @@ type MeDetailed = UserDetailed & {
hasPendingReceivedFollowRequest: boolean;
hasUnreadAnnouncement: boolean;
hasUnreadAntenna: boolean;
+ hasUnreadChannel: boolean;
hasUnreadMentions: boolean;
hasUnreadMessagingMessage: boolean;
hasUnreadNotification: boolean;
@@ -2609,11 +2618,7 @@ export class Stream extends EventEmitter<StreamEvents> {
// (undocumented)
removeSharedConnectionPool(pool: Pool): void;
// (undocumented)
- send(typeOrPayload: string): void;
- // (undocumented)
- send(typeOrPayload: string, payload: any): void;
- // (undocumented)
- send(typeOrPayload: Record<string, any> | any[]): void;
+ send(typeOrPayload: any, payload?: any): void;
// (undocumented)
state: 'initializing' | 'reconnecting' | 'connected';
// (undocumented)
@@ -2709,8 +2714,8 @@ type UserSorting = '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+u
//
// src/api.types.ts:16:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts
// src/api.types.ts:18:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts
-// src/api.types.ts:594:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts
-// src/streaming.types.ts:33:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts
+// src/api.types.ts:595:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts
+// src/streaming.types.ts:35:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)