upd: add ability to refresh poll
This commit is contained in:
parent
68b90df00b
commit
dd58a4aa92
10 changed files with 199 additions and 2 deletions
|
|
@ -437,6 +437,7 @@ import type {
|
|||
NotesPollsRecommendationRequest,
|
||||
NotesPollsRecommendationResponse,
|
||||
NotesPollsVoteRequest,
|
||||
NotesPollsRefreshRequest,
|
||||
NotesReactionsRequest,
|
||||
NotesReactionsResponse,
|
||||
NotesReactionsCreateRequest,
|
||||
|
|
@ -886,6 +887,7 @@ export type Endpoints = {
|
|||
'notes/mentions': { req: NotesMentionsRequest; res: NotesMentionsResponse };
|
||||
'notes/polls/recommendation': { req: NotesPollsRecommendationRequest; res: NotesPollsRecommendationResponse };
|
||||
'notes/polls/vote': { req: NotesPollsVoteRequest; res: EmptyResponse };
|
||||
'notes/polls/refresh': { req: NotesPollsRefreshRequest; res: EmptyResponse };
|
||||
'notes/reactions': { req: NotesReactionsRequest; res: NotesReactionsResponse };
|
||||
'notes/reactions/create': { req: NotesReactionsCreateRequest; res: EmptyResponse };
|
||||
'notes/reactions/delete': { req: NotesReactionsDeleteRequest; res: EmptyResponse };
|
||||
|
|
@ -1283,6 +1285,7 @@ export const endpointReqTypes: Record<keyof Endpoints, 'application/json' | 'mul
|
|||
'notes/mentions': 'application/json',
|
||||
'notes/polls/recommendation': 'application/json',
|
||||
'notes/polls/vote': 'application/json',
|
||||
'notes/polls/refresh': 'application/json',
|
||||
'notes/reactions': 'application/json',
|
||||
'notes/reactions/create': 'application/json',
|
||||
'notes/reactions/delete': 'application/json',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue