这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ninety-glasses-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hey-api/openapi-ts': patch
---

feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes.
5 changes: 5 additions & 0 deletions packages/openapi-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,17 @@ export type {
OpenApiResponseObject,
OpenApiSchemaObject,
} from './openApi/types';
export type { AngularClient } from './plugins/@hey-api/client-angular';
export type { AxiosClient } from './plugins/@hey-api/client-axios';
export {
clientDefaultConfig,
clientDefaultMeta,
} from './plugins/@hey-api/client-core/config';
export { clientPluginHandler } from './plugins/@hey-api/client-core/plugin';
export type { Client } from './plugins/@hey-api/client-core/types';
export type { FetchClient } from './plugins/@hey-api/client-fetch';
export type { NextClient } from './plugins/@hey-api/client-next';
export type { NuxtClient } from './plugins/@hey-api/client-nuxt';
export type { ExpressionTransformer } from './plugins/@hey-api/transformers/expressions';
export type { TypeTransformer } from './plugins/@hey-api/transformers/types';
export { definePluginConfig } from './plugins/shared/utils/config';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export type { Client as AngularClient } from './bundle/types';
export { defaultConfig, defineConfig } from './config';
export type { HeyApiClientAngularPlugin } from './types';
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export type { Client as AxiosClient } from './bundle/types';
export { defaultConfig, defineConfig } from './config';
export type { HeyApiClientAxiosPlugin } from './types';
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export type { Client as FetchClient } from './bundle/types';
export { defaultConfig, defineConfig } from './config';
export type { HeyApiClientFetchPlugin } from './types';
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export type { Client as NextClient } from './bundle/types';
export { defaultConfig, defineConfig } from './config';
export type { HeyApiClientNextPlugin } from './types';
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export type { Client as NuxtClient } from './bundle/types';
export { defaultConfig, defineConfig } from './config';
export type { HeyApiClientNuxtPlugin } from './types';
Loading