Skip to content

Commit 3d42ef6

Browse files
chore(webapp): refresh generated API client
1 parent e015126 commit 3d42ef6

14 files changed

Lines changed: 47 additions & 43 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
No release note: this refreshes generated client imports without changing the public API or runtime behavior.

webapp/src/api/@tanstack/react-query.gen.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

webapp/src/api/client.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import { type Client, type ClientOptions, type Config, createClient, createConfig } from './client';
4-
import type { ClientOptions as ClientOptions2 } from './types.gen';
3+
import { type Client, type ClientOptions, type Config, createClient, createConfig } from './client/index.js';
4+
import type { ClientOptions as ClientOptions2 } from './types.gen.js';
55

66
/**
77
* The `createClientConfig()` function will be called on client initialization

webapp/src/api/client/client.gen.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import { createSseClient } from '../core/serverSentEvents.gen';
4-
import type { HttpMethod } from '../core/types.gen';
5-
import { getValidRequestBody } from '../core/utils.gen';
6-
import type { Client, Config, RequestOptions, ResolvedRequestOptions } from './types.gen';
3+
import { createSseClient } from '../core/serverSentEvents.gen.js';
4+
import type { HttpMethod } from '../core/types.gen.js';
5+
import { getValidRequestBody } from '../core/utils.gen.js';
6+
import type { Client, Config, RequestOptions, ResolvedRequestOptions } from './types.gen.js';
77
import {
88
buildUrl,
99
createConfig,
@@ -12,7 +12,7 @@ import {
1212
mergeConfigs,
1313
mergeHeaders,
1414
setAuthParams,
15-
} from './utils.gen';
15+
} from './utils.gen.js';
1616

1717
type ReqInit = Omit<RequestInit, 'body' | 'headers'> & {
1818
body?: any;

webapp/src/api/client/index.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
export type { Auth } from '../core/auth.gen';
4-
export type { QuerySerializerOptions } from '../core/bodySerializer.gen';
3+
export type { Auth } from '../core/auth.gen.js';
4+
export type { QuerySerializerOptions } from '../core/bodySerializer.gen.js';
55
export {
66
formDataBodySerializer,
77
jsonBodySerializer,
88
urlSearchParamsBodySerializer,
9-
} from '../core/bodySerializer.gen';
10-
export { buildClientParams } from '../core/params.gen';
11-
export { serializeQueryKeyValue } from '../core/queryKeySerializer.gen';
12-
export type { ServerSentEventsResult } from '../core/serverSentEvents.gen';
13-
export type { ClientMeta } from '../core/types.gen';
14-
export { createClient } from './client.gen';
9+
} from '../core/bodySerializer.gen.js';
10+
export { buildClientParams } from '../core/params.gen.js';
11+
export { serializeQueryKeyValue } from '../core/queryKeySerializer.gen.js';
12+
export type { ServerSentEventsResult } from '../core/serverSentEvents.gen.js';
13+
export type { ClientMeta } from '../core/types.gen.js';
14+
export { createClient } from './client.gen.js';
1515
export type {
1616
Client,
1717
ClientOptions,
@@ -23,5 +23,5 @@ export type {
2323
ResolvedRequestOptions,
2424
ResponseStyle,
2525
TDataShape,
26-
} from './types.gen';
27-
export { createConfig, mergeHeaders } from './utils.gen';
26+
} from './types.gen.js';
27+
export { createConfig, mergeHeaders } from './utils.gen.js';

webapp/src/api/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import type { Auth } from '../core/auth.gen';
3+
import type { Auth } from '../core/auth.gen.js';
44
import type {
55
ServerSentEventsOptions,
66
ServerSentEventsResult,
7-
} from '../core/serverSentEvents.gen';
8-
import type { Client as CoreClient, Config as CoreConfig } from '../core/types.gen';
9-
import type { Middleware } from './utils.gen';
7+
} from '../core/serverSentEvents.gen.js';
8+
import type { Client as CoreClient, Config as CoreConfig } from '../core/types.gen.js';
9+
import type { Middleware } from './utils.gen.js';
1010

1111
export type ResponseStyle = 'data' | 'fields';
1212

webapp/src/api/client/utils.gen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import { getAuthToken } from '../core/auth.gen';
4-
import type { QuerySerializerOptions } from '../core/bodySerializer.gen';
5-
import { jsonBodySerializer } from '../core/bodySerializer.gen';
3+
import { getAuthToken } from '../core/auth.gen.js';
4+
import type { QuerySerializerOptions } from '../core/bodySerializer.gen.js';
5+
import { jsonBodySerializer } from '../core/bodySerializer.gen.js';
66
import {
77
serializeArrayParam,
88
serializeObjectParam,
99
serializePrimitiveParam,
10-
} from '../core/pathSerializer.gen';
11-
import { getUrl } from '../core/utils.gen';
12-
import type { Client, ClientOptions, Config, RequestOptions } from './types.gen';
10+
} from '../core/pathSerializer.gen.js';
11+
import { getUrl } from '../core/utils.gen.js';
12+
import type { Client, ClientOptions, Config, RequestOptions } from './types.gen.js';
1313

1414
export const createQuerySerializer = <T = unknown>({
1515
parameters = {},

webapp/src/api/core/bodySerializer.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import type { ArrayStyle, ObjectStyle, SerializerOptions } from './pathSerializer.gen';
3+
import type { ArrayStyle, ObjectStyle, SerializerOptions } from './pathSerializer.gen.js';
44

55
export type QuerySerializer = (query: Record<string, unknown>) => string;
66

webapp/src/api/core/serverSentEvents.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import type { Config } from './types.gen';
3+
import type { Config } from './types.gen.js';
44

55
export type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> &
66
Pick<Config, 'method' | 'responseTransformer' | 'responseValidator'> & {

webapp/src/api/core/types.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3-
import type { Auth, AuthToken } from './auth.gen';
4-
import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen';
3+
import type { Auth, AuthToken } from './auth.gen.js';
4+
import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen.js';
55

66
export type HttpMethod =
77
| 'connect'

0 commit comments

Comments
 (0)