Init OpenAPI
This commit is contained in:
54
src/api/openapi/model/card-print.ts
Normal file
54
src/api/openapi/model/card-print.ts
Normal file
@@ -0,0 +1,54 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { NewCard } from './new-card';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { RegionalSet } from './regional-set';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface CardPrint
|
||||
*/
|
||||
export interface CardPrint {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {RegionalSet}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'regionalSet': RegionalSet;
|
||||
/**
|
||||
*
|
||||
* @type {NewCard}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'card': NewCard;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'imageApiPath': string;
|
||||
}
|
||||
|
||||
33
src/api/openapi/model/card-type.ts
Normal file
33
src/api/openapi/model/card-type.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export const CardType = {
|
||||
Monster: 'MONSTER',
|
||||
Spell: 'SPELL',
|
||||
Trap: 'TRAP',
|
||||
Unknown: 'UNKNOWN'
|
||||
} as const;
|
||||
|
||||
export type CardType = typeof CardType[keyof typeof CardType];
|
||||
|
||||
|
||||
|
||||
108
src/api/openapi/model/card.ts
Normal file
108
src/api/openapi/model/card.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface Card
|
||||
*/
|
||||
export interface Card {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'description': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'pendulumDescription'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'defense'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'attack'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'health'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'level'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Card
|
||||
*/
|
||||
'linkValue'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'type': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'frameType': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'archetype'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'race'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Card
|
||||
*/
|
||||
'attribute'?: string | null;
|
||||
}
|
||||
|
||||
42
src/api/openapi/model/deck.ts
Normal file
42
src/api/openapi/model/deck.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface Deck
|
||||
*/
|
||||
export interface Deck {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: number; }}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'cards': { [key: string]: number; };
|
||||
}
|
||||
|
||||
9
src/api/openapi/model/index.ts
Normal file
9
src/api/openapi/model/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export * from './card';
|
||||
export * from './card-print';
|
||||
export * from './card-type';
|
||||
export * from './deck';
|
||||
export * from './new-card';
|
||||
export * from './page-deck';
|
||||
export * from './region';
|
||||
export * from './regional-set';
|
||||
export * from './set-prefix';
|
||||
62
src/api/openapi/model/new-card.ts
Normal file
62
src/api/openapi/model/new-card.ts
Normal file
@@ -0,0 +1,62 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { CardPrint } from './card-print';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { CardType } from './card-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface NewCard
|
||||
*/
|
||||
export interface NewCard {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof NewCard
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {CardType}
|
||||
* @memberof NewCard
|
||||
*/
|
||||
'cardType': CardType;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof NewCard
|
||||
*/
|
||||
'description': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof NewCard
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Set<CardPrint>}
|
||||
* @memberof NewCard
|
||||
*/
|
||||
'cardPrints': Set<CardPrint>;
|
||||
}
|
||||
|
||||
|
||||
|
||||
51
src/api/openapi/model/page-deck.ts
Normal file
51
src/api/openapi/model/page-deck.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { Deck } from './deck';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface PageDeck
|
||||
*/
|
||||
export interface PageDeck {
|
||||
/**
|
||||
*
|
||||
* @type {Array<Deck>}
|
||||
* @memberof PageDeck
|
||||
*/
|
||||
'content': Array<Deck>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeck
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeck
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeck
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
}
|
||||
|
||||
45
src/api/openapi/model/region.ts
Normal file
45
src/api/openapi/model/region.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { RegionalSet } from './regional-set';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface Region
|
||||
*/
|
||||
export interface Region {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Region
|
||||
*/
|
||||
'id': number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Region
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Set<RegionalSet>}
|
||||
* @memberof Region
|
||||
*/
|
||||
'regionalSets': Set<RegionalSet>;
|
||||
}
|
||||
|
||||
57
src/api/openapi/model/regional-set.ts
Normal file
57
src/api/openapi/model/regional-set.ts
Normal file
@@ -0,0 +1,57 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { CardPrint } from './card-print';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { Region } from './region';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { SetPrefix } from './set-prefix';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RegionalSet
|
||||
*/
|
||||
export interface RegionalSet {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'id': number;
|
||||
/**
|
||||
*
|
||||
* @type {SetPrefix}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'prefix': SetPrefix;
|
||||
/**
|
||||
*
|
||||
* @type {Region}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'region': Region;
|
||||
/**
|
||||
*
|
||||
* @type {Set<CardPrint>}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'cardPrints': Set<CardPrint>;
|
||||
}
|
||||
|
||||
45
src/api/openapi/model/set-prefix.ts
Normal file
45
src/api/openapi/model/set-prefix.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* dex API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { RegionalSet } from './regional-set';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface SetPrefix
|
||||
*/
|
||||
export interface SetPrefix {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SetPrefix
|
||||
*/
|
||||
'id': number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetPrefix
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Set<RegionalSet>}
|
||||
* @memberof SetPrefix
|
||||
*/
|
||||
'regionalSets': Set<RegionalSet>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user