Compare commits
7 Commits
18719f1ad9
...
55622d7a4d
| Author | SHA1 | Date | |
|---|---|---|---|
| 55622d7a4d | |||
| 79814b18b1 | |||
| bb114f16e0 | |||
| 50009b7e61 | |||
| 54a4f7e08a | |||
| acd910e013 | |||
| 2545c0840d |
39
.gitea/workflows/release.yml
Normal file
39
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
name: Create and Push Release
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
AUTHENTIK_URL: https://auth.smoothbrain.win
|
||||
REGISTRY_URL: gitea.smoothbrain.win
|
||||
IMAGE_OWNER: rak
|
||||
IMAGE_NAME: dex-ui-vue
|
||||
|
||||
jobs:
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get version
|
||||
id: get-version
|
||||
run: |
|
||||
version=$(cat package.json | jq -r '.version')
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Docker Login to Gitea Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ env.REGISTRY_URL }}
|
||||
username: ${{ secrets.CI_SERVICE_ACCOUNT }}
|
||||
password: ${{ secrets.CI_SERVICE_ACCOUNT_PASSWORD }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build & Push Image
|
||||
env:
|
||||
TAG: ${{ steps.get-version.outputs.version }}
|
||||
QUARKUS_CONTAINER_IMAGE_USERNAME: ${{ secrets.CI_SERVICE_ACCOUNT }}
|
||||
QUARKUS_CONTAINER_IMAGE_PASSWORD: ${{ secrets.CI_SERVICE_ACCOUNT_PASSWORD }}
|
||||
run: |
|
||||
docker build -t $REGISTRY_URL/$IMAGE_OWNER/$IMAGE_IMAGE:$TAG .
|
||||
docker push $REGISTRY_URL/$IMAGE_OWNER/$IMAGE_IMAGE:$TAG
|
||||
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
# Stage 1: Build application
|
||||
FROM node:22-bookworm-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Prepare static web server
|
||||
FROM alpine:3.19 AS server-prep
|
||||
RUN wget -O /tmp/sws.tar.gz \
|
||||
https://github.com/static-web-server/static-web-server/releases/download/v2.17.0/static-web-server-v2.17.0-x86_64-unknown-linux-musl.tar.gz
|
||||
RUN tar -xzf /tmp/sws.tar.gz -C /tmp \
|
||||
--strip-components=1
|
||||
|
||||
# Stage 3: Create runtime image
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
|
||||
COPY --from=builder --chown=nonroot:nonroot /app/dist /app
|
||||
|
||||
COPY --from=server-prep --chown=nonroot:nonroot /tmp/static-web-server /usr/local/bin/
|
||||
|
||||
USER nonroot
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/static-web-server"]
|
||||
CMD ["--port", "8080", "--root", "/app", "--log-level", "warn"]
|
||||
@@ -6,6 +6,10 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + Vue + TS</title>
|
||||
</head>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
|
||||
22
openapitools.json
Normal file
22
openapitools.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
|
||||
"spaces": 2,
|
||||
"generator-cli": {
|
||||
"version": "7.13.0",
|
||||
"generators": {
|
||||
"v2.0": {
|
||||
"generatorName": "typescript-axios",
|
||||
"inputSpec": "http://localhost:8080/q/openapi",
|
||||
"output": "#{cwd}/src/api//#{name}",
|
||||
"apiNameSuffix": "Service",
|
||||
"additionalProperties": {
|
||||
"apiPackage": "service",
|
||||
"modelPackage": "model",
|
||||
"withSeparateModelsAndApi": true,
|
||||
"supportsES6": false,
|
||||
"useSingleRequestParameter": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
2929
package-lock.json
generated
2929
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@@ -6,23 +6,31 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc -b && vite build",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"openapi-generator": "openapi-generator-cli generate"
|
||||
},
|
||||
"dependencies": {
|
||||
"@primeuix/themes": "^1.0.3",
|
||||
"@tailwindcss/vite": "^4.1.5",
|
||||
"primevue": "^4.3.3",
|
||||
"tailwindcss": "^4.1.5",
|
||||
"@primeuix/themes": "^1.2.1",
|
||||
"@tailwindcss/vite": "^4.1.11",
|
||||
"@vueuse/core": "^13.5.0",
|
||||
"axios": "^1.10.0",
|
||||
"oidc-client-ts": "^3.3.0",
|
||||
"pinia": "^3.0.3",
|
||||
"primeicons": "^7.0.0",
|
||||
"primevue": "^4.3.6",
|
||||
"tailwindcss": "^4.1.11",
|
||||
"tailwindcss-primeui": "^0.6.1",
|
||||
"vue": "^3.5.13",
|
||||
"vue": "^3.5.17",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.2.2",
|
||||
"@openapitools/openapi-generator-cli": "^2.20.2",
|
||||
"@types/node": "^24.0.14",
|
||||
"@vitejs/plugin-vue": "^6.0.0",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"typescript": "~5.7.2",
|
||||
"unplugin-vue-components": "^28.5.0",
|
||||
"vite": "^6.3.1",
|
||||
"vite": "^7.0.2",
|
||||
"vue-tsc": "^2.2.8"
|
||||
}
|
||||
}
|
||||
|
||||
91
src/App.vue
91
src/App.vue
@@ -1,19 +1,88 @@
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="absolute flex flex-col h-32 top-0 items-center justify-between">
|
||||
<h1>Hello App!</h1>
|
||||
<div class="flex flex-col size-dvh">
|
||||
<!-- Navigator here -->
|
||||
<Menubar
|
||||
:model="items"
|
||||
class="fixed w-full top-0 z-10"
|
||||
>
|
||||
<template #end>
|
||||
<div class="flex items-center gap-2">
|
||||
<div
|
||||
class="flex"
|
||||
v-if="authStore.isAuthenticated"
|
||||
>
|
||||
<div class="flex flex-row items-center mr-4">
|
||||
<Avatar icon="pi pi-user" class="mr-2" shape="circle"/>
|
||||
<p>
|
||||
<strong>Current route path:</strong> {{ $route.fullPath }}
|
||||
{{ authStore!.user!.profile.preferred_username}}
|
||||
</p>
|
||||
<div class="flex w-full justify-between items-center">
|
||||
<RouterLink to="/">Go to Home</RouterLink>
|
||||
<RouterLink to="/foo">Go to Foo</RouterLink>
|
||||
</div>
|
||||
<Button
|
||||
label="Logout"
|
||||
icon="pi pi-user"
|
||||
@click="authStore.logout()"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<Button
|
||||
v-else
|
||||
label="Login"
|
||||
icon="pi pi-user"
|
||||
@click="authStore.login()"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
</Menubar>
|
||||
<main class="app-main pt-[60px]">
|
||||
<Toast/>
|
||||
<RouterView/>
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from "vue";
|
||||
import {useRouter} from "vue-router";
|
||||
import Toast from 'primevue/toast';
|
||||
import {useAuthStore} from "./stores/auth.ts";
|
||||
|
||||
const authStore = useAuthStore();
|
||||
const router = useRouter();
|
||||
|
||||
const items = ref([
|
||||
{
|
||||
label: 'Home',
|
||||
icon: 'pi pi-home',
|
||||
command: () => {
|
||||
router.push('/');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Sets',
|
||||
icon: 'pi pi-mobile',
|
||||
command: () => {
|
||||
router.push('/sets');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'My Decks',
|
||||
icon: 'pi pi-book',
|
||||
command: () => {
|
||||
router.push('/decks');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'My Cards',
|
||||
icon: 'pi pi-mobile',
|
||||
command: () => {
|
||||
router.push('/cards');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Jobs',
|
||||
icon: 'pi pi-mobile',
|
||||
command: () => {
|
||||
router.push('/jobs');
|
||||
}
|
||||
}
|
||||
]);
|
||||
</script>
|
||||
27
src/api/index.ts
Normal file
27
src/api/index.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import axios from "axios";
|
||||
import {userManager} from "../stores/auth.ts";
|
||||
|
||||
const axiosInstance = axios.create({
|
||||
baseURL: import.meta.env.VITE_API_URL || 'http://localhost:8080'
|
||||
})
|
||||
|
||||
axiosInstance.interceptors.request.use(async (config) => {
|
||||
const user = await userManager.getUser()
|
||||
if (user?.access_token) {
|
||||
config.headers.Authorization = `Bearer ${user.access_token}`
|
||||
}
|
||||
return config
|
||||
})
|
||||
|
||||
// Handle token expiration
|
||||
axiosInstance.interceptors.response.use(
|
||||
response => response,
|
||||
async (error) => {
|
||||
if (error.response?.status === 401) {
|
||||
await userManager.signinRedirect()
|
||||
}
|
||||
return Promise.reject(error)
|
||||
}
|
||||
)
|
||||
|
||||
export default axiosInstance;
|
||||
7
src/api/mutableTypes.ts
Normal file
7
src/api/mutableTypes.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type {CardServiceGetCardPageRequest} from "./openapi";
|
||||
|
||||
export type Mutable<T> = {
|
||||
-readonly [K in keyof T]: T[K];
|
||||
};
|
||||
|
||||
export type MutableCardRequest = Mutable<CardServiceGetCardPageRequest>;
|
||||
4
src/api/openapi/.gitignore
vendored
Normal file
4
src/api/openapi/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
wwwroot/*.js
|
||||
node_modules
|
||||
typings
|
||||
dist
|
||||
1
src/api/openapi/.npmignore
Normal file
1
src/api/openapi/.npmignore
Normal file
@@ -0,0 +1 @@
|
||||
# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm
|
||||
23
src/api/openapi/.openapi-generator-ignore
Normal file
23
src/api/openapi/.openapi-generator-ignore
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenAPI Generator Ignore
|
||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
||||
|
||||
# Use this file to prevent files from being overwritten by the generator.
|
||||
# The patterns follow closely to .gitignore or .dockerignore.
|
||||
|
||||
# As an example, the C# client generator defines ApiClient.cs.
|
||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
||||
#ApiClient.cs
|
||||
|
||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
||||
#foo/*/qux
|
||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
||||
|
||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
||||
#foo/**/qux
|
||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
||||
|
||||
# You can also negate patterns with an exclamation (!).
|
||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
||||
#docs/*.md
|
||||
# Then explicitly reverse the ignore rule for a single file:
|
||||
#!docs/README.md
|
||||
79
src/api/openapi/.openapi-generator/FILES
Normal file
79
src/api/openapi/.openapi-generator/FILES
Normal file
@@ -0,0 +1,79 @@
|
||||
.gitignore
|
||||
.npmignore
|
||||
api.ts
|
||||
base.ts
|
||||
common.ts
|
||||
configuration.ts
|
||||
docs/Attribute.md
|
||||
docs/Card.md
|
||||
docs/CardPageSearchRequest.md
|
||||
docs/CardPrint.md
|
||||
docs/CardPrintService.md
|
||||
docs/CardService.md
|
||||
docs/CardType.md
|
||||
docs/CardUpstreamFetchRequest.md
|
||||
docs/Deck.md
|
||||
docs/DeckCreateRequest.md
|
||||
docs/DeckService.md
|
||||
docs/JobDto.md
|
||||
docs/JobService.md
|
||||
docs/JobStatus.md
|
||||
docs/JobType.md
|
||||
docs/LinkArrow.md
|
||||
docs/MonsterCard.md
|
||||
docs/MonsterCardSubType.md
|
||||
docs/MonsterCardType.md
|
||||
docs/MonsterType.md
|
||||
docs/Page.md
|
||||
docs/PageCardDto.md
|
||||
docs/PageCardPrintDto.md
|
||||
docs/PageDeckDto.md
|
||||
docs/PageJobDto.md
|
||||
docs/PageSetDto.md
|
||||
docs/Region.md
|
||||
docs/RegionCodeAlias.md
|
||||
docs/RegionalSet.md
|
||||
docs/SetDto.md
|
||||
docs/SetService.md
|
||||
docs/SpellCard.md
|
||||
docs/SpellCardType.md
|
||||
docs/TrapCard.md
|
||||
docs/TrapCardType.md
|
||||
git_push.sh
|
||||
index.ts
|
||||
model/attribute.ts
|
||||
model/card-page-search-request.ts
|
||||
model/card-print.ts
|
||||
model/card-type.ts
|
||||
model/card-upstream-fetch-request.ts
|
||||
model/card.ts
|
||||
model/deck-create-request.ts
|
||||
model/deck.ts
|
||||
model/index.ts
|
||||
model/job-dto.ts
|
||||
model/job-status.ts
|
||||
model/job-type.ts
|
||||
model/link-arrow.ts
|
||||
model/monster-card-sub-type.ts
|
||||
model/monster-card-type.ts
|
||||
model/monster-card.ts
|
||||
model/monster-type.ts
|
||||
model/page-card-dto.ts
|
||||
model/page-card-print-dto.ts
|
||||
model/page-deck-dto.ts
|
||||
model/page-job-dto.ts
|
||||
model/page-set-dto.ts
|
||||
model/page.ts
|
||||
model/region-code-alias.ts
|
||||
model/region.ts
|
||||
model/regional-set.ts
|
||||
model/set-dto.ts
|
||||
model/spell-card-type.ts
|
||||
model/spell-card.ts
|
||||
model/trap-card-type.ts
|
||||
model/trap-card.ts
|
||||
service/card-print-service.ts
|
||||
service/card-service.ts
|
||||
service/deck-service.ts
|
||||
service/job-service.ts
|
||||
service/set-service.ts
|
||||
1
src/api/openapi/.openapi-generator/VERSION
Normal file
1
src/api/openapi/.openapi-generator/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
7.13.0
|
||||
22
src/api/openapi/api.ts
Normal file
22
src/api/openapi/api.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
/* 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 * from './service/card-service';
|
||||
export * from './service/card-print-service';
|
||||
export * from './service/deck-service';
|
||||
export * from './service/job-service';
|
||||
export * from './service/set-service';
|
||||
|
||||
86
src/api/openapi/base.ts
Normal file
86
src/api/openapi/base.ts
Normal file
@@ -0,0 +1,86 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from './configuration';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
|
||||
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: RawAxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath ?? basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
this.name = "RequiredError"
|
||||
}
|
||||
}
|
||||
|
||||
interface ServerMap {
|
||||
[key: string]: {
|
||||
url: string,
|
||||
description: string,
|
||||
}[];
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const operationServerMap: ServerMap = {
|
||||
}
|
||||
150
src/api/openapi/common.ts
Normal file
150
src/api/openapi/common.ts
Normal file
@@ -0,0 +1,150 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from "./configuration";
|
||||
import type { RequestArgs } from "./base";
|
||||
import type { AxiosInstance, AxiosResponse } from 'axios';
|
||||
import { RequiredError } from "./base";
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const DUMMY_BASE_URL = 'https://example.com'
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws {RequiredError}
|
||||
* @export
|
||||
*/
|
||||
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
||||
if (paramValue === null || paramValue === undefined) {
|
||||
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
||||
if (configuration && configuration.apiKey) {
|
||||
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
||||
? await configuration.apiKey(keyParamName)
|
||||
: await configuration.apiKey;
|
||||
object[keyParamName] = localVarApiKeyValue;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
||||
if (configuration && (configuration.username || configuration.password)) {
|
||||
object["auth"] = { username: configuration.username, password: configuration.password };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const accessToken = typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken()
|
||||
: await configuration.accessToken;
|
||||
object["Authorization"] = "Bearer " + accessToken;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken(name, scopes)
|
||||
: await configuration.accessToken;
|
||||
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
||||
}
|
||||
}
|
||||
|
||||
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
||||
if (parameter == null) return;
|
||||
if (typeof parameter === "object") {
|
||||
if (Array.isArray(parameter)) {
|
||||
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
||||
}
|
||||
else {
|
||||
Object.keys(parameter).forEach(currentKey =>
|
||||
setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
|
||||
);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (urlSearchParams.has(key)) {
|
||||
urlSearchParams.append(key, parameter);
|
||||
}
|
||||
else {
|
||||
urlSearchParams.set(key, parameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
||||
const searchParams = new URLSearchParams(url.search);
|
||||
setFlattenedQueryParams(searchParams, objects);
|
||||
url.search = searchParams.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
||||
const nonString = typeof value !== 'string';
|
||||
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
||||
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
||||
: nonString;
|
||||
return needsSerialization
|
||||
? JSON.stringify(value !== undefined ? value : {})
|
||||
: (value || "");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const toPathString = function (url: URL) {
|
||||
return url.pathname + url.search + url.hash
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
||||
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
||||
return axios.request<T, R>(axiosRequestArgs);
|
||||
};
|
||||
}
|
||||
115
src/api/openapi/configuration.ts
Normal file
115
src/api/openapi/configuration.ts
Normal file
@@ -0,0 +1,115 @@
|
||||
/* 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 ConfigurationParameters {
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
serverIndex?: number;
|
||||
baseOptions?: any;
|
||||
formDataCtor?: new () => any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
/**
|
||||
* override server index
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
serverIndex?: number;
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
/**
|
||||
* The FormData constructor that will be used to create multipart form data
|
||||
* requests. You can inject this here so that execution environments that
|
||||
* do not support the FormData class can still run the generated client.
|
||||
*
|
||||
* @type {new () => FormData}
|
||||
*/
|
||||
formDataCtor?: new () => any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.serverIndex = param.serverIndex;
|
||||
this.baseOptions = {
|
||||
...param.baseOptions,
|
||||
headers: {
|
||||
...param.baseOptions?.headers,
|
||||
},
|
||||
};
|
||||
this.formDataCtor = param.formDataCtor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the given MIME is a JSON MIME.
|
||||
* JSON MIME examples:
|
||||
* application/json
|
||||
* application/json; charset=UTF8
|
||||
* APPLICATION/JSON
|
||||
* application/vnd.company+json
|
||||
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
||||
* @return True if the given MIME is JSON, false otherwise.
|
||||
*/
|
||||
public isJsonMime(mime: string): boolean {
|
||||
const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
||||
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
||||
}
|
||||
}
|
||||
20
src/api/openapi/docs/Attribute.md
Normal file
20
src/api/openapi/docs/Attribute.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Attribute
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Wind` (value: `'WIND'`)
|
||||
|
||||
* `Water` (value: `'WATER'`)
|
||||
|
||||
* `Fire` (value: `'FIRE'`)
|
||||
|
||||
* `Earth` (value: `'EARTH'`)
|
||||
|
||||
* `Light` (value: `'LIGHT'`)
|
||||
|
||||
* `Dark` (value: `'DARK'`)
|
||||
|
||||
* `Divine` (value: `'DIVINE'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
54
src/api/openapi/docs/Card.md
Normal file
54
src/api/openapi/docs/Card.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Card
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**cardType** | [**CardType**](CardType.md) | | [default to undefined]
|
||||
**description** | **string** | | [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**cardPrints** | [**Array<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
**monsterEffect** | **string** | | [optional] [default to undefined]
|
||||
**attack** | **number** | | [optional] [default to undefined]
|
||||
**defense** | **number** | | [optional] [default to undefined]
|
||||
**level** | **number** | | [optional] [default to undefined]
|
||||
**isPendulum** | **boolean** | | [optional] [default to undefined]
|
||||
**pendulumScale** | **number** | | [optional] [default to undefined]
|
||||
**pendulumEffect** | **string** | | [optional] [default to undefined]
|
||||
**linkValue** | **number** | | [optional] [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
|
||||
|
||||
```typescript
|
||||
import { Card } from './api';
|
||||
|
||||
const instance: Card = {
|
||||
id,
|
||||
cardType,
|
||||
description,
|
||||
name,
|
||||
cardPrints,
|
||||
monsterEffect,
|
||||
attack,
|
||||
defense,
|
||||
level,
|
||||
isPendulum,
|
||||
pendulumScale,
|
||||
pendulumEffect,
|
||||
linkValue,
|
||||
type,
|
||||
monsterType,
|
||||
attribute,
|
||||
linkArrows,
|
||||
subTypes,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
72
src/api/openapi/docs/CardPageSearchRequest.md
Normal file
72
src/api/openapi/docs/CardPageSearchRequest.md
Normal 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)
|
||||
26
src/api/openapi/docs/CardPrint.md
Normal file
26
src/api/openapi/docs/CardPrint.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# CardPrint
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **string** | | [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**regionalName** | **string** | | [optional] [default to undefined]
|
||||
**rarity** | **string** | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { CardPrint } from './api';
|
||||
|
||||
const instance: CardPrint = {
|
||||
id,
|
||||
name,
|
||||
regionalName,
|
||||
rarity,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
64
src/api/openapi/docs/CardPrintService.md
Normal file
64
src/api/openapi/docs/CardPrintService.md
Normal file
@@ -0,0 +1,64 @@
|
||||
# CardPrintService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**getCardPrintPage**](#getcardprintpage) | **GET** /api/prints | Get a page of Card Prints with optional name query parameter|
|
||||
|
||||
# **getCardPrintPage**
|
||||
> PageCardPrintDto getCardPrintPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
CardPrintService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new CardPrintService(configuration);
|
||||
|
||||
let name: string; // (optional) (default to undefined)
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardPrintPage(
|
||||
name,
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | (optional) defaults to undefined|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageCardPrintDto**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Card Prints Page retrieved | - |
|
||||
|
||||
[[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)
|
||||
|
||||
290
src/api/openapi/docs/CardService.md
Normal file
290
src/api/openapi/docs/CardService.md
Normal file
@@ -0,0 +1,290 @@
|
||||
# CardService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**fetchUpstream**](#fetchupstream) | **POST** /api/cards/fetch | Fetch Cards by ID or Name from any upstream service|
|
||||
|[**getCardById**](#getcardbyid) | **GET** /api/cards/{id} | Get a singular Card by its ID|
|
||||
|[**getCardImageById**](#getcardimagebyid) | **GET** /api/cards/{id}/image | Get the image of a Card by its ID|
|
||||
|[**getCardPage**](#getcardpage) | **GET** /api/cards | Get a page of Cards with optional name query parameter|
|
||||
|
||||
# **fetchUpstream**
|
||||
> Array<Card> fetchUpstream(cardUpstreamFetchRequest)
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
CardService,
|
||||
Configuration,
|
||||
CardUpstreamFetchRequest
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new CardService(configuration);
|
||||
|
||||
let cardUpstreamFetchRequest: CardUpstreamFetchRequest; //
|
||||
|
||||
const { status, data } = await apiInstance.fetchUpstream(
|
||||
cardUpstreamFetchRequest
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **cardUpstreamFetchRequest** | **CardUpstreamFetchRequest**| | |
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**Array<Card>**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Cards retrieved | - |
|
||||
|**404** | Card with Name or ID cannot be found | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getCardById**
|
||||
> Card getCardById()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
CardService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new CardService(configuration);
|
||||
|
||||
let id: number; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardById(
|
||||
id
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **id** | [**number**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**Card**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Card retrieved | - |
|
||||
|**404** | Card with ID cannot be found | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getCardImageById**
|
||||
> File getCardImageById()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
CardService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new CardService(configuration);
|
||||
|
||||
let id: number; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardImageById(
|
||||
id
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **id** | [**number**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**File**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/octet-stream
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Card image retrieved | - |
|
||||
|**404** | Card image for ID cannot be found | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getCardPage**
|
||||
> PageCardDto getCardPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
CardService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
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,
|
||||
pendulumScale,
|
||||
pendulumScaleMax,
|
||||
pendulumScaleMin,
|
||||
spellCardType,
|
||||
trapCardType
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **attack** | [**number**] | | (optional) defaults to undefined|
|
||||
| **attackMax** | [**number**] | | (optional) defaults to undefined|
|
||||
| **attackMin** | [**number**] | | (optional) defaults to undefined|
|
||||
| **attributes** | **Array<Attribute>** | | (optional) defaults to undefined|
|
||||
| **cardTypes** | **Array<CardType>** | | (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<LinkArrow>** | | (optional) defaults to undefined|
|
||||
| **linkValue** | [**number**] | | (optional) defaults to undefined|
|
||||
| **linkValueMax** | [**number**] | | (optional) defaults to undefined|
|
||||
| **linkValueMin** | [**number**] | | (optional) defaults to undefined|
|
||||
| **monsterCardSubTypes** | **Array<MonsterCardSubType>** | | (optional) defaults to undefined|
|
||||
| **monsterCardTypes** | **Array<MonsterCardType>** | | (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
|
||||
|
||||
**PageCardDto**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Page for the given query | - |
|
||||
|
||||
[[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)
|
||||
|
||||
14
src/api/openapi/docs/CardType.md
Normal file
14
src/api/openapi/docs/CardType.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# CardType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Monster` (value: `'MONSTER'`)
|
||||
|
||||
* `Spell` (value: `'SPELL'`)
|
||||
|
||||
* `Trap` (value: `'TRAP'`)
|
||||
|
||||
* `Unknown` (value: `'UNKNOWN'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
26
src/api/openapi/docs/CardUpstreamFetchRequest.md
Normal file
26
src/api/openapi/docs/CardUpstreamFetchRequest.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# CardUpstreamFetchRequest
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**services** | **Array<string>** | | [default to undefined]
|
||||
**persist** | **boolean** | | [optional] [default to undefined]
|
||||
**name** | **string** | | [optional] [default to undefined]
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { CardUpstreamFetchRequest } from './api';
|
||||
|
||||
const instance: CardUpstreamFetchRequest = {
|
||||
services,
|
||||
persist,
|
||||
name,
|
||||
id,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
24
src/api/openapi/docs/Deck.md
Normal file
24
src/api/openapi/docs/Deck.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Deck
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**prints** | [**Set<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { Deck } from './api';
|
||||
|
||||
const instance: Deck = {
|
||||
id,
|
||||
name,
|
||||
prints,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
20
src/api/openapi/docs/DeckCreateRequest.md
Normal file
20
src/api/openapi/docs/DeckCreateRequest.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# DeckCreateRequest
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **string** | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { DeckCreateRequest } from './api';
|
||||
|
||||
const instance: DeckCreateRequest = {
|
||||
name,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
224
src/api/openapi/docs/DeckService.md
Normal file
224
src/api/openapi/docs/DeckService.md
Normal file
@@ -0,0 +1,224 @@
|
||||
# DeckService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**addCardToDeck**](#addcardtodeck) | **POST** /api/decks/{deckName}/{cardId} | Add a Card by its ID to a Deck by its name|
|
||||
|[**createDeck**](#createdeck) | **POST** /api/decks | Create a Deck with a given name|
|
||||
|[**getDeckByName**](#getdeckbyname) | **GET** /api/decks/{name} | Get a singular Deck by its name|
|
||||
|[**getDecks**](#getdecks) | **GET** /api/decks | Get a page of Decks with optional name query parameter|
|
||||
|
||||
# **addCardToDeck**
|
||||
> addCardToDeck()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
DeckService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new DeckService(configuration);
|
||||
|
||||
let cardId: number; // (default to undefined)
|
||||
let deckName: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.addCardToDeck(
|
||||
cardId,
|
||||
deckName
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **cardId** | [**number**] | | defaults to undefined|
|
||||
| **deckName** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
void (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**201** | Card successfully added to Deck | - |
|
||||
|**404** | Deck with name cannot be found | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **createDeck**
|
||||
> createDeck(deckCreateRequest)
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
DeckService,
|
||||
Configuration,
|
||||
DeckCreateRequest
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new DeckService(configuration);
|
||||
|
||||
let deckCreateRequest: DeckCreateRequest; //
|
||||
|
||||
const { status, data } = await apiInstance.createDeck(
|
||||
deckCreateRequest
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **deckCreateRequest** | **DeckCreateRequest**| | |
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
void (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: Not defined
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**401** | Deck successfully created | - |
|
||||
|**409** | Card with name already exists | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getDeckByName**
|
||||
> Deck getDeckByName()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
DeckService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new DeckService(configuration);
|
||||
|
||||
let name: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getDeckByName(
|
||||
name
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**Deck**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Deck retrieved | - |
|
||||
|**404** | Deck with name cannot be found | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getDecks**
|
||||
> PageDeckDto getDecks()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
DeckService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new DeckService(configuration);
|
||||
|
||||
let name: string; // (optional) (default to undefined)
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getDecks(
|
||||
name,
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | (optional) defaults to undefined|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageDeckDto**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Page of Decks for given query | - |
|
||||
|
||||
[[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)
|
||||
|
||||
58
src/api/openapi/docs/JobControllerService.md
Normal file
58
src/api/openapi/docs/JobControllerService.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# JobControllerService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**apiJobsNameGet**](#apijobsnameget) | **GET** /api/jobs/{name} | Get Deck By Name|
|
||||
|
||||
# **apiJobsNameGet**
|
||||
> string apiJobsNameGet()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobControllerService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobControllerService(configuration);
|
||||
|
||||
let name: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.apiJobsNameGet(
|
||||
name
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: text/plain
|
||||
|
||||
|
||||
### 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)
|
||||
|
||||
38
src/api/openapi/docs/JobDto.md
Normal file
38
src/api/openapi/docs/JobDto.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# JobDto
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
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]
|
||||
**childrenIds** | **Array<number>** | | [optional] [default to undefined]
|
||||
**attempts** | **number** | | [optional] [default to undefined]
|
||||
**status** | [**JobStatus**](JobStatus.md) | | [default to undefined]
|
||||
**type** | [**JobType**](JobType.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { JobDto } from './api';
|
||||
|
||||
const instance: JobDto = {
|
||||
id,
|
||||
totalJobs,
|
||||
pendingJobs,
|
||||
processingJobs,
|
||||
completedJobs,
|
||||
failedJobs,
|
||||
childrenIds,
|
||||
attempts,
|
||||
status,
|
||||
type,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
366
src/api/openapi/docs/JobService.md
Normal file
366
src/api/openapi/docs/JobService.md
Normal file
@@ -0,0 +1,366 @@
|
||||
# JobService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**getAllJobs**](#getalljobs) | **GET** /api/jobs | Get status of all Jobs|
|
||||
|[**getCardPrintImportJobPage**](#getcardprintimportjobpage) | **GET** /api/jobs/cardPrintImports | Get a page of all CardSetImportJobs|
|
||||
|[**getCardPrintImportJobStatusById**](#getcardprintimportjobstatusbyid) | **GET** /api/jobs/cardPrintImport/{id} | Get status of CardPrintImportJob|
|
||||
|[**getCardSetImportJobPage**](#getcardsetimportjobpage) | **GET** /api/jobs/cardSetImports | Get a page of all CardSetImportJobs|
|
||||
|[**getCardSetImportJobStatusById**](#getcardsetimportjobstatusbyid) | **GET** /api/jobs/cardSetImport/{id} | Get status of CardSetImportJob|
|
||||
|[**getRegionalSetImportJobPage**](#getregionalsetimportjobpage) | **GET** /api/jobs/regionalSetImports | Get a page of all CardSetImportJobs|
|
||||
|[**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)
|
||||
|
||||
# **getCardPrintImportJobPage**
|
||||
> PageJobDto getCardPrintImportJobPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardPrintImportJobPage(
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageJobDto**
|
||||
|
||||
### 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()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let id: number; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardPrintImportJobStatusById(
|
||||
id
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **id** | [**number**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**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)
|
||||
|
||||
# **getCardSetImportJobPage**
|
||||
> PageJobDto getCardSetImportJobPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardSetImportJobPage(
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageJobDto**
|
||||
|
||||
### 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)
|
||||
|
||||
# **getCardSetImportJobStatusById**
|
||||
> JobDto getCardSetImportJobStatusById()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let id: number; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardSetImportJobStatusById(
|
||||
id
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **id** | [**number**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**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)
|
||||
|
||||
# **getRegionalSetImportJobPage**
|
||||
> PageJobDto getRegionalSetImportJobPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getRegionalSetImportJobPage(
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageJobDto**
|
||||
|
||||
### 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)
|
||||
|
||||
# **getRegionalSetImportJobStatusById**
|
||||
> JobDto getRegionalSetImportJobStatusById()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
JobService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new JobService(configuration);
|
||||
|
||||
let id: number; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getRegionalSetImportJobStatusById(
|
||||
id
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **id** | [**number**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**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)
|
||||
|
||||
14
src/api/openapi/docs/JobStatus.md
Normal file
14
src/api/openapi/docs/JobStatus.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# JobStatus
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Pending` (value: `'PENDING'`)
|
||||
|
||||
* `Processing` (value: `'PROCESSING'`)
|
||||
|
||||
* `Completed` (value: `'COMPLETED'`)
|
||||
|
||||
* `Failed` (value: `'FAILED'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
12
src/api/openapi/docs/JobType.md
Normal file
12
src/api/openapi/docs/JobType.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# JobType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `CardSet` (value: `'CARD_SET'`)
|
||||
|
||||
* `RegionalSet` (value: `'REGIONAL_SET'`)
|
||||
|
||||
* `CardPrint` (value: `'CARD_PRINT'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
22
src/api/openapi/docs/LinkArrow.md
Normal file
22
src/api/openapi/docs/LinkArrow.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# LinkArrow
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `TopLeft` (value: `'TOP_LEFT'`)
|
||||
|
||||
* `Top` (value: `'TOP'`)
|
||||
|
||||
* `TopRight` (value: `'TOP_RIGHT'`)
|
||||
|
||||
* `Left` (value: `'LEFT'`)
|
||||
|
||||
* `Right` (value: `'RIGHT'`)
|
||||
|
||||
* `BottomLeft` (value: `'BOTTOM_LEFT'`)
|
||||
|
||||
* `Bottom` (value: `'BOTTOM'`)
|
||||
|
||||
* `BottomRight` (value: `'BOTTOM_RIGHT'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
54
src/api/openapi/docs/MonsterCard.md
Normal file
54
src/api/openapi/docs/MonsterCard.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# MonsterCard
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**cardType** | [**CardType**](CardType.md) | | [default to undefined]
|
||||
**description** | **string** | | [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**cardPrints** | [**Array<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
**monsterEffect** | **string** | | [optional] [default to undefined]
|
||||
**attack** | **number** | | [optional] [default to undefined]
|
||||
**defense** | **number** | | [optional] [default to undefined]
|
||||
**level** | **number** | | [optional] [default to undefined]
|
||||
**isPendulum** | **boolean** | | [optional] [default to undefined]
|
||||
**pendulumScale** | **number** | | [optional] [default to undefined]
|
||||
**pendulumEffect** | **string** | | [optional] [default to undefined]
|
||||
**linkValue** | **number** | | [optional] [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<LinkArrow>**](LinkArrow.md) | | [default to undefined]
|
||||
**subTypes** | [**Set<MonsterCardSubType>**](MonsterCardSubType.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { MonsterCard } from './api';
|
||||
|
||||
const instance: MonsterCard = {
|
||||
id,
|
||||
cardType,
|
||||
description,
|
||||
name,
|
||||
cardPrints,
|
||||
monsterEffect,
|
||||
attack,
|
||||
defense,
|
||||
level,
|
||||
isPendulum,
|
||||
pendulumScale,
|
||||
pendulumEffect,
|
||||
linkValue,
|
||||
type,
|
||||
monsterType,
|
||||
attribute,
|
||||
linkArrows,
|
||||
subTypes,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
20
src/api/openapi/docs/MonsterCardSubType.md
Normal file
20
src/api/openapi/docs/MonsterCardSubType.md
Normal 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)
|
||||
20
src/api/openapi/docs/MonsterCardSubTypeEnum.md
Normal file
20
src/api/openapi/docs/MonsterCardSubTypeEnum.md
Normal 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)
|
||||
20
src/api/openapi/docs/MonsterCardType.md
Normal file
20
src/api/openapi/docs/MonsterCardType.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# MonsterCardType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Normal` (value: `'NORMAL'`)
|
||||
|
||||
* `Effect` (value: `'EFFECT'`)
|
||||
|
||||
* `Ritual` (value: `'RITUAL'`)
|
||||
|
||||
* `Fusion` (value: `'FUSION'`)
|
||||
|
||||
* `Synchro` (value: `'SYNCHRO'`)
|
||||
|
||||
* `Xyz` (value: `'XYZ'`)
|
||||
|
||||
* `Link` (value: `'LINK'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
58
src/api/openapi/docs/MonsterType.md
Normal file
58
src/api/openapi/docs/MonsterType.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# MonsterType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Aqua` (value: `'AQUA'`)
|
||||
|
||||
* `Beast` (value: `'BEAST'`)
|
||||
|
||||
* `BeastWarrior` (value: `'BEAST_WARRIOR'`)
|
||||
|
||||
* `CreatorGod` (value: `'CREATOR_GOD'`)
|
||||
|
||||
* `Cyberse` (value: `'CYBERSE'`)
|
||||
|
||||
* `Dinosaur` (value: `'DINOSAUR'`)
|
||||
|
||||
* `DivineBeast` (value: `'DIVINE_BEAST'`)
|
||||
|
||||
* `Dragon` (value: `'DRAGON'`)
|
||||
|
||||
* `Fairy` (value: `'FAIRY'`)
|
||||
|
||||
* `Fiend` (value: `'FIEND'`)
|
||||
|
||||
* `Fish` (value: `'FISH'`)
|
||||
|
||||
* `Insect` (value: `'INSECT'`)
|
||||
|
||||
* `Illusion` (value: `'ILLUSION'`)
|
||||
|
||||
* `Machine` (value: `'MACHINE'`)
|
||||
|
||||
* `Plant` (value: `'PLANT'`)
|
||||
|
||||
* `Psychic` (value: `'PSYCHIC'`)
|
||||
|
||||
* `Pyro` (value: `'PYRO'`)
|
||||
|
||||
* `Reptile` (value: `'REPTILE'`)
|
||||
|
||||
* `Rock` (value: `'ROCK'`)
|
||||
|
||||
* `SeaSerpent` (value: `'SEA_SERPENT'`)
|
||||
|
||||
* `Spellcaster` (value: `'SPELLCASTER'`)
|
||||
|
||||
* `Thunder` (value: `'THUNDER'`)
|
||||
|
||||
* `Warrior` (value: `'WARRIOR'`)
|
||||
|
||||
* `WingedBeast` (value: `'WINGED_BEAST'`)
|
||||
|
||||
* `Wyrm` (value: `'WYRM'`)
|
||||
|
||||
* `Zombie` (value: `'ZOMBIE'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/Page.md
Normal file
29
src/api/openapi/docs/Page.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Page
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **Array<any>** | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { Page } from './api';
|
||||
|
||||
const instance: Page = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/PageCardDto.md
Normal file
29
src/api/openapi/docs/PageCardDto.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PageCardDto
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | [**Array<Card>**](Card.md) | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { PageCardDto } from './api';
|
||||
|
||||
const instance: PageCardDto = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/PageCardPrintDto.md
Normal file
29
src/api/openapi/docs/PageCardPrintDto.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PageCardPrintDto
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | [**Array<CardPrint>**](CardPrint.md) | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { PageCardPrintDto } from './api';
|
||||
|
||||
const instance: PageCardPrintDto = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/PageDeckDto.md
Normal file
29
src/api/openapi/docs/PageDeckDto.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PageDeckDto
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | [**Array<Deck>**](Deck.md) | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { PageDeckDto } from './api';
|
||||
|
||||
const instance: PageDeckDto = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/PageJobDto.md
Normal file
29
src/api/openapi/docs/PageJobDto.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PageJobDto
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | [**Array<JobDto>**](JobDto.md) | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { PageJobDto } from './api';
|
||||
|
||||
const instance: PageJobDto = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
29
src/api/openapi/docs/PageSetDto.md
Normal file
29
src/api/openapi/docs/PageSetDto.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PageSetDto
|
||||
|
||||
Page of items
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | [**Array<SetDto>**](SetDto.md) | Items in the page | [default to undefined]
|
||||
**page** | **number** | | [optional] [default to undefined]
|
||||
**pageSize** | **number** | | [optional] [default to undefined]
|
||||
**totalPages** | **number** | | [optional] [default to undefined]
|
||||
**totalRecords** | **number** | | [optional] [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { PageSetDto } from './api';
|
||||
|
||||
const instance: PageSetDto = {
|
||||
content,
|
||||
page,
|
||||
pageSize,
|
||||
totalPages,
|
||||
totalRecords,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
34
src/api/openapi/docs/Region.md
Normal file
34
src/api/openapi/docs/Region.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Region
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `AsianEnglish` (value: `'ASIAN_ENGLISH'`)
|
||||
|
||||
* `Japanese` (value: `'JAPANESE'`)
|
||||
|
||||
* `JapaneseAsian` (value: `'JAPANESE_ASIAN'`)
|
||||
|
||||
* `English` (value: `'ENGLISH'`)
|
||||
|
||||
* `EuropeanEnglish` (value: `'EUROPEAN_ENGLISH'`)
|
||||
|
||||
* `Korean` (value: `'KOREAN'`)
|
||||
|
||||
* `French` (value: `'FRENCH'`)
|
||||
|
||||
* `FrenchCanadian` (value: `'FRENCH_CANADIAN'`)
|
||||
|
||||
* `NaEnglish` (value: `'NA_ENGLISH'`)
|
||||
|
||||
* `Oceanic` (value: `'OCEANIC'`)
|
||||
|
||||
* `German` (value: `'GERMAN'`)
|
||||
|
||||
* `Portuguese` (value: `'PORTUGUESE'`)
|
||||
|
||||
* `Italian` (value: `'ITALIAN'`)
|
||||
|
||||
* `Spanish` (value: `'SPANISH'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
24
src/api/openapi/docs/RegionCodeAlias.md
Normal file
24
src/api/openapi/docs/RegionCodeAlias.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# RegionCodeAlias
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**alias** | **string** | | [default to undefined]
|
||||
**region** | [**Region**](Region.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { RegionCodeAlias } from './api';
|
||||
|
||||
const instance: RegionCodeAlias = {
|
||||
id,
|
||||
alias,
|
||||
region,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
26
src/api/openapi/docs/RegionalSet.md
Normal file
26
src/api/openapi/docs/RegionalSet.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# RegionalSet
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**prefix** | **string** | | [default to undefined]
|
||||
**region** | **string** | | [default to undefined]
|
||||
**cardPrints** | [**Array<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { RegionalSet } from './api';
|
||||
|
||||
const instance: RegionalSet = {
|
||||
id,
|
||||
prefix,
|
||||
region,
|
||||
cardPrints,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
20
src/api/openapi/docs/SetDto.md
Normal file
20
src/api/openapi/docs/SetDto.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# SetDto
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **string** | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { SetDto } from './api';
|
||||
|
||||
const instance: SetDto = {
|
||||
name,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
22
src/api/openapi/docs/SetPrefix.md
Normal file
22
src/api/openapi/docs/SetPrefix.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# SetPrefix
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { SetPrefix } from './api';
|
||||
|
||||
const instance: SetPrefix = {
|
||||
id,
|
||||
name,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
217
src/api/openapi/docs/SetService.md
Normal file
217
src/api/openapi/docs/SetService.md
Normal file
@@ -0,0 +1,217 @@
|
||||
# SetService
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
|Method | HTTP request | Description|
|
||||
|------------- | ------------- | -------------|
|
||||
|[**apiSetsNameGet**](#apisetsnameget) | **GET** /api/sets/{name} | Find Set By Name|
|
||||
|[**apiSetsNameNewGet**](#apisetsnamenewget) | **GET** /api/sets/{name}/new | Fetch And Persist From Upstream|
|
||||
|[**apiSetsNameScrapeGet**](#apisetsnamescrapeget) | **GET** /api/sets/{name}/scrape | Scrape And Persist From Upstream|
|
||||
|[**getCardSetPage**](#getcardsetpage) | **GET** /api/sets | Get a page of Card Sets with optional name query parameter|
|
||||
|
||||
# **apiSetsNameGet**
|
||||
> SetDto apiSetsNameGet()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
SetService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new SetService(configuration);
|
||||
|
||||
let name: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.apiSetsNameGet(
|
||||
name
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**SetDto**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Set retrieved | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **apiSetsNameNewGet**
|
||||
> Array<SetDto> apiSetsNameNewGet()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
SetService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new SetService(configuration);
|
||||
|
||||
let name: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.apiSetsNameNewGet(
|
||||
name
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**Array<SetDto>**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Set retrieved | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **apiSetsNameScrapeGet**
|
||||
> apiSetsNameScrapeGet()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
SetService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new SetService(configuration);
|
||||
|
||||
let name: string; // (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.apiSetsNameScrapeGet(
|
||||
name
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
void (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Set retrieved | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **getCardSetPage**
|
||||
> PageSetDto getCardSetPage()
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```typescript
|
||||
import {
|
||||
SetService,
|
||||
Configuration
|
||||
} from './api';
|
||||
|
||||
const configuration = new Configuration();
|
||||
const apiInstance = new SetService(configuration);
|
||||
|
||||
let name: string; // (optional) (default to undefined)
|
||||
let page: number; // (optional) (default to undefined)
|
||||
let pageSize: number; // (optional) (default to undefined)
|
||||
|
||||
const { status, data } = await apiInstance.getCardSetPage(
|
||||
name,
|
||||
page,
|
||||
pageSize
|
||||
);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name | Type | Description | Notes|
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **name** | [**string**] | | (optional) defaults to undefined|
|
||||
| **page** | [**number**] | | (optional) defaults to undefined|
|
||||
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
**PageSetDto**
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
|
||||
### HTTP response details
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
|**200** | Page for the given query | - |
|
||||
|
||||
[[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)
|
||||
|
||||
30
src/api/openapi/docs/SpellCard.md
Normal file
30
src/api/openapi/docs/SpellCard.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# SpellCard
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**cardType** | [**CardType**](CardType.md) | | [default to undefined]
|
||||
**description** | **string** | | [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**cardPrints** | [**Array<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
**type** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { SpellCard } from './api';
|
||||
|
||||
const instance: SpellCard = {
|
||||
id,
|
||||
cardType,
|
||||
description,
|
||||
name,
|
||||
cardPrints,
|
||||
type,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
18
src/api/openapi/docs/SpellCardType.md
Normal file
18
src/api/openapi/docs/SpellCardType.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# SpellCardType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Normal` (value: `'NORMAL'`)
|
||||
|
||||
* `Continuous` (value: `'CONTINUOUS'`)
|
||||
|
||||
* `Equip` (value: `'EQUIP'`)
|
||||
|
||||
* `QuickPlay` (value: `'QUICK_PLAY'`)
|
||||
|
||||
* `Field` (value: `'FIELD'`)
|
||||
|
||||
* `Ritual` (value: `'RITUAL'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
30
src/api/openapi/docs/TrapCard.md
Normal file
30
src/api/openapi/docs/TrapCard.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# TrapCard
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**cardType** | [**CardType**](CardType.md) | | [default to undefined]
|
||||
**description** | **string** | | [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**cardPrints** | [**Array<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
**type** | [**TrapCardType**](TrapCardType.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { TrapCard } from './api';
|
||||
|
||||
const instance: TrapCard = {
|
||||
id,
|
||||
cardType,
|
||||
description,
|
||||
name,
|
||||
cardPrints,
|
||||
type,
|
||||
};
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
12
src/api/openapi/docs/TrapCardType.md
Normal file
12
src/api/openapi/docs/TrapCardType.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# TrapCardType
|
||||
|
||||
|
||||
## Enum
|
||||
|
||||
* `Normal` (value: `'NORMAL'`)
|
||||
|
||||
* `Continuous` (value: `'CONTINUOUS'`)
|
||||
|
||||
* `Counter` (value: `'COUNTER'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
57
src/api/openapi/git_push.sh
Normal file
57
src/api/openapi/git_push.sh
Normal file
@@ -0,0 +1,57 @@
|
||||
#!/bin/sh
|
||||
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
||||
#
|
||||
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
||||
|
||||
git_user_id=$1
|
||||
git_repo_id=$2
|
||||
release_note=$3
|
||||
git_host=$4
|
||||
|
||||
if [ "$git_host" = "" ]; then
|
||||
git_host="github.com"
|
||||
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
||||
fi
|
||||
|
||||
if [ "$git_user_id" = "" ]; then
|
||||
git_user_id="GIT_USER_ID"
|
||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
||||
fi
|
||||
|
||||
if [ "$git_repo_id" = "" ]; then
|
||||
git_repo_id="GIT_REPO_ID"
|
||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
||||
fi
|
||||
|
||||
if [ "$release_note" = "" ]; then
|
||||
release_note="Minor update"
|
||||
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
||||
fi
|
||||
|
||||
# Initialize the local directory as a Git repository
|
||||
git init
|
||||
|
||||
# Adds the files in the local repository and stages them for commit.
|
||||
git add .
|
||||
|
||||
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
||||
git commit -m "$release_note"
|
||||
|
||||
# Sets the new remote
|
||||
git_remote=$(git remote)
|
||||
if [ "$git_remote" = "" ]; then # git remote not defined
|
||||
|
||||
if [ "$GIT_TOKEN" = "" ]; then
|
||||
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
||||
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
||||
else
|
||||
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
git pull origin master
|
||||
|
||||
# Pushes (Forces) the changes in the local repository up to the remote repository
|
||||
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
||||
git push origin master 2>&1 | grep -v 'To https'
|
||||
18
src/api/openapi/index.ts
Normal file
18
src/api/openapi/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/* 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 * from "./api";
|
||||
export * from "./configuration";
|
||||
export * from "./model";
|
||||
36
src/api/openapi/model/attribute.ts
Normal file
36
src/api/openapi/model/attribute.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 Attribute = {
|
||||
Wind: 'WIND',
|
||||
Water: 'WATER',
|
||||
Fire: 'FIRE',
|
||||
Earth: 'EARTH',
|
||||
Light: 'LIGHT',
|
||||
Dark: 'DARK',
|
||||
Divine: 'DIVINE'
|
||||
} as const;
|
||||
|
||||
export type Attribute = typeof Attribute[keyof typeof Attribute];
|
||||
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
48
src/api/openapi/model/card-print.ts
Normal file
48
src/api/openapi/model/card-print.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
/* 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 CardPrint
|
||||
*/
|
||||
export interface CardPrint {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'id': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'regionalName'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrint
|
||||
*/
|
||||
'rarity': 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];
|
||||
|
||||
|
||||
|
||||
48
src/api/openapi/model/card-upstream-fetch-request.ts
Normal file
48
src/api/openapi/model/card-upstream-fetch-request.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
/* 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 CardUpstreamFetchRequest
|
||||
*/
|
||||
export interface CardUpstreamFetchRequest {
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof CardUpstreamFetchRequest
|
||||
*/
|
||||
'services': Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof CardUpstreamFetchRequest
|
||||
*/
|
||||
'persist'?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardUpstreamFetchRequest
|
||||
*/
|
||||
'name'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardUpstreamFetchRequest
|
||||
*/
|
||||
'id'?: number | null;
|
||||
}
|
||||
|
||||
53
src/api/openapi/model/card.ts
Normal file
53
src/api/openapi/model/card.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
/* 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 { 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 { 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
|
||||
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
|
||||
*/
|
||||
export type Card = MonsterCard | SpellCard | TrapCard;
|
||||
|
||||
|
||||
30
src/api/openapi/model/deck-create-request.ts
Normal file
30
src/api/openapi/model/deck-create-request.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
/* 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 DeckCreateRequest
|
||||
*/
|
||||
export interface DeckCreateRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckCreateRequest
|
||||
*/
|
||||
'name': string;
|
||||
}
|
||||
|
||||
45
src/api/openapi/model/deck.ts
Normal file
45
src/api/openapi/model/deck.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 { CardPrint } from './card-print';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface Deck
|
||||
*/
|
||||
export interface Deck {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Set<CardPrint>}
|
||||
* @memberof Deck
|
||||
*/
|
||||
'prints': Set<CardPrint>;
|
||||
}
|
||||
|
||||
30
src/api/openapi/model/index.ts
Normal file
30
src/api/openapi/model/index.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
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';
|
||||
export * from './deck';
|
||||
export * from './deck-create-request';
|
||||
export * from './job-dto';
|
||||
export * from './job-status';
|
||||
export * from './job-type';
|
||||
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';
|
||||
export * from './page-card-dto';
|
||||
export * from './page-card-print-dto';
|
||||
export * from './page-deck-dto';
|
||||
export * from './page-job-dto';
|
||||
export * from './page-set-dto';
|
||||
export * from './region';
|
||||
export * from './region-code-alias';
|
||||
export * from './regional-set';
|
||||
export * from './set-dto';
|
||||
export * from './spell-card';
|
||||
export * from './spell-card-type';
|
||||
export * from './trap-card';
|
||||
export * from './trap-card-type';
|
||||
92
src/api/openapi/model/job-dto.ts
Normal file
92
src/api/openapi/model/job-dto.ts
Normal file
@@ -0,0 +1,92 @@
|
||||
/* 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 { JobStatus } from './job-status';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { JobType } from './job-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface JobDto
|
||||
*/
|
||||
export interface JobDto {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'totalJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'pendingJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'processingJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'completedJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'failedJobs'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {Array<number>}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'childrenIds'?: Array<number> | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'attempts'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {JobStatus}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'status': JobStatus;
|
||||
/**
|
||||
*
|
||||
* @type {JobType}
|
||||
* @memberof JobDto
|
||||
*/
|
||||
'type': JobType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
33
src/api/openapi/model/job-status.ts
Normal file
33
src/api/openapi/model/job-status.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 JobStatus = {
|
||||
Pending: 'PENDING',
|
||||
Processing: 'PROCESSING',
|
||||
Completed: 'COMPLETED',
|
||||
Failed: 'FAILED'
|
||||
} as const;
|
||||
|
||||
export type JobStatus = typeof JobStatus[keyof typeof JobStatus];
|
||||
|
||||
|
||||
|
||||
32
src/api/openapi/model/job-type.ts
Normal file
32
src/api/openapi/model/job-type.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
/* 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 JobType = {
|
||||
CardSet: 'CARD_SET',
|
||||
RegionalSet: 'REGIONAL_SET',
|
||||
CardPrint: 'CARD_PRINT'
|
||||
} as const;
|
||||
|
||||
export type JobType = typeof JobType[keyof typeof JobType];
|
||||
|
||||
|
||||
|
||||
37
src/api/openapi/model/link-arrow.ts
Normal file
37
src/api/openapi/model/link-arrow.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
/* 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 LinkArrow = {
|
||||
TopLeft: 'TOP_LEFT',
|
||||
Top: 'TOP',
|
||||
TopRight: 'TOP_RIGHT',
|
||||
Left: 'LEFT',
|
||||
Right: 'RIGHT',
|
||||
BottomLeft: 'BOTTOM_LEFT',
|
||||
Bottom: 'BOTTOM',
|
||||
BottomRight: 'BOTTOM_RIGHT'
|
||||
} as const;
|
||||
|
||||
export type LinkArrow = typeof LinkArrow[keyof typeof LinkArrow];
|
||||
|
||||
|
||||
|
||||
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];
|
||||
|
||||
|
||||
|
||||
36
src/api/openapi/model/monster-card-type.ts
Normal file
36
src/api/openapi/model/monster-card-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 MonsterCardType = {
|
||||
Normal: 'NORMAL',
|
||||
Effect: 'EFFECT',
|
||||
Ritual: 'RITUAL',
|
||||
Fusion: 'FUSION',
|
||||
Synchro: 'SYNCHRO',
|
||||
Xyz: 'XYZ',
|
||||
Link: 'LINK'
|
||||
} as const;
|
||||
|
||||
export type MonsterCardType = typeof MonsterCardType[keyof typeof MonsterCardType];
|
||||
|
||||
|
||||
|
||||
155
src/api/openapi/model/monster-card.ts
Normal file
155
src/api/openapi/model/monster-card.ts
Normal file
@@ -0,0 +1,155 @@
|
||||
/* 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 { 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 { 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 { MonsterType } from './monster-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface MonsterCard
|
||||
*/
|
||||
export interface MonsterCard {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {CardType}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'cardType': CardType;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'description': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardPrint>}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'cardPrints': Array<CardPrint>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'monsterEffect'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'attack'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'defense'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'level'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'isPendulum'?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'pendulumScale'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'pendulumEffect'?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'linkValue'?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {MonsterCardType}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'type': MonsterCardType;
|
||||
/**
|
||||
*
|
||||
* @type {MonsterType}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'monsterType': MonsterType;
|
||||
/**
|
||||
*
|
||||
* @type {Attribute}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'attribute': Attribute;
|
||||
/**
|
||||
*
|
||||
* @type {Set<LinkArrow>}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'linkArrows': Set<LinkArrow>;
|
||||
/**
|
||||
*
|
||||
* @type {Set<MonsterCardSubType>}
|
||||
* @memberof MonsterCard
|
||||
*/
|
||||
'subTypes': Set<MonsterCardSubType>;
|
||||
}
|
||||
|
||||
|
||||
|
||||
55
src/api/openapi/model/monster-type.ts
Normal file
55
src/api/openapi/model/monster-type.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
/* 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 MonsterType = {
|
||||
Aqua: 'AQUA',
|
||||
Beast: 'BEAST',
|
||||
BeastWarrior: 'BEAST_WARRIOR',
|
||||
CreatorGod: 'CREATOR_GOD',
|
||||
Cyberse: 'CYBERSE',
|
||||
Dinosaur: 'DINOSAUR',
|
||||
DivineBeast: 'DIVINE_BEAST',
|
||||
Dragon: 'DRAGON',
|
||||
Fairy: 'FAIRY',
|
||||
Fiend: 'FIEND',
|
||||
Fish: 'FISH',
|
||||
Insect: 'INSECT',
|
||||
Illusion: 'ILLUSION',
|
||||
Machine: 'MACHINE',
|
||||
Plant: 'PLANT',
|
||||
Psychic: 'PSYCHIC',
|
||||
Pyro: 'PYRO',
|
||||
Reptile: 'REPTILE',
|
||||
Rock: 'ROCK',
|
||||
SeaSerpent: 'SEA_SERPENT',
|
||||
Spellcaster: 'SPELLCASTER',
|
||||
Thunder: 'THUNDER',
|
||||
Warrior: 'WARRIOR',
|
||||
WingedBeast: 'WINGED_BEAST',
|
||||
Wyrm: 'WYRM',
|
||||
Zombie: 'ZOMBIE'
|
||||
} as const;
|
||||
|
||||
export type MonsterType = typeof MonsterType[keyof typeof MonsterType];
|
||||
|
||||
|
||||
|
||||
57
src/api/openapi/model/page-card-dto.ts
Normal file
57
src/api/openapi/model/page-card-dto.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 { Card } from './card';
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface PageCardDto
|
||||
*/
|
||||
export interface PageCardDto {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<Card>}
|
||||
* @memberof PageCardDto
|
||||
*/
|
||||
'content': Array<Card>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardDto
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardDto
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardDto
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardDto
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
57
src/api/openapi/model/page-card-print-dto.ts
Normal file
57
src/api/openapi/model/page-card-print-dto.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';
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface PageCardPrintDto
|
||||
*/
|
||||
export interface PageCardPrintDto {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<CardPrint>}
|
||||
* @memberof PageCardPrintDto
|
||||
*/
|
||||
'content': Array<CardPrint>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardPrintDto
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardPrintDto
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardPrintDto
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageCardPrintDto
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
57
src/api/openapi/model/page-deck-dto.ts
Normal file
57
src/api/openapi/model/page-deck-dto.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 { Deck } from './deck';
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface PageDeckDto
|
||||
*/
|
||||
export interface PageDeckDto {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<Deck>}
|
||||
* @memberof PageDeckDto
|
||||
*/
|
||||
'content': Array<Deck>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeckDto
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeckDto
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeckDto
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDeckDto
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
57
src/api/openapi/model/page-job-dto.ts
Normal file
57
src/api/openapi/model/page-job-dto.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 { JobDto } from './job-dto';
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface PageJobDto
|
||||
*/
|
||||
export interface PageJobDto {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<JobDto>}
|
||||
* @memberof PageJobDto
|
||||
*/
|
||||
'content': Array<JobDto>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageJobDto
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageJobDto
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageJobDto
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageJobDto
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
57
src/api/openapi/model/page-set-dto.ts
Normal file
57
src/api/openapi/model/page-set-dto.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 { SetDto } from './set-dto';
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface PageSetDto
|
||||
*/
|
||||
export interface PageSetDto {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<SetDto>}
|
||||
* @memberof PageSetDto
|
||||
*/
|
||||
'content': Array<SetDto>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageSetDto
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageSetDto
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageSetDto
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageSetDto
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
54
src/api/openapi/model/page.ts
Normal file
54
src/api/openapi/model/page.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.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Page of items
|
||||
* @export
|
||||
* @interface Page
|
||||
*/
|
||||
export interface Page {
|
||||
/**
|
||||
* Items in the page
|
||||
* @type {Array<any>}
|
||||
* @memberof Page
|
||||
*/
|
||||
'content': Array<any>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Page
|
||||
*/
|
||||
'page'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Page
|
||||
*/
|
||||
'pageSize'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Page
|
||||
*/
|
||||
'totalPages'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof Page
|
||||
*/
|
||||
'totalRecords'?: number | null;
|
||||
}
|
||||
|
||||
47
src/api/openapi/model/region-code-alias.ts
Normal file
47
src/api/openapi/model/region-code-alias.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
/* 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 { Region } from './region';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RegionCodeAlias
|
||||
*/
|
||||
export interface RegionCodeAlias {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof RegionCodeAlias
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof RegionCodeAlias
|
||||
*/
|
||||
'alias': string;
|
||||
/**
|
||||
*
|
||||
* @type {Region}
|
||||
* @memberof RegionCodeAlias
|
||||
*/
|
||||
'region': Region;
|
||||
}
|
||||
|
||||
|
||||
|
||||
43
src/api/openapi/model/region.ts
Normal file
43
src/api/openapi/model/region.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
/* 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 Region = {
|
||||
AsianEnglish: 'ASIAN_ENGLISH',
|
||||
Japanese: 'JAPANESE',
|
||||
JapaneseAsian: 'JAPANESE_ASIAN',
|
||||
English: 'ENGLISH',
|
||||
EuropeanEnglish: 'EUROPEAN_ENGLISH',
|
||||
Korean: 'KOREAN',
|
||||
French: 'FRENCH',
|
||||
FrenchCanadian: 'FRENCH_CANADIAN',
|
||||
NaEnglish: 'NA_ENGLISH',
|
||||
Oceanic: 'OCEANIC',
|
||||
German: 'GERMAN',
|
||||
Portuguese: 'PORTUGUESE',
|
||||
Italian: 'ITALIAN',
|
||||
Spanish: 'SPANISH'
|
||||
} as const;
|
||||
|
||||
export type Region = typeof Region[keyof typeof Region];
|
||||
|
||||
|
||||
|
||||
51
src/api/openapi/model/regional-set.ts
Normal file
51
src/api/openapi/model/regional-set.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 { CardPrint } from './card-print';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RegionalSet
|
||||
*/
|
||||
export interface RegionalSet {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'prefix': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'region': string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardPrint>}
|
||||
* @memberof RegionalSet
|
||||
*/
|
||||
'cardPrints': Array<CardPrint>;
|
||||
}
|
||||
|
||||
30
src/api/openapi/model/set-dto.ts
Normal file
30
src/api/openapi/model/set-dto.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
/* 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 SetDto
|
||||
*/
|
||||
export interface SetDto {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetDto
|
||||
*/
|
||||
'name': string;
|
||||
}
|
||||
|
||||
36
src/api/openapi/model/set-prefix.ts
Normal file
36
src/api/openapi/model/set-prefix.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
|
||||
* @interface SetPrefix
|
||||
*/
|
||||
export interface SetPrefix {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SetPrefix
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetPrefix
|
||||
*/
|
||||
'name': string;
|
||||
}
|
||||
|
||||
35
src/api/openapi/model/spell-card-type.ts
Normal file
35
src/api/openapi/model/spell-card-type.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/* 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 SpellCardType = {
|
||||
Normal: 'NORMAL',
|
||||
Continuous: 'CONTINUOUS',
|
||||
Equip: 'EQUIP',
|
||||
QuickPlay: 'QUICK_PLAY',
|
||||
Field: 'FIELD',
|
||||
Ritual: 'RITUAL'
|
||||
} as const;
|
||||
|
||||
export type SpellCardType = typeof SpellCardType[keyof typeof SpellCardType];
|
||||
|
||||
|
||||
|
||||
71
src/api/openapi/model/spell-card.ts
Normal file
71
src/api/openapi/model/spell-card.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
/* 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';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { SpellCardType } from './spell-card-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface SpellCard
|
||||
*/
|
||||
export interface SpellCard {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {CardType}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'cardType': CardType;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'description': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardPrint>}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'cardPrints': Array<CardPrint>;
|
||||
/**
|
||||
*
|
||||
* @type {SpellCardType}
|
||||
* @memberof SpellCard
|
||||
*/
|
||||
'type': SpellCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
32
src/api/openapi/model/trap-card-type.ts
Normal file
32
src/api/openapi/model/trap-card-type.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
/* 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 TrapCardType = {
|
||||
Normal: 'NORMAL',
|
||||
Continuous: 'CONTINUOUS',
|
||||
Counter: 'COUNTER'
|
||||
} as const;
|
||||
|
||||
export type TrapCardType = typeof TrapCardType[keyof typeof TrapCardType];
|
||||
|
||||
|
||||
|
||||
71
src/api/openapi/model/trap-card.ts
Normal file
71
src/api/openapi/model/trap-card.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
/* 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';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { TrapCardType } from './trap-card-type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface TrapCard
|
||||
*/
|
||||
export interface TrapCard {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @type {CardType}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'cardType': CardType;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'description': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardPrint>}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'cardPrints': Array<CardPrint>;
|
||||
/**
|
||||
*
|
||||
* @type {TrapCardType}
|
||||
* @memberof TrapCard
|
||||
*/
|
||||
'type': TrapCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
172
src/api/openapi/service/card-print-service.ts
Normal file
172
src/api/openapi/service/card-print-service.ts
Normal file
@@ -0,0 +1,172 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { PageCardPrintDto } from '../model';
|
||||
/**
|
||||
* CardPrintService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const CardPrintServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintPage: async (name?: string | null, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/prints`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* CardPrintService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const CardPrintServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = CardPrintServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardPrintPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageCardPrintDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPrintPage(name, page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardPrintService.getCardPrintPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* CardPrintService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const CardPrintServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = CardPrintServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {CardPrintServiceGetCardPrintPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintPage(requestParameters: CardPrintServiceGetCardPrintPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageCardPrintDto> {
|
||||
return localVarFp.getCardPrintPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Request parameters for getCardPrintPage operation in CardPrintService.
|
||||
* @export
|
||||
* @interface CardPrintServiceGetCardPrintPageRequest
|
||||
*/
|
||||
export interface CardPrintServiceGetCardPrintPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* CardPrintService - object-oriented interface
|
||||
* @export
|
||||
* @class CardPrintService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class CardPrintService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {CardPrintServiceGetCardPrintPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardPrintService
|
||||
*/
|
||||
public getCardPrintPage(requestParameters: CardPrintServiceGetCardPrintPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return CardPrintServiceFp(this.configuration).getCardPrintPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
740
src/api/openapi/service/card-service.ts
Normal file
740
src/api/openapi/service/card-service.ts
Normal file
@@ -0,0 +1,740 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { Attribute } from '../model';
|
||||
// @ts-ignore
|
||||
import type { Card } from '../model';
|
||||
// @ts-ignore
|
||||
import type { CardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { CardUpstreamFetchRequest } from '../model';
|
||||
// @ts-ignore
|
||||
import type { LinkArrow } from '../model';
|
||||
// @ts-ignore
|
||||
import type { MonsterCardSubType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { MonsterCardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { PageCardDto } from '../model';
|
||||
// @ts-ignore
|
||||
import type { SpellCardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { TrapCardType } from '../model';
|
||||
/**
|
||||
* CardService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const CardServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardUpstreamFetchRequest} cardUpstreamFetchRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fetchUpstream: async (cardUpstreamFetchRequest: CardUpstreamFetchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'cardUpstreamFetchRequest' is not null or undefined
|
||||
assertParamExists('fetchUpstream', 'cardUpstreamFetchRequest', cardUpstreamFetchRequest)
|
||||
const localVarPath = `/api/cards/fetch`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(cardUpstreamFetchRequest, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('getCardById', 'id', id)
|
||||
const localVarPath = `/api/cards/{id}`
|
||||
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardImageById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('getCardImageById', 'id', id)
|
||||
const localVarPath = `/api/cards/{id}/image`
|
||||
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {number | null} [attack]
|
||||
* @param {number | null} [attackMax]
|
||||
* @param {number | null} [attackMin]
|
||||
* @param {Array<Attribute> | null} [attributes]
|
||||
* @param {Array<CardType> | null} [cardTypes]
|
||||
* @param {number | null} [defense]
|
||||
* @param {number | null} [defenseMax]
|
||||
* @param {number | null} [defenseMin]
|
||||
* @param {boolean | null} [isPendulum]
|
||||
* @param {number | null} [level]
|
||||
* @param {number | null} [levelMax]
|
||||
* @param {number | null} [levelMin]
|
||||
* @param {Array<LinkArrow> | null} [linkArrows]
|
||||
* @param {number | null} [linkValue]
|
||||
* @param {number | null} [linkValueMax]
|
||||
* @param {number | null} [linkValueMin]
|
||||
* @param {Array<MonsterCardSubType> | null} [monsterCardSubTypes]
|
||||
* @param {Array<MonsterCardType> | null} [monsterCardTypes]
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {number | null} [pendulumScale]
|
||||
* @param {number | null} [pendulumScaleMax]
|
||||
* @param {number | null} [pendulumScaleMin]
|
||||
* @param {SpellCardType | null} [spellCardType]
|
||||
* @param {TrapCardType | null} [trapCardType]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPage: async (attack?: number | null, attackMax?: number | null, attackMin?: number | null, attributes?: Array<Attribute> | null, cardTypes?: Array<CardType> | null, defense?: number | null, defenseMax?: number | null, defenseMin?: number | null, isPendulum?: boolean | null, level?: number | null, levelMax?: number | null, levelMin?: number | null, linkArrows?: Array<LinkArrow> | null, linkValue?: number | null, linkValueMax?: number | null, linkValueMin?: number | null, monsterCardSubTypes?: Array<MonsterCardSubType> | null, monsterCardTypes?: Array<MonsterCardType> | null, name?: string | null, page?: number, pageSize?: number, pendulumScale?: number | null, pendulumScaleMax?: number | null, pendulumScaleMin?: number | null, spellCardType?: SpellCardType | null, trapCardType?: TrapCardType | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cards`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (attack !== undefined) {
|
||||
localVarQueryParameter['attack'] = attack;
|
||||
}
|
||||
|
||||
if (attackMax !== undefined) {
|
||||
localVarQueryParameter['attackMax'] = attackMax;
|
||||
}
|
||||
|
||||
if (attackMin !== undefined) {
|
||||
localVarQueryParameter['attackMin'] = attackMin;
|
||||
}
|
||||
|
||||
if (attributes) {
|
||||
localVarQueryParameter['attributes'] = attributes;
|
||||
}
|
||||
|
||||
if (cardTypes) {
|
||||
localVarQueryParameter['cardTypes'] = cardTypes;
|
||||
}
|
||||
|
||||
if (defense !== undefined) {
|
||||
localVarQueryParameter['defense'] = defense;
|
||||
}
|
||||
|
||||
if (defenseMax !== undefined) {
|
||||
localVarQueryParameter['defenseMax'] = defenseMax;
|
||||
}
|
||||
|
||||
if (defenseMin !== undefined) {
|
||||
localVarQueryParameter['defenseMin'] = defenseMin;
|
||||
}
|
||||
|
||||
if (isPendulum !== undefined) {
|
||||
localVarQueryParameter['isPendulum'] = isPendulum;
|
||||
}
|
||||
|
||||
if (level !== undefined) {
|
||||
localVarQueryParameter['level'] = level;
|
||||
}
|
||||
|
||||
if (levelMax !== undefined) {
|
||||
localVarQueryParameter['levelMax'] = levelMax;
|
||||
}
|
||||
|
||||
if (levelMin !== undefined) {
|
||||
localVarQueryParameter['levelMin'] = levelMin;
|
||||
}
|
||||
|
||||
if (linkArrows) {
|
||||
localVarQueryParameter['linkArrows'] = linkArrows;
|
||||
}
|
||||
|
||||
if (linkValue !== undefined) {
|
||||
localVarQueryParameter['linkValue'] = linkValue;
|
||||
}
|
||||
|
||||
if (linkValueMax !== undefined) {
|
||||
localVarQueryParameter['linkValueMax'] = linkValueMax;
|
||||
}
|
||||
|
||||
if (linkValueMin !== undefined) {
|
||||
localVarQueryParameter['linkValueMin'] = linkValueMin;
|
||||
}
|
||||
|
||||
if (monsterCardSubTypes) {
|
||||
localVarQueryParameter['monsterCardSubTypes'] = monsterCardSubTypes;
|
||||
}
|
||||
|
||||
if (monsterCardTypes) {
|
||||
localVarQueryParameter['monsterCardTypes'] = monsterCardTypes;
|
||||
}
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
if (pendulumScale !== undefined) {
|
||||
localVarQueryParameter['pendulumScale'] = pendulumScale;
|
||||
}
|
||||
|
||||
if (pendulumScaleMax !== undefined) {
|
||||
localVarQueryParameter['pendulumScaleMax'] = pendulumScaleMax;
|
||||
}
|
||||
|
||||
if (pendulumScaleMin !== undefined) {
|
||||
localVarQueryParameter['pendulumScaleMin'] = pendulumScaleMin;
|
||||
}
|
||||
|
||||
if (spellCardType !== undefined) {
|
||||
localVarQueryParameter['spellCardType'] = spellCardType;
|
||||
}
|
||||
|
||||
if (trapCardType !== undefined) {
|
||||
localVarQueryParameter['trapCardType'] = trapCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* CardService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const CardServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = CardServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardUpstreamFetchRequest} cardUpstreamFetchRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async fetchUpstream(cardUpstreamFetchRequest: CardUpstreamFetchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Card>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUpstream(cardUpstreamFetchRequest, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardService.fetchUpstream']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Card>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardById(id, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardService.getCardById']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardImageById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardImageById(id, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardService.getCardImageById']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {number | null} [attack]
|
||||
* @param {number | null} [attackMax]
|
||||
* @param {number | null} [attackMin]
|
||||
* @param {Array<Attribute> | null} [attributes]
|
||||
* @param {Array<CardType> | null} [cardTypes]
|
||||
* @param {number | null} [defense]
|
||||
* @param {number | null} [defenseMax]
|
||||
* @param {number | null} [defenseMin]
|
||||
* @param {boolean | null} [isPendulum]
|
||||
* @param {number | null} [level]
|
||||
* @param {number | null} [levelMax]
|
||||
* @param {number | null} [levelMin]
|
||||
* @param {Array<LinkArrow> | null} [linkArrows]
|
||||
* @param {number | null} [linkValue]
|
||||
* @param {number | null} [linkValueMax]
|
||||
* @param {number | null} [linkValueMin]
|
||||
* @param {Array<MonsterCardSubType> | null} [monsterCardSubTypes]
|
||||
* @param {Array<MonsterCardType> | null} [monsterCardTypes]
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {number | null} [pendulumScale]
|
||||
* @param {number | null} [pendulumScaleMax]
|
||||
* @param {number | null} [pendulumScaleMin]
|
||||
* @param {SpellCardType | null} [spellCardType]
|
||||
* @param {TrapCardType | null} [trapCardType]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardPage(attack?: number | null, attackMax?: number | null, attackMin?: number | null, attributes?: Array<Attribute> | null, cardTypes?: Array<CardType> | null, defense?: number | null, defenseMax?: number | null, defenseMin?: number | null, isPendulum?: boolean | null, level?: number | null, levelMax?: number | null, levelMin?: number | null, linkArrows?: Array<LinkArrow> | null, linkValue?: number | null, linkValueMax?: number | null, linkValueMin?: number | null, monsterCardSubTypes?: Array<MonsterCardSubType> | null, monsterCardTypes?: Array<MonsterCardType> | null, name?: string | null, page?: number, pageSize?: number, pendulumScale?: number | null, pendulumScaleMax?: number | null, pendulumScaleMin?: number | null, spellCardType?: SpellCardType | null, trapCardType?: TrapCardType | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageCardDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPage(attack, attackMax, attackMin, attributes, cardTypes, defense, defenseMax, defenseMin, isPendulum, level, levelMax, levelMin, linkArrows, linkValue, linkValueMax, linkValueMin, monsterCardSubTypes, monsterCardTypes, name, page, pageSize, pendulumScale, pendulumScaleMax, pendulumScaleMin, spellCardType, trapCardType, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardService.getCardPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* CardService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const CardServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = CardServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardServiceFetchUpstreamRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fetchUpstream(requestParameters: CardServiceFetchUpstreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Card>> {
|
||||
return localVarFp.fetchUpstream(requestParameters.cardUpstreamFetchRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {CardServiceGetCardByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardById(requestParameters: CardServiceGetCardByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<Card> {
|
||||
return localVarFp.getCardById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {CardServiceGetCardImageByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardImageById(requestParameters: CardServiceGetCardImageByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
||||
return localVarFp.getCardImageById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {CardServiceGetCardPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPage(requestParameters: CardServiceGetCardPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageCardDto> {
|
||||
return localVarFp.getCardPage(requestParameters.attack, requestParameters.attackMax, requestParameters.attackMin, requestParameters.attributes, requestParameters.cardTypes, requestParameters.defense, requestParameters.defenseMax, requestParameters.defenseMin, requestParameters.isPendulum, requestParameters.level, requestParameters.levelMax, requestParameters.levelMin, requestParameters.linkArrows, requestParameters.linkValue, requestParameters.linkValueMax, requestParameters.linkValueMin, requestParameters.monsterCardSubTypes, requestParameters.monsterCardTypes, requestParameters.name, requestParameters.page, requestParameters.pageSize, requestParameters.pendulumScale, requestParameters.pendulumScaleMax, requestParameters.pendulumScaleMin, requestParameters.spellCardType, requestParameters.trapCardType, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Request parameters for fetchUpstream operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceFetchUpstreamRequest
|
||||
*/
|
||||
export interface CardServiceFetchUpstreamRequest {
|
||||
/**
|
||||
*
|
||||
* @type {CardUpstreamFetchRequest}
|
||||
* @memberof CardServiceFetchUpstream
|
||||
*/
|
||||
readonly cardUpstreamFetchRequest: CardUpstreamFetchRequest
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardById operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardByIdRequest
|
||||
*/
|
||||
export interface CardServiceGetCardByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardImageById operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardImageByIdRequest
|
||||
*/
|
||||
export interface CardServiceGetCardImageByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardImageById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardPage operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardPageRequest
|
||||
*/
|
||||
export interface CardServiceGetCardPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly attack?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly attackMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly attackMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<Attribute>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly attributes?: Array<Attribute> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly cardTypes?: Array<CardType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defense?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defenseMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defenseMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly isPendulum?: boolean | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly level?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly levelMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly levelMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<LinkArrow>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkArrows?: Array<LinkArrow> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValue?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValueMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValueMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardSubType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly monsterCardSubTypes?: Array<MonsterCardSubType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly monsterCardTypes?: Array<MonsterCardType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScale?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScaleMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScaleMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {SpellCardType}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly spellCardType?: SpellCardType | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {TrapCardType}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly trapCardType?: TrapCardType | null
|
||||
}
|
||||
|
||||
/**
|
||||
* CardService - object-oriented interface
|
||||
* @export
|
||||
* @class CardService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class CardService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardServiceFetchUpstreamRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public fetchUpstream(requestParameters: CardServiceFetchUpstreamRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).fetchUpstream(requestParameters.cardUpstreamFetchRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {CardServiceGetCardByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardById(requestParameters: CardServiceGetCardByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {CardServiceGetCardImageByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardImageById(requestParameters: CardServiceGetCardImageByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardImageById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {CardServiceGetCardPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardPage(requestParameters: CardServiceGetCardPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardPage(requestParameters.attack, requestParameters.attackMax, requestParameters.attackMin, requestParameters.attributes, requestParameters.cardTypes, requestParameters.defense, requestParameters.defenseMax, requestParameters.defenseMin, requestParameters.isPendulum, requestParameters.level, requestParameters.levelMax, requestParameters.levelMin, requestParameters.linkArrows, requestParameters.linkValue, requestParameters.linkValueMax, requestParameters.linkValueMin, requestParameters.monsterCardSubTypes, requestParameters.monsterCardTypes, requestParameters.name, requestParameters.page, requestParameters.pageSize, requestParameters.pendulumScale, requestParameters.pendulumScaleMax, requestParameters.pendulumScaleMin, requestParameters.spellCardType, requestParameters.trapCardType, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
439
src/api/openapi/service/deck-service.ts
Normal file
439
src/api/openapi/service/deck-service.ts
Normal file
@@ -0,0 +1,439 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { Deck } from '../model';
|
||||
// @ts-ignore
|
||||
import type { DeckCreateRequest } from '../model';
|
||||
// @ts-ignore
|
||||
import type { PageDeckDto } from '../model';
|
||||
/**
|
||||
* DeckService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const DeckServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {number} cardId
|
||||
* @param {string} deckName
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addCardToDeck: async (cardId: number, deckName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'cardId' is not null or undefined
|
||||
assertParamExists('addCardToDeck', 'cardId', cardId)
|
||||
// verify required parameter 'deckName' is not null or undefined
|
||||
assertParamExists('addCardToDeck', 'deckName', deckName)
|
||||
const localVarPath = `/api/decks/{deckName}/{cardId}`
|
||||
.replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)))
|
||||
.replace(`{${"deckName"}}`, encodeURIComponent(String(deckName)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckCreateRequest} deckCreateRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createDeck: async (deckCreateRequest: DeckCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'deckCreateRequest' is not null or undefined
|
||||
assertParamExists('createDeck', 'deckCreateRequest', deckCreateRequest)
|
||||
const localVarPath = `/api/decks`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(deckCreateRequest, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDeckByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('getDeckByName', 'name', name)
|
||||
const localVarPath = `/api/decks/{name}`
|
||||
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDecks: async (name?: string | null, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/decks`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* DeckService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const DeckServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = DeckServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {number} cardId
|
||||
* @param {string} deckName
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async addCardToDeck(cardId: number, deckName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addCardToDeck(cardId, deckName, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['DeckService.addCardToDeck']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckCreateRequest} deckCreateRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createDeck(deckCreateRequest: DeckCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createDeck(deckCreateRequest, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['DeckService.createDeck']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getDeckByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deck>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeckByName(name, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['DeckService.getDeckByName']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getDecks(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageDeckDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getDecks(name, page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['DeckService.getDecks']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* DeckService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const DeckServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = DeckServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {DeckServiceAddCardToDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addCardToDeck(requestParameters: DeckServiceAddCardToDeckRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addCardToDeck(requestParameters.cardId, requestParameters.deckName, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckServiceCreateDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createDeck(requestParameters: DeckServiceCreateDeckRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createDeck(requestParameters.deckCreateRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {DeckServiceGetDeckByNameRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDeckByName(requestParameters: DeckServiceGetDeckByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deck> {
|
||||
return localVarFp.getDeckByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {DeckServiceGetDecksRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDecks(requestParameters: DeckServiceGetDecksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageDeckDto> {
|
||||
return localVarFp.getDecks(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Request parameters for addCardToDeck operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceAddCardToDeckRequest
|
||||
*/
|
||||
export interface DeckServiceAddCardToDeckRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeckServiceAddCardToDeck
|
||||
*/
|
||||
readonly cardId: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckServiceAddCardToDeck
|
||||
*/
|
||||
readonly deckName: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for createDeck operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceCreateDeckRequest
|
||||
*/
|
||||
export interface DeckServiceCreateDeckRequest {
|
||||
/**
|
||||
*
|
||||
* @type {DeckCreateRequest}
|
||||
* @memberof DeckServiceCreateDeck
|
||||
*/
|
||||
readonly deckCreateRequest: DeckCreateRequest
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getDeckByName operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceGetDeckByNameRequest
|
||||
*/
|
||||
export interface DeckServiceGetDeckByNameRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckServiceGetDeckByName
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getDecks operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceGetDecksRequest
|
||||
*/
|
||||
export interface DeckServiceGetDecksRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* DeckService - object-oriented interface
|
||||
* @export
|
||||
* @class DeckService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class DeckService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {DeckServiceAddCardToDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public addCardToDeck(requestParameters: DeckServiceAddCardToDeckRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).addCardToDeck(requestParameters.cardId, requestParameters.deckName, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckServiceCreateDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public createDeck(requestParameters: DeckServiceCreateDeckRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).createDeck(requestParameters.deckCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {DeckServiceGetDeckByNameRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public getDeckByName(requestParameters: DeckServiceGetDeckByNameRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDeckByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {DeckServiceGetDecksRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public getDecks(requestParameters: DeckServiceGetDecksRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDecks(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
147
src/api/openapi/service/job-controller-service.ts
Normal file
147
src/api/openapi/service/job-controller-service.ts
Normal file
@@ -0,0 +1,147 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
/**
|
||||
* JobControllerService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const JobControllerServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get Deck By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiJobsNameGet: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('apiJobsNameGet', 'name', name)
|
||||
const localVarPath = `/api/jobs/{name}`
|
||||
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* JobControllerService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const JobControllerServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = JobControllerServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get Deck By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiJobsNameGet(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.apiJobsNameGet(name, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobControllerService.apiJobsNameGet']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* JobControllerService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const JobControllerServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = JobControllerServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get Deck By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiJobsNameGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.apiJobsNameGet(name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* JobControllerService - interface
|
||||
* @export
|
||||
* @interface JobControllerService
|
||||
*/
|
||||
export interface JobControllerServiceInterface {
|
||||
/**
|
||||
*
|
||||
* @summary Get Deck By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobControllerServiceInterface
|
||||
*/
|
||||
apiJobsNameGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* JobControllerService - object-oriented interface
|
||||
* @export
|
||||
* @class JobControllerService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class JobControllerService extends BaseAPI implements JobControllerServiceInterface {
|
||||
/**
|
||||
*
|
||||
* @summary Get Deck By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobControllerService
|
||||
*/
|
||||
public apiJobsNameGet(name: string, options?: RawAxiosRequestConfig) {
|
||||
return JobControllerServiceFp(this.configuration).apiJobsNameGet(name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
666
src/api/openapi/service/job-service.ts
Normal file
666
src/api/openapi/service/job-service.ts
Normal file
@@ -0,0 +1,666 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { JobDto } from '../model';
|
||||
// @ts-ignore
|
||||
import type { PageJobDto } from '../model';
|
||||
/**
|
||||
* JobService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const JobServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getAllJobs: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/jobs`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/jobs/cardPrintImports`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('getCardPrintImportJobStatusById', 'id', id)
|
||||
const localVarPath = `/api/jobs/cardPrintImport/{id}`
|
||||
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/jobs/cardSetImports`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('getCardSetImportJobStatusById', 'id', id)
|
||||
const localVarPath = `/api/jobs/cardSetImport/{id}`
|
||||
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getRegionalSetImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/jobs/regionalSetImports`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getRegionalSetImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('getRegionalSetImportJobStatusById', 'id', id)
|
||||
const localVarPath = `/api/jobs/regionalSetImport/{id}`
|
||||
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* JobService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const JobServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = JobServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getAllJobs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JobDto>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllJobs(options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getAllJobs']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardPrintImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPrintImportJobPage(page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getCardPrintImportJobPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardPrintImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPrintImportJobStatusById(id, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getCardPrintImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardSetImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardSetImportJobPage(page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getCardSetImportJobPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardSetImportJobStatusById(id, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getCardSetImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getRegionalSetImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionalSetImportJobPage(page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getRegionalSetImportJobPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getRegionalSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionalSetImportJobStatusById(id, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['JobService.getRegionalSetImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* JobService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const JobServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = JobServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getAllJobs(options?: RawAxiosRequestConfig): AxiosPromise<Array<JobDto>> {
|
||||
return localVarFp.getAllJobs(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetCardPrintImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintImportJobPage(requestParameters: JobServiceGetCardPrintImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
||||
return localVarFp.getCardPrintImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {JobServiceGetCardPrintImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintImportJobStatusById(requestParameters: JobServiceGetCardPrintImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getCardPrintImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetCardSetImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetImportJobPage(requestParameters: JobServiceGetCardSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
||||
return localVarFp.getCardSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardSetImportJob
|
||||
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetRegionalSetImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getRegionalSetImportJobPage(requestParameters: JobServiceGetRegionalSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
||||
return localVarFp.getRegionalSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Request parameters for getCardPrintImportJobPage operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetCardPrintImportJobPageRequest
|
||||
*/
|
||||
export interface JobServiceGetCardPrintImportJobPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardPrintImportJobPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardPrintImportJobPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardPrintImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetCardPrintImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceGetCardPrintImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardPrintImportJobStatusById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardSetImportJobPage operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetCardSetImportJobPageRequest
|
||||
*/
|
||||
export interface JobServiceGetCardSetImportJobPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardSetImportJobPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardSetImportJobPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardSetImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetCardSetImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceGetCardSetImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardSetImportJobStatusById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getRegionalSetImportJobPage operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetRegionalSetImportJobPageRequest
|
||||
*/
|
||||
export interface JobServiceGetRegionalSetImportJobPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetRegionalSetImportJobPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetRegionalSetImportJobPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getRegionalSetImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetRegionalSetImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceGetRegionalSetImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetRegionalSetImportJobStatusById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* JobService - object-oriented interface
|
||||
* @export
|
||||
* @class JobService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class JobService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getAllJobs(options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getAllJobs(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetCardPrintImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardPrintImportJobPage(requestParameters: JobServiceGetCardPrintImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardPrintImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {JobServiceGetCardPrintImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardPrintImportJobStatusById(requestParameters: JobServiceGetCardPrintImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardPrintImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetCardSetImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardSetImportJobPage(requestParameters: JobServiceGetCardSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardSetImportJob
|
||||
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of all CardSetImportJobs
|
||||
* @param {JobServiceGetRegionalSetImportJobPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getRegionalSetImportJobPage(requestParameters: JobServiceGetRegionalSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getRegionalSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
423
src/api/openapi/service/set-service.ts
Normal file
423
src/api/openapi/service/set-service.ts
Normal file
@@ -0,0 +1,423 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
|
||||
import type { Configuration } from '../configuration';
|
||||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { PageSetDto } from '../model';
|
||||
// @ts-ignore
|
||||
import type { SetDto } from '../model';
|
||||
/**
|
||||
* SetService - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const SetServiceAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameGet: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('apiSetsNameGet', 'name', name)
|
||||
const localVarPath = `/api/sets/{name}`
|
||||
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameNewGet: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('apiSetsNameNewGet', 'name', name)
|
||||
const localVarPath = `/api/sets/{name}/new`
|
||||
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameScrapeGet: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('apiSetsNameScrapeGet', 'name', name)
|
||||
const localVarPath = `/api/sets/{name}/scrape`
|
||||
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetPage: async (name?: string | null, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sets`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SetService - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const SetServiceFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = SetServiceAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSetsNameGet(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.apiSetsNameGet(name, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['SetService.apiSetsNameGet']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSetsNameNewGet(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SetDto>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.apiSetsNameNewGet(name, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['SetService.apiSetsNameNewGet']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSetsNameScrapeGet(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.apiSetsNameScrapeGet(name, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['SetService.apiSetsNameScrapeGet']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardSetPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageSetDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardSetPage(name, page, pageSize, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['SetService.getCardSetPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SetService - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const SetServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = SetServiceFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {SetServiceApiSetsNameGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameGet(requestParameters: SetServiceApiSetsNameGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetDto> {
|
||||
return localVarFp.apiSetsNameGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {SetServiceApiSetsNameNewGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameNewGet(requestParameters: SetServiceApiSetsNameNewGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SetDto>> {
|
||||
return localVarFp.apiSetsNameNewGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {SetServiceApiSetsNameScrapeGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameScrapeGet(requestParameters: SetServiceApiSetsNameScrapeGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.apiSetsNameScrapeGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {SetServiceGetCardSetPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetPage(requestParameters: SetServiceGetCardSetPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageSetDto> {
|
||||
return localVarFp.getCardSetPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Request parameters for apiSetsNameGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceApiSetsNameGetRequest
|
||||
*/
|
||||
export interface SetServiceApiSetsNameGetRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameGet
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for apiSetsNameNewGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceApiSetsNameNewGetRequest
|
||||
*/
|
||||
export interface SetServiceApiSetsNameNewGetRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameNewGet
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for apiSetsNameScrapeGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceApiSetsNameScrapeGetRequest
|
||||
*/
|
||||
export interface SetServiceApiSetsNameScrapeGetRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameScrapeGet
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardSetPage operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceGetCardSetPageRequest
|
||||
*/
|
||||
export interface SetServiceGetCardSetPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* SetService - object-oriented interface
|
||||
* @export
|
||||
* @class SetService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class SetService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {SetServiceApiSetsNameGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameGet(requestParameters: SetServiceApiSetsNameGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {SetServiceApiSetsNameNewGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameNewGet(requestParameters: SetServiceApiSetsNameNewGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameNewGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {SetServiceApiSetsNameScrapeGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameScrapeGet(requestParameters: SetServiceApiSetsNameScrapeGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameScrapeGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {SetServiceGetCardSetPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public getCardSetPage(requestParameters: SetServiceGetCardSetPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).getCardSetPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
119
src/assets/DARK.svg
Normal file
119
src/assets/DARK.svg
Normal file
@@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="76.85199" height="77.151932" id="svg3760" version="1.1" inkscape:version="0.48.1 " sodipodi:docname="DARK.svg">
|
||||
<defs id="defs3762">
|
||||
<linearGradient id="linearGradient3795">
|
||||
<stop id="stop3797" offset="0" style="stop-color:#1c2224;stop-opacity:1"/>
|
||||
<stop style="stop-color:#2a2723;stop-opacity:1" offset="0.63092703" id="stop3799"/>
|
||||
<stop id="stop3801" offset="1" style="stop-color:#e6282e;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3432">
|
||||
<stop style="stop-color:#7260a4;stop-opacity:1;" offset="0" id="stop3434"/>
|
||||
<stop id="stop3793" offset="0.5" style="stop-color:#8d4b99;stop-opacity:1;"/>
|
||||
<stop style="stop-color:#a8378f;stop-opacity:1" offset="1" id="stop3436"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3418">
|
||||
<stop id="stop3420" offset="0" style="stop-color:#d23388;stop-opacity:1"/>
|
||||
<stop style="stop-color:#ef2e43;stop-opacity:1" offset="0.29348826" id="stop3422"/>
|
||||
<stop id="stop3430" offset="0.68986225" style="stop-color:#e5282c;stop-opacity:1"/>
|
||||
<stop id="stop3424" offset="1" style="stop-color:#602b33;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3410">
|
||||
<stop style="stop-color:#808080;stop-opacity:1;" offset="0" id="stop3412"/>
|
||||
<stop id="stop3426" offset="0.5" style="stop-color:#808080;stop-opacity:0.49803922;"/>
|
||||
<stop style="stop-color:#808080;stop-opacity:0.24705882;" offset="0.75" id="stop3428"/>
|
||||
<stop style="stop-color:#808080;stop-opacity:0;" offset="1" id="stop3414"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3177">
|
||||
<stop id="stop3179" offset="0" style="stop-color:#800000;stop-opacity:1"/>
|
||||
<stop style="stop-color:#d69c45;stop-opacity:1" offset="0.21338069" id="stop3181"/>
|
||||
<stop id="stop3183" offset="1" style="stop-color:#e5ff6a;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4306">
|
||||
<stop id="stop4308" offset="0" style="stop-color:#9f863f;stop-opacity:1"/>
|
||||
<stop style="stop-color:#332815;stop-opacity:1" offset="1" id="stop4310"/>
|
||||
<stop id="stop4312" offset="1" style="stop-color:#e9e560;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4296">
|
||||
<stop id="stop4298" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300"/>
|
||||
<stop id="stop4302" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4230">
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.91071427;" offset="0" id="stop4232"/>
|
||||
<stop id="stop4292" offset="0.5" style="stop-color:#f0bf7a;stop-opacity:0.45490196;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0;" offset="1" id="stop4234"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3111">
|
||||
<stop style="stop-color:#f3c87d;stop-opacity:0.7589286;" offset="0" id="stop3113"/>
|
||||
<stop id="stop3119" offset="0.91352373" style="stop-color:#d69c45;stop-opacity:1"/>
|
||||
<stop style="stop-color:#e5ff6a;stop-opacity:1" offset="1" id="stop3115"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3101">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103"/>
|
||||
<stop id="stop4238" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4230" id="radialGradient4236" cx="306.59958" cy="555.36737" fx="306.59958" fy="555.36737" r="6.0054863" gradientTransform="matrix(0.60886416,0.50796393,-0.90996045,1.0907119,625.30825,-205.98784)" gradientUnits="userSpaceOnUse"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4306" id="radialGradient4304" cx="327.57648" cy="574.45367" fx="327.57648" fy="574.45367" r="39.671756" gradientTransform="matrix(-1.8589783e-6,1.0770613,-1.1551438,-2.9470962e-6,991.28513,221.58125)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient6058" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient5507-3">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop5509-1"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop5511-9"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient7449" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient7451">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop7453"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop7455"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(0.37606897,0,0,0.37606891,284.34192,546.05033)" gradientUnits="userSpaceOnUse" id="linearGradient7459" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient3111-5">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1" offset="0" id="stop3113-4"/>
|
||||
<stop id="stop3119-9" offset="0.91352373" style="stop-color:#d69c45;stop-opacity:1"/>
|
||||
<stop style="stop-color:#e5ff6a;stop-opacity:1" offset="1" id="stop3115-5"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3101-4">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103-8"/>
|
||||
<stop id="stop4238-2" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105-1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4296-8">
|
||||
<stop id="stop4298-3" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300-1"/>
|
||||
<stop id="stop4302-4" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3418" id="linearGradient3416" x1="297.6759" y1="553.48169" x2="359.14716" y2="570.18866" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3432" id="linearGradient3438" x1="301.63666" y1="603.81531" x2="324.00909" y2="564.27753" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3795" id="linearGradient3791" x1="328.6752" y1="598.91052" x2="335.13403" y2="548.35461" gradientUnits="userSpaceOnUse"/>
|
||||
</defs>
|
||||
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="6.4192037" inkscape:cx="107.35795" inkscape:cy="40.475082" inkscape:document-units="px" inkscape:current-layer="g4793" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:window-width="1280" inkscape:window-height="780" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:snap-global="true" showguides="true" inkscape:guide-bbox="true"/>
|
||||
<metadata id="metadata3765">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(-288.98475,-535.52559)">
|
||||
<g id="g4793" transform="matrix(0.96766596,0,0,0.94944363,10.181651,28.771222)">
|
||||
<text xml:space="preserve" style="font-size:15.04275513px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:url(#linearGradient7459);fill-opacity:1;stroke:none;font-family:StoneSerITCStd Medium;-inkscape-font-specification:StoneSerITCStd Medium" x="319.97443" y="555.13312" id="text5503" sodipodi:linespacing="125%" transform="scale(0.99053965,1.0095507)"><tspan sodipodi:role="line" id="tspan5505" x="319.97443" y="555.13312" style="font-size:2.25641346px;fill:url(#linearGradient7459);fill-opacity:1">Created by Falzar FZ</tspan></text>
|
||||
<g transform="translate(0.00547206,0.0258127)" id="g3021" style="display:inline">
|
||||
<path style="fill:url(#linearGradient3416);fill-opacity:1;stroke:none" d="m 325.12487,533.76805 c -12.04619,0.12786 -23.83129,6.47825 -30.10708,16.8382 -9.98334,15.47574 -9.2208,37.5796 3.10803,51.55872 7.91058,8.9416 20.14109,13.52621 31.99522,12.68526 12.96871,-0.25474 25.57911,-7.74217 31.66968,-19.25774 5.39871,-9.43832 6.92244,-20.84042 4.7256,-31.45827 -2.298,-13.99137 -13.54381,-26.2257 -27.38604,-29.44165 -4.60618,-0.8471 -9.33291,-0.96193 -14.00541,-0.92452 z" id="path3048" inkscape:connector-curvature="0"/>
|
||||
<g id="g4771" transform="translate(-85.682227,0.42272594)" style="fill:#ffffff;fill-opacity:1"/>
|
||||
<path style="fill:url(#linearGradient3791);fill-opacity:1;stroke:none" d="m 313.77433,554.36015 c -16.09525,1.91834 -22.00562,49.43006 23.19335,43.55164 18.17503,-11.0868 26.88882,-21.81763 25.25395,-29.59012 -4.28871,-9.28069 -6.36597,-6.81399 -12.19801,-3.9823 -22.7935,5.71562 -22.42028,-12.56551 -36.24929,-9.97922 z" id="path3048-3-1" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
|
||||
<path style="fill:url(#linearGradient3438);fill-opacity:1;stroke:none" d="m 319.25832,534.42259 c -17.1721,2.74453 -27.47255,16.64483 -30.52308,32.75312 -2.26633,13.24516 2.11531,28.84901 11.0273,36.73852 7.14713,6.32713 11.97183,10.97739 31.22638,11.13688 12.89226,0.10679 25.58694,-8.765 32.11536,-20.28954 6.64365,-11.7279 4.06281,-28.09614 3.09577,-32.22298 -2.69983,4.70986 -7.44527,9.41562 -18.39552,9.37863 -7.7157,0.7474 -9.21291,3.73285 -0.53087,8.98006 -6.73148,4.93847 -7.36609,6.57008 -10.86213,7.46593 -2.14967,-2.65959 -6.84292,-8.09326 -10.31532,-7.86934 -2.84444,17.35613 -10.7591,12.69319 -15.17995,6.49425 -9.81332,-15.53051 -11.50843,-17.57165 -11.65137,-25.45428 1.57491,-14.02577 5.3228,-21.8361 19.99343,-27.11125 z" id="path3048-3" inkscape:connector-curvature="0" sodipodi:nodetypes="ccssscccccccc"/>
|
||||
</g>
|
||||
<g id="g3783" transform="translate(-92.915959,-2.0293745)" style="fill:#fff9f9;fill-opacity:1">
|
||||
<path sodipodi:nodetypes="cccccccccccccccccccccccccccscccccccsccccccccccccccccccccccccccccccccccccccccccccccccccc" inkscape:connector-curvature="0" d="m 413.01766,587.4904 c 0,0 -0.55161,1.94613 -0.008,2.97743 -0.005,1.98581 -0.0191,6.96001 -0.0245,8.93742 -0.77264,1.29516 -0.008,2.92702 -0.008,2.92702 l 18.68984,-0.006 c 0,0 0.76573,-1.32511 0.0358,-3.01444 0.0237,-1.9919 0.0828,-6.96675 0.10623,-8.93693 0.60471,-1.0486 0.0343,-2.8842 0.0343,-2.8842 z m 15.35787,2.97189 -0.0174,2.97044 -11.5988,-0.013 -0.0618,-2.92409 z m 0.005,5.95467 -0.0476,2.93962 -11.57866,0.009 -0.0583,-2.96932 z m -7.53731,-22.78955 c -0.008,1.02184 0.72561,2.91431 0.72561,2.91431 0,0 -8.81406,0.0127 -11.01918,0.0759 -0.84154,0.86957 -0.89045,1.6531 0.53266,2.46141 1.25664,-0.42279 3.63252,-0.54071 5.33748,-0.19547 0.26111,0.60596 0.3644,3.63656 0.3644,3.63656 0,0 -7.91714,0.078 -9.13135,0.5929 -2.17006,0.52322 -4.44581,3.53322 -0.0191,3.34867 3.51001,-1.42106 8.7536,-1.29677 14.68306,-1.32488 5.264,-0.025 11.49373,1.10179 15.68613,1.88855 2.27251,-0.77132 2.78907,-2.76731 2.5534,-4.46209 -1.82129,0.0865 -11.70182,-0.21869 -11.70182,-0.21869 0,0 0.20182,-2.27389 0.63401,-3.71781 1.99455,0.0897 4.80944,0.11071 5.69293,-0.34803 0.54582,-0.97375 0.53097,-1.75842 -0.37434,-1.98571 -1.18734,-0.35781 -10.56927,0.17858 -10.56927,0.17858 0,0 -0.39518,-1.38603 -0.72864,-2.52776 -0.5456,-1.86801 -2.65118,-2.13138 -2.66595,-0.31641 z m 5.60505,4.96067 -0.47222,3.96696 -6.95092,-0.0165 -0.39457,-3.91962 z m 0.84294,-21.70474 c 0,0 -0.8205,1.34369 0.026,2.81971 0.0226,2.44416 0.10944,11.84527 0.10944,11.84527 0,0 2.14876,1.45528 4.79874,0.11477 4.01165,0.0272 11.64336,0.0616 11.64336,0.0616 0,0 0.0227,20.79949 0.10443,28.88613 -0.0131,2.48672 3.79959,2.5133 3.75503,0.24226 0.1006,-8.81765 0.0533,-43.93432 0.0533,-43.93432 0,0 -1.43709,-0.95336 -3.13266,-0.082 -2.85262,-0.007 -11.2583,0.0172 -14.12434,0.01 -2.04531,-0.74834 -3.23338,0.0373 -3.23338,0.0373 z m 16.63677,2.03986 -0.0225,3.83293 -13.54429,-0.0476 -0.051,-3.88821 z m -0.024,6.8507 -0.0921,3.90999 -13.40089,-0.0439 -0.09,-3.90559 z m -46.71643,-9.01033 c 0,0 0.24357,29.05173 -0.20401,33.21297 -1.82121,4.43875 -3.87873,6.38363 -4.95587,7.10878 -0.76282,1.12863 0.79281,2.49473 2.81122,3.78774 9.73281,3.21699 6.79265,-28.19443 6.79265,-28.19443 l 16.98372,0.0111 c 0,0 0.0473,-10.66655 0.0591,-13.31582 0.87955,-1.53213 0.0115,-2.57983 0.0115,-2.57983 0,0 -1.25819,-1.11691 -2.82517,-0.004 -2.98278,-0.004 -11.95931,-0.017 -15.0715,-0.0214 -2.29011,-1.30775 -3.60164,-0.005 -3.60164,-0.005 z m 18.47387,6.86575 -14.47058,-0.0129 -0.006,-4.70674 14.57497,0.0916 z m 0.0457,6.98211 -14.48963,0.13086 0.003,-4.99066 14.56805,0.0267 z" style="fill:#fff9f9;stroke:none;fill-opacity:1" id="path3452"/>
|
||||
<g id="g3777" style="fill:#fff9f9;fill-opacity:1">
|
||||
<path style="fill:#fff9f9;stroke:none;fill-opacity:1" d="m 398.00764,542.83244 c -0.10324,0.24039 0.0129,0.55197 0.30074,0.53074 0.37089,0.0738 0.98174,0.0133 1.05965,0.52457 0.10293,1.50778 0.0245,3.02934 0.0403,4.54212 -0.0111,1.52296 -0.0229,3.04592 -0.0343,4.56889 -0.35727,0.38823 -0.99013,0.12577 -1.36444,0.45051 -0.0843,0.2108 -0.0185,0.52432 0.27249,0.41759 2.16053,-0.0371 4.33043,0.0912 6.48441,-0.11644 1.67776,-0.26741 3.37281,-1.13396 4.30387,-2.61748 0.67218,-1.07491 1.01405,-2.35062 0.90626,-3.62658 -0.0532,-1.75274 -1.16321,-3.40653 -2.75956,-4.06517 -1.67411,-0.80289 -3.5676,-0.59266 -5.36243,-0.64393 -1.27321,0.0139 -2.56154,-0.037 -3.82522,0.0252 l -0.0218,0.01 z m 4.71091,0.65211 c 1.14746,0.0173 1.86078,0.003 2.83786,0.70765 1.28512,0.81858 1.81992,2.42919 1.8226,3.91471 0.0326,1.67662 -0.50678,3.56143 -2.00577,4.45355 -1.15782,0.65961 -2.05022,0.72083 -3.34497,0.55967 -0.49529,-0.0525 -0.79216,-0.54398 -0.74075,-1.02445 -0.069,-2.87991 -0.0405,-5.76142 -0.0667,-8.64199 0.49922,0.0103 0.99843,0.0206 1.49764,0.0309 z" id="path3713" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccccccccccccccc"/>
|
||||
<path style="fill:#fff9f9;stroke:none;fill-opacity:1" d="m 415.6698,542.60616 c -0.44074,-0.007 -0.3908,0.56648 -0.58086,0.82774 -1.26974,2.93667 -2.46966,5.90457 -3.79987,8.81554 -0.21818,0.58223 -0.76638,0.99199 -1.36883,1.1196 -0.21809,0.14855 -0.15111,0.63481 0.19739,0.49782 1.04437,-0.0244 2.11043,0.0491 3.14113,-0.037 0.14376,-0.29926 -0.10779,-0.56152 -0.41174,-0.57188 -0.46018,-0.10059 -0.61738,-0.639 -0.4075,-1.01416 0.22677,-0.66837 0.51199,-1.33255 0.76832,-1.99747 1.4517,0 2.90342,0 4.35514,0 0.29139,0.89543 0.80905,1.76079 0.85532,2.701 -0.0752,0.37321 -0.62554,0.27138 -0.88716,0.43611 -0.2281,0.14134 -0.1486,0.62107 0.19314,0.48343 1.30907,-0.018 2.63406,0.036 3.93317,-0.027 0.19025,-0.27382 -0.0891,-0.56946 -0.39091,-0.57572 -0.81071,-0.24229 -0.90332,-1.18412 -1.22348,-1.81905 -1.16566,-2.90442 -2.27438,-5.8305 -3.40969,-8.74635 -0.27039,-0.14154 -0.65186,-0.0678 -0.96357,-0.0926 z m -0.0806,2.09209 c 0.58787,1.59705 1.13468,3.2088 1.7064,4.81162 -1.25259,-0.0149 -2.50771,0.0337 -3.75875,-0.035 0.67494,-1.60247 1.35545,-3.20225 2.04386,-4.79927 l 0.008,0.0226 z" id="path3715" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccccccccccccccc"/>
|
||||
<path style="fill:#fff9f9;stroke:none;fill-opacity:1" d="m 422.23031,542.82421 c -0.0859,0.21531 -0.0336,0.59808 0.29799,0.5328 0.37545,0.0843 1.04542,0.0188 1.14444,0.47519 0.0893,2.98051 0.0815,5.96556 0.006,8.94644 -0.0326,0.44913 -0.65125,0.46394 -1.00037,0.52362 -0.31356,-0.0224 -0.62705,0.2318 -0.43558,0.54197 1.62829,0.0531 3.27341,0.007 4.90813,0.0226 0.25423,-0.13324 0.092,-0.58232 -0.2181,-0.55131 -0.38964,-0.10761 -1.00666,-0.0198 -1.18329,-0.4608 -0.13302,-1.2566 -0.0546,-2.53029 -0.0778,-3.79334 0.53119,0 1.06239,0 1.59357,0 1.00067,1.44512 1.89449,2.96291 2.97338,4.35494 0.35279,0.41153 0.9211,0.49442 1.4489,0.45051 0.45477,-0.0405 0.96989,0.0826 1.3906,-0.1008 0.18111,-0.29256 -0.34321,-0.39966 -0.49664,-0.56982 -1.3656,-1.10571 -2.30906,-2.62199 -3.39244,-3.97626 -0.0443,-0.17278 -0.54112,-0.45662 -0.22008,-0.55559 1.11982,-0.45254 2.13475,-1.34818 2.3083,-2.54467 0.25429,-1.20819 -0.43254,-2.53188 -1.65188,-2.97871 -1.02043,-0.43486 -2.18733,-0.25416 -3.27351,-0.32097 -1.36491,0.005 -2.74641,-0.0595 -4.10067,-0.005 l -0.0215,0.009 z m 4.48706,0.65417 c 0.74689,-0.0108 1.42796,0.003 1.92451,0.62948 0.63747,0.82028 0.5557,1.9544 0.31312,2.89026 -0.2089,0.8436 -1.08176,1.39258 -1.97794,1.3721 -0.49868,0.0331 -0.80535,0.0161 -1.3048,0.0206 0,-1.64433 0,-3.28866 0,-4.93298 0.34837,0.007 0.69674,0.0137 1.04511,0.0206 z" id="path3717" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccccccccccccccccccccccccccccc"/>
|
||||
<path style="fill:#fff9f9;stroke:none;fill-opacity:1" d="m 433.33878,542.83244 c -0.0872,0.22622 -0.0335,0.5908 0.28644,0.5616 0.37981,0.0571 0.82033,-0.0236 0.93731,0.45256 0.11832,2.87453 0.0834,5.75573 0.0167,8.6317 0.0378,0.2856 0.15627,0.62281 -0.16375,0.69737 -0.3345,0.17122 -0.79682,0.0227 -1.07253,0.288 -0.0923,0.20769 -0.0126,0.50838 0.28016,0.40319 1.51255,-0.018 3.0408,0.036 4.54353,-0.027 0.17017,-0.23815 -0.0342,-0.56517 -0.3349,-0.52636 -0.35051,-0.064 -0.88858,-0.0517 -1.05791,-0.42582 -0.14541,-1.4869 -0.0636,-2.99111 -0.10871,-4.48454 0.41914,-0.0351 0.61651,0.46097 0.90336,0.67542 1.38245,1.46289 2.664,3.03486 4.10603,4.43654 0.53525,0.49418 1.34383,0.30228 2.00708,0.3523 0.24866,-0.0599 0.69792,0.0872 0.81958,-0.19596 -0.25784,-0.43152 -0.81977,-0.62341 -1.18126,-0.97919 -1.41979,-1.07445 -2.51622,-2.45877 -3.77799,-3.70787 -0.38471,-0.40605 -0.78366,-0.81633 -1.15195,-1.2354 1.38747,-1.27381 2.80796,-2.54222 4.30063,-3.6946 0.36391,-0.31545 0.92258,-0.41766 1.19172,-0.82696 0.11389,-0.31275 -0.0818,-0.54365 -0.4244,-0.432 -0.98422,0.0244 -1.98975,-0.049 -2.9605,0.037 -0.11529,0.27204 0.0157,0.61887 0.35125,0.59656 0.22861,0.004 0.63945,0.17495 0.4474,0.45463 -0.81415,0.95335 -1.85766,1.70352 -2.7865,2.54827 -0.58328,0.48436 -1.12299,1.03079 -1.80264,1.37878 -0.0419,-1.30473 -0.0668,-2.63006 0.0627,-3.92499 0.1258,-0.55137 0.82454,-0.43093 1.24398,-0.5328 0.28389,-0.0844 0.29713,-0.70677 -0.10027,-0.55748 -1.51525,0.0184 -3.04645,-0.0363 -4.5519,0.027 l -0.0226,0.01 z" id="path3719" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccccccccccccccccccccccc"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 19 KiB |
93
src/assets/DIVINE.svg
Normal file
93
src/assets/DIVINE.svg
Normal file
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="76.85199" height="77.151932" id="svg3760" version="1.1" inkscape:version="0.48.1 " sodipodi:docname="DIVINE.svg">
|
||||
<defs id="defs3762">
|
||||
<linearGradient id="linearGradient4306">
|
||||
<stop id="stop4308" offset="0" style="stop-color:#9f863f;stop-opacity:1"/>
|
||||
<stop style="stop-color:#332815;stop-opacity:1" offset="1" id="stop4310"/>
|
||||
<stop id="stop4312" offset="1" style="stop-color:#e9e560;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4296">
|
||||
<stop id="stop4298" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300"/>
|
||||
<stop id="stop4302" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4230">
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.91071427;" offset="0" id="stop4232"/>
|
||||
<stop id="stop4292" offset="0.5" style="stop-color:#f0bf7a;stop-opacity:0.45490196;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0;" offset="1" id="stop4234"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3111">
|
||||
<stop style="stop-color:#f3c87d;stop-opacity:0.7589286;" offset="0" id="stop3113"/>
|
||||
<stop id="stop3119" offset="0.91352373" style="stop-color:#d69c45;stop-opacity:1"/>
|
||||
<stop style="stop-color:#e5ff6a;stop-opacity:1" offset="1" id="stop3115"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3101">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103"/>
|
||||
<stop id="stop4238" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4230" id="radialGradient4236" cx="306.59958" cy="555.36737" fx="306.59958" fy="555.36737" r="6.0054863" gradientTransform="matrix(0.60886416,0.50796393,-0.90996045,1.0907119,625.30825,-205.98784)" gradientUnits="userSpaceOnUse"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4306" id="radialGradient4304" cx="327.57648" cy="574.45367" fx="327.57648" fy="574.45367" r="39.671756" gradientTransform="matrix(-1.8589783e-6,1.0770613,-1.1551438,-2.9470962e-6,991.28513,221.58125)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient6058" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient5507-3">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop5509-1"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop5511-9"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient7449" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient7451">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop7453"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop7455"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(0.59536999,0,0,0.5953699,257.48367,541.07321)" gradientUnits="userSpaceOnUse" id="linearGradient7459" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3111-5" id="radialGradient4358-4" cx="327.81348" cy="574.35522" fx="327.81348" fy="574.35522" r="39.671757" gradientTransform="matrix(1,0,0,1.0232282,0,-13.341263)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient id="linearGradient3111-5">
|
||||
<stop style="stop-color:#f3c87d;stop-opacity:0.7589286;" offset="0" id="stop3113-4"/>
|
||||
<stop id="stop3119-9" offset="0.91352373" style="stop-color:#d69c45;stop-opacity:1"/>
|
||||
<stop style="stop-color:#e5ff6a;stop-opacity:1" offset="1" id="stop3115-5"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3101-4" id="radialGradient3107-6" cx="316.5849" cy="568.73383" fx="316.5849" fy="568.73383" r="35.220825" gradientTransform="matrix(0.74739457,0.822666,-0.75830964,0.68893224,512.80084,-84.984613)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient id="linearGradient3101-4">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103-8"/>
|
||||
<stop id="stop4238-2" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105-1"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4296-8" id="radialGradient4294-6" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.60886416,0.50796393,-0.90996045,1.0907119,625.30825,-205.98784)" cx="306.59958" cy="555.36737" fx="306.59958" fy="555.36737" r="6.0054865"/>
|
||||
<linearGradient id="linearGradient4296-8">
|
||||
<stop id="stop4298-3" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300-1"/>
|
||||
<stop id="stop4302-4" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.150772" inkscape:cx="89.612686" inkscape:cy="27.572644" inkscape:document-units="px" inkscape:current-layer="g4793" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:window-width="1280" inkscape:window-height="780" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:snap-global="true" showguides="true" inkscape:guide-bbox="true"/>
|
||||
<metadata id="metadata3765">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(-288.98475,-535.52559)">
|
||||
<g id="g4793" transform="matrix(0.96766596,0,0,0.94944363,10.181651,28.771222)">
|
||||
<text xml:space="preserve" style="font-size:23.81479454px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:url(#linearGradient7459);fill-opacity:1;stroke:none;font-family:StoneSerITCStd Medium;-inkscape-font-specification:StoneSerITCStd Medium" x="313.89493" y="555.45251" id="text5503" sodipodi:linespacing="125%" transform="scale(0.99053965,1.0095507)"><tspan sodipodi:role="line" id="tspan5505" x="313.89493" y="555.45251" style="font-size:3.57221937px;fill:url(#linearGradient7459);fill-opacity:1">Created by Falzar FZ</tspan></text>
|
||||
<g transform="translate(0.00547206,0.0258127)" id="g3021">
|
||||
<path style="fill:url(#radialGradient4358-4);fill-opacity:1;stroke:none" d="m 325.12487,533.76805 c -12.04619,0.12786 -23.83129,6.47825 -30.10708,16.8382 -9.98334,15.47574 -9.2208,37.5796 3.10803,51.55872 7.91058,8.9416 20.14109,13.52621 31.99522,12.68526 12.96871,-0.25474 25.57911,-7.74217 31.66968,-19.25774 5.39871,-9.43832 6.92244,-20.84042 4.7256,-31.45827 -2.298,-13.99137 -13.54381,-26.2257 -27.38604,-29.44165 -4.60618,-0.8471 -9.33291,-0.96193 -14.00541,-0.92452 z" id="path3048" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:url(#radialGradient3107-6);fill-opacity:1;stroke:none" d="m 325.42652,538.32169 c -10.69468,0.11351 -21.15757,5.75143 -26.72925,14.94905 -8.86327,13.73946 -8.18628,33.3634 2.75933,45.77415 7.02306,7.9384 17.88138,12.00865 28.40555,11.26205 11.5137,-0.22616 22.70929,-6.87355 28.11653,-17.09714 4.79301,-8.3794 6.14578,-18.50225 4.19542,-27.92884 -2.04018,-12.42163 -12.02428,-23.28334 -24.3135,-26.13848 -4.08939,-0.75206 -8.28581,-0.85401 -12.43408,-0.82079 z" id="path3048-4" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:url(#radialGradient4294-6);fill-opacity:1;stroke:none" d="m 311.71455,548.43287 c -6.29773,-1.46827 -14.76365,7.17281 -10.62999,13.63988 6.56058,3.42979 14.32286,-7.35284 10.62999,-13.63988 z" id="path3109" inkscape:connector-curvature="0" sodipodi:nodetypes="ccc"/>
|
||||
</g>
|
||||
<g transform="translate(-85.403259,0.65890928)" id="g3199" style="fill:#fffaf1;fill-opacity:1">
|
||||
<path sodipodi:nodetypes="scscccccsscsscccsscccccccsscccccccssccccccccccccccccccccc" inkscape:connector-curvature="0" id="path3092-7" d="m 396.21015,558.50833 c 0.16444,1.16913 0.55155,4.94288 0.55155,4.94288 0,0 -6.52079,-0.0359 -8.25034,0.0898 -2.74899,0.19983 -0.9611,4.47984 1.97119,2.90942 2.29278,-0.0473 12.326,-0.0227 12.326,-0.0227 -3.82829,8.85633 -9.8218,13.52465 -19.04326,15.38779 0.11943,3.52911 3.57245,5.13166 6.29244,3.81069 2.32642,-1.20992 6.35589,-4.65321 6.35589,-4.65321 0,0 -0.0944,15.95249 -0.0732,19.51913 0.0132,2.21909 4.0376,2.29601 4.02986,0.0285 -0.0114,-3.33046 -0.0385,-20.77609 -0.0385,-20.77609 0,0 1.84467,0.91005 3.65177,2.22109 1.70975,1.24041 5.29766,-0.11575 2.50601,-2.77644 -3.11577,-2.9696 -2.40576,-1.86747 -4.70419,-3.5306 6.0327,-7.15973 6.71585,-12.22066 6.71585,-12.22066 l -7.69198,-0.0489 c 0,0 -0.51409,-3.90548 -0.70585,-5.02261 -0.47011,-2.73873 -4.2752,-2.57388 -3.89324,0.14191 z m 27.61367,-1.17404 c -0.0347,3.67477 -0.13541,7.96068 -0.13541,7.96068 0,0 -6.73212,0.003 -8.83148,0.004 -1.09319,-1.31162 -3.76468,0.002 -3.76468,0.002 l 0.091,21.09102 c 0,0 1.69233,0.79086 3.06655,-0.0267 2.07148,-0.018 9.36234,-0.0815 9.36234,-0.0815 0,0 0.19466,12.40798 0.20857,14.6804 0.0162,2.64689 3.71192,2.41013 3.81863,-0.0884 0.1283,-3.00384 0.20873,-14.52723 0.20873,-14.52723 0,0 6.16369,-0.0408 8.0864,-0.0535 1.60823,0.99336 3.44988,-0.0228 3.44988,-0.0228 0,0 -0.007,-14.27341 -0.009,-17.74883 0.69348,-1.23755 -0.001,-3.10368 -0.001,-3.10368 0,0 -1.29341,-0.85163 -2.54934,-0.0256 -1.93323,-0.0204 -9.04999,-0.097 -9.04999,-0.097 0,0 -0.17429,-5.1944 -0.1427,-8.0073 0.0267,-2.37387 -3.78451,-2.50186 -3.80855,0.0445 z m -0.0142,16.90998 -8.23514,0.13725 0.0881,-6.02594 8.12894,0.0148 z m 11.68238,-5.80102 -0.0251,5.8819 -7.79393,-0.0181 0.0249,-5.84689 z m 0.0285,8.86106 0.004,5.93993 -7.87655,-10e-4 0.0234,-5.95692 z m -20.56157,0.058 8.82198,-0.0835 -0.0857,5.92051 -8.63454,0.039 z" style="fill:#fffaf1;fill-opacity:1;stroke:none"/>
|
||||
<g transform="matrix(0.38834167,0,0,0.35851154,249.38733,350.08955)" id="g3191" style="fill:#fffaf1;fill-opacity:1">
|
||||
<path sodipodi:nodetypes="ccccccccccccccccccccccc" style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 351.31656,537.71773 c -0.12989,0.54387 0.0492,1.22219 0.71941,1.13829 0.89592,0.17737 2.4632,0.13367 2.48021,1.40491 0.36351,4.88074 0.11195,9.81442 0.18199,14.71572 -0.0649,3.38711 0.0848,6.82866 -0.19707,10.18308 -0.75074,0.94899 -2.18035,0.5318 -3.09399,1.04087 -0.25901,0.52489 -0.0846,1.28182 0.65905,0.99472 4.94983,-0.0763 9.92034,0.17835 14.85616,-0.21535 4.91418,-0.62327 9.58543,-3.66615 11.66089,-8.321 1.7386,-3.49671 1.84651,-7.58202 1.09861,-11.36343 -0.70264,-3.17331 -2.81832,-5.88864 -5.50498,-7.57299 -4.06785,-2.40641 -8.94368,-1.97015 -13.46762,-2.10434 -3.09564,-0.0156 -6.19135,-0.005 -9.28702,-0.008 l -0.10564,0.10768 z m 10.7057,1.4203 c 3.27429,-0.0207 5.49894,0.10014 8.02722,2.50731 3.06095,2.77274 3.92621,7.17539 3.78322,11.19318 0.0244,4.47273 -1.66042,9.48629 -5.76538,11.65977 -2.33909,1.20182 -3.66754,1.32866 -6.2463,1.23571 -1.37956,-0.019 -2.20932,-1.03182 -2.10491,-2.54833 -0.20267,-8.01323 -0.0992,-16.03215 -0.17105,-24.04764 1.03301,0 1.44418,0 2.4772,0 z" id="path3146" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 383.67513,537.71773 c -0.21691,0.67641 0.23886,1.38337 1.02569,1.25109 1.10211,-0.0174 2.75893,0.31259 2.66336,1.65571 0.2035,8.07485 0.018,16.17797 0.0251,24.26345 -0.8039,1.10433 -2.35916,0.99865 -3.56833,1.20494 -0.29717,0.39971 -0.27961,1.37505 0.48585,1.1024 3.80045,0 7.60089,0 11.40135,0 0.30507,-0.44071 0.14735,-1.31746 -0.60462,-1.19982 -1.02556,-0.1183 -2.79985,-0.12789 -2.9421,-1.3844 -0.20767,-7.53847 -0.19363,-15.10861 -0.10688,-22.65792 0.15178,-0.80612 -0.16367,-2.09774 0.70067,-2.56904 0.90452,-0.38098 1.92834,-0.29332 2.82334,-0.59478 0.47657,-0.44626 0.33518,-1.53166 -0.56142,-1.17931 -3.74288,0 -7.48574,0 -11.2286,0 l -0.11337,0.10768 z" id="path3148" inkscape:connector-curvature="0"/>
|
||||
<path sodipodi:nodetypes="ccccccccccccccccccc" style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 397.03713,537.71773 c -0.20644,0.67671 0.24149,1.22626 0.93271,1.26575 2.43911,0.46908 3.09193,3.26065 3.87741,5.23661 2.86019,7.60817 5.58016,15.26558 8.35554,22.90345 0.78433,-0.0597 2.32311,0.54635 2.62137,-0.45002 3.73488,-8.77627 7.33201,-17.61482 11.2317,-26.32029 0.60261,-1.02994 1.76792,-1.34694 2.87556,-1.57412 0.38898,-0.36834 0.368,-1.45064 -0.3988,-1.16906 -2.91055,0 -5.82109,0 -8.73163,0 -0.36304,0.56354 -0.0115,1.47014 0.77661,1.35877 1.15549,-0.0764 2.64087,0.64464 2.45053,1.95868 -0.30612,1.85887 -1.31693,3.58757 -1.92278,5.38073 -2.1164,5.18402 -3.44689,7.97163 -5.76642,13.07103 -2.37211,-6.81031 -4.4071,-11.16988 -6.46586,-18.07746 -0.34332,-1.2043 0.76378,-2.22259 1.94154,-2.32272 0.56545,-0.0372 1.40734,-0.17858 1.20163,-0.93832 -0.23644,-0.91703 -1.94904,-0.20665 -2.79684,-0.43071 -2.96651,0 -7.10556,0 -10.07207,0 z" id="path3150" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 427.94682,537.71773 c -0.15993,0.57007 0.0599,1.26607 0.85486,1.21007 1.10386,0.12198 2.84404,0.12474 3.05554,1.38441 0.24238,7.64373 0.1,15.32061 0.0232,22.97601 -0.0332,0.83068 0.10172,2.00021 -1.00502,2.33811 -0.86833,0.46533 -1.96212,0.1807 -2.81874,0.50761 -0.30005,0.53353 -0.13843,1.36004 0.7509,1.06138 3.94313,0 7.88626,0 11.82939,0 0.37173,-0.48285 0.0974,-1.35452 -0.72778,-1.20495 -1.15318,-0.0804 -3.12258,-0.32542 -2.96129,-1.7072 -0.30504,-7.74406 -0.33914,-15.50195 -0.10207,-23.24777 -0.16949,-1.15278 0.99479,-1.97747 2.21998,-1.97941 0.69267,-0.0623 1.8597,-0.0463 1.66965,-0.95808 0.007,-1.0178 -2.01257,-0.24852 -2.84796,-0.48786 -3.27311,0 -6.54622,0 -9.81933,0 l -0.1213,0.10768 z" id="path3152" inkscape:connector-curvature="0"/>
|
||||
<path sodipodi:nodetypes="cccccccccccccccccccccccccc" style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 441.14784,537.71773 c -0.17394,0.65184 0.18844,1.37684 0.92568,1.25622 1.61453,0.12477 2.81491,1.48578 3.90395,2.61499 -0.0565,7.15 0.12626,14.32125 -0.1308,21.45829 0.0483,1.12689 -0.54003,2.19791 -1.61994,2.56371 -0.54908,0.46291 -1.64662,0.048 -1.93689,0.77937 -0.35672,1.17011 1.00364,0.73529 1.70043,0.80501 2.79717,0 5.59434,0 8.3915,0 0.30291,-0.55496 -0.11674,-1.31392 -0.80494,-1.19982 -1.38548,-0.16834 -3.11846,-0.5462 -3.53909,-2.12323 -0.37287,-1.40131 -0.0697,-2.96541 -0.18172,-4.42956 -0.008,-5.47923 -0.10919,-10.96051 0.013,-16.4386 6.66392,8.05495 13.2687,16.18685 19.97256,24.19121 1.14309,0.2428 1.8702,-0.1343 1.52842,-1.42029 0.0786,-8.15329 -0.0655,-16.32786 0.18711,-24.4681 0.0863,-1.64103 1.90115,-2.27104 3.26001,-2.39964 0.42663,-0.24176 0.4503,-1.46051 -0.17105,-1.29724 -3.21975,0 -6.43952,0 -9.65928,0 -0.31372,0.49528 -0.0869,1.42611 0.65877,1.31558 1.38502,0.18858 3.08087,0.48934 3.58418,2.01652 0.52968,1.19474 0.11346,2.62631 0.25576,3.91805 0.003,5.19728 0.005,9.02345 -0.12993,14.21956 -6.36623,-7.53249 -10.54135,-13.90943 -16.85642,-21.46971 -2.46009,0 -6.78567,0 -9.24577,0 l -0.10565,0.10768 z" id="path3154" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#fffaf1;stroke:none;fill-opacity:1" d="m 474.40378,537.71773 c -0.13736,0.54387 0.0521,1.22219 0.76078,1.13829 1.10261,0.061 2.8257,0.38582 2.71862,1.77409 0.21156,7.25289 0.11014,14.55978 0.0544,21.83254 -0.16531,1.04901 0.39923,2.64299 -0.91089,3.15342 -0.76369,0.47751 -1.8905,0.0988 -2.56966,0.64093 -0.25299,0.66654 0.11323,1.18351 0.90976,0.93832 6.84001,0 13.67999,0 20.51999,0 0.61184,-2.36463 0.81339,-4.92737 1.35134,-7.35273 -0.37159,-0.56807 -1.41509,-0.14321 -1.42521,0.52151 -0.88324,1.9248 -1.768,4.34031 -4.04929,5.01098 -2.59094,0.57433 -5.40884,0.6222 -7.94304,-0.14357 -1.02756,-0.33795 -1.38951,-1.41639 -1.25672,-2.379 -0.091,-3.41908 -0.072,-6.8402 -0.11589,-10.26011 2.02159,0.15425 4.22671,-0.36248 6.1129,0.50249 1.15935,0.70593 1.54393,2.10324 1.77163,3.29694 0.52723,0.3245 1.48009,0.18612 1.14916,-0.62555 0,-2.73463 0,-5.46926 0,-8.20389 -0.53392,-0.34008 -1.43069,-0.0559 -1.33005,0.68195 -0.18202,1.48223 -1.38754,2.81599 -3.01123,2.79958 -1.52019,0.1269 -3.0642,0.0772 -4.59665,0.10254 -0.0272,-4.00283 -0.0575,-8.00565 -0.0905,-12.00844 2.42847,0.0525 4.91058,-0.10378 7.30624,0.0765 1.23909,0.40104 2.12868,1.35735 2.47759,2.55897 0.41451,0.87732 0.3709,1.9298 0.72887,2.77907 1.40712,0.42042 1.34005,-0.74203 1.23961,-1.74846 0,-1.69547 0,-3.39094 0,-5.08641 -1.87431,-0.25087 -3.94871,-0.0362 -5.9001,-0.10767 -4.59665,0 -9.19331,0 -13.78996,0 l -0.11172,0.10767 z" id="path3156" inkscape:connector-curvature="0"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 18 KiB |
147
src/assets/EARTH.svg
Normal file
147
src/assets/EARTH.svg
Normal file
@@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="76.85199" height="77.151932" id="svg3760" version="1.1" inkscape:version="0.48.1 " sodipodi:docname="EARTH.svg">
|
||||
<defs id="defs3762">
|
||||
<linearGradient id="linearGradient3912">
|
||||
<stop style="stop-color:#af9b3c;stop-opacity:1" offset="0" id="stop3914"/>
|
||||
<stop style="stop-color:#e5d892;stop-opacity:1" offset="1" id="stop3916"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" id="linearGradient3747">
|
||||
<stop style="stop-color:#b8ac54;stop-opacity:1" offset="0" id="stop3749"/>
|
||||
<stop style="stop-color:#684f12;stop-opacity:1" offset="1" id="stop3751"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3104">
|
||||
<stop style="stop-color:#1f291e;stop-opacity:0.12612613;" offset="0" id="stop3106"/>
|
||||
<stop style="stop-color:#4c5433;stop-opacity:1" offset="1" id="stop3108"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4306">
|
||||
<stop id="stop4308" offset="0" style="stop-color:#9f863f;stop-opacity:1"/>
|
||||
<stop style="stop-color:#332815;stop-opacity:1" offset="1" id="stop4310"/>
|
||||
<stop id="stop4312" offset="1" style="stop-color:#e9e560;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4296">
|
||||
<stop id="stop4298" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300"/>
|
||||
<stop id="stop4302" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4230">
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.91071427;" offset="0" id="stop4232"/>
|
||||
<stop id="stop4292" offset="0.5" style="stop-color:#f0bf7a;stop-opacity:0.45490196;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0;" offset="1" id="stop4234"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3111">
|
||||
<stop style="stop-color:#f3c87d;stop-opacity:0.7589286;" offset="0" id="stop3113"/>
|
||||
<stop id="stop3119" offset="0.91352373" style="stop-color:#d69c45;stop-opacity:1"/>
|
||||
<stop style="stop-color:#e5ff6a;stop-opacity:1" offset="1" id="stop3115"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3101">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103"/>
|
||||
<stop id="stop4238" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4230" id="radialGradient4236" cx="306.59958" cy="555.36737" fx="306.59958" fy="555.36737" r="6.0054863" gradientTransform="matrix(0.60886416,0.50796393,-0.90996045,1.0907119,625.30825,-205.98784)" gradientUnits="userSpaceOnUse"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4306" id="radialGradient4304" cx="327.57648" cy="574.45367" fx="327.57648" fy="574.45367" r="39.671756" gradientTransform="matrix(-1.8589783e-6,1.0770613,-1.1551438,-2.9470962e-6,991.28513,221.58125)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient6058" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient5507-3">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop5509-1"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop5511-9"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(1.2113408,0,0,1.2113407,182.53634,525.19736)" gradientUnits="userSpaceOnUse" id="linearGradient7449" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient7451">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop7453"/>
|
||||
<stop style="stop-color:#ff6600;stop-opacity:1" offset="1" id="stop7455"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="22.401928" x2="106.24998" y1="22.901928" x1="143.49998" gradientTransform="matrix(0.68518025,0,0,0.68518014,246.48442,539.03493)" gradientUnits="userSpaceOnUse" id="linearGradient7459" xlink:href="#linearGradient5507-3" inkscape:collect="always"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3111-5" id="radialGradient4358-4" cx="323.00903" cy="633.44537" fx="323.00903" fy="633.44537" r="39.671757" gradientTransform="matrix(-1.4017097,1.3659674,-1.3892283,-1.4808254,1627.6594,1046.689)" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient id="linearGradient3111-5">
|
||||
<stop style="stop-color:#75824c;stop-opacity:1" offset="0" id="stop3113-4"/>
|
||||
<stop id="stop3216" offset="0.42169747" style="stop-color:#38452d;stop-opacity:1"/>
|
||||
<stop id="stop3212" offset="0.55960143" style="stop-color:#252e21;stop-opacity:1"/>
|
||||
<stop id="stop3119-9" offset="0.72623497" style="stop-color:#131c18;stop-opacity:1"/>
|
||||
<stop style="stop-color:#050607;stop-opacity:1" offset="1" id="stop3115-5"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3101-4">
|
||||
<stop style="stop-color:#a5864d;stop-opacity:1" offset="0" id="stop3103-8"/>
|
||||
<stop id="stop4238-2" offset="0.78602821" style="stop-color:#332815;stop-opacity:1"/>
|
||||
<stop style="stop-color:#1a1911;stop-opacity:1" offset="1" id="stop3105-1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4296-8">
|
||||
<stop id="stop4298-3" offset="0" style="stop-color:#f0bf7a;stop-opacity:0.91071427;"/>
|
||||
<stop style="stop-color:#f0bf7a;stop-opacity:0.45490196;" offset="0.64173013" id="stop4300-1"/>
|
||||
<stop id="stop4302-4" offset="1" style="stop-color:#f0bf7a;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<filter id="filter3153" inkscape:label="Ink paint" inkscape:menu="Textures" inkscape:menu-tooltip="Ink paint on paper with some turbulent color shift" height="1.3" y="-0.15" width="1.3" x="-0.15" color-interpolation-filters="sRGB">
|
||||
<feTurbulence id="feTurbulence3155" type="fractalNoise" baseFrequency="0.07" numOctaves="4" result="result0"/>
|
||||
<feDisplacementMap id="feDisplacementMap3157" in2="result0" in="SourceGraphic" xChannelSelector="R" yChannelSelector="G" scale="10" result="result2"/>
|
||||
<feBlend id="feBlend3159" in2="result2" result="result5" in="result2" mode="multiply"/>
|
||||
<feGaussianBlur id="feGaussianBlur3161" stdDeviation="10" in="result2" result="result4"/>
|
||||
<feComposite id="feComposite3163" in2="result4" operator="arithmetic" in="result0" k3="0.5" k1="2" result="result6"/>
|
||||
<feComposite id="feComposite3165" in2="result5" operator="in" in="result6" result="result7"/>
|
||||
</filter>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3104" id="linearGradient3243" gradientUnits="userSpaceOnUse" x1="425.63477" y1="588.29926" x2="393.45615" y2="547.57428"/>
|
||||
<filter id="filter3403" inkscape:label="Organic" x="0" y="0" width="1" height="1" inkscape:menu="Textures" inkscape:menu-tooltip="Bulging, knotty, slick 3D surface" color-interpolation-filters="sRGB">
|
||||
<feTurbulence id="feTurbulence3405" numOctaves="3" baseFrequency="0.037" result="result0"/>
|
||||
<feSpecularLighting id="feSpecularLighting3407" specularExponent="24.3" surfaceScale="2" specularConstant="1" result="result1">
|
||||
<feDistantLight id="feDistantLight3409" elevation="45" azimuth="225"/>
|
||||
</feSpecularLighting>
|
||||
<feDiffuseLighting id="feDiffuseLighting3411" in="result0" surfaceScale="3" diffuseConstant="1.21" result="result2">
|
||||
<feDistantLight id="feDistantLight3413" azimuth="225" elevation="42"/>
|
||||
</feDiffuseLighting>
|
||||
<feBlend id="feBlend3415" in2="SourceGraphic" mode="multiply" result="result91"/>
|
||||
<feComposite id="feComposite3417" in2="result91" operator="arithmetic" in="result1" k2="1" k3="1" result="result92"/>
|
||||
<feComposite id="feComposite3419" in2="SourceAlpha" operator="in" result="result2"/>
|
||||
</filter>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3747" id="linearGradient3753" x1="486.98187" y1="576.54858" x2="472.66058" y2="560.51086" gradientUnits="userSpaceOnUse"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3747-7" id="linearGradient3762-0" gradientUnits="userSpaceOnUse" x1="490.34119" y1="581.23376" x2="472.66058" y2="560.51086"/>
|
||||
<linearGradient inkscape:collect="always" id="linearGradient3747-7">
|
||||
<stop style="stop-color:#b8ac54;stop-opacity:1" offset="0" id="stop3749-5"/>
|
||||
<stop style="stop-color:#684f12;stop-opacity:1" offset="1" id="stop3751-5"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3747-1" id="linearGradient3762-7" gradientUnits="userSpaceOnUse" x1="490.34119" y1="581.23376" x2="472.66058" y2="560.51086"/>
|
||||
<linearGradient id="linearGradient3747-1">
|
||||
<stop style="stop-color:#c1bf6a;stop-opacity:1;" offset="0" id="stop3749-6"/>
|
||||
<stop style="stop-color:#d0d51f;stop-opacity:1;" offset="1" id="stop3751-7"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3912" id="linearGradient3918" x1="464.85449" y1="563.13446" x2="489.23349" y2="567.849" gradientUnits="userSpaceOnUse"/>
|
||||
</defs>
|
||||
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="4.6899659" inkscape:cx="89.738899" inkscape:cy="39.470306" inkscape:document-units="px" inkscape:current-layer="g4793" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:window-width="1280" inkscape:window-height="780" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:snap-global="true" showguides="true" inkscape:guide-bbox="true"/>
|
||||
<metadata id="metadata3765">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(-288.98475,-535.52559)">
|
||||
<g id="g4793" transform="matrix(0.96766596,0,0,0.94944363,10.181651,28.771222)">
|
||||
<text xml:space="preserve" style="font-size:27.40720367px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:url(#linearGradient7459);fill-opacity:1;stroke:none;font-family:StoneSerITCStd Medium;-inkscape-font-specification:StoneSerITCStd Medium" x="311.40518" y="555.58331" id="text5503" sodipodi:linespacing="125%" transform="scale(0.99053965,1.0095507)"><tspan sodipodi:role="line" id="tspan5505" x="311.40518" y="555.58331" style="font-size:4.11108065px;fill:url(#linearGradient7459);fill-opacity:1">Created by Falzar FZ</tspan></text>
|
||||
<g transform="translate(0.00547206,0.0258127)" id="g3021" style="opacity:1">
|
||||
<path style="fill:url(#radialGradient4358-4);fill-opacity:1;stroke:none" d="m 325.12487,533.76805 c -12.04619,0.12786 -23.83129,6.47825 -30.10708,16.8382 -9.98334,15.47574 -9.2208,37.5796 3.10803,51.55872 7.91058,8.9416 20.14109,13.52621 31.99522,12.68526 12.96871,-0.25474 25.57911,-7.74217 31.66968,-19.25774 5.39871,-9.43832 6.92244,-20.84042 4.7256,-31.45827 -2.298,-13.99137 -13.54381,-26.2257 -27.38604,-29.44165 -4.60618,-0.8471 -9.33291,-0.96193 -14.00541,-0.92452 z" id="path3048" inkscape:connector-curvature="0"/>
|
||||
<g id="g4771" transform="translate(-85.682227,0.42272594)" style="fill:#ffffff;fill-opacity:1"/>
|
||||
</g>
|
||||
<g id="g4057" transform="translate(-86.595606,2.9347103)" style="fill:#fffffe;fill-opacity:1">
|
||||
<path sodipodi:nodetypes="cccc" inkscape:connector-curvature="0" id="path3994-2" d="m 376.31671,582.71689 c 15.02339,47.51108 58.14582,21.81886 71.07738,-35.50182 -16.84145,-22.80152 -49.38211,-18.914 -62.35022,-3.5493 -7.58833,7.46916 -12.74189,24.58437 -8.72716,39.05112 z" style="opacity:0.2;fill:url(#linearGradient3243);fill-opacity:1;stroke:none;filter:url(#filter3403)"/>
|
||||
<g transform="translate(105.65211,-1.1183011)" style="fill:#fffffe;fill-opacity:1" id="g3195-6">
|
||||
<path style="opacity:0.4;fill:#010101;fill-opacity:1;stroke:none" d="m 295.89015,572.38955 c 1.95679,-12.56309 15.20005,-18.76232 1.6323,-31.76249 -7.78704,6.65226 -11.11054,15.6773 -19.82874,19.82928 -1.17564,5.50997 -2.08697,13.41392 6.15484,16.37601 2.93424,1.05456 8.69445,0.49924 12.0416,-4.4428 z" id="path3994-8" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
|
||||
</g>
|
||||
<g id="g3739" transform="translate(-87.514309,-9.174274)" style="fill:url(#linearGradient3753);fill-opacity:1">
|
||||
<g id="g3755" style="opacity:0.4">
|
||||
<g transform="translate(196.88768,20.637053)" style="fill:url(#linearGradient3753);fill-opacity:1" id="g3195-6-1"/>
|
||||
<path id="path3994-8-7-2-4-1" style="opacity:1;fill:url(#linearGradient3918);fill-opacity:1;stroke:none" d="m 471.76537,568.03778 c -1.86362,1.54832 -1.36752,3.23484 0.21373,1.89522 5.01856,-4.25173 2.03559,-3.76399 -0.21373,-1.89522 z m -1.62526,22.93559 c -1.04533,2.11156 1.85481,5.0701 3.08919,3.29684 0.98339,-1.4127 -2.49148,-4.50423 -3.08919,-3.29684 z M 482.06842,567.525 c -13.22623,35.80863 -6.61312,17.90432 0,0 z m -7.10284,11.35298 c -2.31011,1.41296 -0.56489,6.57098 0.96385,4.18877 1.48364,-2.31195 1.23955,-5.53646 -0.96385,-4.18877 z m -3.07521,-4.34182 c -1.65931,2.24143 -1.16652,7.88725 1.08887,1.25811 3.75311,-2.94042 2.46402,-3.98119 -1.08887,-1.25811 z m 7.17754,-11.21606 c -4.81934,12.88682 11.96063,11.83726 12.84079,1.89521 0.53354,-6.02672 -10.5405,-8.04612 -12.84079,-1.89521 z" inkscape:connector-curvature="0" sodipodi:nodetypes="ssssssccssscccsss"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(0.09722067,-0.11962684)" style="fill:#fffffe;fill-opacity:1" id="g3195">
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 130.0726,33.475718 -6.20511,1.038966 c 0,0 0.25697,-4.751208 0.23462,-6.635912 -0.0224,-1.884704 -4.12251,-2.669489 -4.14772,-0.525766 -0.0252,2.143724 0.006,8.340294 0.006,8.340294 -1.0759,0.567662 -3.33685,0.452067 -4.70162,1.196273 -1.70554,0.930028 -2.218,3.037913 -0.62006,4.191771 0.99942,0.665911 5.35563,-1.578897 5.35563,-1.578897 0,0 -0.52324,12.056278 -0.23432,18.16974 0.11613,0.814662 1.2246,1.481244 4.35106,1.882989 8.07588,0.521293 18.36261,1.508839 24.72186,2.206304 1.03419,-0.75609 5.33977,-6.006713 2.49252,-7.535982 -8.36918,2.091236 -27.55403,0.837332 -27.55403,0.837332 l 0.1363,-16.142969 5.88079,-1.557825 c 0,0 -1.10986,8.880588 1.49941,12.189985 3.26951,0.04125 2.13227,-4.962807 2.42912,-7.010131 0.0422,-3.422795 0.16077,-6.990827 0.16077,-6.990827 l 8.04227,-0.642603 c 0,0 -2.16144,6.28103 -2.72619,9.522209 0.61615,1.351626 1.68313,1.055067 2.76514,0.369984 0.69759,-0.814683 6.16412,-10.357038 4.84872,-13.553083 -0.76025,-0.981167 -13.3194,1.421516 -13.3194,1.421516 0,0 0.0924,-11.689762 0.0974,-12.715752 0.005,-1.025989 -3.34208,-1.464976 -3.37123,0.837566 -0.0292,2.302544 -0.14189,12.684817 -0.14189,12.684817 z" id="path3992" inkscape:connector-curvature="0" transform="matrix(1.0334145,0,0,1.0532484,288.11916,533.73824)" sodipodi:nodetypes="cczzcsccccccccccccccccczzcc"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 102.85727,21.783779 c -0.0242,2.742945 -0.0453,10.142352 -0.0453,10.142352 0,0 -3.930663,0.09968 -6.59062,0.09954 -1.870083,-0.01389 -3.137473,4.02946 0.18707,3.585362 1.928707,-1.076559 6.27359,-0.488373 6.27359,-0.488373 l 0.11684,12.540497 c 0,0 -7.504257,0.891637 -8.801717,3.87509 0.02185,3.848076 3.994794,1.803552 5.569225,1.187843 2.144942,-0.838818 4.718132,-1.746404 6.718122,-2.453576 2.6069,-0.805814 5.69451,-1.389782 7.57492,-2.687249 1.93284,-3.623707 -7.33057,-0.683546 -7.33057,-0.683546 l 0.0322,-12.138259 c 0,0 3.23863,0.02665 6.39288,-0.03025 1.56249,-0.810873 1.22664,-2.497509 0.36024,-2.687249 -3.28208,-0.0434 -6.77511,-0.04479 -6.77511,-0.04479 0,0 0.0215,-7.323449 0.018,-10.042136 -0.003,-2.718686 -3.67569,-2.918205 -3.69983,-0.17526 z" id="path3994" inkscape:connector-curvature="0" transform="matrix(1.0334145,0,0,1.0532484,288.11916,533.73824)" sodipodi:nodetypes="cccccccsccccccczzc"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 389.72482,541.1352 c -0.56808,0.0582 -1.20672,-0.0978 -1.73666,0.12933 -0.19486,0.37418 0.38951,0.44384 0.6281,0.45516 0.31354,0.0595 0.85374,0.13571 0.73039,0.59181 0.0639,2.83196 0.10019,5.68501 -0.0273,8.50634 -0.34887,0.38446 -0.99917,0.14076 -1.34879,0.48997 -0.14276,0.41274 0.48242,0.34005 0.71816,0.35743 2.60328,0.023 5.21215,0.0422 7.81251,-0.0192 0.2451,-0.8215 0.32464,-1.73372 0.52549,-2.58419 -0.0312,-0.37301 -0.58937,-0.18783 -0.64562,0.097 -0.34056,0.73124 -0.76324,1.62634 -1.66909,1.74601 -0.95888,0.12913 -1.99243,0.17721 -2.93531,-0.0522 -0.41011,-0.14844 -0.6018,-0.56939 -0.50298,-0.9899 0,-1.11758 0,-2.23515 0,-3.35274 0.76625,0.0585 1.61471,-0.1288 2.33223,0.19898 0.43239,0.2107 0.46904,0.71337 0.67315,1.07944 0.212,0.16492 0.66512,0.10068 0.518,-0.26612 -0.0275,-0.97831 0.0542,-1.98221 -0.04,-2.94484 -0.34593,-0.15425 -0.62292,0.14151 -0.64061,0.46262 -0.1672,0.79215 -1.10872,0.86513 -1.7767,0.86554 -0.32969,-0.0991 -1.12528,0.25369 -1.06603,-0.23628 0,-1.31656 0,-2.63311 0,-3.94967 0.97732,0.0689 1.9982,-0.0631 2.95032,0.15669 0.6899,0.27762 0.8151,1.0707 1.06103,1.6714 0.19884,0.19441 0.70792,0.13982 0.55301,-0.24374 -0.0278,-0.71295 0.0546,-1.45171 -0.04,-2.14894 -2.01583,-0.0508 -4.051,-0.0104 -6.07331,-0.0199 z" id="path4017" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 402.14877,541.02825 c -1.34901,3.09419 -2.86906,6.23365 -4.29034,9.28717 -0.26787,0.46993 -0.50519,0.71753 -0.9947,0.88792 -0.27764,0.2016 5.4e-4,0.54966 0.29027,0.46512 0.93625,-0.009 1.89639,0.0921 2.8202,-0.0547 0.30453,-0.23207 -0.11926,-0.555 -0.37036,-0.57704 -0.4221,-0.1334 -0.49537,-0.6164 -0.28776,-0.95757 0.20567,-0.61483 0.45554,-1.21362 0.69064,-1.81813 1.40302,0 2.80602,0 4.20904,0 0.28523,0.81334 0.69938,1.61191 0.8533,2.44989 -0.16454,0.42317 -0.7236,0.30921 -0.99845,0.57454 -0.17799,0.36258 0.33002,0.41519 0.57055,0.38799 1.13137,-0.0171 2.28295,0.0863 3.40325,-0.0572 0.32018,-0.18852 -0.0555,-0.55047 -0.31779,-0.53225 -0.87905,-0.35648 -0.96161,-1.4466 -1.35068,-2.18912 -1.04269,-2.59691 -2.04259,-5.21051 -3.06105,-7.81685 -0.32052,-0.10474 -1.08248,-0.15206 -1.4076,-0.0498 z m 0.17767,1.9798 c 0.52585,1.4802 1.12203,3.01116 1.57901,4.47197 -1.18081,0.0276 -2.36275,0.031 -3.54339,-0.005 0.6296,-1.52043 1.27865,-3.03359 1.93687,-4.54161 l 0.0276,0.0746 z" id="path4019" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccccccccccccccc"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 410.27158,541.13768 c -0.42284,0.0673 -0.97761,-0.11698 -1.32833,0.15421 -0.12172,0.42508 0.52393,0.38721 0.7886,0.44769 0.35181,0.0312 0.74271,0.22117 0.64159,0.62167 0.0828,2.79462 0.11267,5.59653 -0.0232,8.38943 -0.24894,0.54179 -1.13994,0.10496 -1.41742,0.60687 -0.0674,0.40454 0.55608,0.28299 0.80693,0.31803 1.34475,-0.0227 2.70755,0.0833 4.04266,-0.0594 0.30576,-0.14021 0.0369,-0.5395 -0.24889,-0.49247 -0.43199,-0.0562 -1.09324,-0.0876 -1.15542,-0.6193 -0.0968,-1.12943 -0.0164,-2.26751 -0.0157,-3.4 0.51087,-0.0138 1.02177,-0.0271 1.53268,-0.0398 1.03649,1.41653 1.91963,2.96243 3.09159,4.27299 0.57447,0.51805 1.45763,0.28605 2.17196,0.33577 0.21348,0.0261 0.74149,-0.0491 0.44802,-0.32582 -1.70089,-1.20983 -2.83856,-2.97013 -4.116,-4.53664 0.86513,-0.43312 1.80349,-0.96463 2.18247,-1.88529 0.47416,-1.06 0.23627,-2.48013 -0.82794,-3.13884 -1.38602,-0.86075 -3.13948,-0.57126 -4.70548,-0.65064 -0.62267,-0.002 -1.24536,-9.7e-4 -1.86805,0.002 z m 3.07586,0.6417 c 0.90454,-0.0793 1.74186,0.14136 2.14009,1.0098 0.37532,0.91483 0.28786,2.05961 -0.24106,2.90503 -0.62531,0.88472 -1.62431,0.73658 -2.59595,0.76855 -0.16559,0.006 -0.3865,0.0142 -0.30131,-0.21639 -0.0284,-1.49059 0.007,-2.98135 0.0158,-4.47197 0.3275,0.002 0.655,0.003 0.9825,0.005 z" id="path4021" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccccccccccccccccccccccccccc"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 424.5829,541.1526 c -1.66605,0.0331 -3.35851,-0.0391 -5.00806,0.0597 -0.14186,0.74194 -0.42212,1.49335 -0.43983,2.24594 0.25025,0.30478 0.69216,-0.0559 0.78853,-0.3298 0.37607,-0.74485 1.11825,-1.39466 2.04929,-1.35154 0.54675,-0.0276 1.09432,-0.0393 1.64145,-0.0597 -0.0313,3.00275 0.0707,6.01301 -0.0785,9.0111 -0.1588,0.42727 -0.79408,0.30259 -1.1676,0.41288 -0.30883,0.0332 -0.36267,0.50609 -0.0131,0.50241 1.51279,0.0581 3.03961,0.0762 4.54994,-0.01 0.37443,-0.0812 0.12378,-0.55138 -0.18587,-0.49743 -0.34526,-0.0984 -0.75199,-0.0216 -0.89044,-0.41288 -0.14468,-2.39829 -0.0233,-4.80783 -0.0474,-7.21034 0.003,-0.59777 0.005,-1.19553 0.008,-1.79329 1.09221,0.10169 2.29269,-0.18024 3.04759,0.77351 0.33288,0.32355 0.43814,0.94942 0.95555,1.07198 0.60343,0.0408 0.0605,-0.74199 0.10684,-1.06038 -0.14189,-0.40656 -0.0771,-0.93164 -0.33191,-1.28006 -1.63813,-0.15654 -3.33068,-0.0423 -4.98451,-0.0721 z" id="path4023" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccccccccccc"/>
|
||||
<path style="fill:#fffffe;fill-opacity:1;stroke:none" d="m 431.22624,541.1352 c -0.31106,0.0683 -0.77549,-0.12369 -0.99312,0.18156 -0.0696,0.49335 0.58423,0.39349 0.86207,0.47008 0.47064,-0.0301 0.33199,0.66746 0.39541,0.97497 0.0206,2.56684 0.0618,5.13757 -0.0254,7.70284 -0.002,0.27431 -0.0806,0.6324 -0.41547,0.56992 -0.26325,0.0889 -0.88765,-0.002 -0.81671,0.46724 0.22731,0.30006 0.68773,0.11234 1.0023,0.17908 1.08582,-0.0373 2.19179,0.0881 3.26668,-0.0721 0.25483,-0.15966 0.004,-0.5236 -0.23907,-0.47257 -0.31283,-0.13064 -0.64884,0.0443 -0.68831,-0.47256 -0.13002,-1.42458 -0.0537,-2.8779 -0.0989,-4.3128 1.80613,0 2.90536,0 4.71149,0 -0.051,1.45585 0.0429,2.9345 -0.11265,4.37746 -0.10244,0.47054 -0.25712,0.2612 -0.56799,0.42531 -0.32448,0.0315 -0.26055,0.56496 0.0644,0.49992 1.28797,0.0327 2.58766,0.0799 3.8713,-0.0248 0.30665,-0.0935 0.0948,-0.54387 -0.16782,-0.49993 -0.34197,-0.0565 -0.99603,-0.0529 -0.93104,-0.60688 -0.0607,-2.73613 -0.0536,-5.47634 -0.005,-8.2127 -0.066,-0.49025 0.46383,-0.56935 0.79311,-0.58201 0.24888,0.0431 0.63066,-0.23625 0.38851,-0.50489 -0.76822,-0.18606 -1.58858,-0.0426 -2.37472,-0.0896 -0.59164,0.0491 -1.22948,-0.0959 -1.79772,0.0995 -0.22047,0.28279 0.16113,0.53059 0.40459,0.49745 0.30303,0.0406 0.3702,0.0254 0.34731,0.48997 0.1048,1.11801 0.0499,2.24767 0.0851,3.37014 -1.80537,0 -2.90381,0 -4.70919,0 0.062,-1.18954 -0.0707,-2.42134 0.13334,-3.58652 0.20031,-0.37273 0.44762,-0.18477 0.76875,-0.33826 0.29802,-0.0181 0.29659,-0.5312 -0.0184,-0.49744 -1.04217,-0.0676 -2.08957,-0.0226 -3.13333,-0.0323 z" id="path4025" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccccccccccccccccccccccccccccccc"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 23 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user