feat(tournament): better frontend and database handling
This commit is contained in:
parent
ca618d64ca
commit
43e3b9af26
41 changed files with 2484 additions and 278 deletions
|
|
@ -0,0 +1,66 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* @fastify/swagger
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 9.6.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface CreatePauseGame200ResponsePayload
|
||||
*/
|
||||
export interface CreatePauseGame200ResponsePayload {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreatePauseGame200ResponsePayload
|
||||
*/
|
||||
gameId: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the CreatePauseGame200ResponsePayload interface.
|
||||
*/
|
||||
export function instanceOfCreatePauseGame200ResponsePayload(value: object): value is CreatePauseGame200ResponsePayload {
|
||||
if (!('gameId' in value) || value['gameId'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function CreatePauseGame200ResponsePayloadFromJSON(json: any): CreatePauseGame200ResponsePayload {
|
||||
return CreatePauseGame200ResponsePayloadFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function CreatePauseGame200ResponsePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePauseGame200ResponsePayload {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'gameId': json['gameId'],
|
||||
};
|
||||
}
|
||||
|
||||
export function CreatePauseGame200ResponsePayloadToJSON(json: any): CreatePauseGame200ResponsePayload {
|
||||
return CreatePauseGame200ResponsePayloadToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function CreatePauseGame200ResponsePayloadToJSONTyped(value?: CreatePauseGame200ResponsePayload | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'gameId': value['gameId'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue