Implement CardFilterPanel

This commit is contained in:
2025-07-10 21:54:55 +02:00
parent 54a4f7e08a
commit 50009b7e61
51 changed files with 3202 additions and 789 deletions

View File

@@ -18,10 +18,11 @@ Name | Type | Description | Notes
**pendulumScale** | **number** | | [optional] [default to undefined]
**pendulumEffect** | **string** | | [optional] [default to undefined]
**linkValue** | **number** | | [optional] [default to undefined]
**subType** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
**type** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
**monsterType** | [**MonsterType**](MonsterType.md) | | [default to undefined]
**attribute** | [**Attribute**](Attribute.md) | | [default to undefined]
**linkArrows** | [**Set<LinkArrow>**](LinkArrow.md) | | [default to undefined]
**subTypes** | [**Set<MonsterCardSubType>**](MonsterCardSubType.md) | | [default to undefined]
## Example
@@ -42,10 +43,11 @@ const instance: Card = {
pendulumScale,
pendulumEffect,
linkValue,
subType,
type,
monsterType,
attribute,
linkArrows,
subTypes,
};
```

View File

@@ -0,0 +1,72 @@
# CardPageSearchRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**page** | **number** | | [optional] [default to undefined]
**pageSize** | **number** | | [optional] [default to undefined]
**name** | **string** | | [optional] [default to undefined]
**cardTypes** | [**Array<CardType>**](CardType.md) | | [optional] [default to undefined]
**monsterCardTypes** | [**Array<MonsterCardType>**](MonsterCardType.md) | | [optional] [default to undefined]
**spellCardType** | [**SpellCardType**](SpellCardType.md) | | [optional] [default to undefined]
**trapCardType** | [**TrapCardType**](TrapCardType.md) | | [optional] [default to undefined]
**attack** | **number** | | [optional] [default to undefined]
**attackMin** | **number** | | [optional] [default to undefined]
**attackMax** | **number** | | [optional] [default to undefined]
**defense** | **number** | | [optional] [default to undefined]
**defenseMin** | **number** | | [optional] [default to undefined]
**defenseMax** | **number** | | [optional] [default to undefined]
**level** | **number** | | [optional] [default to undefined]
**levelMin** | **number** | | [optional] [default to undefined]
**levelMax** | **number** | | [optional] [default to undefined]
**isPendulum** | **boolean** | | [optional] [default to undefined]
**pendulumScale** | **number** | | [optional] [default to undefined]
**pendulumScaleMin** | **number** | | [optional] [default to undefined]
**pendulumScaleMax** | **number** | | [optional] [default to undefined]
**linkValue** | **number** | | [optional] [default to undefined]
**linkValueMin** | **number** | | [optional] [default to undefined]
**linkValueMax** | **number** | | [optional] [default to undefined]
**linkArrows** | [**Array<LinkArrow>**](LinkArrow.md) | | [optional] [default to undefined]
**monsterCardSubTypes** | [**Array<MonsterCardSubType>**](MonsterCardSubType.md) | | [optional] [default to undefined]
**attributes** | [**Array<Attribute>**](Attribute.md) | | [optional] [default to undefined]
**pendulum** | **boolean** | | [optional] [default to undefined]
## Example
```typescript
import { CardPageSearchRequest } from './api';
const instance: CardPageSearchRequest = {
page,
pageSize,
name,
cardTypes,
monsterCardTypes,
spellCardType,
trapCardType,
attack,
attackMin,
attackMax,
defense,
defenseMin,
defenseMax,
level,
levelMin,
levelMax,
isPendulum,
pendulumScale,
pendulumScaleMin,
pendulumScaleMax,
linkValue,
linkValueMin,
linkValueMax,
linkArrows,
monsterCardSubTypes,
attributes,
pendulum,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -178,14 +178,60 @@ import {
const configuration = new Configuration();
const apiInstance = new CardService(configuration);
let attack: number; // (optional) (default to undefined)
let attackMax: number; // (optional) (default to undefined)
let attackMin: number; // (optional) (default to undefined)
let attributes: Array<Attribute>; // (optional) (default to undefined)
let cardTypes: Array<CardType>; // (optional) (default to undefined)
let defense: number; // (optional) (default to undefined)
let defenseMax: number; // (optional) (default to undefined)
let defenseMin: number; // (optional) (default to undefined)
let isPendulum: boolean; // (optional) (default to undefined)
let level: number; // (optional) (default to undefined)
let levelMax: number; // (optional) (default to undefined)
let levelMin: number; // (optional) (default to undefined)
let linkArrows: Array<LinkArrow>; // (optional) (default to undefined)
let linkValue: number; // (optional) (default to undefined)
let linkValueMax: number; // (optional) (default to undefined)
let linkValueMin: number; // (optional) (default to undefined)
let monsterCardSubTypes: Array<MonsterCardSubType>; // (optional) (default to undefined)
let monsterCardTypes: Array<MonsterCardType>; // (optional) (default to undefined)
let name: string; // (optional) (default to undefined)
let page: number; // (optional) (default to undefined)
let pageSize: number; // (optional) (default to undefined)
let pendulumScale: number; // (optional) (default to undefined)
let pendulumScaleMax: number; // (optional) (default to undefined)
let pendulumScaleMin: number; // (optional) (default to undefined)
let spellCardType: SpellCardType; // (optional) (default to undefined)
let trapCardType: TrapCardType; // (optional) (default to undefined)
const { status, data } = await apiInstance.getCardPage(
attack,
attackMax,
attackMin,
attributes,
cardTypes,
defense,
defenseMax,
defenseMin,
isPendulum,
level,
levelMax,
levelMin,
linkArrows,
linkValue,
linkValueMax,
linkValueMin,
monsterCardSubTypes,
monsterCardTypes,
name,
page,
pageSize
pageSize,
pendulumScale,
pendulumScaleMax,
pendulumScaleMin,
spellCardType,
trapCardType
);
```
@@ -193,9 +239,32 @@ const { status, data } = await apiInstance.getCardPage(
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **attack** | [**number**] | | (optional) defaults to undefined|
| **attackMax** | [**number**] | | (optional) defaults to undefined|
| **attackMin** | [**number**] | | (optional) defaults to undefined|
| **attributes** | **Array&lt;Attribute&gt;** | | (optional) defaults to undefined|
| **cardTypes** | **Array&lt;CardType&gt;** | | (optional) defaults to undefined|
| **defense** | [**number**] | | (optional) defaults to undefined|
| **defenseMax** | [**number**] | | (optional) defaults to undefined|
| **defenseMin** | [**number**] | | (optional) defaults to undefined|
| **isPendulum** | [**boolean**] | | (optional) defaults to undefined|
| **level** | [**number**] | | (optional) defaults to undefined|
| **levelMax** | [**number**] | | (optional) defaults to undefined|
| **levelMin** | [**number**] | | (optional) defaults to undefined|
| **linkArrows** | **Array&lt;LinkArrow&gt;** | | (optional) defaults to undefined|
| **linkValue** | [**number**] | | (optional) defaults to undefined|
| **linkValueMax** | [**number**] | | (optional) defaults to undefined|
| **linkValueMin** | [**number**] | | (optional) defaults to undefined|
| **monsterCardSubTypes** | **Array&lt;MonsterCardSubType&gt;** | | (optional) defaults to undefined|
| **monsterCardTypes** | **Array&lt;MonsterCardType&gt;** | | (optional) defaults to undefined|
| **name** | [**string**] | | (optional) defaults to undefined|
| **page** | [**number**] | | (optional) defaults to undefined|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
| **pendulumScale** | [**number**] | | (optional) defaults to undefined|
| **pendulumScaleMax** | [**number**] | | (optional) defaults to undefined|
| **pendulumScaleMin** | [**number**] | | (optional) defaults to undefined|
| **spellCardType** | **SpellCardType** | | (optional) defaults to undefined|
| **trapCardType** | **TrapCardType** | | (optional) defaults to undefined|
### Return type

View File

@@ -6,10 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **number** | | [optional] [default to undefined]
**totalJobs** | **number** | | [optional] [default to undefined]
**pendingJobs** | **number** | | [optional] [default to undefined]
**processingJobs** | **number** | | [optional] [default to undefined]
**completedJobs** | **number** | | [optional] [default to undefined]
**failedJobs** | **number** | | [optional] [default to undefined]
**attempts** | **number** | | [optional] [default to undefined]
**status** | [**JobStatus**](JobStatus.md) | | [default to undefined]
## Example
@@ -19,10 +21,12 @@ import { JobDto } from './api';
const instance: JobDto = {
id,
totalJobs,
pendingJobs,
processingJobs,
completedJobs,
failedJobs,
attempts,
status,
};
```

View File

@@ -4,10 +4,54 @@ All URIs are relative to *http://localhost*
|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getAllJobs**](#getalljobs) | **GET** /api/jobs | Get status of all Jobs|
|[**getCardPrintImportJobStatusById**](#getcardprintimportjobstatusbyid) | **GET** /api/jobs/cardPrintImport/{id} | Get status of CardPrintImportJob|
|[**getCardSetImportJobStatusById**](#getcardsetimportjobstatusbyid) | **GET** /api/jobs/cardSetImport/{id} | Get status of CardSetImportJob|
|[**getRegionalSetImportJobStatusById**](#getregionalsetimportjobstatusbyid) | **GET** /api/jobs/regionalSetImport/{id} | Get status of RegionalSetImportJob|
# **getAllJobs**
> Array<JobDto> getAllJobs()
### Example
```typescript
import {
JobService,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new JobService(configuration);
const { status, data } = await apiInstance.getAllJobs();
```
### Parameters
This endpoint does not have any parameters.
### Return type
**Array<JobDto>**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **getCardPrintImportJobStatusById**
> JobDto getCardPrintImportJobStatusById()

View File

@@ -18,10 +18,11 @@ Name | Type | Description | Notes
**pendulumScale** | **number** | | [optional] [default to undefined]
**pendulumEffect** | **string** | | [optional] [default to undefined]
**linkValue** | **number** | | [optional] [default to undefined]
**subType** | [**MonsterCardType**](MonsterCardType.md) | | [default to undefined]
**type** | [**MonsterCardType**](MonsterCardType.md) | | [default to undefined]
**monsterType** | [**MonsterType**](MonsterType.md) | | [default to undefined]
**attribute** | [**Attribute**](Attribute.md) | | [default to undefined]
**linkArrows** | [**Set&lt;LinkArrow&gt;**](LinkArrow.md) | | [default to undefined]
**subTypes** | [**Set&lt;MonsterCardSubType&gt;**](MonsterCardSubType.md) | | [default to undefined]
## Example
@@ -42,10 +43,11 @@ const instance: MonsterCard = {
pendulumScale,
pendulumEffect,
linkValue,
subType,
type,
monsterType,
attribute,
linkArrows,
subTypes,
};
```

View File

@@ -0,0 +1,20 @@
# MonsterCardSubType
## Enum
* `Tuner` (value: `'TUNER'`)
* `Flip` (value: `'FLIP'`)
* `Toon` (value: `'TOON'`)
* `Spirit` (value: `'SPIRIT'`)
* `Union` (value: `'UNION'`)
* `Gemini` (value: `'GEMINI'`)
* `Token` (value: `'TOKEN'`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,20 @@
# MonsterCardSubTypeEnum
## Enum
* `Tuner` (value: `'TUNER'`)
* `Flip` (value: `'FLIP'`)
* `Toon` (value: `'TOON'`)
* `Spirit` (value: `'SPIRIT'`)
* `Union` (value: `'UNION'`)
* `Gemini` (value: `'GEMINI'`)
* `Token` (value: `'TOKEN'`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**description** | **string** | | [default to undefined]
**name** | **string** | | [default to undefined]
**cardPrints** | [**Set&lt;CardPrint&gt;**](CardPrint.md) | | [default to undefined]
**subType** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
**type** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
## Example
@@ -23,7 +23,7 @@ const instance: SpellCard = {
description,
name,
cardPrints,
subType,
type,
};
```

View File

@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**description** | **string** | | [default to undefined]
**name** | **string** | | [default to undefined]
**cardPrints** | [**Set&lt;CardPrint&gt;**](CardPrint.md) | | [default to undefined]
**subType** | [**TrapCardType**](TrapCardType.md) | | [default to undefined]
**type** | [**TrapCardType**](TrapCardType.md) | | [default to undefined]
## Example
@@ -23,7 +23,7 @@ const instance: TrapCard = {
description,
name,
cardPrints,
subType,
type,
};
```