Implement CardFilterPanel
This commit is contained in:
209
src/api/openapi/model/card-page-search-request.ts
Normal file
209
src/api/openapi/model/card-page-search-request.ts
Normal file
@@ -0,0 +1,209 @@
|
||||
/* 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 { Attribute } from './attribute';
|
||||
// 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 { MonsterCardSubType } from './monster-card-sub-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterCardType } from './monster-card-type';
|
||||
// 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 { TrapCardType } from './trap-card-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface CardPageSearchRequest
|
||||
*/
|
||||
export interface CardPageSearchRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'name'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardType>}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'cardTypes'?: Array<CardType> | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardType>}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'monsterCardTypes'?: Array<MonsterCardType> | null;
|
||||
/**
|
||||
*
|
||||
* @type {SpellCardType}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'spellCardType'?: SpellCardType | null;
|
||||
/**
|
||||
*
|
||||
* @type {TrapCardType}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'trapCardType'?: TrapCardType | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'attack'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'attackMin'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'attackMax'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'defense'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'defenseMin'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'defenseMax'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'level'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'levelMin'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'levelMax'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'isPendulum'?: boolean | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'pendulumScale'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'pendulumScaleMin'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'pendulumScaleMax'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'linkValue'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'linkValueMin'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'linkValueMax'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<LinkArrow>}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'linkArrows'?: Array<LinkArrow> | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardSubType>}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'monsterCardSubTypes'?: Array<MonsterCardSubType> | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<Attribute>}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'attributes'?: Array<Attribute> | null;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof CardPageSearchRequest
|
||||
*/
|
||||
'pendulum'?: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ import type { LinkArrow } from './link-arrow';
|
||||
import type { MonsterCard } from './monster-card';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterCardSubType } from './monster-card-sub-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterType } from './monster-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export * from './attribute';
|
||||
export * from './card';
|
||||
export * from './card-page-search-request';
|
||||
export * from './card-print';
|
||||
export * from './card-type';
|
||||
export * from './card-upstream-fetch-request';
|
||||
@@ -9,6 +10,7 @@ export * from './job-dto';
|
||||
export * from './job-status';
|
||||
export * from './link-arrow';
|
||||
export * from './monster-card';
|
||||
export * from './monster-card-sub-type';
|
||||
export * from './monster-card-type';
|
||||
export * from './monster-type';
|
||||
export * from './page';
|
||||
|
||||
@@ -29,6 +29,12 @@ export interface JobDto {
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'totalJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
@@ -53,6 +59,12 @@ export interface JobDto {
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'failedJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'attempts'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {JobStatus}
|
||||
|
||||
36
src/api/openapi/model/monster-card-sub-type-enum.ts
Normal file
36
src/api/openapi/model/monster-card-sub-type-enum.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
/* 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 MonsterCardSubTypeEnum = {
|
||||
Tuner: 'TUNER',
|
||||
Flip: 'FLIP',
|
||||
Toon: 'TOON',
|
||||
Spirit: 'SPIRIT',
|
||||
Union: 'UNION',
|
||||
Gemini: 'GEMINI',
|
||||
Token: 'TOKEN'
|
||||
} as const;
|
||||
|
||||
export type MonsterCardSubTypeEnum = typeof MonsterCardSubTypeEnum[keyof typeof MonsterCardSubTypeEnum];
|
||||
|
||||
|
||||
|
||||
36
src/api/openapi/model/monster-card-sub-type.ts
Normal file
36
src/api/openapi/model/monster-card-sub-type.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
/* 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 MonsterCardSubType = {
|
||||
Tuner: 'TUNER',
|
||||
Flip: 'FLIP',
|
||||
Toon: 'TOON',
|
||||
Spirit: 'SPIRIT',
|
||||
Union: 'UNION',
|
||||
Gemini: 'GEMINI',
|
||||
Token: 'TOKEN'
|
||||
} as const;
|
||||
|
||||
export type MonsterCardSubType = typeof MonsterCardSubType[keyof typeof MonsterCardSubType];
|
||||
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ import type { CardType } from './card-type';
|
||||
import type { LinkArrow } from './link-arrow';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterCardSubType } from './monster-card-sub-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { MonsterCardType } from './monster-card-type';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
@@ -121,7 +124,7 @@ export interface MonsterCard {
|
||||
* @type {MonsterCardType}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'subType': MonsterCardType;
|
||||
'type': MonsterCardType;
|
||||
/**
|
||||
*
|
||||
* @type {MonsterType}
|
||||
@@ -140,6 +143,12 @@ export interface MonsterCard {
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'linkArrows': Set<LinkArrow>;
|
||||
/**
|
||||
*
|
||||
* @type {Set<MonsterCardSubType>}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'subTypes': Set<MonsterCardSubType>;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ export interface SpellCard {
|
||||
* @type {SpellCardType}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'subType': SpellCardType;
|
||||
'type': SpellCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ export interface TrapCard {
|
||||
* @type {TrapCardType}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'subType': TrapCardType;
|
||||
'type': TrapCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user