mirror of
https://github.com/evroon/bracket.git
synced 2026-04-20 07:16:59 -04:00
Update openapi-ts (#1483)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is auto-generated by @hey-api/openapi-ts
|
||||
|
||||
import type {
|
||||
AxiosError,
|
||||
AxiosInstance,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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'> &
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is auto-generated by @hey-api/openapi-ts
|
||||
|
||||
import type { BodySerializer, QuerySerializer } from './bodySerializer.gen';
|
||||
import {
|
||||
type ArraySeparatorStyle,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user