This commit is contained in:
syuilo
2024-01-19 10:59:55 +09:00
parent 1259fabd7f
commit 037a1daa79
20 changed files with 114 additions and 253 deletions

View File

@@ -1623,12 +1623,12 @@ declare namespace entities {
BubbleGameRegisterResponse,
BubbleGameRankingRequest,
BubbleGameRankingResponse,
ReversiCancelMatchRequest,
ReversiCancelMatchResponse,
ReversiGamesRequest,
ReversiGamesResponse,
ReversiMatchRequest,
ReversiMatchResponse,
ReversiInvitationsRequest,
ReversiInvitationsResponse,
ReversiShowGameRequest,
ReversiShowGameResponse,
@@ -1671,8 +1671,7 @@ declare namespace entities {
RoleLite,
Role,
ReversiGameLite,
ReversiGameDetailed,
ReversiMatching
ReversiGameDetailed
}
}
export { entities }
@@ -2609,6 +2608,9 @@ type ResetPasswordRequest = operations['reset-password']['requestBody']['content
// @public (undocumented)
type RetentionResponse = operations['retention']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiCancelMatchRequest = operations['reversi/cancel-match']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiCancelMatchResponse = operations['reversi/cancel-match']['responses']['200']['content']['application/json'];
@@ -2624,15 +2626,9 @@ type ReversiGamesRequest = operations['reversi/games']['requestBody']['content']
// @public (undocumented)
type ReversiGamesResponse = operations['reversi/games']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiInvitationsRequest = operations['reversi/invitations']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiInvitationsResponse = operations['reversi/invitations']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiMatching = components['schemas']['ReversiMatching'];
// @public (undocumented)
type ReversiMatchRequest = operations['reversi/match']['requestBody']['content']['application/json'];

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-18T11:53:06.433Z
* generatedAt: 2024-01-19T01:59:26.059Z
*/
import type { SwitchCaseResponseType } from '../api.js';

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-18T11:53:06.431Z
* generatedAt: 2024-01-19T01:59:26.057Z
*/
import type {
@@ -544,12 +544,12 @@ import type {
BubbleGameRegisterResponse,
BubbleGameRankingRequest,
BubbleGameRankingResponse,
ReversiCancelMatchRequest,
ReversiCancelMatchResponse,
ReversiGamesRequest,
ReversiGamesResponse,
ReversiMatchRequest,
ReversiMatchResponse,
ReversiInvitationsRequest,
ReversiInvitationsResponse,
ReversiShowGameRequest,
ReversiShowGameResponse,
@@ -917,10 +917,10 @@ export type Endpoints = {
'retention': { req: EmptyRequest; res: RetentionResponse };
'bubble-game/register': { req: BubbleGameRegisterRequest; res: BubbleGameRegisterResponse };
'bubble-game/ranking': { req: BubbleGameRankingRequest; res: BubbleGameRankingResponse };
'reversi/cancel-match': { req: EmptyRequest; res: ReversiCancelMatchResponse };
'reversi/cancel-match': { req: ReversiCancelMatchRequest; res: ReversiCancelMatchResponse };
'reversi/games': { req: ReversiGamesRequest; res: ReversiGamesResponse };
'reversi/match': { req: ReversiMatchRequest; res: ReversiMatchResponse };
'reversi/invitations': { req: ReversiInvitationsRequest; res: ReversiInvitationsResponse };
'reversi/invitations': { req: EmptyRequest; res: ReversiInvitationsResponse };
'reversi/show-game': { req: ReversiShowGameRequest; res: ReversiShowGameResponse };
'reversi/surrender': { req: ReversiSurrenderRequest; res: EmptyResponse };
}

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-18T11:53:06.430Z
* generatedAt: 2024-01-19T01:59:26.055Z
*/
import { operations } from './types.js';
@@ -546,12 +546,12 @@ export type BubbleGameRegisterRequest = operations['bubble-game/register']['requ
export type BubbleGameRegisterResponse = operations['bubble-game/register']['responses']['200']['content']['application/json'];
export type BubbleGameRankingRequest = operations['bubble-game/ranking']['requestBody']['content']['application/json'];
export type BubbleGameRankingResponse = operations['bubble-game/ranking']['responses']['200']['content']['application/json'];
export type ReversiCancelMatchRequest = operations['reversi/cancel-match']['requestBody']['content']['application/json'];
export type ReversiCancelMatchResponse = operations['reversi/cancel-match']['responses']['200']['content']['application/json'];
export type ReversiGamesRequest = operations['reversi/games']['requestBody']['content']['application/json'];
export type ReversiGamesResponse = operations['reversi/games']['responses']['200']['content']['application/json'];
export type ReversiMatchRequest = operations['reversi/match']['requestBody']['content']['application/json'];
export type ReversiMatchResponse = operations['reversi/match']['responses']['200']['content']['application/json'];
export type ReversiInvitationsRequest = operations['reversi/invitations']['requestBody']['content']['application/json'];
export type ReversiInvitationsResponse = operations['reversi/invitations']['responses']['200']['content']['application/json'];
export type ReversiShowGameRequest = operations['reversi/show-game']['requestBody']['content']['application/json'];
export type ReversiShowGameResponse = operations['reversi/show-game']['responses']['200']['content']['application/json'];

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-18T11:53:06.429Z
* generatedAt: 2024-01-19T01:59:26.054Z
*/
import { components } from './types.js';
@@ -43,4 +43,3 @@ export type RoleLite = components['schemas']['RoleLite'];
export type Role = components['schemas']['Role'];
export type ReversiGameLite = components['schemas']['ReversiGameLite'];
export type ReversiGameDetailed = components['schemas']['ReversiGameDetailed'];
export type ReversiMatching = components['schemas']['ReversiMatching'];

View File

@@ -3,7 +3,7 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-18T11:53:06.350Z
* generatedAt: 2024-01-19T01:59:25.971Z
*/
/**
@@ -4525,18 +4525,6 @@ export type components = {
}[];
map: string[];
};
ReversiMatching: {
/** Format: id */
id: string;
/** Format: date-time */
createdAt: string;
/** Format: id */
parentId: string;
parent: components['schemas']['User'] | null;
/** Format: id */
childId: string;
child: components['schemas']['User'];
};
};
responses: never;
parameters: never;
@@ -25682,6 +25670,14 @@ export type operations = {
* **Credential required**: *Yes* / **Permission**: *write:account*
*/
'reversi/cancel-match': {
requestBody: {
content: {
'application/json': {
/** Format: misskey:id */
userId?: string | null;
};
};
};
responses: {
/** @description OK (with results) */
200: {
@@ -25792,7 +25788,7 @@ export type operations = {
content: {
'application/json': {
/** Format: misskey:id */
userId: string;
userId?: string | null;
};
};
};
@@ -25842,19 +25838,11 @@ export type operations = {
* **Credential required**: *Yes* / **Permission**: *read:account*
*/
'reversi/invitations': {
requestBody: {
content: {
'application/json': {
/** Format: misskey:id */
userId: string;
};
};
};
responses: {
/** @description OK (with results) */
200: {
content: {
'application/json': components['schemas']['ReversiMatching'][];
'application/json': components['schemas']['UserLite'][];
};
};
/** @description Client error */