@hey-api/openapi-ts 0.87.1 → 0.87.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/clients/ky/client.ts +339 -0
- package/dist/clients/ky/index.ts +24 -0
- package/dist/clients/ky/types.ts +271 -0
- package/dist/clients/ky/utils.ts +328 -0
- package/dist/{config-PWeoedFF.d.cts → config-CQeoZYf_.d.cts} +59 -22
- package/dist/{config-CNi83ZTD.d.ts → config-U5JEpxGS.d.ts} +59 -22
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/openApi-CT-iM-D8.cjs +19 -0
- package/dist/openApi-CT-iM-D8.cjs.map +1 -0
- package/dist/openApi-HKXoyF4o.js +19 -0
- package/dist/openApi-HKXoyF4o.js.map +1 -0
- package/dist/run.cjs +1 -1
- package/dist/run.cjs.map +1 -1
- package/dist/run.js +1 -1
- package/dist/run.js.map +1 -1
- package/dist/{src-CZCpIWy7.js → src-Ba-zyEiS.js} +2 -2
- package/dist/{src-CZCpIWy7.js.map → src-Ba-zyEiS.js.map} +1 -1
- package/dist/{src-Cvd6zAsc.cjs → src-CNO_U6s-.cjs} +2 -2
- package/dist/{src-Cvd6zAsc.cjs.map → src-CNO_U6s-.cjs.map} +1 -1
- package/package.json +4 -3
- package/dist/openApi-CCTdD3hW.cjs +0 -19
- package/dist/openApi-CCTdD3hW.cjs.map +0 -1
- package/dist/openApi-D7xrG_wR.js +0 -19
- package/dist/openApi-D7xrG_wR.js.map +0 -1
|
@@ -2801,7 +2801,7 @@ type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCRE
|
|
|
2801
2801
|
type StringName = string | ((name: string) => string);
|
|
2802
2802
|
//#endregion
|
|
2803
2803
|
//#region src/plugins/@angular/common/types.d.ts
|
|
2804
|
-
type UserConfig$
|
|
2804
|
+
type UserConfig$23 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
|
|
2805
2805
|
/**
|
|
2806
2806
|
* Should the exports from the generated files be re-exported in the index
|
|
2807
2807
|
* barrel file?
|
|
@@ -2932,7 +2932,7 @@ type Config$21 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
|
|
|
2932
2932
|
methodNameBuilder: (operation: IR.OperationObject) => string;
|
|
2933
2933
|
};
|
|
2934
2934
|
};
|
|
2935
|
-
type AngularCommonPlugin = DefinePlugin<UserConfig$
|
|
2935
|
+
type AngularCommonPlugin = DefinePlugin<UserConfig$23, Config$21>;
|
|
2936
2936
|
//#endregion
|
|
2937
2937
|
//#region src/plugins/@hey-api/client-core/bundle/auth.d.ts
|
|
2938
2938
|
type AuthToken = string | undefined;
|
|
@@ -3318,7 +3318,7 @@ type OmitKeys$4<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
3318
3318
|
type Options$4<TData extends TDataShape$4 = TDataShape$4, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$4<RequestOptions$4<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3319
3319
|
//#endregion
|
|
3320
3320
|
//#region src/plugins/@hey-api/client-axios/types.d.ts
|
|
3321
|
-
type UserConfig$
|
|
3321
|
+
type UserConfig$22 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
|
|
3322
3322
|
/**
|
|
3323
3323
|
* Throw an error instead of returning it in the response?
|
|
3324
3324
|
*
|
|
@@ -3326,7 +3326,7 @@ type UserConfig$21 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
|
|
|
3326
3326
|
*/
|
|
3327
3327
|
throwOnError?: boolean;
|
|
3328
3328
|
};
|
|
3329
|
-
type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$
|
|
3329
|
+
type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$22, UserConfig$22>;
|
|
3330
3330
|
//#endregion
|
|
3331
3331
|
//#region src/plugins/@hey-api/client-fetch/bundle/utils.d.ts
|
|
3332
3332
|
type ErrInterceptor$2<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
|
|
@@ -3453,7 +3453,7 @@ type OmitKeys$3<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
3453
3453
|
type Options$3<TData extends TDataShape$3 = TDataShape$3, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$1 = 'fields'> = OmitKeys$3<RequestOptions$3<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3454
3454
|
//#endregion
|
|
3455
3455
|
//#region src/plugins/@hey-api/client-fetch/types.d.ts
|
|
3456
|
-
type UserConfig$
|
|
3456
|
+
type UserConfig$21 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
|
|
3457
3457
|
/**
|
|
3458
3458
|
* Throw an error instead of returning it in the response?
|
|
3459
3459
|
*
|
|
@@ -3461,7 +3461,7 @@ type UserConfig$20 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
|
|
|
3461
3461
|
*/
|
|
3462
3462
|
throwOnError?: boolean;
|
|
3463
3463
|
};
|
|
3464
|
-
type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$
|
|
3464
|
+
type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$21, UserConfig$21>;
|
|
3465
3465
|
//#endregion
|
|
3466
3466
|
//#region src/plugins/@hey-api/client-next/bundle/utils.d.ts
|
|
3467
3467
|
type ErrInterceptor$1<Err, Res, Options$6> = (error: Err, response: Res, options: Options$6) => Err | Promise<Err>;
|
|
@@ -3570,7 +3570,7 @@ type OmitKeys$2<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
3570
3570
|
type Options$2<TData extends TDataShape$2 = TDataShape$2, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$2<RequestOptions$2<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3571
3571
|
//#endregion
|
|
3572
3572
|
//#region src/plugins/@hey-api/client-next/types.d.ts
|
|
3573
|
-
type UserConfig$
|
|
3573
|
+
type UserConfig$20 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
|
|
3574
3574
|
/**
|
|
3575
3575
|
* Throw an error instead of returning it in the response?
|
|
3576
3576
|
*
|
|
@@ -3578,7 +3578,7 @@ type UserConfig$19 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
|
|
|
3578
3578
|
*/
|
|
3579
3579
|
throwOnError?: boolean;
|
|
3580
3580
|
};
|
|
3581
|
-
type HeyApiClientNextPlugin = DefinePlugin<UserConfig$
|
|
3581
|
+
type HeyApiClientNextPlugin = DefinePlugin<UserConfig$20, UserConfig$20>;
|
|
3582
3582
|
//#endregion
|
|
3583
3583
|
//#region src/plugins/@hey-api/client-nuxt/bundle/types.d.ts
|
|
3584
3584
|
type QuerySerializer = (query: Parameters<Client$3['buildUrl']>[0]['query']) => string;
|
|
@@ -3650,8 +3650,8 @@ type FetchOptions$1<TData> = Omit<UseFetchOptions<TData, TData>, keyof AsyncData
|
|
|
3650
3650
|
type Composable = '$fetch' | 'useAsyncData' | 'useFetch' | 'useLazyAsyncData' | 'useLazyFetch';
|
|
3651
3651
|
//#endregion
|
|
3652
3652
|
//#region src/plugins/@hey-api/client-nuxt/types.d.ts
|
|
3653
|
-
type UserConfig$
|
|
3654
|
-
type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$
|
|
3653
|
+
type UserConfig$19 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
|
|
3654
|
+
type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$19, UserConfig$19>;
|
|
3655
3655
|
//#endregion
|
|
3656
3656
|
//#region src/plugins/@hey-api/client-ofetch/bundle/utils.d.ts
|
|
3657
3657
|
type ErrInterceptor<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
|
|
@@ -3838,7 +3838,7 @@ type OmitKeys<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
3838
3838
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3839
3839
|
//#endregion
|
|
3840
3840
|
//#region src/plugins/@hey-api/client-ofetch/types.d.ts
|
|
3841
|
-
type UserConfig$
|
|
3841
|
+
type UserConfig$18 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
|
|
3842
3842
|
/**
|
|
3843
3843
|
* Throw an error instead of returning it in the response?
|
|
3844
3844
|
*
|
|
@@ -3846,7 +3846,7 @@ type UserConfig$17 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
|
|
|
3846
3846
|
*/
|
|
3847
3847
|
throwOnError?: boolean;
|
|
3848
3848
|
};
|
|
3849
|
-
type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$
|
|
3849
|
+
type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$18, UserConfig$18>;
|
|
3850
3850
|
//#endregion
|
|
3851
3851
|
//#region src/plugins/@hey-api/client-core/types.d.ts
|
|
3852
3852
|
interface PluginHandler {
|
|
@@ -3916,7 +3916,7 @@ declare namespace Client {
|
|
|
3916
3916
|
}
|
|
3917
3917
|
//#endregion
|
|
3918
3918
|
//#region src/plugins/@hey-api/client-angular/types.d.ts
|
|
3919
|
-
type UserConfig$
|
|
3919
|
+
type UserConfig$17 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
|
|
3920
3920
|
/**
|
|
3921
3921
|
* Throw an error instead of returning it in the response?
|
|
3922
3922
|
*
|
|
@@ -3924,7 +3924,18 @@ type UserConfig$16 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
|
|
|
3924
3924
|
*/
|
|
3925
3925
|
throwOnError?: boolean;
|
|
3926
3926
|
};
|
|
3927
|
-
type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$
|
|
3927
|
+
type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$17, UserConfig$17>;
|
|
3928
|
+
//#endregion
|
|
3929
|
+
//#region src/plugins/@hey-api/client-ky/types.d.ts
|
|
3930
|
+
type UserConfig$16 = Plugin.Name<'@hey-api/client-ky'> & Client.Config & {
|
|
3931
|
+
/**
|
|
3932
|
+
* Throw an error instead of returning it in the response?
|
|
3933
|
+
*
|
|
3934
|
+
* @default false
|
|
3935
|
+
*/
|
|
3936
|
+
throwOnError?: boolean;
|
|
3937
|
+
};
|
|
3938
|
+
type HeyApiClientKyPlugin = DefinePlugin<UserConfig$16, UserConfig$16>;
|
|
3928
3939
|
//#endregion
|
|
3929
3940
|
//#region src/openApi/2.0.x/types/json-schema-draft-4.d.ts
|
|
3930
3941
|
interface JsonSchemaDraft4 extends EnumExtensions {
|
|
@@ -10790,6 +10801,31 @@ type Config$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
|
|
|
10790
10801
|
};
|
|
10791
10802
|
type TanStackVueQueryPlugin = DefinePlugin<UserConfig$6, Config$5>;
|
|
10792
10803
|
//#endregion
|
|
10804
|
+
//#region src/ts-dsl/base.d.ts
|
|
10805
|
+
type MaybeArray$1<T> = T | ReadonlyArray<T>;
|
|
10806
|
+
type WithStatement<T = ts.Expression> = T | ts.Statement;
|
|
10807
|
+
type WithString<T = ts.Expression> = T | string;
|
|
10808
|
+
interface ITsDsl<T extends ts.Node = ts.Node> {
|
|
10809
|
+
$render(): T;
|
|
10810
|
+
}
|
|
10811
|
+
declare abstract class TsDsl<T extends ts.Node = ts.Node> implements ITsDsl<T> {
|
|
10812
|
+
abstract $render(): T;
|
|
10813
|
+
protected $expr<T>(expr: WithString<T>): T;
|
|
10814
|
+
/** Conditionally applies a callback to this builder. */
|
|
10815
|
+
$if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: (self: T, v: Exclude<V$1, false | null | undefined>) => R | void, ifFalse?: (self: T, v: Extract<V$1, false | null | undefined>) => R | void): R | T;
|
|
10816
|
+
$if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: (v: Exclude<V$1, false | null | undefined>) => R | void, ifFalse?: (v: Extract<V$1, false | null | undefined>) => R | void): R | T;
|
|
10817
|
+
$if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: () => R | void, ifFalse?: () => R | void): R | T;
|
|
10818
|
+
protected $node<I>(input: I): NodeOfMaybe<I>;
|
|
10819
|
+
protected $stmt(input: MaybeArray$1<MaybeTsDsl<WithString<WithStatement>>>): ReadonlyArray<ts.Statement>;
|
|
10820
|
+
protected $type<I>(input: I, args?: ReadonlyArray<ts.TypeNode>): TypeOfMaybe<I>;
|
|
10821
|
+
private _render;
|
|
10822
|
+
}
|
|
10823
|
+
type NodeOfMaybe<I> = undefined extends I ? NodeOf<NonNullable<I>> | undefined : NodeOf<I>;
|
|
10824
|
+
type NodeOf<I> = I extends ReadonlyArray<infer U> ? ReadonlyArray<U extends TsDsl<infer N> ? N : U> : I extends string ? ts.Expression : I extends boolean ? ts.Expression : I extends TsDsl<infer N> ? N : I extends ts.Node ? I : never;
|
|
10825
|
+
type MaybeTsDsl<T> = string extends T ? Exclude<T, string> extends ts.Node ? string | Exclude<T, string> | TsDsl<Exclude<T, string>> : string : T extends TsDsl<any> ? T : T extends ts.Node ? T | TsDsl<T> : never;
|
|
10826
|
+
type TypeOfMaybe<I> = undefined extends I ? TypeOf<NonNullable<I>> | undefined : TypeOf<I>;
|
|
10827
|
+
type TypeOf<I> = I extends ReadonlyArray<infer U> ? ReadonlyArray<TypeOf<U>> : I extends string ? ts.TypeNode : I extends boolean ? ts.LiteralTypeNode : I extends TsDsl<infer N> ? N : I extends ts.TypeNode ? I : never;
|
|
10828
|
+
//#endregion
|
|
10793
10829
|
//#region src/plugins/arktype/shared/types.d.ts
|
|
10794
10830
|
type ValidatorArgs$2 = {
|
|
10795
10831
|
operation: IR$1.OperationObject;
|
|
@@ -10798,8 +10834,8 @@ type ValidatorArgs$2 = {
|
|
|
10798
10834
|
//#endregion
|
|
10799
10835
|
//#region src/plugins/arktype/api.d.ts
|
|
10800
10836
|
type IApi$2 = {
|
|
10801
|
-
createRequestValidator: (args: ValidatorArgs$2) =>
|
|
10802
|
-
createResponseValidator: (args: ValidatorArgs$2) =>
|
|
10837
|
+
createRequestValidator: (args: ValidatorArgs$2) => TsDsl | undefined;
|
|
10838
|
+
createResponseValidator: (args: ValidatorArgs$2) => TsDsl | undefined;
|
|
10803
10839
|
};
|
|
10804
10840
|
//#endregion
|
|
10805
10841
|
//#region src/plugins/arktype/types.d.ts
|
|
@@ -12054,8 +12090,8 @@ type ValidatorArgs$1 = {
|
|
|
12054
12090
|
//#endregion
|
|
12055
12091
|
//#region src/plugins/valibot/api.d.ts
|
|
12056
12092
|
type IApi$1 = {
|
|
12057
|
-
createRequestValidator: (args: ValidatorArgs$1) =>
|
|
12058
|
-
createResponseValidator: (args: ValidatorArgs$1) =>
|
|
12093
|
+
createRequestValidator: (args: ValidatorArgs$1) => TsDsl | undefined;
|
|
12094
|
+
createResponseValidator: (args: ValidatorArgs$1) => TsDsl | undefined;
|
|
12059
12095
|
};
|
|
12060
12096
|
//#endregion
|
|
12061
12097
|
//#region src/plugins/valibot/types.d.ts
|
|
@@ -12363,8 +12399,8 @@ type ValidatorArgs = {
|
|
|
12363
12399
|
//#endregion
|
|
12364
12400
|
//#region src/plugins/zod/api.d.ts
|
|
12365
12401
|
type IApi = {
|
|
12366
|
-
createRequestValidator: (args: ValidatorArgs) =>
|
|
12367
|
-
createResponseValidator: (args: ValidatorArgs) =>
|
|
12402
|
+
createRequestValidator: (args: ValidatorArgs) => TsDsl | undefined;
|
|
12403
|
+
createResponseValidator: (args: ValidatorArgs) => TsDsl | undefined;
|
|
12368
12404
|
};
|
|
12369
12405
|
//#endregion
|
|
12370
12406
|
//#region src/plugins/zod/types.d.ts
|
|
@@ -13081,6 +13117,7 @@ interface PluginConfigMap {
|
|
|
13081
13117
|
'@hey-api/client-angular': HeyApiClientAngularPlugin['Types'];
|
|
13082
13118
|
'@hey-api/client-axios': HeyApiClientAxiosPlugin['Types'];
|
|
13083
13119
|
'@hey-api/client-fetch': HeyApiClientFetchPlugin['Types'];
|
|
13120
|
+
'@hey-api/client-ky': HeyApiClientKyPlugin['Types'];
|
|
13084
13121
|
'@hey-api/client-next': HeyApiClientNextPlugin['Types'];
|
|
13085
13122
|
'@hey-api/client-nuxt': HeyApiClientNuxtPlugin['Types'];
|
|
13086
13123
|
'@hey-api/client-ofetch': HeyApiClientOfetchPlugin['Types'];
|
|
@@ -13554,7 +13591,7 @@ type Hooks = {
|
|
|
13554
13591
|
};
|
|
13555
13592
|
//#endregion
|
|
13556
13593
|
//#region src/plugins/types.d.ts
|
|
13557
|
-
type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch';
|
|
13594
|
+
type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-ky' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch';
|
|
13558
13595
|
type PluginValidatorNames = 'arktype' | 'valibot' | 'zod';
|
|
13559
13596
|
type PluginNames = PluginClientNames | '@angular/common' | '@hey-api/schemas' | '@hey-api/sdk' | '@hey-api/transformers' | '@hey-api/typescript' | '@pinia/colada' | '@tanstack/angular-query-experimental' | '@tanstack/react-query' | '@tanstack/solid-query' | '@tanstack/svelte-query' | '@tanstack/vue-query' | 'fastify' | 'swr' | PluginValidatorNames;
|
|
13560
13597
|
type AnyPluginName = PluginNames | (string & {});
|
|
@@ -14691,4 +14728,4 @@ type Config = Omit<Required<UserConfig>, 'input' | 'logs' | 'output' | 'parser'
|
|
|
14691
14728
|
};
|
|
14692
14729
|
//#endregion
|
|
14693
14730
|
export { Client$6 as C, LazyOrAsync as D, IR$1 as E, MaybeArray as O, Client$5 as S, StringCase as T, Client as _, Plugin as a, Client$3 as b, OpenApiOperationObject as c, OpenApiResponseObject as d, OpenApiSchemaObject as f, ExpressionTransformer as g, TypeTransformer as h, DefinePlugin as i, OpenApiParameterObject as l, Logger as m, UserConfig as n, OpenApi as o, Context as p, Input as r, OpenApiMetaObject as s, Config as t, OpenApiRequestBodyObject as u, PluginHandler as v, Client$7 as w, Client$4 as x, Client$2 as y };
|
|
14694
|
-
//# sourceMappingURL=config-
|
|
14731
|
+
//# sourceMappingURL=config-U5JEpxGS.d.ts.map
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-CT-iM-D8.cjs`),t=require(`./src-CNO_U6s-.cjs`);exports.Logger=t.i,exports.clientDefaultConfig=e.c,exports.clientDefaultMeta=e.l,exports.clientPluginHandler=e.o,exports.compiler=e.u,exports.createClient=t.r,exports.defaultPaginationKeywords=e.h,exports.defaultPlugins=e.a,exports.defineConfig=t.t,exports.definePluginConfig=e.m,exports.tsc=e.d,exports.utils=t.n;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as MaybeArray, _ as Client$2, a as Plugin, b as IR, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, x as LazyOrAsync, y as StringCase } from "./config-
|
|
1
|
+
import { S as MaybeArray, _ as Client$2, a as Plugin, b as IR, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, x as LazyOrAsync, y as StringCase } from "./config-CQeoZYf_.cjs";
|
|
2
2
|
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpRequest, HttpResponse } from "@angular/common/http";
|
|
3
3
|
import { Injector } from "@angular/core";
|
|
4
4
|
import { AxiosError, AxiosInstance, AxiosRequestHeaders, AxiosResponse, AxiosStatic, CreateAxiosDefaults } from "axios";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Client$1, D as LazyOrAsync, E as IR, O as MaybeArray, S as Client$3, T as StringCase, _ as Client$2, a as Plugin, b as Client$5, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, w as Client, x as Client$4, y as Client$6 } from "./config-
|
|
1
|
+
import { C as Client$1, D as LazyOrAsync, E as IR, O as MaybeArray, S as Client$3, T as StringCase, _ as Client$2, a as Plugin, b as Client$5, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, w as Client, x as Client$4, y as Client$6 } from "./config-U5JEpxGS.js";
|
|
2
2
|
import "@hey-api/codegen-core";
|
|
3
3
|
import * as typescript0 from "typescript";
|
|
4
4
|
import ts from "typescript";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,d as n,h as r,l as i,m as a,o,u as s}from"./openApi-
|
|
1
|
+
import{a as e,c as t,d as n,h as r,l as i,m as a,o,u as s}from"./openApi-HKXoyF4o.js";import{i as c,n as l,r as u,t as d}from"./src-Ba-zyEiS.js";export{c as Logger,t as clientDefaultConfig,i as clientDefaultMeta,o as clientPluginHandler,s as compiler,u as createClient,r as defaultPaginationKeywords,e as defaultPlugins,d as defineConfig,a as definePluginConfig,n as tsc,l as utils};
|
package/dist/internal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-CT-iM-D8.cjs`);exports.getSpec=e.r,exports.initConfigs=e.i,exports.parseOpenApiSpec=e.t;
|
package/dist/internal.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
1
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-CQeoZYf_.cjs";
|
|
2
2
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
3
3
|
|
|
4
4
|
//#region src/config/init.d.ts
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
1
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-U5JEpxGS.js";
|
|
2
2
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
3
3
|
|
|
4
4
|
//#region src/config/init.d.ts
|
package/dist/internal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,r as t,t as n}from"./openApi-
|
|
1
|
+
import{i as e,r as t,t as n}from"./openApi-HKXoyF4o.js";export{t as getSpec,e as initConfigs,n as parseOpenApiSpec};
|