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: { errors: {
}, },
res: {
},
} as const; } as const;
export const paramDef = { export const paramDef = {

View File

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

View File

@ -466,7 +466,6 @@ import type {
InviteListRequest, InviteListRequest,
InviteListResponse, InviteListResponse,
MahjongCancelMatchRequest, MahjongCancelMatchRequest,
MahjongCancelMatchResponse,
MahjongCreateRoomResponse, MahjongCreateRoomResponse,
MahjongGamesRequest, MahjongGamesRequest,
MahjongGamesResponse, MahjongGamesResponse,
@ -950,7 +949,7 @@ export type Endpoints = {
'invite/delete': { req: InviteDeleteRequest; res: EmptyResponse }; 'invite/delete': { req: InviteDeleteRequest; res: EmptyResponse };
'invite/limit': { req: EmptyRequest; res: InviteLimitResponse }; 'invite/limit': { req: EmptyRequest; res: InviteLimitResponse };
'invite/list': { req: InviteListRequest; res: InviteListResponse }; '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/create-room': { req: EmptyRequest; res: MahjongCreateRoomResponse };
'mahjong/games': { req: MahjongGamesRequest; res: MahjongGamesResponse }; 'mahjong/games': { req: MahjongGamesRequest; res: MahjongGamesResponse };
'mahjong/join-room': { req: MahjongJoinRoomRequest; res: MahjongJoinRoomResponse }; '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 InviteListRequest = operations['invite___list']['requestBody']['content']['application/json'];
export type InviteListResponse = operations['invite___list']['responses']['200']['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 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 MahjongCreateRoomResponse = operations['mahjong___create-room']['responses']['200']['content']['application/json'];
export type MahjongGamesRequest = operations['mahjong___games']['requestBody']['content']['application/json']; export type MahjongGamesRequest = operations['mahjong___games']['requestBody']['content']['application/json'];
export type MahjongGamesResponse = operations['mahjong___games']['responses']['200']['content']['application/json']; export type MahjongGamesResponse = operations['mahjong___games']['responses']['200']['content']['application/json'];

View File

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