From 30005a4818dd08cc41671f7ce026ea7eaca5942e Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Wed, 5 Mar 2025 22:16:42 +0100 Subject: [PATCH] Oprava buildu --- client/src/api/Client.ts | 8 -------- types/openapi-ts.config.ts | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 client/src/api/Client.ts diff --git a/client/src/api/Client.ts b/client/src/api/Client.ts deleted file mode 100644 index 2c5d5c6..0000000 --- a/client/src/api/Client.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { client } from '../../../types/gen/client.gen'; -import { getToken } from '../Utils'; - -client.setConfig({ - auth: () => getToken(), -}); - -export default client \ No newline at end of file diff --git a/types/openapi-ts.config.ts b/types/openapi-ts.config.ts index b63c998..82bc237 100644 --- a/types/openapi-ts.config.ts +++ b/types/openapi-ts.config.ts @@ -1,11 +1,11 @@ -import { defaultPlugins } from '@hey-api/openapi-ts'; +// import { defaultPlugins } from '@hey-api/openapi-ts'; export default { input: 'api.yml', output: 'gen', plugins: [ - ...defaultPlugins, - '@hey-api/client-fetch', + // ...defaultPlugins, + // '@hey-api/client-fetch', { enums: 'javascript', name: '@hey-api/typescript',