feat: добавить ручной runtime-клиент
- добавлен корневой runtime export HttpClient и createApiClient - настроена сборка JS и d.ts для публичного API пакета - добавлен тест ручной сборки operations через createApiClient - добавлена документация по ручному клиенту без OpenAPI - версия пакета поднята до 5.1.0
This commit is contained in:
20
src/index.ts
Normal file
20
src/index.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export { createApiClient } from './client/create-api-client.js';
|
||||
export type { ApiOperation, ApiTree, BoundApi } from './client/create-api-client.js';
|
||||
export { ApiError, ContentType, HttpClient } from './client/http-client.js';
|
||||
export type {
|
||||
ApiConfig,
|
||||
ApiRequestClient,
|
||||
CancelToken,
|
||||
ErrorInterceptor,
|
||||
FetchLike,
|
||||
FullRequestParams,
|
||||
HttpResponse,
|
||||
ParamsSerializer,
|
||||
QueryParamsType,
|
||||
RequestContext,
|
||||
RequestInterceptor,
|
||||
RequestParams,
|
||||
ResponseFormat,
|
||||
ResponseInterceptor,
|
||||
ResponseParser,
|
||||
} from './client/http-client.js';
|
||||
Reference in New Issue
Block a user