Skip to content

Commit

Permalink
chore(client): regenerate 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 17, 2024
1 parent 8e72c38 commit 2d646a6
Show file tree
Hide file tree
Showing 7 changed files with 751 additions and 52 deletions.
1 change: 1 addition & 0 deletions packages/client/openapi-ts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export default defineConfig({
output: './src/generated',
client: 'fetch',
enums: 'javascript',
types: { name: 'PascalCase' },
schemas: false
});
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.39.0",
"@hey-api/openapi-ts": "^0.40.0",
"@yd/api": "workspace:*",
"@yd/config": "workspace:*",
"prettier": "^3.2.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/client/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
export { ApiError } from './core/ApiError';
export { CancelablePromise, CancelError } from './core/CancelablePromise';
export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
export * from './models.gen';
export * from './enums.gen';
export * from './services.gen';
export * from './types.gen';
2 changes: 1 addition & 1 deletion packages/client/src/generated/services.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import type { CancelablePromise } from './core/CancelablePromise';
import { OpenAPI } from './core/OpenAPI';
import { request as __request } from './core/request';
import type { $OpenApiTs } from './models.gen';
import type { $OpenApiTs } from './types.gen';

export class SearchService {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type DownloadStatus = {
readonly progress: number | null;
};

export type HTTPValidationError = {
export type HttpValidationError = {
detail?: Array<ValidationError>;
};

Expand Down
1 change: 0 additions & 1 deletion packages/client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './generated';
export * from './generated/enums.gen';
export * from './defaults';
export * from './DownloadsStatusService';
Loading

0 comments on commit 2d646a6

Please sign in to comment.