Update openapi-ts (#1483)

This commit is contained in:
Erik Vroon
2025-12-21 18:45:45 +01:00
committed by GitHub
parent c520075762
commit b1d46777ca
11 changed files with 17 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
"dev": "vite",
"build": "vite build",
"analyze": "ANALYZE=true vite build",
"openapi-ts": "openapi-ts",
"openapi-ts": "openapi-ts && prettier --list-different --write \"**/*.{ts,tsx}\"",
"start": "vite start",
"typecheck": "tsc",
"export": "vite build && vite export",

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import { type ClientOptions, type Config, createClient, createConfig } from './client';
import type { ClientOptions as ClientOptions2 } from './types.gen';

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { AxiosError, AxiosInstance, RawAxiosRequestHeaders } from 'axios';
import axios from 'axios';

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type {
AxiosError,
AxiosInstance,

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import { getAuthToken } from '../core/auth.gen';
import type { QuerySerializerOptions } from '../core/bodySerializer.gen';
import {

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { ArrayStyle, ObjectStyle, SerializerOptions } from './pathSerializer.gen';
export type QuerySerializer = (query: Record<string, unknown>) => string;

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { Config } from './types.gen';
export type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> &

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { Auth, AuthToken } from './auth.gen';
import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen';

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { BodySerializer, QuerySerializer } from './bodySerializer.gen';
import {
type ArraySeparatorStyle,

View File

@@ -1,9 +1,10 @@
// This file is auto-generated by @hey-api/openapi-ts
import {
type Client,
formDataBodySerializer,
type Options as Options2,
type TDataShape,
formDataBodySerializer,
urlSearchParamsBodySerializer,
} from './client';
import { client } from './client.gen';
@@ -91,11 +92,11 @@ import type {
GetMatchesToScheduleTournamentsTournamentIdStageItemsStageItemIdUpcomingMatchesGetData,
GetMatchesToScheduleTournamentsTournamentIdStageItemsStageItemIdUpcomingMatchesGetErrors,
GetMatchesToScheduleTournamentsTournamentIdStageItemsStageItemIdUpcomingMatchesGetResponses,
GetMetricsMetricsGetData,
GetMetricsMetricsGetResponses,
GetMeUsersUserIdGetData,
GetMeUsersUserIdGetErrors,
GetMeUsersUserIdGetResponses,
GetMetricsMetricsGetData,
GetMetricsMetricsGetResponses,
GetNextStageRankingsTournamentsTournamentIdNextStageRankingsGetData,
GetNextStageRankingsTournamentsTournamentIdNextStageRankingsGetErrors,
GetNextStageRankingsTournamentsTournamentIdNextStageRankingsGetResponses,
@@ -111,12 +112,12 @@ import type {
GetTeamsTournamentsTournamentIdTeamsGetData,
GetTeamsTournamentsTournamentIdTeamsGetErrors,
GetTeamsTournamentsTournamentIdTeamsGetResponses,
GetTournamentTournamentsTournamentIdGetData,
GetTournamentTournamentsTournamentIdGetErrors,
GetTournamentTournamentsTournamentIdGetResponses,
GetTournamentsTournamentsGetData,
GetTournamentsTournamentsGetErrors,
GetTournamentsTournamentsGetResponses,
GetTournamentTournamentsTournamentIdGetData,
GetTournamentTournamentsTournamentIdGetErrors,
GetTournamentTournamentsTournamentIdGetResponses,
GetUserUsersMeGetData,
GetUserUsersMeGetResponses,
LoginForAccessTokenTokenPostData,

View File

@@ -2,8 +2,8 @@ import { Button, Container, Group, Text, Title } from '@mantine/core';
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router';
import { tokenPresent } from '@services/local_storage';
import classes from '@pages/404.module.css';
import { tokenPresent } from '@services/local_storage';
export default function NotFoundPage() {
const navigate = useNavigate();