Add OpenAPI

This commit is contained in:
2025-07-05 22:32:52 +02:00
parent acd910e013
commit 54a4f7e08a
98 changed files with 4816 additions and 696 deletions

View File

@@ -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;