Skip to content

Commit 32b2f56

Browse files
committed
update client
1 parent e828da1 commit 32b2f56

File tree

2 files changed

+7
-27
lines changed

2 files changed

+7
-27
lines changed

api/_generated/skyApi.schemas.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,10 +2851,6 @@ end?: string;
28512851
fullOrderBook?: boolean;
28522852
};
28532853

2854-
export type GetApiBazaarItemTagExport401One = {
2855-
message?: string;
2856-
};
2857-
28582854
export type GetApiCraftProfitParams = {
28592855
player?: string;
28602856
profile?: string;

api/_generated/skyApi.ts

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ import type {
6767
GetApiAuctionsTagItemTagArchiveOverviewParams,
6868
GetApiAuctionsTagItemTagRecentOverviewParams,
6969
GetApiAuctionsTagItemTagSoldParams,
70-
GetApiBazaarItemTagExport401One,
7170
GetApiBazaarItemTagExportParams,
7271
GetApiBazaarItemTagHistoryParams,
7372
GetApiBazaarItemTagSnapshotParams,
@@ -2453,23 +2452,8 @@ export type getApiBazaarItemTagExportResponse200 = {
24532452
data: null
24542453
status: 200
24552454
}
2456-
2457-
export type getApiBazaarItemTagExportResponse401ApplicationJson = {
2458-
data: GetApiBazaarItemTagExport401One
2459-
status: 401
2460-
}
2461-
2462-
export type getApiBazaarItemTagExportResponse401TextPlain = {
2463-
data: string
2464-
status: 401
2465-
}
2466-
2467-
export type getApiBazaarItemTagExportResponse403 = {
2468-
data: null
2469-
status: 403
2470-
}
24712455

2472-
export type getApiBazaarItemTagExportResponseComposite = getApiBazaarItemTagExportResponse200 | getApiBazaarItemTagExportResponse401ApplicationJson | getApiBazaarItemTagExportResponse401TextPlain | getApiBazaarItemTagExportResponse403;
2456+
export type getApiBazaarItemTagExportResponseComposite = getApiBazaarItemTagExportResponse200;
24732457

24742458
export type getApiBazaarItemTagExportResponse = getApiBazaarItemTagExportResponseComposite & {
24752459
headers: Headers;
@@ -2517,7 +2501,7 @@ export const getGetApiBazaarItemTagExportQueryKey = (itemTag?: string,
25172501
}
25182502

25192503

2520-
export const getGetApiBazaarItemTagExportQueryOptions = <TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = GetApiBazaarItemTagExport401One | string | null>(itemTag: string,
2504+
export const getGetApiBazaarItemTagExportQueryOptions = <TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = unknown>(itemTag: string,
25212505
params?: GetApiBazaarItemTagExportParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError, TData>>, fetch?: RequestInit}
25222506
) => {
25232507

@@ -2537,10 +2521,10 @@ const {query: queryOptions, fetch: fetchOptions} = options ?? {};
25372521
}
25382522

25392523
export type GetApiBazaarItemTagExportQueryResult = NonNullable<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>>
2540-
export type GetApiBazaarItemTagExportQueryError = GetApiBazaarItemTagExport401One | string | null
2524+
export type GetApiBazaarItemTagExportQueryError = unknown
25412525

25422526

2543-
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = GetApiBazaarItemTagExport401One | string | null>(
2527+
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = unknown>(
25442528
itemTag: string,
25452529
params: undefined | GetApiBazaarItemTagExportParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError, TData>> & Pick<
25462530
DefinedInitialDataOptions<
@@ -2551,7 +2535,7 @@ export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof g
25512535
>, fetch?: RequestInit}
25522536
, queryClient?: QueryClient
25532537
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }
2554-
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = GetApiBazaarItemTagExport401One | string | null>(
2538+
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = unknown>(
25552539
itemTag: string,
25562540
params?: GetApiBazaarItemTagExportParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError, TData>> & Pick<
25572541
UndefinedInitialDataOptions<
@@ -2562,7 +2546,7 @@ export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof g
25622546
>, fetch?: RequestInit}
25632547
, queryClient?: QueryClient
25642548
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }
2565-
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = GetApiBazaarItemTagExport401One | string | null>(
2549+
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = unknown>(
25662550
itemTag: string,
25672551
params?: GetApiBazaarItemTagExportParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError, TData>>, fetch?: RequestInit}
25682552
, queryClient?: QueryClient
@@ -2573,7 +2557,7 @@ For longer timeframes we only keep 5min increments and return those, optionally
25732557
Note that this endpoint requires a google id token of an account with prem+ and is subject to strict non distribute and non profit license terms
25742558
*/
25752559

2576-
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = GetApiBazaarItemTagExport401One | string | null>(
2560+
export function useGetApiBazaarItemTagExport<TData = Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError = unknown>(
25772561
itemTag: string,
25782562
params?: GetApiBazaarItemTagExportParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiBazaarItemTagExport>>, TError, TData>>, fetch?: RequestInit}
25792563
, queryClient?: QueryClient

0 commit comments

Comments
 (0)