Add OpenAPI
This commit is contained in:
@@ -13,96 +13,38 @@
|
||||
*/
|
||||
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { Attribute } from './attribute';
|
||||
// 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';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { LinkArrow } from './link-arrow';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterCard } from './monster-card';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterType } from './monster-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { SpellCard } from './spell-card';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { SpellCardType } from './spell-card-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { TrapCard } from './trap-card';
|
||||
|
||||
/**
|
||||
*
|
||||
* @type Card
|
||||
* @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;
|
||||
}
|
||||
export type Card = MonsterCard | SpellCard | TrapCard;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user