Merge branch 'develop' into feature/2024.9.0
This commit is contained in:
commit
2a4c91efcc
14 changed files with 204 additions and 6 deletions
|
|
@ -3308,6 +3308,17 @@ declare module '../api.js' {
|
|||
credential?: string | null,
|
||||
): Promise<SwitchCaseResponseType<E, P>>;
|
||||
|
||||
/**
|
||||
* No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:federation*
|
||||
*/
|
||||
request<E extends 'notes/polls/refresh', P extends Endpoints[E]['req']>(
|
||||
endpoint: E,
|
||||
params: P,
|
||||
credential?: string | null,
|
||||
): Promise<SwitchCaseResponseType<E, P>>;
|
||||
|
||||
/**
|
||||
* No description provided.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -440,6 +440,7 @@ import type {
|
|||
NotesPollsRecommendationRequest,
|
||||
NotesPollsRecommendationResponse,
|
||||
NotesPollsVoteRequest,
|
||||
NotesPollsRefreshRequest,
|
||||
NotesReactionsRequest,
|
||||
NotesReactionsResponse,
|
||||
NotesReactionsCreateRequest,
|
||||
|
|
@ -892,6 +893,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 };
|
||||
|
|
|
|||
|
|
@ -443,6 +443,7 @@ export type NotesMentionsResponse = operations['notes___mentions']['responses'][
|
|||
export type NotesPollsRecommendationRequest = operations['notes___polls___recommendation']['requestBody']['content']['application/json'];
|
||||
export type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json'];
|
||||
export type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json'];
|
||||
export type NotesPollsRefreshRequest = operations['notes___polls___refresh']['requestBody']['content']['application/json'];
|
||||
export type NotesReactionsRequest = operations['notes___reactions']['requestBody']['content']['application/json'];
|
||||
export type NotesReactionsResponse = operations['notes___reactions']['responses']['200']['content']['application/json'];
|
||||
export type NotesReactionsCreateRequest = operations['notes___reactions___create']['requestBody']['content']['application/json'];
|
||||
|
|
|
|||
|
|
@ -2865,6 +2865,15 @@ export type paths = {
|
|||
*/
|
||||
post: operations['notes___polls___vote'];
|
||||
};
|
||||
'/notes/polls/refresh': {
|
||||
/**
|
||||
* notes/polls/refresh
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:federation*
|
||||
*/
|
||||
post: operations['notes___polls___refresh'];
|
||||
};
|
||||
'/notes/reactions': {
|
||||
/**
|
||||
* notes/reactions
|
||||
|
|
@ -23048,6 +23057,58 @@ export type operations = {
|
|||
};
|
||||
};
|
||||
};
|
||||
/**
|
||||
* notes/polls/refresh
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:federation*
|
||||
*/
|
||||
notes___polls___refresh: {
|
||||
requestBody: {
|
||||
content: {
|
||||
'application/json': {
|
||||
/** Format: misskey:id */
|
||||
noteId: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description OK (without any results) */
|
||||
204: {
|
||||
content: never;
|
||||
};
|
||||
/** @description Client error */
|
||||
400: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Authentication error */
|
||||
401: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Forbidden error */
|
||||
403: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description I'm Ai */
|
||||
418: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Internal server error */
|
||||
500: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
/**
|
||||
* notes/reactions
|
||||
* @description No description provided.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue