added front html nigel in the mud route function with openapi - gen clean up the code a little after pull request
66 lines
1.7 KiB
TypeScript
66 lines
1.7 KiB
TypeScript
/* 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 Signin200ResponsePayload
|
|
*/
|
|
export interface Signin200ResponsePayload {
|
|
/**
|
|
* the JWT token
|
|
* @type {string}
|
|
* @memberof Signin200ResponsePayload
|
|
*/
|
|
token: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the Signin200ResponsePayload interface.
|
|
*/
|
|
export function instanceOfSignin200ResponsePayload(value: object): value is Signin200ResponsePayload {
|
|
if (!('token' in value) || value['token'] === undefined) return false;
|
|
return true;
|
|
}
|
|
|
|
export function Signin200ResponsePayloadFromJSON(json: any): Signin200ResponsePayload {
|
|
return Signin200ResponsePayloadFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function Signin200ResponsePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): Signin200ResponsePayload {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'token': json['token'],
|
|
};
|
|
}
|
|
|
|
export function Signin200ResponsePayloadToJSON(json: any): Signin200ResponsePayload {
|
|
return Signin200ResponsePayloadToJSONTyped(json, false);
|
|
}
|
|
|
|
export function Signin200ResponsePayloadToJSONTyped(value?: Signin200ResponsePayload | null, ignoreDiscriminator: boolean = false): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
|
|
'token': value['token'],
|
|
};
|
|
}
|
|
|