removed icon server and finished profile page
This commit is contained in:
parent
23baa4af56
commit
a8fa9f984d
26 changed files with 881 additions and 325 deletions
|
|
@ -0,0 +1,96 @@
|
|||
/* 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 ChangePassword401Response
|
||||
*/
|
||||
export interface ChangePassword401Response {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ChangePassword401Response
|
||||
*/
|
||||
kind: ChangePassword401ResponseKindEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ChangePassword401Response
|
||||
*/
|
||||
msg: ChangePassword401ResponseMsgEnum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const ChangePassword401ResponseKindEnum = {
|
||||
NotLoggedIn: 'notLoggedIn'
|
||||
} as const;
|
||||
export type ChangePassword401ResponseKindEnum = typeof ChangePassword401ResponseKindEnum[keyof typeof ChangePassword401ResponseKindEnum];
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const ChangePassword401ResponseMsgEnum = {
|
||||
AuthNoCookie: 'auth.noCookie',
|
||||
AuthInvalidKind: 'auth.invalidKind',
|
||||
AuthNoUser: 'auth.noUser',
|
||||
AuthInvalid: 'auth.invalid'
|
||||
} as const;
|
||||
export type ChangePassword401ResponseMsgEnum = typeof ChangePassword401ResponseMsgEnum[keyof typeof ChangePassword401ResponseMsgEnum];
|
||||
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ChangePassword401Response interface.
|
||||
*/
|
||||
export function instanceOfChangePassword401Response(value: object): value is ChangePassword401Response {
|
||||
if (!('kind' in value) || value['kind'] === undefined) return false;
|
||||
if (!('msg' in value) || value['msg'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ChangePassword401ResponseFromJSON(json: any): ChangePassword401Response {
|
||||
return ChangePassword401ResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ChangePassword401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangePassword401Response {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'kind': json['kind'],
|
||||
'msg': json['msg'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ChangePassword401ResponseToJSON(json: any): ChangePassword401Response {
|
||||
return ChangePassword401ResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ChangePassword401ResponseToJSONTyped(value?: ChangePassword401Response | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'kind': value['kind'],
|
||||
'msg': value['msg'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue