Skip to content

Commit

Permalink
chore(client): generate with latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Apr 9, 2024
1 parent 9b46764 commit ba8bf98
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 38 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"format": "prettier --write ."
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.36.2",
"@hey-api/openapi-ts": "^0.37.0",
"@yd/api": "workspace:*",
"@yd/config": "workspace:*",
"prettier": "^3.2.5",
Expand Down
3 changes: 0 additions & 3 deletions packages/client/src/generated/core/OpenAPI.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ApiRequestOptions } from './ApiRequestOptions';
import type { TResult } from './types';

type Headers = Record<string, string>;
type Middleware<T> = (value: T) => T | Promise<T>;
Expand Down Expand Up @@ -30,7 +29,6 @@ export type OpenAPIConfig = {
ENCODE_PATH?: ((path: string) => string) | undefined;
HEADERS?: Headers | Resolver<Headers> | undefined;
PASSWORD?: string | Resolver<string> | undefined;
RESULT?: TResult;
TOKEN?: string | Resolver<string> | undefined;
USERNAME?: string | Resolver<string> | undefined;
VERSION: string;
Expand All @@ -44,7 +42,6 @@ export const OpenAPI: OpenAPIConfig = {
ENCODE_PATH: undefined,
HEADERS: undefined,
PASSWORD: undefined,
RESULT: 'body',
TOKEN: undefined,
USERNAME: undefined,
VERSION: '1.0.0',
Expand Down
10 changes: 0 additions & 10 deletions packages/client/src/generated/core/types.ts

This file was deleted.

48 changes: 24 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba8bf98

Please sign in to comment.