fix(misskey-js): `mahjong/cancel-match` returns 204

This commit is contained in:
zyoshoka 2025-04-18 23:28:22 +09:00
parent 431223fbd7
commit ebaf78cddd
No known key found for this signature in database
5 changed files with 4 additions and 15 deletions

View File

@ -14,9 +14,6 @@ export const meta = {
errors: {
},
res: {
},
} as const;
export const paramDef = {

View File

@ -2024,7 +2024,6 @@ declare namespace entities {
InviteListRequest,
InviteListResponse,
MahjongCancelMatchRequest,
MahjongCancelMatchResponse,
MahjongCreateRoomResponse,
MahjongGamesRequest,
MahjongGamesResponse,
@ -2837,9 +2836,6 @@ type IWebhooksUpdateRequest = operations['i___webhooks___update']['requestBody']
// @public (undocumented)
type MahjongCancelMatchRequest = operations['mahjong___cancel-match']['requestBody']['content']['application/json'];
// @public (undocumented)
type MahjongCancelMatchResponse = operations['mahjong___cancel-match']['responses']['200']['content']['application/json'];
// @public (undocumented)
type MahjongCreateRoomResponse = operations['mahjong___create-room']['responses']['200']['content']['application/json'];

View File

@ -466,7 +466,6 @@ import type {
InviteListRequest,
InviteListResponse,
MahjongCancelMatchRequest,
MahjongCancelMatchResponse,
MahjongCreateRoomResponse,
MahjongGamesRequest,
MahjongGamesResponse,
@ -950,7 +949,7 @@ export type Endpoints = {
'invite/delete': { req: InviteDeleteRequest; res: EmptyResponse };
'invite/limit': { req: EmptyRequest; res: InviteLimitResponse };
'invite/list': { req: InviteListRequest; res: InviteListResponse };
'mahjong/cancel-match': { req: MahjongCancelMatchRequest; res: MahjongCancelMatchResponse };
'mahjong/cancel-match': { req: MahjongCancelMatchRequest; res: EmptyResponse };
'mahjong/create-room': { req: EmptyRequest; res: MahjongCreateRoomResponse };
'mahjong/games': { req: MahjongGamesRequest; res: MahjongGamesResponse };
'mahjong/join-room': { req: MahjongJoinRoomRequest; res: MahjongJoinRoomResponse };

View File

@ -469,7 +469,6 @@ export type InviteLimitResponse = operations['invite___limit']['responses']['200
export type InviteListRequest = operations['invite___list']['requestBody']['content']['application/json'];
export type InviteListResponse = operations['invite___list']['responses']['200']['content']['application/json'];
export type MahjongCancelMatchRequest = operations['mahjong___cancel-match']['requestBody']['content']['application/json'];
export type MahjongCancelMatchResponse = operations['mahjong___cancel-match']['responses']['200']['content']['application/json'];
export type MahjongCreateRoomResponse = operations['mahjong___create-room']['responses']['200']['content']['application/json'];
export type MahjongGamesRequest = operations['mahjong___games']['requestBody']['content']['application/json'];
export type MahjongGamesResponse = operations['mahjong___games']['responses']['200']['content']['application/json'];

View File

@ -23717,11 +23717,9 @@ export type operations = {
};
};
responses: {
/** @description OK (with results) */
200: {
content: {
'application/json': unknown;
};
/** @description OK (without any results) */
204: {
content: never;
};
/** @description Client error */
400: {