From ca655c06288f290688d8668c9271b5fe8c22b38b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 23 May 2021 12:47:34 +0900 Subject: [PATCH] Update endpoints.ts --- src/endpoints.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/endpoints.ts b/src/endpoints.ts index b1df2c529..0c8c50e6f 100644 --- a/src/endpoints.ts +++ b/src/endpoints.ts @@ -276,11 +276,11 @@ export type Endpoints = { 'notes/delete': { req: { noteId: Note['id']; }; res: null; }; 'notes/favorites/create': { req: TODO; res: TODO; }; 'notes/favorites/delete': { req: { noteId: Note['id']; }; res: null; }; - 'notes/featured': { req: TODO; res: TODO; }; - 'notes/global-timeline': { req: TODO; res: TODO; }; - 'notes/hybrid-timeline': { req: TODO; res: TODO; }; - 'notes/local-timeline': { req: TODO; res: TODO; }; - 'notes/mentions': { req: TODO; res: TODO; }; + 'notes/featured': { req: TODO; res: Note[]; }; + 'notes/global-timeline': { req: TODO; res: Note[]; }; + 'notes/hybrid-timeline': { req: TODO; res: Note[]; }; + 'notes/local-timeline': { req: TODO; res: Note[]; }; + 'notes/mentions': { req: TODO; res: Note[]; }; 'notes/polls/recommendation': { req: TODO; res: TODO; }; 'notes/polls/vote': { req: TODO; res: TODO; }; 'notes/reactions': { req: TODO; res: TODO; }; @@ -292,7 +292,7 @@ export type Endpoints = { 'notes/search': { req: TODO; res: TODO; }; 'notes/show': { req: { noteId: Note['id']; }; res: Note; }; 'notes/state': { req: TODO; res: TODO; }; - 'notes/timeline': { req: TODO; res: TODO; }; + 'notes/timeline': { req: TODO; res: Note[]; }; 'notes/unrenote': { req: TODO; res: TODO; }; 'notes/user-list-timeline': { req: TODO; res: TODO; }; 'notes/watching/create': { req: TODO; res: TODO; };