@hey-api/openapi-ts 0.87.3 → 0.87.4
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/dist/{config-BI0uP8YS.d.cts → config-CK1EGY2d.d.cts} +80 -11
- package/dist/{config-BpulPCv9.d.ts → config-DHUTNwtw.d.ts} +80 -11
- 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-BKUOqJVi.cjs +19 -0
- package/dist/openApi-BKUOqJVi.cjs.map +1 -0
- package/dist/openApi-QNcKaSPP.js +19 -0
- package/dist/openApi-QNcKaSPP.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-CF9c-t93.js → src-D4L_i8zt.js} +2 -2
- package/dist/{src-CF9c-t93.js.map → src-D4L_i8zt.js.map} +1 -1
- package/dist/{src-CVDS5cbw.cjs → src-DmdEIcct.cjs} +2 -2
- package/dist/{src-CVDS5cbw.cjs.map → src-DmdEIcct.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/openApi--TCWOigv.js +0 -19
- package/dist/openApi--TCWOigv.js.map +0 -1
- package/dist/openApi-hVsWZkpA.cjs +0 -19
- package/dist/openApi-hVsWZkpA.cjs.map +0 -1
|
@@ -9958,13 +9958,32 @@ declare abstract class TypeTsDsl<T extends ts.TypeNode | ts.TypeElement | ts.Lit
|
|
|
9958
9958
|
type TypeOfMaybe<I> = undefined extends I ? TypeOf<NonNullable<I>> | undefined : TypeOf<I>;
|
|
9959
9959
|
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;
|
|
9960
9960
|
//#endregion
|
|
9961
|
+
//#region src/ts-dsl/mixins/layout.d.ts
|
|
9962
|
+
declare class LayoutMixin {
|
|
9963
|
+
private static readonly DEFAULT_THRESHOLD;
|
|
9964
|
+
private layout;
|
|
9965
|
+
/** Sets automatic line output with optional threshold (default: 3). */
|
|
9966
|
+
auto(threshold?: number): this;
|
|
9967
|
+
/** Sets single line output. */
|
|
9968
|
+
inline(): this;
|
|
9969
|
+
/** Sets multi line output. */
|
|
9970
|
+
pretty(): this;
|
|
9971
|
+
/** Computes whether output should be multiline based on layout setting and element count. */
|
|
9972
|
+
protected $multiline(count: number): boolean;
|
|
9973
|
+
}
|
|
9974
|
+
//#endregion
|
|
9961
9975
|
//#region src/ts-dsl/array.d.ts
|
|
9962
9976
|
declare class ArrayTsDsl extends TsDsl<ts.ArrayLiteralExpression> {
|
|
9963
9977
|
private _elements;
|
|
9964
|
-
/** Adds
|
|
9965
|
-
|
|
9978
|
+
/** Adds a single array element. */
|
|
9979
|
+
element(expr: string | number | boolean | MaybeTsDsl<ts.Expression>): this;
|
|
9980
|
+
/** Adds multiple array elements. */
|
|
9981
|
+
elements(...exprs: ReadonlyArray<string | number | boolean | MaybeTsDsl<ts.Expression>>): this;
|
|
9982
|
+
/** Adds a spread element (`...expr`). */
|
|
9983
|
+
spread(expr: MaybeTsDsl<ts.Expression>): this;
|
|
9966
9984
|
$render(): ts.ArrayLiteralExpression;
|
|
9967
9985
|
}
|
|
9986
|
+
interface ArrayTsDsl extends LayoutMixin {}
|
|
9968
9987
|
//#endregion
|
|
9969
9988
|
//#region src/ts-dsl/await.d.ts
|
|
9970
9989
|
declare class AwaitTsDsl extends TsDsl<ts.AwaitExpression> {
|
|
@@ -10511,21 +10530,13 @@ declare class NotTsDsl extends TsDsl<ts.PrefixUnaryExpression> {
|
|
|
10511
10530
|
//#endregion
|
|
10512
10531
|
//#region src/ts-dsl/object.d.ts
|
|
10513
10532
|
declare class ObjectTsDsl extends TsDsl<ts.ObjectLiteralExpression> {
|
|
10514
|
-
private static readonly DEFAULT_THRESHOLD;
|
|
10515
|
-
private layout;
|
|
10516
10533
|
private props;
|
|
10517
|
-
/** Sets automatic line output with optional threshold (default: 3). */
|
|
10518
|
-
auto(threshold?: number): this;
|
|
10519
10534
|
/** Adds a getter property (e.g. `{ get foo() { ... } }`). */
|
|
10520
10535
|
getter(name: string, expr: WithString<MaybeTsDsl<ts.Statement>>): this;
|
|
10521
10536
|
/** Returns true if object has at least one property or spread. */
|
|
10522
10537
|
hasProps(): boolean;
|
|
10523
|
-
/** Sets single line output. */
|
|
10524
|
-
inline(): this;
|
|
10525
10538
|
/** Returns true if object has no properties or spreads. */
|
|
10526
10539
|
get isEmpty(): boolean;
|
|
10527
|
-
/** Sets multi line output. */
|
|
10528
|
-
pretty(): this;
|
|
10529
10540
|
/** Adds a property assignment. */
|
|
10530
10541
|
prop(name: string, expr: MaybeTsDsl<WithString>): this;
|
|
10531
10542
|
/** Adds a setter property (e.g. `{ set foo(v) { ... } }`). */
|
|
@@ -10536,6 +10547,7 @@ declare class ObjectTsDsl extends TsDsl<ts.ObjectLiteralExpression> {
|
|
|
10536
10547
|
$render(): ts.ObjectLiteralExpression;
|
|
10537
10548
|
private safePropertyName;
|
|
10538
10549
|
}
|
|
10550
|
+
interface ObjectTsDsl extends LayoutMixin {}
|
|
10539
10551
|
//#endregion
|
|
10540
10552
|
//#region src/ts-dsl/pattern.d.ts
|
|
10541
10553
|
/**
|
|
@@ -12337,6 +12349,12 @@ type ObjectBaseResolverArgs$1 = SharedResolverArgs$1 & {
|
|
|
12337
12349
|
schema: IR$1.SchemaObject;
|
|
12338
12350
|
shape: ObjectTsDsl;
|
|
12339
12351
|
};
|
|
12352
|
+
type ValidatorResolverArgs$1 = SharedResolverArgs$1 & {
|
|
12353
|
+
operation: IR$1.Operation;
|
|
12354
|
+
schema: Symbol;
|
|
12355
|
+
v: Symbol;
|
|
12356
|
+
};
|
|
12357
|
+
type ValidatorResolver$1 = (args: ValidatorResolverArgs$1) => MaybeArray<TsDsl<ts.Statement>> | null | undefined;
|
|
12340
12358
|
type Resolvers$1 = Plugin.Resolvers<{
|
|
12341
12359
|
/**
|
|
12342
12360
|
* Resolvers for object schemas.
|
|
@@ -12380,6 +12398,29 @@ type Resolvers$1 = Plugin.Resolvers<{
|
|
|
12380
12398
|
*/
|
|
12381
12399
|
formats?: Record<string, (args: FormatResolverArgs$1) => boolean | number | undefined>;
|
|
12382
12400
|
};
|
|
12401
|
+
/**
|
|
12402
|
+
* Resolvers for request and response validators.
|
|
12403
|
+
*
|
|
12404
|
+
* Allow customization of validator function bodies.
|
|
12405
|
+
*
|
|
12406
|
+
* Example path: `~resolvers.validator.request` or `~resolvers.validator.response`
|
|
12407
|
+
*
|
|
12408
|
+
* Returning `undefined` from a resolver will apply the default generation logic.
|
|
12409
|
+
*/
|
|
12410
|
+
validator?: ValidatorResolver$1 | {
|
|
12411
|
+
/**
|
|
12412
|
+
* Controls how the request validator function body is generated.
|
|
12413
|
+
*
|
|
12414
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
12415
|
+
*/
|
|
12416
|
+
request?: ValidatorResolver$1;
|
|
12417
|
+
/**
|
|
12418
|
+
* Controls how the response validator function body is generated.
|
|
12419
|
+
*
|
|
12420
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
12421
|
+
*/
|
|
12422
|
+
response?: ValidatorResolver$1;
|
|
12423
|
+
};
|
|
12383
12424
|
}>;
|
|
12384
12425
|
type ValibotPlugin = DefinePlugin<UserConfig$2, Config$2, IApi$1>;
|
|
12385
12426
|
//#endregion
|
|
@@ -13123,6 +13164,11 @@ type ObjectBaseResolverArgs = SharedResolverArgs & {
|
|
|
13123
13164
|
schema: IR$1.SchemaObject;
|
|
13124
13165
|
shape: ObjectTsDsl;
|
|
13125
13166
|
};
|
|
13167
|
+
type ValidatorResolverArgs = SharedResolverArgs & {
|
|
13168
|
+
operation: IR$1.Operation;
|
|
13169
|
+
schema: Symbol;
|
|
13170
|
+
};
|
|
13171
|
+
type ValidatorResolver = (args: ValidatorResolverArgs) => MaybeArray<TsDsl<ts.Statement>> | null | undefined;
|
|
13126
13172
|
type Resolvers = Plugin.Resolvers<{
|
|
13127
13173
|
/**
|
|
13128
13174
|
* Resolvers for object schemas.
|
|
@@ -13166,6 +13212,29 @@ type Resolvers = Plugin.Resolvers<{
|
|
|
13166
13212
|
*/
|
|
13167
13213
|
formats?: Record<string, (args: FormatResolverArgs) => CallTsDsl | undefined>;
|
|
13168
13214
|
};
|
|
13215
|
+
/**
|
|
13216
|
+
* Resolvers for request and response validators.
|
|
13217
|
+
*
|
|
13218
|
+
* Allow customization of validator function bodies.
|
|
13219
|
+
*
|
|
13220
|
+
* Example path: `~resolvers.validator.request` or `~resolvers.validator.response`
|
|
13221
|
+
*
|
|
13222
|
+
* Returning `undefined` from a resolver will apply the default generation logic.
|
|
13223
|
+
*/
|
|
13224
|
+
validator?: ValidatorResolver | {
|
|
13225
|
+
/**
|
|
13226
|
+
* Controls how the request validator function body is generated.
|
|
13227
|
+
*
|
|
13228
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
13229
|
+
*/
|
|
13230
|
+
request?: ValidatorResolver;
|
|
13231
|
+
/**
|
|
13232
|
+
* Controls how the response validator function body is generated.
|
|
13233
|
+
*
|
|
13234
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
13235
|
+
*/
|
|
13236
|
+
response?: ValidatorResolver;
|
|
13237
|
+
};
|
|
13169
13238
|
}>;
|
|
13170
13239
|
type ZodPlugin = DefinePlugin<UserConfig$1, Config$1, IApi>;
|
|
13171
13240
|
//#endregion
|
|
@@ -14803,4 +14872,4 @@ type Config = Omit<Required<UserConfig>, 'input' | 'logs' | 'output' | 'parser'
|
|
|
14803
14872
|
};
|
|
14804
14873
|
//#endregion
|
|
14805
14874
|
export { Client as $, LiteralTsDsl as A, InitTsDsl as B, SetterTsDsl as C, NotTsDsl as D, ObjectTsDsl as E, TypeExprTsDsl as F, BinaryTsDsl as G, FieldTsDsl as H, TypeAttrTsDsl as I, AwaitTsDsl as J, ReturnTsDsl as K, DecoratorTsDsl as L, GetterTsDsl as M, FuncTsDsl as N, NewlineTsDsl as O, ExprTsDsl as P, ExpressionTransformer as Q, ClassTsDsl as R, TemplateTsDsl as S, PatternTsDsl as T, DescribeTsDsl as U, ParamTsDsl as V, AttrTsDsl as W, TsDsl as X, ArrayTsDsl as Y, TypeTransformer as Z, VarTsDsl as _, Plugin as a, TypeAliasTsDsl as b, OpenApiOperationObject as c, OpenApiResponseObject as d, PluginHandler as et, OpenApiSchemaObject as f, DollarTsDsl as g, $ as h, DefinePlugin as i, MaybeArray as it, IfTsDsl as j, NewTsDsl as k, OpenApiParameterObject as l, Logger as m, UserConfig as n, IR$1 as nt, OpenApi as o, Context as p, CallTsDsl as q, Input as r, LazyOrAsync as rt, OpenApiMetaObject as s, Config as t, StringCase as tt, OpenApiRequestBodyObject as u, TypeObjectTsDsl as v, RegExpTsDsl as w, ThrowTsDsl as x, TypeLiteralTsDsl as y, MethodTsDsl as z };
|
|
14806
|
-
//# sourceMappingURL=config-
|
|
14875
|
+
//# sourceMappingURL=config-CK1EGY2d.d.cts.map
|
|
@@ -10829,13 +10829,32 @@ declare abstract class TypeTsDsl<T extends ts.TypeNode | ts.TypeElement | ts.Lit
|
|
|
10829
10829
|
type TypeOfMaybe<I> = undefined extends I ? TypeOf<NonNullable<I>> | undefined : TypeOf<I>;
|
|
10830
10830
|
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;
|
|
10831
10831
|
//#endregion
|
|
10832
|
+
//#region src/ts-dsl/mixins/layout.d.ts
|
|
10833
|
+
declare class LayoutMixin {
|
|
10834
|
+
private static readonly DEFAULT_THRESHOLD;
|
|
10835
|
+
private layout;
|
|
10836
|
+
/** Sets automatic line output with optional threshold (default: 3). */
|
|
10837
|
+
auto(threshold?: number): this;
|
|
10838
|
+
/** Sets single line output. */
|
|
10839
|
+
inline(): this;
|
|
10840
|
+
/** Sets multi line output. */
|
|
10841
|
+
pretty(): this;
|
|
10842
|
+
/** Computes whether output should be multiline based on layout setting and element count. */
|
|
10843
|
+
protected $multiline(count: number): boolean;
|
|
10844
|
+
}
|
|
10845
|
+
//#endregion
|
|
10832
10846
|
//#region src/ts-dsl/array.d.ts
|
|
10833
10847
|
declare class ArrayTsDsl extends TsDsl<ts.ArrayLiteralExpression> {
|
|
10834
10848
|
private _elements;
|
|
10835
|
-
/** Adds
|
|
10836
|
-
|
|
10849
|
+
/** Adds a single array element. */
|
|
10850
|
+
element(expr: string | number | boolean | MaybeTsDsl<ts.Expression>): this;
|
|
10851
|
+
/** Adds multiple array elements. */
|
|
10852
|
+
elements(...exprs: ReadonlyArray<string | number | boolean | MaybeTsDsl<ts.Expression>>): this;
|
|
10853
|
+
/** Adds a spread element (`...expr`). */
|
|
10854
|
+
spread(expr: MaybeTsDsl<ts.Expression>): this;
|
|
10837
10855
|
$render(): ts.ArrayLiteralExpression;
|
|
10838
10856
|
}
|
|
10857
|
+
interface ArrayTsDsl extends LayoutMixin {}
|
|
10839
10858
|
//#endregion
|
|
10840
10859
|
//#region src/ts-dsl/await.d.ts
|
|
10841
10860
|
declare class AwaitTsDsl extends TsDsl<ts.AwaitExpression> {
|
|
@@ -11382,21 +11401,13 @@ declare class NotTsDsl extends TsDsl<ts.PrefixUnaryExpression> {
|
|
|
11382
11401
|
//#endregion
|
|
11383
11402
|
//#region src/ts-dsl/object.d.ts
|
|
11384
11403
|
declare class ObjectTsDsl extends TsDsl<ts.ObjectLiteralExpression> {
|
|
11385
|
-
private static readonly DEFAULT_THRESHOLD;
|
|
11386
|
-
private layout;
|
|
11387
11404
|
private props;
|
|
11388
|
-
/** Sets automatic line output with optional threshold (default: 3). */
|
|
11389
|
-
auto(threshold?: number): this;
|
|
11390
11405
|
/** Adds a getter property (e.g. `{ get foo() { ... } }`). */
|
|
11391
11406
|
getter(name: string, expr: WithString<MaybeTsDsl<ts.Statement>>): this;
|
|
11392
11407
|
/** Returns true if object has at least one property or spread. */
|
|
11393
11408
|
hasProps(): boolean;
|
|
11394
|
-
/** Sets single line output. */
|
|
11395
|
-
inline(): this;
|
|
11396
11409
|
/** Returns true if object has no properties or spreads. */
|
|
11397
11410
|
get isEmpty(): boolean;
|
|
11398
|
-
/** Sets multi line output. */
|
|
11399
|
-
pretty(): this;
|
|
11400
11411
|
/** Adds a property assignment. */
|
|
11401
11412
|
prop(name: string, expr: MaybeTsDsl<WithString>): this;
|
|
11402
11413
|
/** Adds a setter property (e.g. `{ set foo(v) { ... } }`). */
|
|
@@ -11407,6 +11418,7 @@ declare class ObjectTsDsl extends TsDsl<ts.ObjectLiteralExpression> {
|
|
|
11407
11418
|
$render(): ts.ObjectLiteralExpression;
|
|
11408
11419
|
private safePropertyName;
|
|
11409
11420
|
}
|
|
11421
|
+
interface ObjectTsDsl extends LayoutMixin {}
|
|
11410
11422
|
//#endregion
|
|
11411
11423
|
//#region src/ts-dsl/pattern.d.ts
|
|
11412
11424
|
/**
|
|
@@ -13208,6 +13220,12 @@ type ObjectBaseResolverArgs$1 = SharedResolverArgs$1 & {
|
|
|
13208
13220
|
schema: IR$1.SchemaObject;
|
|
13209
13221
|
shape: ObjectTsDsl;
|
|
13210
13222
|
};
|
|
13223
|
+
type ValidatorResolverArgs$1 = SharedResolverArgs$1 & {
|
|
13224
|
+
operation: IR$1.Operation;
|
|
13225
|
+
schema: Symbol;
|
|
13226
|
+
v: Symbol;
|
|
13227
|
+
};
|
|
13228
|
+
type ValidatorResolver$1 = (args: ValidatorResolverArgs$1) => MaybeArray<TsDsl<ts.Statement>> | null | undefined;
|
|
13211
13229
|
type Resolvers$1 = Plugin.Resolvers<{
|
|
13212
13230
|
/**
|
|
13213
13231
|
* Resolvers for object schemas.
|
|
@@ -13251,6 +13269,29 @@ type Resolvers$1 = Plugin.Resolvers<{
|
|
|
13251
13269
|
*/
|
|
13252
13270
|
formats?: Record<string, (args: FormatResolverArgs$1) => boolean | number | undefined>;
|
|
13253
13271
|
};
|
|
13272
|
+
/**
|
|
13273
|
+
* Resolvers for request and response validators.
|
|
13274
|
+
*
|
|
13275
|
+
* Allow customization of validator function bodies.
|
|
13276
|
+
*
|
|
13277
|
+
* Example path: `~resolvers.validator.request` or `~resolvers.validator.response`
|
|
13278
|
+
*
|
|
13279
|
+
* Returning `undefined` from a resolver will apply the default generation logic.
|
|
13280
|
+
*/
|
|
13281
|
+
validator?: ValidatorResolver$1 | {
|
|
13282
|
+
/**
|
|
13283
|
+
* Controls how the request validator function body is generated.
|
|
13284
|
+
*
|
|
13285
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
13286
|
+
*/
|
|
13287
|
+
request?: ValidatorResolver$1;
|
|
13288
|
+
/**
|
|
13289
|
+
* Controls how the response validator function body is generated.
|
|
13290
|
+
*
|
|
13291
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
13292
|
+
*/
|
|
13293
|
+
response?: ValidatorResolver$1;
|
|
13294
|
+
};
|
|
13254
13295
|
}>;
|
|
13255
13296
|
type ValibotPlugin = DefinePlugin<UserConfig$2, Config$2, IApi$1>;
|
|
13256
13297
|
//#endregion
|
|
@@ -13994,6 +14035,11 @@ type ObjectBaseResolverArgs = SharedResolverArgs & {
|
|
|
13994
14035
|
schema: IR$1.SchemaObject;
|
|
13995
14036
|
shape: ObjectTsDsl;
|
|
13996
14037
|
};
|
|
14038
|
+
type ValidatorResolverArgs = SharedResolverArgs & {
|
|
14039
|
+
operation: IR$1.Operation;
|
|
14040
|
+
schema: Symbol;
|
|
14041
|
+
};
|
|
14042
|
+
type ValidatorResolver = (args: ValidatorResolverArgs) => MaybeArray<TsDsl<ts.Statement>> | null | undefined;
|
|
13997
14043
|
type Resolvers = Plugin.Resolvers<{
|
|
13998
14044
|
/**
|
|
13999
14045
|
* Resolvers for object schemas.
|
|
@@ -14037,6 +14083,29 @@ type Resolvers = Plugin.Resolvers<{
|
|
|
14037
14083
|
*/
|
|
14038
14084
|
formats?: Record<string, (args: FormatResolverArgs) => CallTsDsl | undefined>;
|
|
14039
14085
|
};
|
|
14086
|
+
/**
|
|
14087
|
+
* Resolvers for request and response validators.
|
|
14088
|
+
*
|
|
14089
|
+
* Allow customization of validator function bodies.
|
|
14090
|
+
*
|
|
14091
|
+
* Example path: `~resolvers.validator.request` or `~resolvers.validator.response`
|
|
14092
|
+
*
|
|
14093
|
+
* Returning `undefined` from a resolver will apply the default generation logic.
|
|
14094
|
+
*/
|
|
14095
|
+
validator?: ValidatorResolver | {
|
|
14096
|
+
/**
|
|
14097
|
+
* Controls how the request validator function body is generated.
|
|
14098
|
+
*
|
|
14099
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
14100
|
+
*/
|
|
14101
|
+
request?: ValidatorResolver;
|
|
14102
|
+
/**
|
|
14103
|
+
* Controls how the response validator function body is generated.
|
|
14104
|
+
*
|
|
14105
|
+
* Returning `undefined` will fall back to the default `.await().return()` logic.
|
|
14106
|
+
*/
|
|
14107
|
+
response?: ValidatorResolver;
|
|
14108
|
+
};
|
|
14040
14109
|
}>;
|
|
14041
14110
|
type ZodPlugin = DefinePlugin<UserConfig$1, Config$1, IApi>;
|
|
14042
14111
|
//#endregion
|
|
@@ -15674,4 +15743,4 @@ type Config = Omit<Required<UserConfig>, 'input' | 'logs' | 'output' | 'parser'
|
|
|
15674
15743
|
};
|
|
15675
15744
|
//#endregion
|
|
15676
15745
|
export { Client as $, LiteralTsDsl as A, InitTsDsl as B, SetterTsDsl as C, NotTsDsl as D, ObjectTsDsl as E, TypeExprTsDsl as F, BinaryTsDsl as G, FieldTsDsl as H, TypeAttrTsDsl as I, AwaitTsDsl as J, ReturnTsDsl as K, DecoratorTsDsl as L, GetterTsDsl as M, FuncTsDsl as N, NewlineTsDsl as O, ExprTsDsl as P, ExpressionTransformer as Q, ClassTsDsl as R, TemplateTsDsl as S, PatternTsDsl as T, DescribeTsDsl as U, ParamTsDsl as V, AttrTsDsl as W, TsDsl as X, ArrayTsDsl as Y, TypeTransformer as Z, VarTsDsl as _, Plugin as a, Client$6 as at, TypeAliasTsDsl as b, OpenApiOperationObject as c, IR$1 as ct, OpenApiResponseObject as d, PluginHandler as et, OpenApiSchemaObject as f, DollarTsDsl as g, $ as h, DefinePlugin as i, Client$5 as it, IfTsDsl as j, NewTsDsl as k, OpenApiParameterObject as l, LazyOrAsync as lt, Logger as m, UserConfig as n, Client$3 as nt, OpenApi as o, Client$7 as ot, Context as p, CallTsDsl as q, Input as r, Client$4 as rt, OpenApiMetaObject as s, StringCase as st, Config as t, Client$2 as tt, OpenApiRequestBodyObject as u, MaybeArray as ut, TypeObjectTsDsl as v, RegExpTsDsl as w, ThrowTsDsl as x, TypeLiteralTsDsl as y, MethodTsDsl as z };
|
|
15677
|
-
//# sourceMappingURL=config-
|
|
15746
|
+
//# sourceMappingURL=config-DHUTNwtw.d.ts.map
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-BKUOqJVi.cjs`),t=require(`./src-DmdEIcct.cjs`);exports.$=e.o,exports.ArrayTsDsl=e.R,exports.AttrTsDsl=e.I,exports.AwaitTsDsl=e.F,exports.BinaryTsDsl=e.L,exports.CallTsDsl=e.P,exports.ClassTsDsl=e.C,exports.DecoratorTsDsl=e.N,exports.DescribeTsDsl=e.M,exports.ExprTsDsl=e.S,exports.FieldTsDsl=e.k,exports.FuncTsDsl=e.x,exports.GetterTsDsl=e.b,exports.IfTsDsl=e.y,exports.InitTsDsl=e.E,exports.LiteralTsDsl=e.z,exports.Logger=t.i,exports.MethodTsDsl=e.T,exports.NewTsDsl=e.v,exports.NewlineTsDsl=e.w,exports.NotTsDsl=e._,exports.ObjectTsDsl=e.h,exports.ParamTsDsl=e.D,exports.PatternTsDsl=e.O,exports.RegExpTsDsl=e.m,exports.ReturnTsDsl=e.p,exports.SetterTsDsl=e.g,exports.TemplateTsDsl=e.f,exports.ThrowTsDsl=e.d,exports.TsDsl=e.B,exports.TypeAliasTsDsl=e.u,exports.TypeAttrTsDsl=e.j,exports.TypeExprTsDsl=e.A,exports.TypeLiteralTsDsl=e.l,exports.TypeObjectTsDsl=e.c,exports.VarTsDsl=e.s,exports.clientDefaultConfig=e.U,exports.clientDefaultMeta=e.W,exports.clientPluginHandler=e.V,exports.compiler=e.G,exports.createClient=t.r,exports.defaultPaginationKeywords=e.X,exports.defaultPlugins=e.a,exports.defineConfig=t.t,exports.definePluginConfig=e.Y,exports.tsc=e.K,exports.utils=t.n;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Client$2, A as LiteralTsDsl, B as InitTsDsl, C as SetterTsDsl, D as NotTsDsl, E as ObjectTsDsl, F as TypeExprTsDsl, G as BinaryTsDsl, H as FieldTsDsl, I as TypeAttrTsDsl, J as AwaitTsDsl, K as ReturnTsDsl, L as DecoratorTsDsl, M as GetterTsDsl, N as FuncTsDsl, O as NewlineTsDsl, P as ExprTsDsl, Q as ExpressionTransformer, R as ClassTsDsl, S as TemplateTsDsl, T as PatternTsDsl, U as DescribeTsDsl, V as ParamTsDsl, W as AttrTsDsl, X as TsDsl, Y as ArrayTsDsl, Z as TypeTransformer, _ as VarTsDsl, a as Plugin, b as TypeAliasTsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as MaybeArray, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, m as Logger, n as UserConfig, nt as IR, o as OpenApi, p as Context, q as CallTsDsl, rt as LazyOrAsync, s as OpenApiMetaObject, tt as StringCase, u as OpenApiRequestBodyObject, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-
|
|
1
|
+
import { $ as Client$2, A as LiteralTsDsl, B as InitTsDsl, C as SetterTsDsl, D as NotTsDsl, E as ObjectTsDsl, F as TypeExprTsDsl, G as BinaryTsDsl, H as FieldTsDsl, I as TypeAttrTsDsl, J as AwaitTsDsl, K as ReturnTsDsl, L as DecoratorTsDsl, M as GetterTsDsl, N as FuncTsDsl, O as NewlineTsDsl, P as ExprTsDsl, Q as ExpressionTransformer, R as ClassTsDsl, S as TemplateTsDsl, T as PatternTsDsl, U as DescribeTsDsl, V as ParamTsDsl, W as AttrTsDsl, X as TsDsl, Y as ArrayTsDsl, Z as TypeTransformer, _ as VarTsDsl, a as Plugin, b as TypeAliasTsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as MaybeArray, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, m as Logger, n as UserConfig, nt as IR, o as OpenApi, p as Context, q as CallTsDsl, rt as LazyOrAsync, s as OpenApiMetaObject, tt as StringCase, u as OpenApiRequestBodyObject, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-CK1EGY2d.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 { $ as Client$2, A as LiteralTsDsl, B as InitTsDsl, C as SetterTsDsl, D as NotTsDsl, E as ObjectTsDsl, F as TypeExprTsDsl, G as BinaryTsDsl, H as FieldTsDsl, I as TypeAttrTsDsl, J as AwaitTsDsl, K as ReturnTsDsl, L as DecoratorTsDsl, M as GetterTsDsl, N as FuncTsDsl, O as NewlineTsDsl, P as ExprTsDsl, Q as ExpressionTransformer, R as ClassTsDsl, S as TemplateTsDsl, T as PatternTsDsl, U as DescribeTsDsl, V as ParamTsDsl, W as AttrTsDsl, X as TsDsl, Y as ArrayTsDsl, Z as TypeTransformer, _ as VarTsDsl, a as Plugin, at as Client$1, b as TypeAliasTsDsl, c as OpenApiOperationObject, ct as IR, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as Client$3, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, lt as LazyOrAsync, m as Logger, n as UserConfig, nt as Client$5, o as OpenApi, ot as Client, p as Context, q as CallTsDsl, rt as Client$4, s as OpenApiMetaObject, st as StringCase, tt as Client$6, u as OpenApiRequestBodyObject, ut as MaybeArray, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-
|
|
1
|
+
import { $ as Client$2, A as LiteralTsDsl, B as InitTsDsl, C as SetterTsDsl, D as NotTsDsl, E as ObjectTsDsl, F as TypeExprTsDsl, G as BinaryTsDsl, H as FieldTsDsl, I as TypeAttrTsDsl, J as AwaitTsDsl, K as ReturnTsDsl, L as DecoratorTsDsl, M as GetterTsDsl, N as FuncTsDsl, O as NewlineTsDsl, P as ExprTsDsl, Q as ExpressionTransformer, R as ClassTsDsl, S as TemplateTsDsl, T as PatternTsDsl, U as DescribeTsDsl, V as ParamTsDsl, W as AttrTsDsl, X as TsDsl, Y as ArrayTsDsl, Z as TypeTransformer, _ as VarTsDsl, a as Plugin, at as Client$1, b as TypeAliasTsDsl, c as OpenApiOperationObject, ct as IR, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as Client$3, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, lt as LazyOrAsync, m as Logger, n as UserConfig, nt as Client$5, o as OpenApi, ot as Client, p as Context, q as CallTsDsl, rt as Client$4, s as OpenApiMetaObject, st as StringCase, tt as Client$6, u as OpenApiRequestBodyObject, ut as MaybeArray, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-DHUTNwtw.js";
|
|
2
2
|
import "@hey-api/codegen-core";
|
|
3
3
|
import * as typescript34 from "typescript";
|
|
4
4
|
import ts from "typescript";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,B as t,C as n,D as r,E as i,F as a,G as o,I as s,K as c,L as l,M as u,N as d,O as f,P as p,R as m,S as h,T as g,U as _,V as v,W as y,X as b,Y as x,_ as S,a as C,b as w,c as T,d as E,f as D,g as O,h as k,j as A,k as j,l as M,m as N,o as P,p as F,s as I,u as L,v as R,w as z,x as B,y as V,z as H}from"./openApi
|
|
1
|
+
import{A as e,B as t,C as n,D as r,E as i,F as a,G as o,I as s,K as c,L as l,M as u,N as d,O as f,P as p,R as m,S as h,T as g,U as _,V as v,W as y,X as b,Y as x,_ as S,a as C,b as w,c as T,d as E,f as D,g as O,h as k,j as A,k as j,l as M,m as N,o as P,p as F,s as I,u as L,v as R,w as z,x as B,y as V,z as H}from"./openApi-QNcKaSPP.js";import{i as U,n as W,r as G,t as K}from"./src-D4L_i8zt.js";export{P as $,m as ArrayTsDsl,s as AttrTsDsl,a as AwaitTsDsl,l as BinaryTsDsl,p as CallTsDsl,n as ClassTsDsl,d as DecoratorTsDsl,u as DescribeTsDsl,h as ExprTsDsl,j as FieldTsDsl,B as FuncTsDsl,w as GetterTsDsl,V as IfTsDsl,i as InitTsDsl,H as LiteralTsDsl,U as Logger,g as MethodTsDsl,R as NewTsDsl,z as NewlineTsDsl,S as NotTsDsl,k as ObjectTsDsl,r as ParamTsDsl,f as PatternTsDsl,N as RegExpTsDsl,F as ReturnTsDsl,O as SetterTsDsl,D as TemplateTsDsl,E as ThrowTsDsl,t as TsDsl,L as TypeAliasTsDsl,A as TypeAttrTsDsl,e as TypeExprTsDsl,M as TypeLiteralTsDsl,T as TypeObjectTsDsl,I as VarTsDsl,_ as clientDefaultConfig,y as clientDefaultMeta,v as clientPluginHandler,o as compiler,G as createClient,b as defaultPaginationKeywords,C as defaultPlugins,K as defineConfig,x as definePluginConfig,c as tsc,W as utils};
|
package/dist/internal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-BKUOqJVi.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-CK1EGY2d.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-DHUTNwtw.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-QNcKaSPP.js";export{t as getSpec,e as initConfigs,n as parseOpenApiSpec};
|