@hey-api/openapi-ts 0.94.3 → 0.94.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/index.d.mts +402 -311
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{init-OaZZcRie.mjs → init-B4xCXgH4.mjs} +429 -134
- package/dist/init-B4xCXgH4.mjs.map +1 -0
- package/dist/internal.mjs +1 -1
- package/dist/run.mjs +3 -3
- package/dist/{src-CwAmA-wp.mjs → src-B7Bwskcz.mjs} +2 -2
- package/dist/{src-CwAmA-wp.mjs.map → src-B7Bwskcz.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/init-OaZZcRie.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { n as UserConfig } from "./types-DAEl4_a4.mjs";
|
|
2
|
-
import
|
|
2
|
+
import * as _hey_api_codegen_core0 from "@hey-api/codegen-core";
|
|
3
|
+
import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Logger as Logger$1, Node, NodeName, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, RenderContext, Renderer, Symbol } from "@hey-api/codegen-core";
|
|
3
4
|
import { BaseOutput, Casing, Context, DefinePlugin, DefinePlugin as DefinePlugin$1, FeatureToggle, IR, IR as IR$1, LinguistLanguages, NameTransformer, NamingConfig, NamingOptions, NamingRule, OpenApi, OpenApiMetaObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiSchemaObject, OpenApiV2_0_XTypes, OpenApiV3_0_XTypes, OpenApiV3_1_XTypes, OperationPath, OperationPathStrategy, OperationStrategy, OperationsStrategy, Plugin, Plugin as Plugin$1, SchemaVisitorContext, SchemaWithType, Walker, defaultPaginationKeywords, definePluginConfig, utils } from "@hey-api/shared";
|
|
4
5
|
import ts from "typescript";
|
|
5
6
|
import { AnyString, LazyOrAsync, MaybeArray, MaybeFunc } from "@hey-api/types";
|
|
@@ -372,7 +373,7 @@ type HttpResourcesConfig = FeatureToggle & {
|
|
|
372
373
|
};
|
|
373
374
|
//#endregion
|
|
374
375
|
//#region src/plugins/@angular/common/types.d.ts
|
|
375
|
-
type UserConfig$
|
|
376
|
+
type UserConfig$27 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
376
377
|
/**
|
|
377
378
|
* Options for generating HTTP Request instances.
|
|
378
379
|
*
|
|
@@ -386,7 +387,7 @@ type UserConfig$26 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$
|
|
|
386
387
|
*/
|
|
387
388
|
httpResources?: boolean | OperationsStrategy | UserHttpResourcesConfig;
|
|
388
389
|
};
|
|
389
|
-
type Config$
|
|
390
|
+
type Config$24 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
390
391
|
/**
|
|
391
392
|
* Options for generating HTTP Request instances.
|
|
392
393
|
*/
|
|
@@ -396,7 +397,7 @@ type Config$23 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.Co
|
|
|
396
397
|
*/
|
|
397
398
|
httpResources: HttpResourcesConfig;
|
|
398
399
|
};
|
|
399
|
-
type AngularCommonPlugin = DefinePlugin$1<UserConfig$
|
|
400
|
+
type AngularCommonPlugin = DefinePlugin$1<UserConfig$27, Config$24>;
|
|
400
401
|
//#endregion
|
|
401
402
|
//#region src/ts-dsl/mixins/types.d.ts
|
|
402
403
|
type BaseCtor<T extends ts.Node> = abstract new (...args: Array<any>) => TsDsl<T>;
|
|
@@ -404,7 +405,7 @@ type DropFirst<T extends Array<any>> = T extends [any, ...infer Rest] ? Rest : n
|
|
|
404
405
|
type MixinCtor<T extends BaseCtor<any>, K> = abstract new (...args: Array<any>) => InstanceType<T> & K;
|
|
405
406
|
//#endregion
|
|
406
407
|
//#region src/ts-dsl/mixins/type-args.d.ts
|
|
407
|
-
type Arg$1 = NodeName
|
|
408
|
+
type Arg$1 = NodeName | MaybeTsDsl<TypeTsDsl>;
|
|
408
409
|
interface TypeArgsMethods extends Node {
|
|
409
410
|
/** Returns the type arguments as an array of ts.TypeNode nodes. */
|
|
410
411
|
$generics(): ReadonlyArray<ts.TypeNode> | undefined;
|
|
@@ -421,8 +422,8 @@ interface AsMethods extends Node {
|
|
|
421
422
|
}
|
|
422
423
|
//#endregion
|
|
423
424
|
//#region src/ts-dsl/expr/as.d.ts
|
|
424
|
-
type AsExpr = NodeName
|
|
425
|
-
type AsType = NodeName
|
|
425
|
+
type AsExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
426
|
+
type AsType = NodeName | TypeTsDsl;
|
|
426
427
|
type AsCtor = (expr: AsExpr, type: AsType) => AsTsDsl;
|
|
427
428
|
declare const Mixed$52: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.AsExpression>, ExprMethods>, AsMethods>;
|
|
428
429
|
declare class AsTsDsl extends Mixed$52 {
|
|
@@ -444,7 +445,7 @@ interface OptionalMethods extends Node {
|
|
|
444
445
|
}
|
|
445
446
|
//#endregion
|
|
446
447
|
//#region src/ts-dsl/expr/binary.d.ts
|
|
447
|
-
type Expr$3 = NodeName
|
|
448
|
+
type Expr$3 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
448
449
|
type Op$1 = Operator | ts.BinaryOperator;
|
|
449
450
|
type Operator = '!=' | '!==' | '&&' | '*' | '+' | '-' | '/' | '<' | '<=' | '=' | '==' | '===' | '>' | '>=' | '??' | '??=' | '||';
|
|
450
451
|
declare const Mixed$51: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.BinaryExpression>, ExprMethods>, AsMethods>;
|
|
@@ -503,7 +504,7 @@ declare class BinaryTsDsl extends Mixed$51 {
|
|
|
503
504
|
}
|
|
504
505
|
//#endregion
|
|
505
506
|
//#region src/ts-dsl/mixins/operator.d.ts
|
|
506
|
-
type Expr$2 = NodeName
|
|
507
|
+
type Expr$2 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
507
508
|
interface OperatorMethods extends Node {
|
|
508
509
|
/** Logical AND — `this && expr` */
|
|
509
510
|
and(expr: Expr$2): BinaryTsDsl;
|
|
@@ -542,19 +543,19 @@ interface OperatorMethods extends Node {
|
|
|
542
543
|
}
|
|
543
544
|
//#endregion
|
|
544
545
|
//#region src/ts-dsl/expr/attr.d.ts
|
|
545
|
-
type AttrLeft = NodeName
|
|
546
|
-
type AttrCtor = (left: AttrLeft, right: NodeName
|
|
546
|
+
type AttrLeft = NodeName | MaybeTsDsl<ts.Expression>;
|
|
547
|
+
type AttrCtor = (left: AttrLeft, right: NodeName) => AttrTsDsl;
|
|
547
548
|
declare const Mixed$50: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyAccessExpression | ts.ElementAccessExpression>, OptionalMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
|
|
548
549
|
declare class AttrTsDsl extends Mixed$50 {
|
|
549
550
|
readonly '~dsl' = "AttrTsDsl";
|
|
550
551
|
protected left: Ref<AttrLeft>;
|
|
551
|
-
constructor(left: AttrLeft, right: NodeName
|
|
552
|
+
constructor(left: AttrLeft, right: NodeName);
|
|
552
553
|
analyze(ctx: AnalysisContext): void;
|
|
553
554
|
toAst(): ts.PropertyAccessExpression | ts.ElementAccessExpression;
|
|
554
555
|
}
|
|
555
556
|
//#endregion
|
|
556
557
|
//#region src/ts-dsl/expr/await.d.ts
|
|
557
|
-
type AwaitExpr = NodeName
|
|
558
|
+
type AwaitExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
558
559
|
type AwaitCtor = (expr: AwaitExpr) => AwaitTsDsl;
|
|
559
560
|
declare const Mixed$49: MixinCtor<abstract new () => TsDsl<ts.AwaitExpression>, ExprMethods>;
|
|
560
561
|
declare class AwaitTsDsl extends Mixed$49 {
|
|
@@ -566,7 +567,7 @@ declare class AwaitTsDsl extends Mixed$49 {
|
|
|
566
567
|
}
|
|
567
568
|
//#endregion
|
|
568
569
|
//#region src/ts-dsl/mixins/args.d.ts
|
|
569
|
-
type Arg = NodeName
|
|
570
|
+
type Arg = NodeName | MaybeTsDsl<ts.Expression>;
|
|
570
571
|
interface ArgsMethods extends Node {
|
|
571
572
|
/** Renders the arguments into an array of `Expression`s. */
|
|
572
573
|
$args(): ReadonlyArray<ts.Expression>;
|
|
@@ -578,7 +579,7 @@ interface ArgsMethods extends Node {
|
|
|
578
579
|
//#endregion
|
|
579
580
|
//#region src/ts-dsl/expr/new.d.ts
|
|
580
581
|
type NewArgs = ReadonlyArray<NewExpr | undefined>;
|
|
581
|
-
type NewExpr = NodeName
|
|
582
|
+
type NewExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
582
583
|
type NewCtor = (expr: NewExpr, ...args: NewArgs) => NewTsDsl;
|
|
583
584
|
declare const Mixed$48: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.NewExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
|
|
584
585
|
declare class NewTsDsl extends Mixed$48 {
|
|
@@ -602,7 +603,7 @@ declare class TypeOfExprTsDsl extends Mixed$47 {
|
|
|
602
603
|
}
|
|
603
604
|
//#endregion
|
|
604
605
|
//#region src/ts-dsl/stmt/return.d.ts
|
|
605
|
-
type ReturnExpr = NodeName
|
|
606
|
+
type ReturnExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
606
607
|
type ReturnCtor = (expr?: ReturnExpr) => ReturnTsDsl;
|
|
607
608
|
declare const Mixed$46: abstract new () => TsDsl<ts.ReturnStatement>;
|
|
608
609
|
declare class ReturnTsDsl extends Mixed$46 {
|
|
@@ -632,8 +633,8 @@ interface TypeExprMethods extends Node {
|
|
|
632
633
|
}
|
|
633
634
|
//#endregion
|
|
634
635
|
//#region src/ts-dsl/type/attr.d.ts
|
|
635
|
-
type Base$1 = NodeName
|
|
636
|
-
type Right = NodeName
|
|
636
|
+
type Base$1 = NodeName | MaybeTsDsl<ts.EntityName>;
|
|
637
|
+
type Right = NodeName | ts.Identifier;
|
|
637
638
|
declare const Mixed$45: MixinCtor<abstract new () => TsDsl<ts.QualifiedName>, TypeExprMethods>;
|
|
638
639
|
declare class TypeAttrTsDsl extends Mixed$45 {
|
|
639
640
|
readonly '~dsl' = "TypeAttrTsDsl";
|
|
@@ -656,9 +657,9 @@ declare class TypeAttrTsDsl extends Mixed$45 {
|
|
|
656
657
|
}
|
|
657
658
|
//#endregion
|
|
658
659
|
//#region src/ts-dsl/type/expr.d.ts
|
|
659
|
-
type TypeExprExpr = NodeName
|
|
660
|
+
type TypeExprExpr = NodeName | TypeAttrTsDsl;
|
|
660
661
|
type TypeExprFn = (t: TypeExprTsDsl) => void;
|
|
661
|
-
type TypeExprCtor = (nameOrFn?: NodeName
|
|
662
|
+
type TypeExprCtor = (nameOrFn?: NodeName | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
|
|
662
663
|
declare const Mixed$44: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeReferenceNode>, TypeExprMethods>, TypeArgsMethods>;
|
|
663
664
|
declare class TypeExprTsDsl extends Mixed$44 {
|
|
664
665
|
readonly '~dsl' = "TypeExprTsDsl";
|
|
@@ -666,8 +667,8 @@ declare class TypeExprTsDsl extends Mixed$44 {
|
|
|
666
667
|
protected _exprInput?: Ref<TypeExprExpr>;
|
|
667
668
|
constructor();
|
|
668
669
|
constructor(fn: TypeExprFn);
|
|
669
|
-
constructor(name: NodeName
|
|
670
|
-
constructor(name: NodeName
|
|
670
|
+
constructor(name: NodeName);
|
|
671
|
+
constructor(name: NodeName, fn?: TypeExprFn);
|
|
671
672
|
analyze(ctx: AnalysisContext): void;
|
|
672
673
|
/** Returns true when all required builder calls are present. */
|
|
673
674
|
get isValid(): boolean;
|
|
@@ -747,13 +748,13 @@ declare class TypeOperatorTsDsl extends Mixed$42 {
|
|
|
747
748
|
}
|
|
748
749
|
//#endregion
|
|
749
750
|
//#region src/ts-dsl/type/query.d.ts
|
|
750
|
-
type TypeQueryExpr =
|
|
751
|
+
type TypeQueryExpr = NodeName | MaybeTsDsl<TypeTsDsl | ts.Expression>;
|
|
751
752
|
type TypeQueryCtor = (expr: TypeQueryExpr) => TypeQueryTsDsl;
|
|
752
753
|
declare const Mixed$41: MixinCtor<abstract new () => TsDsl<ts.TypeQueryNode>, TypeExprMethods>;
|
|
753
754
|
declare class TypeQueryTsDsl extends Mixed$41 {
|
|
754
755
|
readonly '~dsl' = "TypeQueryTsDsl";
|
|
755
756
|
scope: NodeScope;
|
|
756
|
-
protected _expr: TypeQueryExpr
|
|
757
|
+
protected _expr: Ref<TypeQueryExpr>;
|
|
757
758
|
constructor(expr: TypeQueryExpr);
|
|
758
759
|
analyze(ctx: AnalysisContext): void;
|
|
759
760
|
toAst(): ts.TypeQueryNode;
|
|
@@ -795,7 +796,7 @@ interface ExprMethods extends Node {
|
|
|
795
796
|
//#endregion
|
|
796
797
|
//#region src/ts-dsl/expr/call.d.ts
|
|
797
798
|
type CallArgs = ReadonlyArray<CallCallee | undefined>;
|
|
798
|
-
type CallCallee = NodeName
|
|
799
|
+
type CallCallee = NodeName | MaybeTsDsl<ts.Expression>;
|
|
799
800
|
type CallCtor = (callee: CallCallee, ...args: CallArgs) => CallTsDsl;
|
|
800
801
|
declare const Mixed$40: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
|
|
801
802
|
declare class CallTsDsl extends Mixed$40 {
|
|
@@ -879,7 +880,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
|
|
|
879
880
|
structuralParents?: Map<TsDsl, NodeRelationship>;
|
|
880
881
|
symbol?: Symbol;
|
|
881
882
|
toAst(): T;
|
|
882
|
-
readonly '~brand'
|
|
883
|
+
readonly '~brand' = "heyapi.node";
|
|
883
884
|
/** Branding property to identify the DSL class at runtime. */
|
|
884
885
|
abstract readonly '~dsl': AnyString;
|
|
885
886
|
/** Conditionally applies a callback to this builder. */
|
|
@@ -895,7 +896,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
|
|
|
895
896
|
length: number;
|
|
896
897
|
}): TsDsl | undefined;
|
|
897
898
|
protected $maybeId<T extends string | ts.Expression>(expr: T): T extends string ? ts.Identifier : T;
|
|
898
|
-
protected $name(name: Ref<NodeName
|
|
899
|
+
protected $name(name: Ref<NodeName>): string;
|
|
899
900
|
protected $node<I>(value: I): NodeOfMaybe<I>;
|
|
900
901
|
protected $type<I>(value: I, args?: ReadonlyArray<ts.TypeNode>): TypeOfMaybe<I>;
|
|
901
902
|
private _name?;
|
|
@@ -920,7 +921,7 @@ declare class DocTsDsl extends TsDsl<ts.Node> {
|
|
|
920
921
|
analyze(ctx: AnalysisContext): void;
|
|
921
922
|
add(lines: DocLines): this;
|
|
922
923
|
apply<T extends ts.Node>(node: T): T;
|
|
923
|
-
toAst():
|
|
924
|
+
toAst(): ts.Identifier;
|
|
924
925
|
}
|
|
925
926
|
//#endregion
|
|
926
927
|
//#region src/ts-dsl/layout/hint.d.ts
|
|
@@ -934,7 +935,7 @@ declare class HintTsDsl extends TsDsl<ts.Node> {
|
|
|
934
935
|
analyze(ctx: AnalysisContext): void;
|
|
935
936
|
add(lines: HintLines): this;
|
|
936
937
|
apply<T extends ts.Node>(node: T): T;
|
|
937
|
-
toAst():
|
|
938
|
+
toAst(): ts.Identifier;
|
|
938
939
|
}
|
|
939
940
|
//#endregion
|
|
940
941
|
//#region src/ts-dsl/mixins/do.d.ts
|
|
@@ -1057,7 +1058,7 @@ declare class NoteTsDsl extends TsDsl<ts.Node> {
|
|
|
1057
1058
|
analyze(ctx: AnalysisContext): void;
|
|
1058
1059
|
add(lines: NoteLines): this;
|
|
1059
1060
|
apply<T extends ts.Node>(node: T): T;
|
|
1060
|
-
toAst():
|
|
1061
|
+
toAst(): ts.Identifier;
|
|
1061
1062
|
}
|
|
1062
1063
|
//#endregion
|
|
1063
1064
|
//#region src/ts-dsl/mixins/value.d.ts
|
|
@@ -1085,11 +1086,11 @@ interface DecoratorMethods extends Node {
|
|
|
1085
1086
|
/** Renders the decorators into an array of `ts.Decorator`s. */
|
|
1086
1087
|
$decorators(): ReadonlyArray<ts.Decorator>;
|
|
1087
1088
|
/** Adds a decorator (e.g. `@sealed({ in: 'root' })`). */
|
|
1088
|
-
decorator(name: NodeName
|
|
1089
|
+
decorator(name: NodeName | MaybeTsDsl<ts.Expression>, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>): this;
|
|
1089
1090
|
}
|
|
1090
1091
|
//#endregion
|
|
1091
1092
|
//#region src/ts-dsl/decl/param.d.ts
|
|
1092
|
-
type ParamName = NodeName
|
|
1093
|
+
type ParamName = NodeName | ParamFn;
|
|
1093
1094
|
type ParamFn = (p: ParamTsDsl) => void;
|
|
1094
1095
|
type ParamCtor = (name: ParamName, fn?: ParamFn) => ParamTsDsl;
|
|
1095
1096
|
declare const Mixed$38: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration>, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
|
|
@@ -1107,15 +1108,27 @@ declare class ParamTsDsl extends Mixed$38 {
|
|
|
1107
1108
|
private missingRequiredCalls;
|
|
1108
1109
|
}
|
|
1109
1110
|
//#endregion
|
|
1111
|
+
//#region src/ts-dsl/expr/template.d.ts
|
|
1112
|
+
type TemplatePart = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1113
|
+
declare const Mixed$37: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
|
|
1114
|
+
declare class TemplateTsDsl extends Mixed$37 {
|
|
1115
|
+
readonly '~dsl' = "TemplateTsDsl";
|
|
1116
|
+
protected parts: Array<Ref<TemplatePart>>;
|
|
1117
|
+
constructor(value?: TemplatePart);
|
|
1118
|
+
analyze(ctx: AnalysisContext): void;
|
|
1119
|
+
add(value: TemplatePart): this;
|
|
1120
|
+
toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
|
|
1121
|
+
}
|
|
1122
|
+
//#endregion
|
|
1110
1123
|
//#region src/ts-dsl/type/param.d.ts
|
|
1111
|
-
type TypeParamExpr = NodeName
|
|
1112
|
-
declare const Mixed$
|
|
1113
|
-
declare class TypeParamTsDsl extends Mixed$
|
|
1124
|
+
type TypeParamExpr = NodeName | boolean | MaybeTsDsl<TypeTsDsl>;
|
|
1125
|
+
declare const Mixed$36: abstract new () => TsDsl<ts.TypeParameterDeclaration>;
|
|
1126
|
+
declare class TypeParamTsDsl extends Mixed$36 {
|
|
1114
1127
|
readonly '~dsl' = "TypeParamTsDsl";
|
|
1115
1128
|
scope: NodeScope;
|
|
1116
1129
|
protected constraint?: Ref<TypeParamExpr>;
|
|
1117
1130
|
protected defaultValue?: Ref<TypeParamExpr>;
|
|
1118
|
-
constructor(name?: NodeName
|
|
1131
|
+
constructor(name?: NodeName, fn?: (name: TypeParamTsDsl) => void);
|
|
1119
1132
|
analyze(ctx: AnalysisContext): void;
|
|
1120
1133
|
/** Sets the parameter default value. */
|
|
1121
1134
|
default(value: TypeParamExpr): this;
|
|
@@ -1130,7 +1143,7 @@ interface TypeParamsMethods extends Node {
|
|
|
1130
1143
|
/** Adds a single type parameter (e.g. `T` in `Array<T>`). */
|
|
1131
1144
|
generic(...args: ConstructorParameters<typeof TypeParamTsDsl>): this;
|
|
1132
1145
|
/** Adds type parameters (e.g. `Map<string, T>`). */
|
|
1133
|
-
generics(...args: ReadonlyArray<NodeName
|
|
1146
|
+
generics(...args: ReadonlyArray<NodeName | MaybeTsDsl<TypeParamTsDsl>>): this;
|
|
1134
1147
|
}
|
|
1135
1148
|
//#endregion
|
|
1136
1149
|
//#region src/ts-dsl/mixins/modifiers.d.ts
|
|
@@ -1243,13 +1256,13 @@ interface DocMethods extends Node {
|
|
|
1243
1256
|
}
|
|
1244
1257
|
//#endregion
|
|
1245
1258
|
//#region src/ts-dsl/decl/field.d.ts
|
|
1246
|
-
type FieldType = NodeName
|
|
1247
|
-
declare const Mixed$
|
|
1248
|
-
declare class FieldTsDsl extends Mixed$
|
|
1259
|
+
type FieldType = NodeName | TypeTsDsl;
|
|
1260
|
+
declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyDeclaration>, ValueMethods>, StaticMethods>, ReadonlyMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, OptionalMethods>, DocMethods>, DecoratorMethods>;
|
|
1261
|
+
declare class FieldTsDsl extends Mixed$35 {
|
|
1249
1262
|
readonly '~dsl' = "FieldTsDsl";
|
|
1250
1263
|
readonly nameSanitizer: (name: string) => string;
|
|
1251
1264
|
protected _type?: TypeTsDsl;
|
|
1252
|
-
constructor(name: NodeName
|
|
1265
|
+
constructor(name: NodeName, fn?: (f: FieldTsDsl) => void);
|
|
1253
1266
|
analyze(ctx: AnalysisContext): void;
|
|
1254
1267
|
/** Sets the field type. */
|
|
1255
1268
|
type(type: FieldType): this;
|
|
@@ -1267,8 +1280,8 @@ interface ParamMethods extends Node {
|
|
|
1267
1280
|
}
|
|
1268
1281
|
//#endregion
|
|
1269
1282
|
//#region src/ts-dsl/decl/init.d.ts
|
|
1270
|
-
declare const Mixed$
|
|
1271
|
-
declare class InitTsDsl extends Mixed$
|
|
1283
|
+
declare const Mixed$34: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
|
|
1284
|
+
declare class InitTsDsl extends Mixed$34 {
|
|
1272
1285
|
readonly '~dsl' = "InitTsDsl";
|
|
1273
1286
|
constructor(fn?: (i: InitTsDsl) => void);
|
|
1274
1287
|
analyze(ctx: AnalysisContext): void;
|
|
@@ -1280,41 +1293,41 @@ interface TypeReturnsMethods extends Node {
|
|
|
1280
1293
|
/** Returns the return type node. */
|
|
1281
1294
|
$returns(): ts.TypeNode | undefined;
|
|
1282
1295
|
/** Sets the return type. */
|
|
1283
|
-
returns(type: NodeName
|
|
1296
|
+
returns(type: NodeName | TypeTsDsl): this;
|
|
1284
1297
|
}
|
|
1285
1298
|
//#endregion
|
|
1286
1299
|
//#region src/ts-dsl/decl/method.d.ts
|
|
1287
|
-
declare const Mixed$
|
|
1288
|
-
declare class MethodTsDsl extends Mixed$
|
|
1300
|
+
declare const Mixed$33: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.MethodDeclaration>, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, OptionalMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
|
|
1301
|
+
declare class MethodTsDsl extends Mixed$33 {
|
|
1289
1302
|
readonly '~dsl' = "MethodTsDsl";
|
|
1290
1303
|
readonly nameSanitizer: (name: string) => string;
|
|
1291
|
-
constructor(name: NodeName
|
|
1304
|
+
constructor(name: NodeName, fn?: (m: MethodTsDsl) => void);
|
|
1292
1305
|
analyze(ctx: AnalysisContext): void;
|
|
1293
1306
|
toAst(): ts.MethodDeclaration;
|
|
1294
1307
|
}
|
|
1295
1308
|
//#endregion
|
|
1296
1309
|
//#region src/ts-dsl/decl/class.d.ts
|
|
1297
1310
|
type Body = Array<MaybeTsDsl<ts.ClassElement | ts.Node>>;
|
|
1298
|
-
declare const Mixed$
|
|
1299
|
-
declare class ClassTsDsl extends Mixed$
|
|
1311
|
+
declare const Mixed$32: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
|
|
1312
|
+
declare class ClassTsDsl extends Mixed$32 {
|
|
1300
1313
|
readonly '~dsl' = "ClassTsDsl";
|
|
1301
1314
|
readonly nameSanitizer: (name: string) => string;
|
|
1302
|
-
protected baseClass?: Ref<NodeName
|
|
1315
|
+
protected baseClass?: Ref<NodeName>;
|
|
1303
1316
|
protected body: Body;
|
|
1304
|
-
constructor(name: NodeName
|
|
1317
|
+
constructor(name: NodeName);
|
|
1305
1318
|
analyze(ctx: AnalysisContext): void;
|
|
1306
1319
|
/** Returns true if the class has any members. */
|
|
1307
1320
|
get hasBody(): boolean;
|
|
1308
1321
|
/** Adds one or more class members (fields, methods, etc.). */
|
|
1309
1322
|
do(...items: Body): this;
|
|
1310
1323
|
/** Records a base class to extend from. */
|
|
1311
|
-
extends(base?: NodeName
|
|
1324
|
+
extends(base?: NodeName): this;
|
|
1312
1325
|
/** Adds a class field. */
|
|
1313
|
-
field(name: NodeName
|
|
1326
|
+
field(name: NodeName, fn?: (f: FieldTsDsl) => void): this;
|
|
1314
1327
|
/** Adds a class constructor. */
|
|
1315
1328
|
init(fn?: InitTsDsl | ((i: InitTsDsl) => void)): this;
|
|
1316
1329
|
/** Adds a class method. */
|
|
1317
|
-
method(name: NodeName
|
|
1330
|
+
method(name: NodeName, fn?: (m: MethodTsDsl) => void): this;
|
|
1318
1331
|
/** Inserts an empty line between members for formatting. */
|
|
1319
1332
|
newline(): this;
|
|
1320
1333
|
toAst(): ts.ClassDeclaration;
|
|
@@ -1323,11 +1336,11 @@ declare class ClassTsDsl extends Mixed$33 {
|
|
|
1323
1336
|
}
|
|
1324
1337
|
//#endregion
|
|
1325
1338
|
//#region src/ts-dsl/decl/decorator.d.ts
|
|
1326
|
-
declare const Mixed$
|
|
1327
|
-
declare class DecoratorTsDsl extends Mixed$
|
|
1339
|
+
declare const Mixed$31: MixinCtor<abstract new () => TsDsl<ts.Decorator>, ArgsMethods>;
|
|
1340
|
+
declare class DecoratorTsDsl extends Mixed$31 {
|
|
1328
1341
|
readonly '~dsl' = "DecoratorTsDsl";
|
|
1329
1342
|
readonly nameSanitizer: (name: string) => string;
|
|
1330
|
-
constructor(name: NodeName
|
|
1343
|
+
constructor(name: NodeName, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
|
|
1331
1344
|
analyze(ctx: AnalysisContext): void;
|
|
1332
1345
|
toAst(): ts.Decorator;
|
|
1333
1346
|
}
|
|
@@ -1335,11 +1348,11 @@ declare class DecoratorTsDsl extends Mixed$32 {
|
|
|
1335
1348
|
//#region src/ts-dsl/decl/member.d.ts
|
|
1336
1349
|
type Value$2 = string | number | MaybeTsDsl<ts.Expression>;
|
|
1337
1350
|
type ValueFn$1 = Value$2 | ((m: EnumMemberTsDsl) => void);
|
|
1338
|
-
declare const Mixed$
|
|
1339
|
-
declare class EnumMemberTsDsl extends Mixed$
|
|
1351
|
+
declare const Mixed$30: MixinCtor<abstract new () => TsDsl<ts.EnumMember>, DocMethods>;
|
|
1352
|
+
declare class EnumMemberTsDsl extends Mixed$30 {
|
|
1340
1353
|
readonly '~dsl' = "EnumMemberTsDsl";
|
|
1341
1354
|
private _value?;
|
|
1342
|
-
constructor(name: NodeName
|
|
1355
|
+
constructor(name: NodeName, value?: ValueFn$1);
|
|
1343
1356
|
analyze(ctx: AnalysisContext): void;
|
|
1344
1357
|
/** Sets the enum member value. */
|
|
1345
1358
|
value(value?: Value$2): this;
|
|
@@ -1349,12 +1362,12 @@ declare class EnumMemberTsDsl extends Mixed$31 {
|
|
|
1349
1362
|
//#region src/ts-dsl/decl/enum.d.ts
|
|
1350
1363
|
type Value$1 = string | number | MaybeTsDsl<ts.Expression>;
|
|
1351
1364
|
type ValueFn = Value$1 | ((m: EnumMemberTsDsl) => void);
|
|
1352
|
-
declare const Mixed$
|
|
1353
|
-
declare class EnumTsDsl extends Mixed$
|
|
1365
|
+
declare const Mixed$29: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration>, ExportMethods>, DocMethods>, ConstMethods>;
|
|
1366
|
+
declare class EnumTsDsl extends Mixed$29 {
|
|
1354
1367
|
readonly '~dsl' = "EnumTsDsl";
|
|
1355
1368
|
readonly nameSanitizer: (name: string) => string;
|
|
1356
1369
|
private _members;
|
|
1357
|
-
constructor(name: NodeName
|
|
1370
|
+
constructor(name: NodeName, fn?: (e: EnumTsDsl) => void);
|
|
1358
1371
|
analyze(ctx: AnalysisContext): void;
|
|
1359
1372
|
/** Adds an enum member. */
|
|
1360
1373
|
member(name: string, value?: ValueFn): this;
|
|
@@ -1365,15 +1378,15 @@ declare class EnumTsDsl extends Mixed$30 {
|
|
|
1365
1378
|
//#endregion
|
|
1366
1379
|
//#region src/ts-dsl/decl/func.d.ts
|
|
1367
1380
|
type FuncMode = 'arrow' | 'decl' | 'expr';
|
|
1368
|
-
declare const Mixed$
|
|
1369
|
-
declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$
|
|
1381
|
+
declare const Mixed$28: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrowFunction>, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AsMethods>, AbstractMethods>;
|
|
1382
|
+
declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$28 {
|
|
1370
1383
|
readonly '~dsl' = "FuncTsDsl";
|
|
1371
1384
|
readonly nameSanitizer: (name: string) => string;
|
|
1372
1385
|
protected mode?: FuncMode;
|
|
1373
1386
|
constructor();
|
|
1374
1387
|
constructor(fn: (f: ImplFuncTsDsl<'arrow'>) => void);
|
|
1375
|
-
constructor(name: NodeName
|
|
1376
|
-
constructor(name: NodeName
|
|
1388
|
+
constructor(name: NodeName);
|
|
1389
|
+
constructor(name: NodeName, fn: (f: ImplFuncTsDsl<'decl'>) => void);
|
|
1377
1390
|
analyze(ctx: AnalysisContext): void;
|
|
1378
1391
|
/** Returns true when all required builder calls are present. */
|
|
1379
1392
|
get isValid(): boolean;
|
|
@@ -1390,27 +1403,27 @@ declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$29 {
|
|
|
1390
1403
|
declare const FuncTsDsl: {
|
|
1391
1404
|
new (): FuncTsDsl<"arrow">;
|
|
1392
1405
|
new (fn: (f: FuncTsDsl<"arrow">) => void): FuncTsDsl<"arrow">;
|
|
1393
|
-
new (name: NodeName
|
|
1394
|
-
new (name: NodeName
|
|
1406
|
+
new (name: NodeName): FuncTsDsl<"decl">;
|
|
1407
|
+
new (name: NodeName, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
|
|
1395
1408
|
} & typeof ImplFuncTsDsl;
|
|
1396
1409
|
type FuncTsDsl<M extends FuncMode = 'arrow'> = ImplFuncTsDsl<M>;
|
|
1397
1410
|
//#endregion
|
|
1398
1411
|
//#region src/ts-dsl/decl/getter.d.ts
|
|
1399
|
-
declare const Mixed$
|
|
1400
|
-
declare class GetterTsDsl extends Mixed$
|
|
1412
|
+
declare const Mixed$27: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.GetAccessorDeclaration>, TypeReturnsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
|
|
1413
|
+
declare class GetterTsDsl extends Mixed$27 {
|
|
1401
1414
|
readonly '~dsl' = "GetterTsDsl";
|
|
1402
1415
|
readonly nameSanitizer: (name: string) => string;
|
|
1403
|
-
constructor(name: NodeName
|
|
1416
|
+
constructor(name: NodeName, fn?: (g: GetterTsDsl) => void);
|
|
1404
1417
|
analyze(ctx: AnalysisContext): void;
|
|
1405
1418
|
toAst(): ts.GetAccessorDeclaration;
|
|
1406
1419
|
}
|
|
1407
1420
|
//#endregion
|
|
1408
1421
|
//#region src/ts-dsl/decl/pattern.d.ts
|
|
1409
|
-
declare const Mixed$
|
|
1422
|
+
declare const Mixed$26: abstract new () => TsDsl<ts.BindingName>;
|
|
1410
1423
|
/**
|
|
1411
1424
|
* Builds binding patterns (e.g. `{ foo, bar }`, `[a, b, ...rest]`).
|
|
1412
1425
|
*/
|
|
1413
|
-
declare class PatternTsDsl extends Mixed$
|
|
1426
|
+
declare class PatternTsDsl extends Mixed$26 {
|
|
1414
1427
|
readonly '~dsl' = "PatternTsDsl";
|
|
1415
1428
|
protected pattern?: {
|
|
1416
1429
|
kind: 'array';
|
|
@@ -1444,11 +1457,11 @@ declare class PatternTsDsl extends Mixed$27 {
|
|
|
1444
1457
|
}
|
|
1445
1458
|
//#endregion
|
|
1446
1459
|
//#region src/ts-dsl/decl/setter.d.ts
|
|
1447
|
-
declare const Mixed$
|
|
1448
|
-
declare class SetterTsDsl extends Mixed$
|
|
1460
|
+
declare const Mixed$25: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.SetAccessorDeclaration>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
|
|
1461
|
+
declare class SetterTsDsl extends Mixed$25 {
|
|
1449
1462
|
readonly '~dsl' = "SetterTsDsl";
|
|
1450
1463
|
readonly nameSanitizer: (name: string) => string;
|
|
1451
|
-
constructor(name: NodeName
|
|
1464
|
+
constructor(name: NodeName, fn?: (s: SetterTsDsl) => void);
|
|
1452
1465
|
analyze(ctx: AnalysisContext): void;
|
|
1453
1466
|
toAst(): ts.SetAccessorDeclaration;
|
|
1454
1467
|
}
|
|
@@ -1466,8 +1479,8 @@ interface LayoutMethods extends Node {
|
|
|
1466
1479
|
}
|
|
1467
1480
|
//#endregion
|
|
1468
1481
|
//#region src/ts-dsl/expr/array.d.ts
|
|
1469
|
-
declare const Mixed$
|
|
1470
|
-
declare class ArrayTsDsl extends Mixed$
|
|
1482
|
+
declare const Mixed$24: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression>, LayoutMethods>, AsMethods>;
|
|
1483
|
+
declare class ArrayTsDsl extends Mixed$24 {
|
|
1471
1484
|
readonly '~dsl' = "ArrayTsDsl";
|
|
1472
1485
|
protected _elements: Array<{
|
|
1473
1486
|
expr: MaybeTsDsl<ts.Expression>;
|
|
@@ -1488,19 +1501,19 @@ declare class ArrayTsDsl extends Mixed$25 {
|
|
|
1488
1501
|
}
|
|
1489
1502
|
//#endregion
|
|
1490
1503
|
//#region src/ts-dsl/expr/expr.d.ts
|
|
1491
|
-
type Id = NodeName
|
|
1492
|
-
declare const Mixed$
|
|
1493
|
-
declare class ExprTsDsl extends Mixed$
|
|
1504
|
+
type Id = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1505
|
+
declare const Mixed$23: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression>, TypeExprMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
|
|
1506
|
+
declare class ExprTsDsl extends Mixed$23 {
|
|
1494
1507
|
readonly '~dsl' = "ExprTsDsl";
|
|
1495
1508
|
protected _exprInput: Ref<Id>;
|
|
1496
1509
|
constructor(id: Id);
|
|
1497
1510
|
analyze(ctx: AnalysisContext): void;
|
|
1498
|
-
toAst():
|
|
1511
|
+
toAst(): ts.Expression;
|
|
1499
1512
|
}
|
|
1500
1513
|
//#endregion
|
|
1501
1514
|
//#region src/ts-dsl/expr/id.d.ts
|
|
1502
|
-
declare const Mixed$
|
|
1503
|
-
declare class IdTsDsl extends Mixed$
|
|
1515
|
+
declare const Mixed$22: abstract new () => TsDsl<ts.Identifier>;
|
|
1516
|
+
declare class IdTsDsl extends Mixed$22 {
|
|
1504
1517
|
readonly '~dsl' = "IdTsDsl";
|
|
1505
1518
|
constructor(name: string);
|
|
1506
1519
|
analyze(ctx: AnalysisContext): void;
|
|
@@ -1557,13 +1570,13 @@ declare const ts$1: {
|
|
|
1557
1570
|
};
|
|
1558
1571
|
//#endregion
|
|
1559
1572
|
//#region src/ts-dsl/expr/literal.d.ts
|
|
1560
|
-
declare const Mixed$
|
|
1561
|
-
declare class LiteralTsDsl extends Mixed$
|
|
1573
|
+
declare const Mixed$21: MixinCtor<abstract new () => TsDsl<ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.PrefixUnaryExpression | ts.StringLiteral>, AsMethods>;
|
|
1574
|
+
declare class LiteralTsDsl extends Mixed$21 {
|
|
1562
1575
|
readonly '~dsl' = "LiteralTsDsl";
|
|
1563
1576
|
protected value: ts$1.LiteralValue;
|
|
1564
1577
|
constructor(value: ts$1.LiteralValue);
|
|
1565
1578
|
analyze(ctx: AnalysisContext): void;
|
|
1566
|
-
toAst():
|
|
1579
|
+
toAst(): ts.BigIntLiteral | ts.TrueLiteral | ts.FalseLiteral | ts.NullLiteral | ts.NumericLiteral | ts.PrefixUnaryExpression | ts.StringLiteral;
|
|
1567
1580
|
}
|
|
1568
1581
|
//#endregion
|
|
1569
1582
|
//#region src/ts-dsl/mixins/hint.d.ts
|
|
@@ -1573,8 +1586,8 @@ interface HintMethods extends Node {
|
|
|
1573
1586
|
}
|
|
1574
1587
|
//#endregion
|
|
1575
1588
|
//#region src/ts-dsl/expr/prop.d.ts
|
|
1576
|
-
type Expr$1 = NodeName
|
|
1577
|
-
type Stmt$1 = NodeName
|
|
1589
|
+
type Expr$1 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1590
|
+
type Stmt$1 = NodeName | MaybeTsDsl<ts.Statement>;
|
|
1578
1591
|
type ObjectPropKind = 'computed' | 'getter' | 'prop' | 'setter' | 'spread';
|
|
1579
1592
|
type Meta = {
|
|
1580
1593
|
kind: 'computed';
|
|
@@ -1592,8 +1605,8 @@ type Meta = {
|
|
|
1592
1605
|
kind: 'spread';
|
|
1593
1606
|
name?: undefined;
|
|
1594
1607
|
};
|
|
1595
|
-
declare const Mixed$
|
|
1596
|
-
declare class ObjectPropTsDsl extends Mixed$
|
|
1608
|
+
declare const Mixed$20: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike>, DocMethods>;
|
|
1609
|
+
declare class ObjectPropTsDsl extends Mixed$20 {
|
|
1597
1610
|
readonly '~dsl' = "ObjectPropTsDsl";
|
|
1598
1611
|
protected _value?: Ref<Expr$1 | Stmt$1>;
|
|
1599
1612
|
protected _meta: Meta;
|
|
@@ -1603,7 +1616,7 @@ declare class ObjectPropTsDsl extends Mixed$21 {
|
|
|
1603
1616
|
analyze(ctx: AnalysisContext): void;
|
|
1604
1617
|
get isValid(): boolean;
|
|
1605
1618
|
value(value: Expr$1 | Stmt$1 | ((p: ObjectPropTsDsl) => void)): this;
|
|
1606
|
-
toAst():
|
|
1619
|
+
toAst(): ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.SpreadAssignment;
|
|
1607
1620
|
$validate(): asserts this is this & {
|
|
1608
1621
|
_value: Expr$1 | Stmt$1;
|
|
1609
1622
|
kind: ObjectPropKind;
|
|
@@ -1612,12 +1625,12 @@ declare class ObjectPropTsDsl extends Mixed$21 {
|
|
|
1612
1625
|
}
|
|
1613
1626
|
//#endregion
|
|
1614
1627
|
//#region src/ts-dsl/expr/object.d.ts
|
|
1615
|
-
type Expr = NodeName
|
|
1616
|
-
type Stmt = NodeName
|
|
1628
|
+
type Expr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1629
|
+
type Stmt = NodeName | MaybeTsDsl<ts.Statement>;
|
|
1617
1630
|
type ExprFn = Expr | ((p: ObjectPropTsDsl) => void);
|
|
1618
1631
|
type StmtFn = Stmt | ((p: ObjectPropTsDsl) => void);
|
|
1619
|
-
declare const Mixed$
|
|
1620
|
-
declare class ObjectTsDsl extends Mixed$
|
|
1632
|
+
declare const Mixed$19: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression>, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
|
|
1633
|
+
declare class ObjectTsDsl extends Mixed$19 {
|
|
1621
1634
|
readonly '~dsl' = "ObjectTsDsl";
|
|
1622
1635
|
protected _props: Map<string, ObjectPropTsDsl>;
|
|
1623
1636
|
protected _spreadCounter: number;
|
|
@@ -1645,8 +1658,8 @@ declare class ObjectTsDsl extends Mixed$20 {
|
|
|
1645
1658
|
}
|
|
1646
1659
|
//#endregion
|
|
1647
1660
|
//#region src/ts-dsl/expr/prefix.d.ts
|
|
1648
|
-
declare const Mixed$
|
|
1649
|
-
declare class PrefixTsDsl extends Mixed$
|
|
1661
|
+
declare const Mixed$18: abstract new () => TsDsl<ts.PrefixUnaryExpression>;
|
|
1662
|
+
declare class PrefixTsDsl extends Mixed$18 {
|
|
1650
1663
|
readonly '~dsl' = "PrefixTsDsl";
|
|
1651
1664
|
protected _expr?: string | MaybeTsDsl<ts.Expression>;
|
|
1652
1665
|
protected _op?: ts.PrefixUnaryOperator;
|
|
@@ -1673,8 +1686,8 @@ declare class PrefixTsDsl extends Mixed$19 {
|
|
|
1673
1686
|
//#region src/ts-dsl/expr/regexp.d.ts
|
|
1674
1687
|
type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u' | 'y';
|
|
1675
1688
|
type RegexFlags<Avail extends string = RegexFlag> = '' | { [K in Avail]: `${K}${RegexFlags<Exclude<Avail, K>>}` }[Avail];
|
|
1676
|
-
declare const Mixed$
|
|
1677
|
-
declare class RegExpTsDsl extends Mixed$
|
|
1689
|
+
declare const Mixed$17: abstract new () => TsDsl<ts.RegularExpressionLiteral>;
|
|
1690
|
+
declare class RegExpTsDsl extends Mixed$17 {
|
|
1678
1691
|
readonly '~dsl' = "RegExpTsDsl";
|
|
1679
1692
|
protected pattern: string;
|
|
1680
1693
|
protected flags?: RegexFlags;
|
|
@@ -1683,18 +1696,6 @@ declare class RegExpTsDsl extends Mixed$18 {
|
|
|
1683
1696
|
toAst(): ts.RegularExpressionLiteral;
|
|
1684
1697
|
}
|
|
1685
1698
|
//#endregion
|
|
1686
|
-
//#region src/ts-dsl/expr/template.d.ts
|
|
1687
|
-
type TemplatePart = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
1688
|
-
declare const Mixed$17: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
|
|
1689
|
-
declare class TemplateTsDsl extends Mixed$17 {
|
|
1690
|
-
readonly '~dsl' = "TemplateTsDsl";
|
|
1691
|
-
protected parts: Array<Ref<TemplatePart>>;
|
|
1692
|
-
constructor(value?: TemplatePart);
|
|
1693
|
-
analyze(ctx: AnalysisContext): void;
|
|
1694
|
-
add(value: TemplatePart): this;
|
|
1695
|
-
toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
|
|
1696
|
-
}
|
|
1697
|
-
//#endregion
|
|
1698
1699
|
//#region src/ts-dsl/expr/ternary.d.ts
|
|
1699
1700
|
declare const Mixed$16: abstract new () => TsDsl<ts.ConditionalExpression>;
|
|
1700
1701
|
declare class TernaryTsDsl extends Mixed$16 {
|
|
@@ -1722,7 +1723,7 @@ declare class TernaryTsDsl extends Mixed$16 {
|
|
|
1722
1723
|
declare class NewlineTsDsl extends TsDsl<ts.Identifier> {
|
|
1723
1724
|
readonly '~dsl' = "NewlineTsDsl";
|
|
1724
1725
|
analyze(ctx: AnalysisContext): void;
|
|
1725
|
-
toAst():
|
|
1726
|
+
toAst(): ts.Identifier;
|
|
1726
1727
|
}
|
|
1727
1728
|
//#endregion
|
|
1728
1729
|
//#region src/ts-dsl/stmt/block.d.ts
|
|
@@ -1762,7 +1763,7 @@ declare const Mixed$12: abstract new () => TsDsl<ts.TryStatement>;
|
|
|
1762
1763
|
declare class TryTsDsl extends Mixed$12 {
|
|
1763
1764
|
readonly '~dsl' = "TryTsDsl";
|
|
1764
1765
|
protected _catch?: Array<DoExpr>;
|
|
1765
|
-
protected _catchArg?: NodeName
|
|
1766
|
+
protected _catchArg?: NodeName;
|
|
1766
1767
|
protected _finally?: Array<DoExpr>;
|
|
1767
1768
|
protected _try?: Array<DoExpr>;
|
|
1768
1769
|
constructor(...tryBlock: Array<DoExpr>);
|
|
@@ -1770,7 +1771,7 @@ declare class TryTsDsl extends Mixed$12 {
|
|
|
1770
1771
|
/** Returns true when all required builder calls are present. */
|
|
1771
1772
|
get isValid(): boolean;
|
|
1772
1773
|
catch(...items: Array<DoExpr>): this;
|
|
1773
|
-
catchArg(arg: NodeName
|
|
1774
|
+
catchArg(arg: NodeName): this;
|
|
1774
1775
|
finally(...items: Array<DoExpr>): this;
|
|
1775
1776
|
try(...items: Array<DoExpr>): this;
|
|
1776
1777
|
toAst(): ts.TryStatement;
|
|
@@ -1787,7 +1788,7 @@ declare class VarTsDsl extends Mixed$11 {
|
|
|
1787
1788
|
readonly nameSanitizer: (name: string) => string;
|
|
1788
1789
|
protected kind: ts.NodeFlags;
|
|
1789
1790
|
protected _type?: TypeTsDsl;
|
|
1790
|
-
constructor(name?: NodeName
|
|
1791
|
+
constructor(name?: NodeName);
|
|
1791
1792
|
analyze(ctx: AnalysisContext): void;
|
|
1792
1793
|
/** Returns true when all required builder calls are present. */
|
|
1793
1794
|
get isValid(): boolean;
|
|
@@ -1836,7 +1837,7 @@ declare class TypeAliasTsDsl extends Mixed$10 {
|
|
|
1836
1837
|
readonly nameSanitizer: (name: string) => string;
|
|
1837
1838
|
scope: NodeScope;
|
|
1838
1839
|
protected value?: Value;
|
|
1839
|
-
constructor(name: NodeName
|
|
1840
|
+
constructor(name: NodeName, fn?: (t: TypeAliasTsDsl) => void);
|
|
1840
1841
|
analyze(ctx: AnalysisContext): void;
|
|
1841
1842
|
/** Returns true when all required builder calls are present. */
|
|
1842
1843
|
get isValid(): boolean;
|
|
@@ -1850,7 +1851,7 @@ declare class TypeAliasTsDsl extends Mixed$10 {
|
|
|
1850
1851
|
}
|
|
1851
1852
|
//#endregion
|
|
1852
1853
|
//#region src/ts-dsl/type/and.d.ts
|
|
1853
|
-
type Type$2 = NodeName
|
|
1854
|
+
type Type$2 = NodeName | ts.TypeNode | TypeTsDsl;
|
|
1854
1855
|
declare const Mixed$9: abstract new () => TsDsl<ts.IntersectionTypeNode>;
|
|
1855
1856
|
declare class TypeAndTsDsl extends Mixed$9 {
|
|
1856
1857
|
readonly '~dsl' = "TypeAndTsDsl";
|
|
@@ -1895,7 +1896,7 @@ declare class TypeMappedTsDsl extends Mixed$6 {
|
|
|
1895
1896
|
protected readonlyToken?: TokenTsDsl<ts.SyntaxKind.ReadonlyKeyword | ts.SyntaxKind.MinusToken | ts.SyntaxKind.PlusToken>;
|
|
1896
1897
|
protected _key?: string | MaybeTsDsl<ts.TypeNode>;
|
|
1897
1898
|
protected _type?: string | MaybeTsDsl<ts.TypeNode>;
|
|
1898
|
-
constructor(name?: NodeName
|
|
1899
|
+
constructor(name?: NodeName);
|
|
1899
1900
|
analyze(ctx: AnalysisContext): void;
|
|
1900
1901
|
/** Returns true when all required builder calls are present. */
|
|
1901
1902
|
get isValid(): boolean;
|
|
@@ -1928,7 +1929,7 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
|
|
|
1928
1929
|
scope: NodeScope;
|
|
1929
1930
|
protected _key?: TypeIdxSigType;
|
|
1930
1931
|
protected _type?: TypeIdxSigType;
|
|
1931
|
-
constructor(name: NodeName
|
|
1932
|
+
constructor(name: NodeName, fn?: (i: TypeIdxSigTsDsl) => void);
|
|
1932
1933
|
/** Element kind. */
|
|
1933
1934
|
get kind(): TypeIdxSigKind;
|
|
1934
1935
|
/** Index signature parameter name. */
|
|
@@ -1949,14 +1950,14 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
|
|
|
1949
1950
|
}
|
|
1950
1951
|
//#endregion
|
|
1951
1952
|
//#region src/ts-dsl/type/prop.d.ts
|
|
1952
|
-
type TypePropType = NodeName
|
|
1953
|
+
type TypePropType = NodeName | MaybeTsDsl<ts.TypeNode>;
|
|
1953
1954
|
type TypePropKind = 'prop';
|
|
1954
1955
|
declare const Mixed$4: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeElement>, ReadonlyMethods>, OptionalMethods>, DocMethods>;
|
|
1955
1956
|
declare class TypePropTsDsl extends Mixed$4 {
|
|
1956
1957
|
readonly '~dsl' = "TypePropTsDsl";
|
|
1957
1958
|
scope: NodeScope;
|
|
1958
1959
|
protected _type?: Ref<TypePropType>;
|
|
1959
|
-
constructor(name: NodeName
|
|
1960
|
+
constructor(name: NodeName, fn: (p: TypePropTsDsl) => void);
|
|
1960
1961
|
/** Element kind. */
|
|
1961
1962
|
get kind(): TypePropKind;
|
|
1962
1963
|
/** Property name. */
|
|
@@ -1994,7 +1995,7 @@ declare class TypeObjectTsDsl extends Mixed$3 {
|
|
|
1994
1995
|
}
|
|
1995
1996
|
//#endregion
|
|
1996
1997
|
//#region src/ts-dsl/type/or.d.ts
|
|
1997
|
-
type Type$1 = NodeName
|
|
1998
|
+
type Type$1 = NodeName | ts.TypeNode | TypeTsDsl;
|
|
1998
1999
|
declare const Mixed$2: abstract new () => TsDsl<ts.UnionTypeNode>;
|
|
1999
2000
|
declare class TypeOrTsDsl extends Mixed$2 {
|
|
2000
2001
|
readonly '~dsl' = "TypeOrTsDsl";
|
|
@@ -2152,21 +2153,21 @@ declare const reserved: {
|
|
|
2152
2153
|
};
|
|
2153
2154
|
//#endregion
|
|
2154
2155
|
//#region src/ts-dsl/index.d.ts
|
|
2155
|
-
declare const $: ((id:
|
|
2156
|
+
declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_core0.NodeName) => ExprTsDsl) & {
|
|
2156
2157
|
/** Creates an array literal expression (e.g. `[1, 2, 3]`). */array: (...args: ConstructorParameters<typeof ArrayTsDsl>) => ArrayTsDsl; /** Creates an `as` type assertion expression (e.g. `value as Type`). */
|
|
2157
|
-
as: (expr:
|
|
2158
|
-
attr: (left:
|
|
2159
|
-
await: (expr:
|
|
2160
|
-
binary: (base:
|
|
2158
|
+
as: (expr: AsExpr, type: AsType) => AsTsDsl; /** Creates a property access expression (e.g. `obj.foo`). */
|
|
2159
|
+
attr: (left: AttrLeft, right: _hey_api_codegen_core0.NodeName) => AttrTsDsl; /** Creates an await expression (e.g. `await promise`). */
|
|
2160
|
+
await: (expr: AwaitExpr) => AwaitTsDsl; /** Creates a binary expression (e.g. `a + b`). */
|
|
2161
|
+
binary: (base: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_core0.NodeName, op?: (("!=" | "!==" | "&&" | "*" | "+" | "-" | "/" | "<" | "<=" | "=" | "==" | "===" | ">" | ">=" | "??" | "??=" | "||") | ts.BinaryOperator) | undefined, expr?: (ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_core0.NodeName) | undefined) => BinaryTsDsl; /** Creates a statement block (`{ ... }`). */
|
|
2161
2162
|
block: (...args: ConstructorParameters<typeof BlockTsDsl>) => BlockTsDsl; /** Creates a function or method call expression (e.g. `fn(arg)`). */
|
|
2162
|
-
call: (callee:
|
|
2163
|
-
class: (name: NodeName) => ClassTsDsl; /** Creates a constant variable declaration (`const`). */
|
|
2164
|
-
const: (name?:
|
|
2165
|
-
decorator: (name: NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl; /** Creates a JSDoc documentation block. */
|
|
2163
|
+
call: (callee: CallCallee, ...args: (CallCallee | undefined)[]) => CallTsDsl; /** Creates a class declaration or expression. */
|
|
2164
|
+
class: (name: _hey_api_codegen_core0.NodeName) => ClassTsDsl; /** Creates a constant variable declaration (`const`). */
|
|
2165
|
+
const: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl; /** Creates a decorator expression (e.g. `@decorator`). */
|
|
2166
|
+
decorator: (name: _hey_api_codegen_core0.NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl; /** Creates a JSDoc documentation block. */
|
|
2166
2167
|
doc: (lines?: DocLines | undefined, fn?: DocFn | undefined) => DocTsDsl; /** Creates an enum declaration. */
|
|
2167
|
-
enum: (name: NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl; /** Creates a general expression node. */
|
|
2168
|
-
expr: (id:
|
|
2169
|
-
field: (name: NodeName, fn?: ((f: FieldTsDsl) => void) | undefined) => FieldTsDsl; /** Converts a runtime value into a corresponding expression node. */
|
|
2168
|
+
enum: (name: _hey_api_codegen_core0.NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl; /** Creates a general expression node. */
|
|
2169
|
+
expr: (id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_core0.NodeName) => ExprTsDsl; /** Creates a field declaration in a class or object. */
|
|
2170
|
+
field: (name: _hey_api_codegen_core0.NodeName, fn?: ((f: FieldTsDsl) => void) | undefined) => FieldTsDsl; /** Converts a runtime value into a corresponding expression node. */
|
|
2170
2171
|
fromValue: (input: unknown, options?: {
|
|
2171
2172
|
layout?: "pretty";
|
|
2172
2173
|
} | undefined) => TsDsl<ts.Expression>; /** Creates a function expression or declaration. */
|
|
@@ -2177,23 +2178,23 @@ declare const $: ((id: any) => ExprTsDsl) & {
|
|
|
2177
2178
|
(name: string, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
|
|
2178
2179
|
(name?: string, fn?: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"arrow"> | FuncTsDsl<"decl">;
|
|
2179
2180
|
}; /** Creates a getter method declaration. */
|
|
2180
|
-
getter: (name: NodeName, fn?: ((g: GetterTsDsl) => void) | undefined) => GetterTsDsl; /** Creates a single-line comment (//). */
|
|
2181
|
+
getter: (name: _hey_api_codegen_core0.NodeName, fn?: ((g: GetterTsDsl) => void) | undefined) => GetterTsDsl; /** Creates a single-line comment (//). */
|
|
2181
2182
|
hint: (lines?: HintLines | undefined, fn?: HintFn | undefined) => HintTsDsl; /** Creates an identifier (e.g. `foo`). */
|
|
2182
2183
|
id: (name: string) => IdTsDsl; /** Creates an if statement. */
|
|
2183
2184
|
if: (condition?: IfCondition | undefined) => IfTsDsl; /** Creates an initialization block or statement. */
|
|
2184
2185
|
init: (fn?: ((i: InitTsDsl) => void) | undefined) => InitTsDsl; /** Creates a lazy, context-aware node with deferred evaluation. */
|
|
2185
2186
|
lazy: <T extends ts.Node>(thunk: LazyThunk<T>) => LazyTsDsl<T>; /** Creates a let variable declaration (`let`). */
|
|
2186
|
-
let: (name?:
|
|
2187
|
+
let: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl; /** Creates a literal value (e.g. string, number, boolean). */
|
|
2187
2188
|
literal: (value: TsLiteralValue) => LiteralTsDsl; /** Creates an enum member declaration. */
|
|
2188
|
-
member: (name: NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl; /** Creates a method declaration inside a class or object. */
|
|
2189
|
-
method: (name: NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl; /** Creates a negation expression (`-x`). */
|
|
2189
|
+
member: (name: _hey_api_codegen_core0.NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl; /** Creates a method declaration inside a class or object. */
|
|
2190
|
+
method: (name: _hey_api_codegen_core0.NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl; /** Creates a negation expression (`-x`). */
|
|
2190
2191
|
neg: (expr?: string | ts.Expression | TsDsl<ts.Expression> | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl; /** Creates a new expression (e.g. `new ClassName()`). */
|
|
2191
|
-
new: (expr:
|
|
2192
|
+
new: (expr: NewExpr, ...args: (NewExpr | undefined)[]) => NewTsDsl; /** Creates a newline (for formatting purposes). */
|
|
2192
2193
|
newline: () => NewlineTsDsl; /** Creates a logical NOT expression (`!x`). */
|
|
2193
2194
|
not: (expr?: string | ts.Expression | TsDsl<ts.Expression> | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl; /** Creates a block comment (/* ... *\/). */
|
|
2194
2195
|
note: (lines?: NoteLines | undefined, fn?: NoteFn | undefined) => NoteTsDsl; /** Creates an object literal expression. */
|
|
2195
2196
|
object: (...args: ConstructorParameters<typeof ObjectTsDsl>) => ObjectTsDsl; /** Creates a parameter declaration for functions or methods. */
|
|
2196
|
-
param: (name:
|
|
2197
|
+
param: (name: ParamName, fn?: ParamFn | undefined) => ParamTsDsl; /** Creates a pattern for destructuring or matching. */
|
|
2197
2198
|
pattern: () => PatternTsDsl; /** Creates a prefix unary expression (e.g. `-x`, `!x`, `~x`). */
|
|
2198
2199
|
prefix: (expr?: string | ts.Expression | TsDsl<ts.Expression> | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl; /** Creates an object literal property (e.g. `{ foo: bar }`). */
|
|
2199
2200
|
prop: (meta: {
|
|
@@ -2213,34 +2214,34 @@ declare const $: ((id: any) => ExprTsDsl) & {
|
|
|
2213
2214
|
name?: undefined;
|
|
2214
2215
|
}) => ObjectPropTsDsl; /** Creates a regular expression literal (e.g. `/foo/gi`). */
|
|
2215
2216
|
regexp: (pattern: string, flags?: ("" | "g" | "i" | "m" | "s" | "u" | "y" | "uy" | "yu" | "su" | "sy" | "suy" | "syu" | "ys" | "us" | "usy" | "uys" | "ysu" | "yus" | "ms" | "mu" | "my" | "muy" | "myu" | "msu" | "msy" | "msuy" | "msyu" | "mys" | "mus" | "musy" | "muys" | "mysu" | "myus" | "ym" | "um" | "umy" | "uym" | "ymu" | "yum" | "sm" | "smu" | "smy" | "smuy" | "smyu" | "sym" | "sum" | "sumy" | "suym" | "symu" | "syum" | "yms" | "ysm" | "ums" | "umsy" | "umys" | "usm" | "usmy" | "usym" | "uyms" | "uysm" | "ymsu" | "ymus" | "ysmu" | "ysum" | "yums" | "yusm" | "im" | "is" | "iu" | "iy" | "iuy" | "iyu" | "isu" | "isy" | "isuy" | "isyu" | "iys" | "ius" | "iusy" | "iuys" | "iysu" | "iyus" | "ims" | "imu" | "imy" | "imuy" | "imyu" | "imsu" | "imsy" | "imsuy" | "imsyu" | "imys" | "imus" | "imusy" | "imuys" | "imysu" | "imyus" | "iym" | "ium" | "iumy" | "iuym" | "iymu" | "iyum" | "ism" | "ismu" | "ismy" | "ismuy" | "ismyu" | "isym" | "isum" | "isumy" | "isuym" | "isymu" | "isyum" | "iyms" | "iysm" | "iums" | "iumsy" | "iumys" | "iusm" | "iusmy" | "iusym" | "iuyms" | "iuysm" | "iymsu" | "iymus" | "iysmu" | "iysum" | "iyums" | "iyusm" | "yi" | "ui" | "uiy" | "uyi" | "yiu" | "yui" | "si" | "siu" | "siy" | "siuy" | "siyu" | "syi" | "sui" | "suiy" | "suyi" | "syiu" | "syui" | "yis" | "ysi" | "uis" | "uisy" | "uiys" | "usi" | "usiy" | "usyi" | "uyis" | "uysi" | "yisu" | "yius" | "ysiu" | "ysui" | "yuis" | "yusi" | "mi" | "mis" | "miu" | "miy" | "miuy" | "miyu" | "misu" | "misy" | "misuy" | "misyu" | "miys" | "mius" | "miusy" | "miuys" | "miysu" | "miyus" | "myi" | "mui" | "muiy" | "muyi" | "myiu" | "myui" | "msi" | "msiu" | "msiy" | "msiuy" | "msiyu" | "msyi" | "msui" | "msuiy" | "msuyi" | "msyiu" | "msyui" | "myis" | "mysi" | "muis" | "muisy" | "muiys" | "musi" | "musiy" | "musyi" | "muyis" | "muysi" | "myisu" | "myius" | "mysiu" | "mysui" | "myuis" | "myusi" | "yim" | "ymi" | "uim" | "uimy" | "uiym" | "umi" | "umiy" | "umyi" | "uyim" | "uymi" | "yimu" | "yium" | "ymiu" | "ymui" | "yuim" | "yumi" | "sim" | "simu" | "simy" | "simuy" | "simyu" | "siym" | "sium" | "siumy" | "siuym" | "siymu" | "siyum" | "smi" | "smiu" | "smiy" | "smiuy" | "smiyu" | "smyi" | "smui" | "smuiy" | "smuyi" | "smyiu" | "smyui" | "syim" | "symi" | "suim" | "suimy" | "suiym" | "sumi" | "sumiy" | "sumyi" | "suyim" | "suymi" | "syimu" | "syium" | "symiu" | "symui" | "syuim" | "syumi" | "yims" | "yism" | "ymis" | "ymsi" | "ysim" | "ysmi" | "uims" | "uimsy" | "uimys" | "uism" | "uismy" | "uisym" | "uiyms" | "uiysm" | "umis" | "umisy" | "umiys" | "umsi" | "umsiy" | "umsyi" | "umyis" | "umysi" | "usim" | "usimy" | "usiym" | "usmi" | "usmiy" | "usmyi" | "usyim" | "usymi" | "uyims" | "uyism" | "uymis" | "uymsi" | "uysim" | "uysmi" | "yimsu" | "yimus" | "yismu" | "yisum" | "yiums" | "yiusm" | "ymisu" | "ymius" | "ymsiu" | "ymsui" | "ymuis" | "ymusi" | "ysimu" | "ysium" | "ysmiu" | "ysmui" | "ysuim" | "ysumi" | "yuims" | "yuism" | "yumis" | "yumsi" | "yusim" | "yusmi" | "gi" | "gm" | "gs" | "gu" | "gy" | "guy" | "gyu" | "gsu" | "gsy" | "gsuy" | "gsyu" | "gys" | "gus" | "gusy" | "guys" | "gysu" | "gyus" | "gms" | "gmu" | "gmy" | "gmuy" | "gmyu" | "gmsu" | "gmsy" | "gmsuy" | "gmsyu" | "gmys" | "gmus" | "gmusy" | "gmuys" | "gmysu" | "gmyus" | "gym" | "gum" | "gumy" | "guym" | "gymu" | "gyum" | "gsm" | "gsmu" | "gsmy" | "gsmuy" | "gsmyu" | "gsym" | "gsum" | "gsumy" | "gsuym" | "gsymu" | "gsyum" | "gyms" | "gysm" | "gums" | "gumsy" | "gumys" | "gusm" | "gusmy" | "gusym" | "guyms" | "guysm" | "gymsu" | "gymus" | "gysmu" | "gysum" | "gyums" | "gyusm" | "gim" | "gis" | "giu" | "giy" | "giuy" | "giyu" | "gisu" | "gisy" | "gisuy" | "gisyu" | "giys" | "gius" | "giusy" | "giuys" | "giysu" | "giyus" | "gims" | "gimu" | "gimy" | "gimuy" | "gimyu" | "gimsu" | "gimsy" | "gimsuy" | "gimsyu" | "gimys" | "gimus" | "gimusy" | "gimuys" | "gimysu" | "gimyus" | "giym" | "gium" | "giumy" | "giuym" | "giymu" | "giyum" | "gism" | "gismu" | "gismy" | "gismuy" | "gismyu" | "gisym" | "gisum" | "gisumy" | "gisuym" | "gisymu" | "gisyum" | "giyms" | "giysm" | "giums" | "giumsy" | "giumys" | "giusm" | "giusmy" | "giusym" | "giuyms" | "giuysm" | "giymsu" | "giymus" | "giysmu" | "giysum" | "giyums" | "giyusm" | "gyi" | "gui" | "guiy" | "guyi" | "gyiu" | "gyui" | "gsi" | "gsiu" | "gsiy" | "gsiuy" | "gsiyu" | "gsyi" | "gsui" | "gsuiy" | "gsuyi" | "gsyiu" | "gsyui" | "gyis" | "gysi" | "guis" | "guisy" | "guiys" | "gusi" | "gusiy" | "gusyi" | "guyis" | "guysi" | "gyisu" | "gyius" | "gysiu" | "gysui" | "gyuis" | "gyusi" | "gmi" | "gmis" | "gmiu" | "gmiy" | "gmiuy" | "gmiyu" | "gmisu" | "gmisy" | "gmisuy" | "gmisyu" | "gmiys" | "gmius" | "gmiusy" | "gmiuys" | "gmiysu" | "gmiyus" | "gmyi" | "gmui" | "gmuiy" | "gmuyi" | "gmyiu" | "gmyui" | "gmsi" | "gmsiu" | "gmsiy" | "gmsiuy" | "gmsiyu" | "gmsyi" | "gmsui" | "gmsuiy" | "gmsuyi" | "gmsyiu" | "gmsyui" | "gmyis" | "gmysi" | "gmuis" | "gmuisy" | "gmuiys" | "gmusi" | "gmusiy" | "gmusyi" | "gmuyis" | "gmuysi" | "gmyisu" | "gmyius" | "gmysiu" | "gmysui" | "gmyuis" | "gmyusi" | "gyim" | "gymi" | "guim" | "guimy" | "guiym" | "gumi" | "gumiy" | "gumyi" | "guyim" | "guymi" | "gyimu" | "gyium" | "gymiu" | "gymui" | "gyuim" | "gyumi" | "gsim" | "gsimu" | "gsimy" | "gsimuy" | "gsimyu" | "gsiym" | "gsium" | "gsiumy" | "gsiuym" | "gsiymu" | "gsiyum" | "gsmi" | "gsmiu" | "gsmiy" | "gsmiuy" | "gsmiyu" | "gsmyi" | "gsmui" | "gsmuiy" | "gsmuyi" | "gsmyiu" | "gsmyui" | "gsyim" | "gsymi" | "gsuim" | "gsuimy" | "gsuiym" | "gsumi" | "gsumiy" | "gsumyi" | "gsuyim" | "gsuymi" | "gsyimu" | "gsyium" | "gsymiu" | "gsymui" | "gsyuim" | "gsyumi" | "gyims" | "gyism" | "gymis" | "gymsi" | "gysim" | "gysmi" | "guims" | "guimsy" | "guimys" | "guism" | "guismy" | "guisym" | "guiyms" | "guiysm" | "gumis" | "gumisy" | "gumiys" | "gumsi" | "gumsiy" | "gumsyi" | "gumyis" | "gumysi" | "gusim" | "gusimy" | "gusiym" | "gusmi" | "gusmiy" | "gusmyi" | "gusyim" | "gusymi" | "guyims" | "guyism" | "guymis" | "guymsi" | "guysim" | "guysmi" | "gyimsu" | "gyimus" | "gyismu" | "gyisum" | "gyiums" | "gyiusm" | "gymisu" | "gymius" | "gymsiu" | "gymsui" | "gymuis" | "gymusi" | "gysimu" | "gysium" | "gysmiu" | "gysmui" | "gysuim" | "gysumi" | "gyuims" | "gyuism" | "gyumis" | "gyumsi" | "gyusim" | "gyusmi" | "yg" | "ug" | "ugy" | "uyg" | "ygu" | "yug" | "sg" | "sgu" | "sgy" | "sguy" | "sgyu" | "syg" | "sug" | "sugy" | "suyg" | "sygu" | "syug" | "ygs" | "ysg" | "ugs" | "ugsy" | "ugys" | "usg" | "usgy" | "usyg" | "uygs" | "uysg" | "ygsu" | "ygus" | "ysgu" | "ysug" | "yugs" | "yusg" | "mg" | "mgs" | "mgu" | "mgy" | "mguy" | "mgyu" | "mgsu" | "mgsy" | "mgsuy" | "mgsyu" | "mgys" | "mgus" | "mgusy" | "mguys" | "mgysu" | "mgyus" | "myg" | "mug" | "mugy" | "muyg" | "mygu" | "myug" | "msg" | "msgu" | "msgy" | "msguy" | "msgyu" | "msyg" | "msug" | "msugy" | "msuyg" | "msygu" | "msyug" | "mygs" | "mysg" | "mugs" | "mugsy" | "mugys" | "musg" | "musgy" | "musyg" | "muygs" | "muysg" | "mygsu" | "mygus" | "mysgu" | "mysug" | "myugs" | "myusg" | "ygm" | "ymg" | "ugm" | "ugmy" | "ugym" | "umg" | "umgy" | "umyg" | "uygm" | "uymg" | "ygmu" | "ygum" | "ymgu" | "ymug" | "yugm" | "yumg" | "sgm" | "sgmu" | "sgmy" | "sgmuy" | "sgmyu" | "sgym" | "sgum" | "sgumy" | "sguym" | "sgymu" | "sgyum" | "smg" | "smgu" | "smgy" | "smguy" | "smgyu" | "smyg" | "smug" | "smugy" | "smuyg" | "smygu" | "smyug" | "sygm" | "symg" | "sugm" | "sugmy" | "sugym" | "sumg" | "sumgy" | "sumyg" | "suygm" | "suymg" | "sygmu" | "sygum" | "symgu" | "symug" | "syugm" | "syumg" | "ygms" | "ygsm" | "ymgs" | "ymsg" | "ysgm" | "ysmg" | "ugms" | "ugmsy" | "ugmys" | "ugsm" | "ugsmy" | "ugsym" | "ugyms" | "ugysm" | "umgs" | "umgsy" | "umgys" | "umsg" | "umsgy" | "umsyg" | "umygs" | "umysg" | "usgm" | "usgmy" | "usgym" | "usmg" | "usmgy" | "usmyg" | "usygm" | "usymg" | "uygms" | "uygsm" | "uymgs" | "uymsg" | "uysgm" | "uysmg" | "ygmsu" | "ygmus" | "ygsmu" | "ygsum" | "ygums" | "ygusm" | "ymgsu" | "ymgus" | "ymsgu" | "ymsug" | "ymugs" | "ymusg" | "ysgmu" | "ysgum" | "ysmgu" | "ysmug" | "ysugm" | "ysumg" | "yugms" | "yugsm" | "yumgs" | "yumsg" | "yusgm" | "yusmg" | "ig" | "igm" | "igs" | "igu" | "igy" | "iguy" | "igyu" | "igsu" | "igsy" | "igsuy" | "igsyu" | "igys" | "igus" | "igusy" | "iguys" | "igysu" | "igyus" | "igms" | "igmu" | "igmy" | "igmuy" | "igmyu" | "igmsu" | "igmsy" | "igmsuy" | "igmsyu" | "igmys" | "igmus" | "igmusy" | "igmuys" | "igmysu" | "igmyus" | "igym" | "igum" | "igumy" | "iguym" | "igymu" | "igyum" | "igsm" | "igsmu" | "igsmy" | "igsmuy" | "igsmyu" | "igsym" | "igsum" | "igsumy" | "igsuym" | "igsymu" | "igsyum" | "igyms" | "igysm" | "igums" | "igumsy" | "igumys" | "igusm" | "igusmy" | "igusym" | "iguyms" | "iguysm" | "igymsu" | "igymus" | "igysmu" | "igysum" | "igyums" | "igyusm" | "iyg" | "iug" | "iugy" | "iuyg" | "iygu" | "iyug" | "isg" | "isgu" | "isgy" | "isguy" | "isgyu" | "isyg" | "isug" | "isugy" | "isuyg" | "isygu" | "isyug" | "iygs" | "iysg" | "iugs" | "iugsy" | "iugys" | "iusg" | "iusgy" | "iusyg" | "iuygs" | "iuysg" | "iygsu" | "iygus" | "iysgu" | "iysug" | "iyugs" | "iyusg" | "img" | "imgs" | "imgu" | "imgy" | "imguy" | "imgyu" | "imgsu" | "imgsy" | "imgsuy" | "imgsyu" | "imgys" | "imgus" | "imgusy" | "imguys" | "imgysu" | "imgyus" | "imyg" | "imug" | "imugy" | "imuyg" | "imygu" | "imyug" | "imsg" | "imsgu" | "imsgy" | "imsguy" | "imsgyu" | "imsyg" | "imsug" | "imsugy" | "imsuyg" | "imsygu" | "imsyug" | "imygs" | "imysg" | "imugs" | "imugsy" | "imugys" | "imusg" | "imusgy" | "imusyg" | "imuygs" | "imuysg" | "imygsu" | "imygus" | "imysgu" | "imysug" | "imyugs" | "imyusg" | "iygm" | "iymg" | "iugm" | "iugmy" | "iugym" | "iumg" | "iumgy" | "iumyg" | "iuygm" | "iuymg" | "iygmu" | "iygum" | "iymgu" | "iymug" | "iyugm" | "iyumg" | "isgm" | "isgmu" | "isgmy" | "isgmuy" | "isgmyu" | "isgym" | "isgum" | "isgumy" | "isguym" | "isgymu" | "isgyum" | "ismg" | "ismgu" | "ismgy" | "ismguy" | "ismgyu" | "ismyg" | "ismug" | "ismugy" | "ismuyg" | "ismygu" | "ismyug" | "isygm" | "isymg" | "isugm" | "isugmy" | "isugym" | "isumg" | "isumgy" | "isumyg" | "isuygm" | "isuymg" | "isygmu" | "isygum" | "isymgu" | "isymug" | "isyugm" | "isyumg" | "iygms" | "iygsm" | "iymgs" | "iymsg" | "iysgm" | "iysmg" | "iugms" | "iugmsy" | "iugmys" | "iugsm" | "iugsmy" | "iugsym" | "iugyms" | "iugysm" | "iumgs" | "iumgsy" | "iumgys" | "iumsg" | "iumsgy" | "iumsyg" | "iumygs" | "iumysg" | "iusgm" | "iusgmy" | "iusgym" | "iusmg" | "iusmgy" | "iusmyg" | "iusygm" | "iusymg" | "iuygms" | "iuygsm" | "iuymgs" | "iuymsg" | "iuysgm" | "iuysmg" | "iygmsu" | "iygmus" | "iygsmu" | "iygsum" | "iygums" | "iygusm" | "iymgsu" | "iymgus" | "iymsgu" | "iymsug" | "iymugs" | "iymusg" | "iysgmu" | "iysgum" | "iysmgu" | "iysmug" | "iysugm" | "iysumg" | "iyugms" | "iyugsm" | "iyumgs" | "iyumsg" | "iyusgm" | "iyusmg" | "ygi" | "yig" | "ugi" | "ugiy" | "ugyi" | "uig" | "uigy" | "uiyg" | "uygi" | "uyig" | "ygiu" | "ygui" | "yigu" | "yiug" | "yugi" | "yuig" | "sgi" | "sgiu" | "sgiy" | "sgiuy" | "sgiyu" | "sgyi" | "sgui" | "sguiy" | "sguyi" | "sgyiu" | "sgyui" | "sig" | "sigu" | "sigy" | "siguy" | "sigyu" | "siyg" | "siug" | "siugy" | "siuyg" | "siygu" | "siyug" | "sygi" | "syig" | "sugi" | "sugiy" | "sugyi" | "suig" | "suigy" | "suiyg" | "suygi" | "suyig" | "sygiu" | "sygui" | "syigu" | "syiug" | "syugi" | "syuig" | "ygis" | "ygsi" | "yigs" | "yisg" | "ysgi" | "ysig" | "ugis" | "ugisy" | "ugiys" | "ugsi" | "ugsiy" | "ugsyi" | "ugyis" | "ugysi" | "uigs" | "uigsy" | "uigys" | "uisg" | "uisgy" | "uisyg" | "uiygs" | "uiysg" | "usgi" | "usgiy" | "usgyi" | "usig" | "usigy" | "usiyg" | "usygi" | "usyig" | "uygis" | "uygsi" | "uyigs" | "uyisg" | "uysgi" | "uysig" | "ygisu" | "ygius" | "ygsiu" | "ygsui" | "yguis" | "ygusi" | "yigsu" | "yigus" | "yisgu" | "yisug" | "yiugs" | "yiusg" | "ysgiu" | "ysgui" | "ysigu" | "ysiug" | "ysugi" | "ysuig" | "yugis" | "yugsi" | "yuigs" | "yuisg" | "yusgi" | "yusig" | "mgi" | "mgis" | "mgiu" | "mgiy" | "mgiuy" | "mgiyu" | "mgisu" | "mgisy" | "mgisuy" | "mgisyu" | "mgiys" | "mgius" | "mgiusy" | "mgiuys" | "mgiysu" | "mgiyus" | "mgyi" | "mgui" | "mguiy" | "mguyi" | "mgyiu" | "mgyui" | "mgsi" | "mgsiu" | "mgsiy" | "mgsiuy" | "mgsiyu" | "mgsyi" | "mgsui" | "mgsuiy" | "mgsuyi" | "mgsyiu" | "mgsyui" | "mgyis" | "mgysi" | "mguis" | "mguisy" | "mguiys" | "mgusi" | "mgusiy" | "mgusyi" | "mguyis" | "mguysi" | "mgyisu" | "mgyius" | "mgysiu" | "mgysui" | "mgyuis" | "mgyusi" | "mig" | "migs" | "migu" | "migy" | "miguy" | "migyu" | "migsu" | "migsy" | "migsuy" | "migsyu" | "migys" | "migus" | "migusy" | "miguys" | "migysu" | "migyus" | "miyg" | "miug" | "miugy" | "miuyg" | "miygu" | "miyug" | "misg" | "misgu" | "misgy" | "misguy" | "misgyu" | "misyg" | "misug" | "misugy" | "misuyg" | "misygu" | "misyug" | "miygs" | "miysg" | "miugs" | "miugsy" | "miugys" | "miusg" | "miusgy" | "miusyg" | "miuygs" | "miuysg" | "miygsu" | "miygus" | "miysgu" | "miysug" | "miyugs" | "miyusg" | "mygi" | "myig" | "mugi" | "mugiy" | "mugyi" | "muig" | "muigy" | "muiyg" | "muygi" | "muyig" | "mygiu" | "mygui" | "myigu" | "myiug" | "myugi" | "myuig" | "msgi" | "msgiu" | "msgiy" | "msgiuy" | "msgiyu" | "msgyi" | "msgui" | "msguiy" | "msguyi" | "msgyiu" | "msgyui" | "msig" | "msigu" | "msigy" | "msiguy" | "msigyu" | "msiyg" | "msiug" | "msiugy" | "msiuyg" | "msiygu" | "msiyug" | "msygi" | "msyig" | "msugi" | "msugiy" | "msugyi" | "msuig" | "msuigy" | "msuiyg" | "msuygi" | "msuyig" | "msygiu" | "msygui" | "msyigu" | "msyiug" | "msyugi" | "msyuig" | "mygis" | "mygsi" | "myigs" | "myisg" | "mysgi" | "mysig" | "mugis" | "mugisy" | "mugiys" | "mugsi" | "mugsiy" | "mugsyi" | "mugyis" | "mugysi" | "muigs" | "muigsy" | "muigys" | "muisg" | "muisgy" | "muisyg" | "muiygs" | "muiysg" | "musgi" | "musgiy" | "musgyi" | "musig" | "musigy" | "musiyg" | "musygi" | "musyig" | "muygis" | "muygsi" | "muyigs" | "muyisg" | "muysgi" | "muysig" | "mygisu" | "mygius" | "mygsiu" | "mygsui" | "myguis" | "mygusi" | "myigsu" | "myigus" | "myisgu" | "myisug" | "myiugs" | "myiusg" | "mysgiu" | "mysgui" | "mysigu" | "mysiug" | "mysugi" | "mysuig" | "myugis" | "myugsi" | "myuigs" | "myuisg" | "myusgi" | "myusig" | "ygim" | "ygmi" | "yigm" | "yimg" | "ymgi" | "ymig" | "ugim" | "ugimy" | "ugiym" | "ugmi" | "ugmiy" | "ugmyi" | "ugyim" | "ugymi" | "uigm" | "uigmy" | "uigym" | "uimg" | "uimgy" | "uimyg" | "uiygm" | "uiymg" | "umgi" | "umgiy" | "umgyi" | "umig" | "umigy" | "umiyg" | "umygi" | "umyig" | "uygim" | "uygmi" | "uyigm" | "uyimg" | "uymgi" | "uymig" | "ygimu" | "ygium" | "ygmiu" | "ygmui" | "yguim" | "ygumi" | "yigmu" | "yigum" | "yimgu" | "yimug" | "yiugm" | "yiumg" | "ymgiu" | "ymgui" | "ymigu" | "ymiug" | "ymugi" | "ymuig" | "yugim" | "yugmi" | "yuigm" | "yuimg" | "yumgi" | "yumig" | "sgim" | "sgimu" | "sgimy" | "sgimuy" | "sgimyu" | "sgiym" | "sgium" | "sgiumy" | "sgiuym" | "sgiymu" | "sgiyum" | "sgmi" | "sgmiu" | "sgmiy" | "sgmiuy" | "sgmiyu" | "sgmyi" | "sgmui" | "sgmuiy" | "sgmuyi" | "sgmyiu" | "sgmyui" | "sgyim" | "sgymi" | "sguim" | "sguimy" | "sguiym" | "sgumi" | "sgumiy" | "sgumyi" | "sguyim" | "sguymi" | "sgyimu" | "sgyium" | "sgymiu" | "sgymui" | "sgyuim" | "sgyumi" | "sigm" | "sigmu" | "sigmy" | "sigmuy" | "sigmyu" | "sigym" | "sigum" | "sigumy" | "siguym" | "sigymu" | "sigyum" | "simg" | "simgu" | "simgy" | "simguy" | "simgyu" | "simyg" | "simug" | "simugy" | "simuyg" | "simygu" | "simyug" | "siygm" | "siymg" | "siugm" | "siugmy" | "siugym" | "siumg" | "siumgy" | "siumyg" | "siuygm" | "siuymg" | "siygmu" | "siygum" | "siymgu" | "siymug" | "siyugm" | "siyumg" | "smgi" | "smgiu" | "smgiy" | "smgiuy" | "smgiyu" | "smgyi" | "smgui" | "smguiy" | "smguyi" | "smgyiu" | "smgyui" | "smig" | "smigu" | "smigy" | "smiguy" | "smigyu" | "smiyg" | "smiug" | "smiugy" | "smiuyg" | "smiygu" | "smiyug" | "smygi" | "smyig" | "smugi" | "smugiy" | "smugyi" | "smuig" | "smuigy" | "smuiyg" | "smuygi" | "smuyig" | "smygiu" | "smygui" | "smyigu" | "smyiug" | "smyugi" | "smyuig" | "sygim" | "sygmi" | "syigm" | "syimg" | "symgi" | "symig" | "sugim" | "sugimy" | "sugiym" | "sugmi" | "sugmiy" | "sugmyi" | "sugyim" | "sugymi" | "suigm" | "suigmy" | "suigym" | "suimg" | "suimgy" | "suimyg" | "suiygm" | "suiymg" | "sumgi" | "sumgiy" | "sumgyi" | "sumig" | "sumigy" | "sumiyg" | "sumygi" | "sumyig" | "suygim" | "suygmi" | "suyigm" | "suyimg" | "suymgi" | "suymig" | "sygimu" | "sygium" | "sygmiu" | "sygmui" | "syguim" | "sygumi" | "syigmu" | "syigum" | "syimgu" | "syimug" | "syiugm" | "syiumg" | "symgiu" | "symgui" | "symigu" | "symiug" | "symugi" | "symuig" | "syugim" | "syugmi" | "syuigm" | "syuimg" | "syumgi" | "syumig" | "ygims" | "ygism" | "ygmis" | "ygmsi" | "ygsim" | "ygsmi" | "yigms" | "yigsm" | "yimgs" | "yimsg" | "yisgm" | "yismg" | "ymgis" | "ymgsi" | "ymigs" | "ymisg" | "ymsgi" | "ymsig" | "ysgim" | "ysgmi" | "ysigm" | "ysimg" | "ysmgi" | "ysmig" | "ugims" | "ugimsy" | "ugimys" | "ugism" | "ugismy" | "ugisym" | "ugiyms" | "ugiysm" | "ugmis" | "ugmisy" | "ugmiys" | "ugmsi" | "ugmsiy" | "ugmsyi" | "ugmyis" | "ugmysi" | "ugsim" | "ugsimy" | "ugsiym" | "ugsmi" | "ugsmiy" | "ugsmyi" | "ugsyim" | "ugsymi" | "ugyims" | "ugyism" | "ugymis" | "ugymsi" | "ugysim" | "ugysmi" | "uigms" | "uigmsy" | "uigmys" | "uigsm" | "uigsmy" | "uigsym" | "uigyms" | "uigysm" | "uimgs" | "uimgsy" | "uimgys" | "uimsg" | "uimsgy" | "uimsyg" | "uimygs" | "uimysg" | "uisgm" | "uisgmy" | "uisgym" | "uismg" | "uismgy" | "uismyg" | "uisygm" | "uisymg" | "uiygms" | "uiygsm" | "uiymgs" | "uiymsg" | "uiysgm" | "uiysmg" | "umgis" | "umgisy" | "umgiys" | "umgsi" | "umgsiy" | "umgsyi" | "umgyis" | "umgysi" | "umigs" | "umigsy" | "umigys" | "umisg" | "umisgy" | "umisyg" | "umiygs" | "umiysg" | "umsgi" | "umsgiy" | "umsgyi" | "umsig" | "umsigy" | "umsiyg" | "umsygi" | "umsyig" | "umygis" | "umygsi" | "umyigs" | "umyisg" | "umysgi" | "umysig" | "usgim" | "usgimy" | "usgiym" | "usgmi" | "usgmiy" | "usgmyi" | "usgyim" | "usgymi" | "usigm" | "usigmy" | "usigym" | "usimg" | "usimgy" | "usimyg" | "usiygm" | "usiymg" | "usmgi" | "usmgiy" | "usmgyi" | "usmig" | "usmigy" | "usmiyg" | "usmygi" | "usmyig" | "usygim" | "usygmi" | "usyigm" | "usyimg" | "usymgi" | "usymig" | "uygims" | "uygism" | "uygmis" | "uygmsi" | "uygsim" | "uygsmi" | "uyigms" | "uyigsm" | "uyimgs" | "uyimsg" | "uyisgm" | "uyismg" | "uymgis" | "uymgsi" | "uymigs" | "uymisg" | "uymsgi" | "uymsig" | "uysgim" | "uysgmi" | "uysigm" | "uysimg" | "uysmgi" | "uysmig" | "ygimsu" | "ygimus" | "ygismu" | "ygisum" | "ygiums" | "ygiusm" | "ygmisu" | "ygmius" | "ygmsiu" | "ygmsui" | "ygmuis" | "ygmusi" | "ygsimu" | "ygsium" | "ygsmiu" | "ygsmui" | "ygsuim" | "ygsumi" | "yguims" | "yguism" | "ygumis" | "ygumsi" | "ygusim" | "ygusmi" | "yigmsu" | "yigmus" | "yigsmu" | "yigsum" | "yigums" | "yigusm" | "yimgsu" | "yimgus" | "yimsgu" | "yimsug" | "yimugs" | "yimusg" | "yisgmu" | "yisgum" | "yismgu" | "yismug" | "yisugm" | "yisumg" | "yiugms" | "yiugsm" | "yiumgs" | "yiumsg" | "yiusgm" | "yiusmg" | "ymgisu" | "ymgius" | "ymgsiu" | "ymgsui" | "ymguis" | "ymgusi" | "ymigsu" | "ymigus" | "ymisgu" | "ymisug" | "ymiugs" | "ymiusg" | "ymsgiu" | "ymsgui" | "ymsigu" | "ymsiug" | "ymsugi" | "ymsuig" | "ymugis" | "ymugsi" | "ymuigs" | "ymuisg" | "ymusgi" | "ymusig" | "ysgimu" | "ysgium" | "ysgmiu" | "ysgmui" | "ysguim" | "ysgumi" | "ysigmu" | "ysigum" | "ysimgu" | "ysimug" | "ysiugm" | "ysiumg" | "ysmgiu" | "ysmgui" | "ysmigu" | "ysmiug" | "ysmugi" | "ysmuig" | "ysugim" | "ysugmi" | "ysuigm" | "ysuimg" | "ysumgi" | "ysumig" | "yugims" | "yugism" | "yugmis" | "yugmsi" | "yugsim" | "yugsmi" | "yuigms" | "yuigsm" | "yuimgs" | "yuimsg" | "yuisgm" | "yuismg" | "yumgis" | "yumgsi" | "yumigs" | "yumisg" | "yumsgi" | "yumsig" | "yusgim" | "yusgmi" | "yusigm" | "yusimg" | "yusmgi" | "yusmig") | undefined) => RegExpTsDsl; /** Creates a return statement. */
|
|
2216
|
-
return: (expr?:
|
|
2217
|
-
setter: (name: NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl; /** Wraps an expression or statement-like value into a `StmtTsDsl`. */
|
|
2217
|
+
return: (expr?: ReturnExpr | undefined) => ReturnTsDsl; /** Creates a setter method declaration. */
|
|
2218
|
+
setter: (name: _hey_api_codegen_core0.NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl; /** Wraps an expression or statement-like value into a `StmtTsDsl`. */
|
|
2218
2219
|
stmt: (inner: ts.Expression | ts.Statement | TsDsl<any>) => StmtTsDsl; /** Creates a template literal expression. */
|
|
2219
|
-
template: (value?:
|
|
2220
|
+
template: (value?: TemplatePart | undefined) => TemplateTsDsl; /** Creates a ternary conditional expression (if ? then : else). */
|
|
2220
2221
|
ternary: (condition?: string | ts.Expression | TsDsl<ts.Expression> | undefined) => TernaryTsDsl; /** Creates a throw statement. */
|
|
2221
2222
|
throw: (error: string | ts.Expression | TsDsl<ts.Expression>, useNew?: boolean | undefined) => ThrowTsDsl; /** Creates a syntax token (e.g. `?`, `readonly`, `+`, `-`). */
|
|
2222
2223
|
token: () => TokenTsDsl<never>; /** Creates a try/catch/finally statement. */
|
|
2223
2224
|
try: (...args: ConstructorParameters<typeof TryTsDsl>) => TryTsDsl; /** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
|
|
2224
|
-
type: ((name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
|
|
2225
|
-
/** Creates a type alias declaration (e.g. `type Foo = Bar`). */alias: (name: NodeName, fn?: ((t: TypeAliasTsDsl) => void) | undefined) => TypeAliasTsDsl; /** Creates an intersection type (e.g. `A & B`). */
|
|
2225
|
+
type: ((name: _hey_api_codegen_core0.NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
|
|
2226
|
+
/** Creates a type alias declaration (e.g. `type Foo = Bar`). */alias: (name: _hey_api_codegen_core0.NodeName, fn?: ((t: TypeAliasTsDsl) => void) | undefined) => TypeAliasTsDsl; /** Creates an intersection type (e.g. `A & B`). */
|
|
2226
2227
|
and: (...args: ConstructorParameters<typeof TypeAndTsDsl>) => TypeAndTsDsl; /** Creates a qualified type reference (e.g. Foo.Bar). */
|
|
2227
|
-
attr: (right:
|
|
2228
|
-
expr: (name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl; /** Converts a runtime value into a corresponding type expression node. */
|
|
2228
|
+
attr: (right: _hey_api_codegen_core0.NodeName | ts.Identifier) => TypeAttrTsDsl; /** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
|
|
2229
|
+
expr: (name: _hey_api_codegen_core0.NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl; /** Converts a runtime value into a corresponding type expression node. */
|
|
2229
2230
|
fromValue: (input: unknown) => TsDsl<ts.TypeNode>; /** Creates a function type node (e.g. `(a: string) => number`). */
|
|
2230
2231
|
func: (...args: ConstructorParameters<typeof TypeFuncTsDsl>) => TypeFuncTsDsl; /** Creates an indexed-access type (e.g. `Foo<T>[K]`). */
|
|
2231
2232
|
idx: (base: string | ts.TypeNode | TsDsl<ts.TypeNode>, index: string | number | ts.TypeNode | TsDsl<ts.TypeNode>) => TypeIdxTsDsl; /** Creates a literal type node (e.g. 'foo', 42, or true). */
|
|
2232
2233
|
literal: (value: TsLiteralValue) => TypeLiteralTsDsl; /** Creates a mapped type (e.g. `{ [K in keyof T]: U }`). */
|
|
2233
|
-
mapped: (name?:
|
|
2234
|
+
mapped: (name?: _hey_api_codegen_core0.NodeName | undefined) => TypeMappedTsDsl; /** Creates a type literal node (e.g. { foo: string }). */
|
|
2234
2235
|
object: () => TypeObjectTsDsl; /** Creates a type operator node (e.g. `readonly T`, `keyof T`, `unique T`). */
|
|
2235
2236
|
operator: () => TypeOperatorTsDsl; /** Represents a union type (e.g. `A | B | C`). */
|
|
2236
2237
|
or: (...args: ConstructorParameters<typeof TypeOrTsDsl>) => TypeOrTsDsl; /** Creates a type parameter (e.g. `<T>`). */
|
|
2237
|
-
param: (name?:
|
|
2238
|
+
param: (name?: _hey_api_codegen_core0.NodeName | undefined, fn?: ((name: TypeParamTsDsl) => void) | undefined) => TypeParamTsDsl; /** Creates a type query node (e.g. `typeof Foo`). */
|
|
2238
2239
|
query: (expr: TypeQueryExpr) => TypeQueryTsDsl; /** Builds a TypeScript template literal *type* (e.g. `${Foo}-${Bar}` as a type). */
|
|
2239
2240
|
template: (value?: string | ts.TypeNode | TsDsl<ts.TypeNode> | undefined) => TypeTemplateTsDsl; /** Creates a tuple type (e.g. [A, B, C]). */
|
|
2240
2241
|
tuple: (...args: ConstructorParameters<typeof TypeTupleTsDsl>) => TypeTupleTsDsl;
|
|
2241
2242
|
}; /** Creates a `typeof` expression (e.g. `typeof value`). */
|
|
2242
2243
|
typeofExpr: (expr: TypeOfExpr) => TypeOfExprTsDsl; /** Creates a variable declaration (`var`). */
|
|
2243
|
-
var: (name?:
|
|
2244
|
+
var: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl;
|
|
2244
2245
|
};
|
|
2245
2246
|
type DollarTsDsl = {
|
|
2246
2247
|
/**
|
|
@@ -2293,7 +2294,7 @@ type IApi$4 = {
|
|
|
2293
2294
|
};
|
|
2294
2295
|
//#endregion
|
|
2295
2296
|
//#region src/plugins/@faker-js/faker/types.d.ts
|
|
2296
|
-
type UserConfig$
|
|
2297
|
+
type UserConfig$26 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
2297
2298
|
/**
|
|
2298
2299
|
* Casing convention for generated names.
|
|
2299
2300
|
*
|
|
@@ -2340,7 +2341,7 @@ type UserConfig$25 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$
|
|
|
2340
2341
|
*/
|
|
2341
2342
|
seed?: number;
|
|
2342
2343
|
};
|
|
2343
|
-
type Config$
|
|
2344
|
+
type Config$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.Exports & {
|
|
2344
2345
|
/**
|
|
2345
2346
|
* Casing convention for generated names.
|
|
2346
2347
|
*/
|
|
@@ -2359,7 +2360,7 @@ type Config$22 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.Ex
|
|
|
2359
2360
|
*/
|
|
2360
2361
|
seed?: number;
|
|
2361
2362
|
};
|
|
2362
|
-
type FakerJsFakerPlugin = DefinePlugin$1<UserConfig$
|
|
2363
|
+
type FakerJsFakerPlugin = DefinePlugin$1<UserConfig$26, Config$23, IApi$4>;
|
|
2363
2364
|
//#endregion
|
|
2364
2365
|
//#region src/plugins/@faker-js/faker/resolvers/types.d.ts
|
|
2365
2366
|
type Expression = ReturnType<typeof $.expr>;
|
|
@@ -2466,7 +2467,7 @@ type Client$8<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn
|
|
|
2466
2467
|
} : {
|
|
2467
2468
|
sse: { [K in HttpMethod]: SseFn };
|
|
2468
2469
|
});
|
|
2469
|
-
interface Config$
|
|
2470
|
+
interface Config$22 {
|
|
2470
2471
|
/**
|
|
2471
2472
|
* Auth token or a function returning auth token. The resolved value will be
|
|
2472
2473
|
* added to the request payload as defined by its `security` array.
|
|
@@ -2521,7 +2522,7 @@ interface Config$21 {
|
|
|
2521
2522
|
}
|
|
2522
2523
|
//#endregion
|
|
2523
2524
|
//#region src/plugins/@hey-api/client-core/bundle/serverSentEvents.d.ts
|
|
2524
|
-
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$
|
|
2525
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$22, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
2525
2526
|
/**
|
|
2526
2527
|
* Fetch API implementation. You can use this option to provide a custom
|
|
2527
2528
|
* fetch instance.
|
|
@@ -2612,7 +2613,7 @@ interface Middleware$4<Req, Res, Err, Options> {
|
|
|
2612
2613
|
//#endregion
|
|
2613
2614
|
//#region src/plugins/@hey-api/client-angular/bundle/types.d.ts
|
|
2614
2615
|
type ResponseStyle$3 = 'data' | 'fields';
|
|
2615
|
-
interface Config$
|
|
2616
|
+
interface Config$21<T extends ClientOptions$6 = ClientOptions$6> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Omit<Config$22, 'headers'> {
|
|
2616
2617
|
/**
|
|
2617
2618
|
* Base URL for all requests made by this client.
|
|
2618
2619
|
*/
|
|
@@ -2641,7 +2642,7 @@ interface Config$20<T extends ClientOptions$6 = ClientOptions$6> extends Omit<Re
|
|
|
2641
2642
|
*/
|
|
2642
2643
|
throwOnError?: T['throwOnError'];
|
|
2643
2644
|
}
|
|
2644
|
-
interface RequestOptions$6<TData = unknown, TResponseStyle extends ResponseStyle$3 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2645
|
+
interface RequestOptions$6<TData = unknown, TResponseStyle extends ResponseStyle$3 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$21<{
|
|
2645
2646
|
responseStyle: TResponseStyle;
|
|
2646
2647
|
throwOnError: ThrowOnError;
|
|
2647
2648
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -2698,7 +2699,7 @@ type BuildUrlFn$6 = <TData extends {
|
|
|
2698
2699
|
query?: Record<string, unknown>;
|
|
2699
2700
|
url: string;
|
|
2700
2701
|
}>(options: TData & Options$7<TData>) => string;
|
|
2701
|
-
type Client$7 = Client$8<RequestFn$6, Config$
|
|
2702
|
+
type Client$7 = Client$8<RequestFn$6, Config$21, MethodFn$6, BuildUrlFn$6, SseFn$6> & {
|
|
2702
2703
|
interceptors: Middleware$4<HttpRequest<unknown>, HttpResponse<unknown>, unknown, ResolvedRequestOptions$4>;
|
|
2703
2704
|
requestOptions: RequestOptionsFn;
|
|
2704
2705
|
};
|
|
@@ -2713,7 +2714,7 @@ type OmitKeys$6<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
2713
2714
|
type Options$7<TData extends TDataShape$6 = TDataShape$6, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$3 = 'fields'> = OmitKeys$6<RequestOptions$6<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2714
2715
|
//#endregion
|
|
2715
2716
|
//#region src/plugins/@hey-api/client-axios/bundle/types.d.ts
|
|
2716
|
-
interface Config$
|
|
2717
|
+
interface Config$20<T extends ClientOptions$5 = ClientOptions$5> extends Omit<CreateAxiosDefaults, 'auth' | 'baseURL' | 'headers' | 'method'>, Config$22 {
|
|
2717
2718
|
/**
|
|
2718
2719
|
* Axios implementation. You can use this option to provide either an
|
|
2719
2720
|
* `AxiosStatic` or an `AxiosInstance`.
|
|
@@ -2739,7 +2740,7 @@ interface Config$19<T extends ClientOptions$5 = ClientOptions$5> extends Omit<Cr
|
|
|
2739
2740
|
*/
|
|
2740
2741
|
throwOnError?: T['throwOnError'];
|
|
2741
2742
|
}
|
|
2742
|
-
interface RequestOptions$5<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2743
|
+
interface RequestOptions$5<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$20<{
|
|
2743
2744
|
throwOnError: ThrowOnError;
|
|
2744
2745
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
2745
2746
|
/**
|
|
@@ -2775,7 +2776,7 @@ type BuildUrlFn$5 = <TData extends {
|
|
|
2775
2776
|
query?: Record<string, unknown>;
|
|
2776
2777
|
url: string;
|
|
2777
2778
|
}>(options: TData & Options$6<TData>) => string;
|
|
2778
|
-
type Client$6 = Client$8<RequestFn$5, Config$
|
|
2779
|
+
type Client$6 = Client$8<RequestFn$5, Config$20, MethodFn$5, BuildUrlFn$5, SseFn$5> & {
|
|
2779
2780
|
instance: AxiosInstance;
|
|
2780
2781
|
};
|
|
2781
2782
|
interface TDataShape$5 {
|
|
@@ -2789,7 +2790,7 @@ type OmitKeys$5<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
2789
2790
|
type Options$6<TData extends TDataShape$5 = TDataShape$5, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$5<RequestOptions$5<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2790
2791
|
//#endregion
|
|
2791
2792
|
//#region src/plugins/@hey-api/client-axios/types.d.ts
|
|
2792
|
-
type UserConfig$
|
|
2793
|
+
type UserConfig$25 = Plugin$1.Name<'@hey-api/client-axios'> & Client.Config & {
|
|
2793
2794
|
/**
|
|
2794
2795
|
* Throw an error instead of returning it in the response?
|
|
2795
2796
|
*
|
|
@@ -2797,7 +2798,7 @@ type UserConfig$24 = Plugin$1.Name<'@hey-api/client-axios'> & Client.Config & {
|
|
|
2797
2798
|
*/
|
|
2798
2799
|
throwOnError?: boolean;
|
|
2799
2800
|
};
|
|
2800
|
-
type HeyApiClientAxiosPlugin = DefinePlugin$1<UserConfig$
|
|
2801
|
+
type HeyApiClientAxiosPlugin = DefinePlugin$1<UserConfig$25, UserConfig$25>;
|
|
2801
2802
|
//#endregion
|
|
2802
2803
|
//#region src/plugins/@hey-api/client-fetch/bundle/utils.d.ts
|
|
2803
2804
|
type ErrInterceptor$3<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
@@ -2820,7 +2821,7 @@ interface Middleware$3<Req, Res, Err, Options> {
|
|
|
2820
2821
|
//#endregion
|
|
2821
2822
|
//#region src/plugins/@hey-api/client-fetch/bundle/types.d.ts
|
|
2822
2823
|
type ResponseStyle$2 = 'data' | 'fields';
|
|
2823
|
-
interface Config$
|
|
2824
|
+
interface Config$19<T extends ClientOptions$4 = ClientOptions$4> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$22 {
|
|
2824
2825
|
/**
|
|
2825
2826
|
* Base URL for all requests made by this client.
|
|
2826
2827
|
*/
|
|
@@ -2861,7 +2862,7 @@ interface Config$18<T extends ClientOptions$4 = ClientOptions$4> extends Omit<Re
|
|
|
2861
2862
|
*/
|
|
2862
2863
|
throwOnError?: T['throwOnError'];
|
|
2863
2864
|
}
|
|
2864
|
-
interface RequestOptions$4<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2865
|
+
interface RequestOptions$4<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$19<{
|
|
2865
2866
|
responseStyle: TResponseStyle;
|
|
2866
2867
|
throwOnError: ThrowOnError;
|
|
2867
2868
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -2910,7 +2911,7 @@ type BuildUrlFn$4 = <TData extends {
|
|
|
2910
2911
|
query?: Record<string, unknown>;
|
|
2911
2912
|
url: string;
|
|
2912
2913
|
}>(options: TData & Options$5<TData>) => string;
|
|
2913
|
-
type Client$5 = Client$8<RequestFn$4, Config$
|
|
2914
|
+
type Client$5 = Client$8<RequestFn$4, Config$19, MethodFn$4, BuildUrlFn$4, SseFn$4> & {
|
|
2914
2915
|
interceptors: Middleware$3<Request, Response, unknown, ResolvedRequestOptions$3>;
|
|
2915
2916
|
};
|
|
2916
2917
|
interface TDataShape$4 {
|
|
@@ -2924,7 +2925,7 @@ type OmitKeys$4<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
2924
2925
|
type Options$5<TData extends TDataShape$4 = TDataShape$4, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$2 = 'fields'> = OmitKeys$4<RequestOptions$4<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2925
2926
|
//#endregion
|
|
2926
2927
|
//#region src/plugins/@hey-api/client-fetch/types.d.ts
|
|
2927
|
-
type UserConfig$
|
|
2928
|
+
type UserConfig$24 = Plugin$1.Name<'@hey-api/client-fetch'> & Client.Config & {
|
|
2928
2929
|
/**
|
|
2929
2930
|
* Throw an error instead of returning it in the response?
|
|
2930
2931
|
*
|
|
@@ -2932,7 +2933,7 @@ type UserConfig$23 = Plugin$1.Name<'@hey-api/client-fetch'> & Client.Config & {
|
|
|
2932
2933
|
*/
|
|
2933
2934
|
throwOnError?: boolean;
|
|
2934
2935
|
};
|
|
2935
|
-
type HeyApiClientFetchPlugin = DefinePlugin$1<UserConfig$
|
|
2936
|
+
type HeyApiClientFetchPlugin = DefinePlugin$1<UserConfig$24, UserConfig$24>;
|
|
2936
2937
|
//#endregion
|
|
2937
2938
|
//#region src/plugins/@hey-api/client-next/bundle/utils.d.ts
|
|
2938
2939
|
type ErrInterceptor$2<Err, Res, Options> = (error: Err, response: Res, options: Options) => Err | Promise<Err>;
|
|
@@ -2954,7 +2955,7 @@ interface Middleware$2<Res, Err, Options> {
|
|
|
2954
2955
|
}
|
|
2955
2956
|
//#endregion
|
|
2956
2957
|
//#region src/plugins/@hey-api/client-next/bundle/types.d.ts
|
|
2957
|
-
interface Config$
|
|
2958
|
+
interface Config$18<T extends ClientOptions$3 = ClientOptions$3> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$22 {
|
|
2958
2959
|
/**
|
|
2959
2960
|
* Base URL for all requests made by this client.
|
|
2960
2961
|
*/
|
|
@@ -2982,7 +2983,7 @@ interface Config$17<T extends ClientOptions$3 = ClientOptions$3> extends Omit<Re
|
|
|
2982
2983
|
*/
|
|
2983
2984
|
throwOnError?: T['throwOnError'];
|
|
2984
2985
|
}
|
|
2985
|
-
interface RequestOptions$3<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2986
|
+
interface RequestOptions$3<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$18<{
|
|
2986
2987
|
throwOnError: ThrowOnError;
|
|
2987
2988
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
2988
2989
|
/**
|
|
@@ -3027,7 +3028,7 @@ type BuildUrlFn$3 = <TData extends {
|
|
|
3027
3028
|
query?: Record<string, unknown>;
|
|
3028
3029
|
url: string;
|
|
3029
3030
|
}>(options: TData & Options$4<TData>) => string;
|
|
3030
|
-
type Client$4 = Client$8<RequestFn$3, Config$
|
|
3031
|
+
type Client$4 = Client$8<RequestFn$3, Config$18, MethodFn$3, BuildUrlFn$3, SseFn$3> & {
|
|
3031
3032
|
interceptors: Middleware$2<Response, unknown, ResolvedRequestOptions$2>;
|
|
3032
3033
|
};
|
|
3033
3034
|
interface TDataShape$3 {
|
|
@@ -3041,7 +3042,7 @@ type OmitKeys$3<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
3041
3042
|
type Options$4<TData extends TDataShape$3 = TDataShape$3, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$3<RequestOptions$3<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3042
3043
|
//#endregion
|
|
3043
3044
|
//#region src/plugins/@hey-api/client-next/types.d.ts
|
|
3044
|
-
type UserConfig$
|
|
3045
|
+
type UserConfig$23 = Plugin$1.Name<'@hey-api/client-next'> & Client.Config & {
|
|
3045
3046
|
/**
|
|
3046
3047
|
* Throw an error instead of returning it in the response?
|
|
3047
3048
|
*
|
|
@@ -3049,13 +3050,13 @@ type UserConfig$22 = Plugin$1.Name<'@hey-api/client-next'> & Client.Config & {
|
|
|
3049
3050
|
*/
|
|
3050
3051
|
throwOnError?: boolean;
|
|
3051
3052
|
};
|
|
3052
|
-
type HeyApiClientNextPlugin = DefinePlugin$1<UserConfig$
|
|
3053
|
+
type HeyApiClientNextPlugin = DefinePlugin$1<UserConfig$23, UserConfig$23>;
|
|
3053
3054
|
//#endregion
|
|
3054
3055
|
//#region src/plugins/@hey-api/client-nuxt/bundle/types.d.ts
|
|
3055
3056
|
type QuerySerializer = (query: Parameters<Client$3['buildUrl']>[0]['query']) => string;
|
|
3056
3057
|
type WithRefs<TData> = { [K in keyof TData]: NonNullable<TData[K]> extends object ? WithRefs<NonNullable<TData[K]>> | Ref$1<NonNullable<TData[K]>> | Extract<TData[K], null> : NonNullable<TData[K]> | Ref$1<NonNullable<TData[K]>> | Extract<TData[K], null> };
|
|
3057
3058
|
type KeysOf<T> = Array<T extends T ? (keyof T extends string ? keyof T : never) : never>;
|
|
3058
|
-
interface Config$
|
|
3059
|
+
interface Config$17<T extends ClientOptions$2 = ClientOptions$2> extends Omit<FetchOptions$1<unknown>, 'baseURL' | 'body' | 'headers' | 'method' | 'query'>, WithRefs<Pick<FetchOptions$1<unknown>, 'query'>>, Omit<Config$22, 'querySerializer'> {
|
|
3059
3060
|
/**
|
|
3060
3061
|
* Base URL for all requests made by this client.
|
|
3061
3062
|
*/
|
|
@@ -3069,7 +3070,7 @@ interface Config$16<T extends ClientOptions$2 = ClientOptions$2> extends Omit<Fe
|
|
|
3069
3070
|
*/
|
|
3070
3071
|
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
3071
3072
|
}
|
|
3072
|
-
interface RequestOptions$2<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$
|
|
3073
|
+
interface RequestOptions$2<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$17, WithRefs<{
|
|
3073
3074
|
path?: FetchOptions$1<unknown>['query'];
|
|
3074
3075
|
query?: FetchOptions$1<unknown>['query'];
|
|
3075
3076
|
}>, Pick<ServerSentEventsOptions<ResT>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -3113,15 +3114,15 @@ interface TDataShape$2 {
|
|
|
3113
3114
|
}
|
|
3114
3115
|
type BuildUrlOptions<TData extends Omit<TDataShape$2, 'headers'> = Omit<TDataShape$2, 'headers'>> = Pick<WithRefs<TData>, 'path' | 'query'> & Pick<TData, 'url'> & Pick<Options$3<'$fetch', TData>, 'baseURL' | 'querySerializer'>;
|
|
3115
3116
|
type BuildUrlFn$2 = <TData extends Omit<TDataShape$2, 'headers'>>(options: BuildUrlOptions<TData>) => string;
|
|
3116
|
-
type Client$3 = Client$8<RequestFn$2, Config$
|
|
3117
|
+
type Client$3 = Client$8<RequestFn$2, Config$17, MethodFn$2, BuildUrlFn$2, SseFn$2>;
|
|
3117
3118
|
type OmitKeys$2<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
3118
3119
|
type Options$3<TComposable extends Composable = '$fetch', TData extends TDataShape$2 = TDataShape$2, ResT = unknown, DefaultT = undefined> = OmitKeys$2<RequestOptions$2<TComposable, ResT, DefaultT>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : WithRefs<Omit<TData, 'url'>>);
|
|
3119
3120
|
type FetchOptions$1<TData> = Omit<UseFetchOptions<TData, TData>, keyof AsyncDataOptions<TData>>;
|
|
3120
3121
|
type Composable = '$fetch' | 'useAsyncData' | 'useFetch' | 'useLazyAsyncData' | 'useLazyFetch';
|
|
3121
3122
|
//#endregion
|
|
3122
3123
|
//#region src/plugins/@hey-api/client-nuxt/types.d.ts
|
|
3123
|
-
type UserConfig$
|
|
3124
|
-
type HeyApiClientNuxtPlugin = DefinePlugin$1<UserConfig$
|
|
3124
|
+
type UserConfig$22 = Plugin$1.Name<'@hey-api/client-nuxt'> & Client.Config;
|
|
3125
|
+
type HeyApiClientNuxtPlugin = DefinePlugin$1<UserConfig$22, UserConfig$22>;
|
|
3125
3126
|
//#endregion
|
|
3126
3127
|
//#region src/plugins/@hey-api/client-ofetch/bundle/utils.d.ts
|
|
3127
3128
|
type ErrInterceptor$1<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
@@ -3144,7 +3145,7 @@ interface Middleware$1<Req, Res, Err, Options> {
|
|
|
3144
3145
|
//#endregion
|
|
3145
3146
|
//#region src/plugins/@hey-api/client-ofetch/bundle/types.d.ts
|
|
3146
3147
|
type ResponseStyle$1 = 'data' | 'fields';
|
|
3147
|
-
interface Config$
|
|
3148
|
+
interface Config$16<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$22 {
|
|
3148
3149
|
/**
|
|
3149
3150
|
* HTTP(S) agent configuration (Node.js only). Passed through to ofetch.
|
|
3150
3151
|
*/
|
|
@@ -3245,7 +3246,7 @@ interface Config$15<T extends ClientOptions$1 = ClientOptions$1> extends Omit<Re
|
|
|
3245
3246
|
*/
|
|
3246
3247
|
timeout?: number;
|
|
3247
3248
|
}
|
|
3248
|
-
interface RequestOptions$1<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
3249
|
+
interface RequestOptions$1<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$16<{
|
|
3249
3250
|
responseStyle: TResponseStyle;
|
|
3250
3251
|
throwOnError: ThrowOnError;
|
|
3251
3252
|
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -3294,7 +3295,7 @@ type BuildUrlFn$1 = <TData extends {
|
|
|
3294
3295
|
query?: Record<string, unknown>;
|
|
3295
3296
|
url: string;
|
|
3296
3297
|
}>(options: TData & Options$2<TData>) => string;
|
|
3297
|
-
type Client$2 = Client$8<RequestFn$1, Config$
|
|
3298
|
+
type Client$2 = Client$8<RequestFn$1, Config$16, MethodFn$1, BuildUrlFn$1, SseFn$1> & {
|
|
3298
3299
|
interceptors: Middleware$1<Request, Response, unknown, ResolvedRequestOptions$1>;
|
|
3299
3300
|
};
|
|
3300
3301
|
interface TDataShape$1 {
|
|
@@ -3308,7 +3309,7 @@ type OmitKeys$1<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
3308
3309
|
type Options$2<TData extends TDataShape$1 = TDataShape$1, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$1 = 'fields'> = OmitKeys$1<RequestOptions$1<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3309
3310
|
//#endregion
|
|
3310
3311
|
//#region src/plugins/@hey-api/client-ofetch/types.d.ts
|
|
3311
|
-
type UserConfig$
|
|
3312
|
+
type UserConfig$21 = Plugin$1.Name<'@hey-api/client-ofetch'> & Client.Config & {
|
|
3312
3313
|
/**
|
|
3313
3314
|
* Throw an error instead of returning it in the response?
|
|
3314
3315
|
*
|
|
@@ -3316,7 +3317,7 @@ type UserConfig$20 = Plugin$1.Name<'@hey-api/client-ofetch'> & Client.Config & {
|
|
|
3316
3317
|
*/
|
|
3317
3318
|
throwOnError?: boolean;
|
|
3318
3319
|
};
|
|
3319
|
-
type HeyApiClientOfetchPlugin = DefinePlugin$1<UserConfig$
|
|
3320
|
+
type HeyApiClientOfetchPlugin = DefinePlugin$1<UserConfig$21, UserConfig$21>;
|
|
3320
3321
|
//#endregion
|
|
3321
3322
|
//#region src/plugins/@hey-api/client-core/types.d.ts
|
|
3322
3323
|
interface PluginHandler {
|
|
@@ -3379,7 +3380,7 @@ declare namespace Client {
|
|
|
3379
3380
|
}
|
|
3380
3381
|
//#endregion
|
|
3381
3382
|
//#region src/plugins/@hey-api/client-angular/types.d.ts
|
|
3382
|
-
type UserConfig$
|
|
3383
|
+
type UserConfig$20 = Plugin$1.Name<'@hey-api/client-angular'> & Client.Config & {
|
|
3383
3384
|
/**
|
|
3384
3385
|
* Throw an error instead of returning it in the response?
|
|
3385
3386
|
*
|
|
@@ -3387,7 +3388,7 @@ type UserConfig$19 = Plugin$1.Name<'@hey-api/client-angular'> & Client.Config &
|
|
|
3387
3388
|
*/
|
|
3388
3389
|
throwOnError?: boolean;
|
|
3389
3390
|
};
|
|
3390
|
-
type HeyApiClientAngularPlugin = DefinePlugin$1<UserConfig$
|
|
3391
|
+
type HeyApiClientAngularPlugin = DefinePlugin$1<UserConfig$20, UserConfig$20>;
|
|
3391
3392
|
//#endregion
|
|
3392
3393
|
//#region src/plugins/@hey-api/client-ky/bundle/utils.d.ts
|
|
3393
3394
|
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
@@ -3430,7 +3431,7 @@ interface RetryOptions {
|
|
|
3430
3431
|
*/
|
|
3431
3432
|
statusCodes?: number[];
|
|
3432
3433
|
}
|
|
3433
|
-
interface Config$
|
|
3434
|
+
interface Config$15<T extends ClientOptions = ClientOptions> extends Omit<Options, 'body' | 'headers' | 'method' | 'prefixUrl' | 'retry' | 'throwHttpErrors'>, Config$22 {
|
|
3434
3435
|
/**
|
|
3435
3436
|
* Base URL for all requests made by this client.
|
|
3436
3437
|
*/
|
|
@@ -3477,7 +3478,7 @@ interface Config$14<T extends ClientOptions = ClientOptions> extends Omit<Option
|
|
|
3477
3478
|
*/
|
|
3478
3479
|
timeout?: number;
|
|
3479
3480
|
}
|
|
3480
|
-
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
3481
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$15<{
|
|
3481
3482
|
responseStyle: TResponseStyle;
|
|
3482
3483
|
throwOnError: ThrowOnError;
|
|
3483
3484
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -3526,7 +3527,7 @@ type BuildUrlFn = <TData extends {
|
|
|
3526
3527
|
query?: Record<string, unknown>;
|
|
3527
3528
|
url: string;
|
|
3528
3529
|
}>(options: TData & Options$1<TData>) => string;
|
|
3529
|
-
type Client$1 = Client$8<RequestFn, Config$
|
|
3530
|
+
type Client$1 = Client$8<RequestFn, Config$15, MethodFn, BuildUrlFn, SseFn> & {
|
|
3530
3531
|
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
3531
3532
|
};
|
|
3532
3533
|
interface TDataShape {
|
|
@@ -3540,7 +3541,7 @@ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
3540
3541
|
type Options$1<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'>);
|
|
3541
3542
|
//#endregion
|
|
3542
3543
|
//#region src/plugins/@hey-api/client-ky/types.d.ts
|
|
3543
|
-
type UserConfig$
|
|
3544
|
+
type UserConfig$19 = Plugin$1.Name<'@hey-api/client-ky'> & Client.Config & {
|
|
3544
3545
|
/**
|
|
3545
3546
|
* Throw an error instead of returning it in the response?
|
|
3546
3547
|
*
|
|
@@ -3548,10 +3549,10 @@ type UserConfig$18 = Plugin$1.Name<'@hey-api/client-ky'> & Client.Config & {
|
|
|
3548
3549
|
*/
|
|
3549
3550
|
throwOnError?: boolean;
|
|
3550
3551
|
};
|
|
3551
|
-
type HeyApiClientKyPlugin = DefinePlugin$1<UserConfig$
|
|
3552
|
+
type HeyApiClientKyPlugin = DefinePlugin$1<UserConfig$19, UserConfig$19>;
|
|
3552
3553
|
//#endregion
|
|
3553
3554
|
//#region src/plugins/@hey-api/schemas/types.d.ts
|
|
3554
|
-
type UserConfig$
|
|
3555
|
+
type UserConfig$18 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
3555
3556
|
/**
|
|
3556
3557
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
3557
3558
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
@@ -3569,7 +3570,7 @@ type UserConfig$17 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & Plugin
|
|
|
3569
3570
|
*/
|
|
3570
3571
|
type?: 'form' | 'json';
|
|
3571
3572
|
};
|
|
3572
|
-
type HeyApiSchemasPlugin = DefinePlugin$1<UserConfig$
|
|
3573
|
+
type HeyApiSchemasPlugin = DefinePlugin$1<UserConfig$18, UserConfig$18>;
|
|
3573
3574
|
//#endregion
|
|
3574
3575
|
//#region src/plugins/types.d.ts
|
|
3575
3576
|
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';
|
|
@@ -3723,89 +3724,28 @@ interface UserOperationsConfig {
|
|
|
3723
3724
|
strategyDefaultTag?: string;
|
|
3724
3725
|
}
|
|
3725
3726
|
interface OperationsConfig {
|
|
3726
|
-
/**
|
|
3727
|
-
* Type of container for grouped operations.
|
|
3728
|
-
*
|
|
3729
|
-
* Ignored when `strategy` is `'flat'`.
|
|
3730
|
-
*
|
|
3731
|
-
* - `'class'` - Class with methods
|
|
3732
|
-
*/
|
|
3727
|
+
/** Type of container for grouped operations. */
|
|
3733
3728
|
container: 'class';
|
|
3734
|
-
/**
|
|
3735
|
-
* Customize container names.
|
|
3736
|
-
*
|
|
3737
|
-
* For `'single'` strategy, this sets the root container name.
|
|
3738
|
-
* For `'byTags'` strategy, this transforms tag names.
|
|
3739
|
-
*
|
|
3740
|
-
* @default 'Sdk' for `'single'` strategy
|
|
3741
|
-
*
|
|
3742
|
-
* @example
|
|
3743
|
-
* // Set root name for single strategy
|
|
3744
|
-
* containerName: 'MyApi'
|
|
3745
|
-
*
|
|
3746
|
-
* @example
|
|
3747
|
-
* // Transform tag names with suffix
|
|
3748
|
-
* containerName: '{{name}}Service'
|
|
3749
|
-
*
|
|
3750
|
-
* @example
|
|
3751
|
-
* // With casing
|
|
3752
|
-
* containerName: { name: '{{name}}Service', case: 'PascalCase' }
|
|
3753
|
-
*/
|
|
3729
|
+
/** Customize container names. */
|
|
3754
3730
|
containerName: NamingConfig;
|
|
3755
|
-
/**
|
|
3756
|
-
* Customize method/function names.
|
|
3757
|
-
*
|
|
3758
|
-
* Applied to the final segment of the path (the method name).
|
|
3759
|
-
*/
|
|
3731
|
+
/** Customize method/function names. */
|
|
3760
3732
|
methodName: NamingConfig;
|
|
3761
|
-
/**
|
|
3762
|
-
* How methods are attached to class containers.
|
|
3763
|
-
*
|
|
3764
|
-
* Only applies when `container` is `'class'`.
|
|
3765
|
-
*
|
|
3766
|
-
* - `'static'` - Static methods, no instantiation required
|
|
3767
|
-
* - `'instance'` - Instance methods, requires `new ClassName(config)`
|
|
3768
|
-
*/
|
|
3733
|
+
/** How methods are attached to class containers. */
|
|
3769
3734
|
methods: 'instance' | 'static';
|
|
3770
|
-
/**
|
|
3771
|
-
* How to derive nesting structure from operations.
|
|
3772
|
-
*
|
|
3773
|
-
* - `'operationId'` - Split operationId by delimiters (e.g., `users.list` → `Users.list()`)
|
|
3774
|
-
* - `'id'` - Use operation id as-is, no nesting
|
|
3775
|
-
* - Custom function for full control
|
|
3776
|
-
*/
|
|
3735
|
+
/** How to derive nesting structure from operations. */
|
|
3777
3736
|
nesting: 'operationId' | 'id' | OperationPathStrategy;
|
|
3778
|
-
/**
|
|
3779
|
-
* Delimiters for splitting operationId.
|
|
3780
|
-
*
|
|
3781
|
-
* Only applies when `nesting` is `'operationId'`.
|
|
3782
|
-
*/
|
|
3737
|
+
/** Delimiters for splitting operationId. */
|
|
3783
3738
|
nestingDelimiters: RegExp;
|
|
3784
|
-
/**
|
|
3785
|
-
* Customize nesting segment names.
|
|
3786
|
-
*
|
|
3787
|
-
* Applied to intermediate path segments (not the method name).
|
|
3788
|
-
*/
|
|
3739
|
+
/** Customize nesting segment names. */
|
|
3789
3740
|
segmentName: NamingConfig;
|
|
3790
|
-
/**
|
|
3791
|
-
* Grouping strategy.
|
|
3792
|
-
*
|
|
3793
|
-
* - `'flat'` - Standalone functions, no grouping
|
|
3794
|
-
* - `'byTags'` - One container per operation tag
|
|
3795
|
-
* - `'single'` - All operations in one container
|
|
3796
|
-
* - Custom function for full control
|
|
3797
|
-
*/
|
|
3741
|
+
/** Grouping strategy. */
|
|
3798
3742
|
strategy: OperationsStrategy;
|
|
3799
|
-
/**
|
|
3800
|
-
* Default container name for operations without tags.
|
|
3801
|
-
*
|
|
3802
|
-
* Only applies when `strategy` is `'byTags'`.
|
|
3803
|
-
*/
|
|
3743
|
+
/** Default container name for operations without tags. */
|
|
3804
3744
|
strategyDefaultTag: string;
|
|
3805
3745
|
}
|
|
3806
3746
|
//#endregion
|
|
3807
3747
|
//#region src/plugins/@hey-api/sdk/types.d.ts
|
|
3808
|
-
type UserConfig$
|
|
3748
|
+
type UserConfig$17 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
3809
3749
|
/**
|
|
3810
3750
|
* Should the generated functions contain auth mechanisms? You may want to
|
|
3811
3751
|
* disable this option if you're handling auth yourself or defining it
|
|
@@ -3981,7 +3921,7 @@ type UserConfig$16 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.U
|
|
|
3981
3921
|
*/
|
|
3982
3922
|
response?: 'body' | 'response';
|
|
3983
3923
|
};
|
|
3984
|
-
type Config$
|
|
3924
|
+
type Config$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
3985
3925
|
/**
|
|
3986
3926
|
* Should the generated functions contain auth mechanisms? You may want to
|
|
3987
3927
|
* disable this option if you're handling auth yourself or defining it
|
|
@@ -4001,14 +3941,8 @@ type Config$13 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comme
|
|
|
4001
3941
|
*
|
|
4002
3942
|
* @default true
|
|
4003
3943
|
*/
|
|
4004
|
-
client: PluginClientNames | false;
|
|
4005
|
-
/**
|
|
4006
|
-
* Configuration for generating SDK code examples.
|
|
4007
|
-
*/
|
|
4008
|
-
examples: ExamplesConfig;
|
|
4009
|
-
/**
|
|
4010
|
-
* Define the structure of generated SDK operations.
|
|
4011
|
-
*/
|
|
3944
|
+
client: PluginClientNames | false; /** Configuration for generating SDK code examples. */
|
|
3945
|
+
examples: ExamplesConfig; /** Define the structure of generated SDK operations. */
|
|
4012
3946
|
operations: OperationsConfig;
|
|
4013
3947
|
/**
|
|
4014
3948
|
* Define how request parameters are structured in generated SDK methods.
|
|
@@ -4069,7 +4003,7 @@ type Config$13 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comme
|
|
|
4069
4003
|
*/
|
|
4070
4004
|
response: 'body' | 'response';
|
|
4071
4005
|
};
|
|
4072
|
-
type HeyApiSdkPlugin = DefinePlugin$1<UserConfig$
|
|
4006
|
+
type HeyApiSdkPlugin = DefinePlugin$1<UserConfig$17, Config$14>;
|
|
4073
4007
|
//#endregion
|
|
4074
4008
|
//#region src/plugins/@hey-api/transformers/types.d.ts
|
|
4075
4009
|
interface BaseTransformer extends DollarTsDsl {
|
|
@@ -4077,7 +4011,7 @@ interface BaseTransformer extends DollarTsDsl {
|
|
|
4077
4011
|
schema: IR$1.SchemaObject;
|
|
4078
4012
|
}
|
|
4079
4013
|
type ExpressionTransformer = (ctx: BaseTransformer & {
|
|
4080
|
-
/** @deprecated Use `plugin` instead and access the config via `plugin.config` */config: Omit<UserConfig$
|
|
4014
|
+
/** @deprecated Use `plugin` instead and access the config via `plugin.config` */config: Omit<UserConfig$16, 'name'>;
|
|
4081
4015
|
dataExpression?: ts.Expression | ReturnType<typeof $.attr | typeof $.expr> | string;
|
|
4082
4016
|
}) => Array<TsDsl<ts.Expression>> | undefined;
|
|
4083
4017
|
/**
|
|
@@ -4085,7 +4019,7 @@ type ExpressionTransformer = (ctx: BaseTransformer & {
|
|
|
4085
4019
|
* If undefined is returned, the default type will be used.
|
|
4086
4020
|
*/
|
|
4087
4021
|
type TypeTransformer = (ctx: BaseTransformer) => MaybeTsDsl<ts.TypeNode> | undefined;
|
|
4088
|
-
type UserConfig$
|
|
4022
|
+
type UserConfig$16 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
4089
4023
|
/**
|
|
4090
4024
|
* Convert long integers into BigInt values?
|
|
4091
4025
|
*
|
|
@@ -4107,7 +4041,7 @@ type UserConfig$15 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & P
|
|
|
4107
4041
|
*/
|
|
4108
4042
|
typeTransformers?: ReadonlyArray<TypeTransformer>;
|
|
4109
4043
|
};
|
|
4110
|
-
type Config$
|
|
4044
|
+
type Config$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.Exports & {
|
|
4111
4045
|
/**
|
|
4112
4046
|
* Convert long integers into BigInt values?
|
|
4113
4047
|
*
|
|
@@ -4129,7 +4063,7 @@ type Config$12 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugi
|
|
|
4129
4063
|
*/
|
|
4130
4064
|
typeTransformers: ReadonlyArray<TypeTransformer>;
|
|
4131
4065
|
};
|
|
4132
|
-
type HeyApiTransformersPlugin = DefinePlugin$1<UserConfig$
|
|
4066
|
+
type HeyApiTransformersPlugin = DefinePlugin$1<UserConfig$16, Config$13>;
|
|
4133
4067
|
//#endregion
|
|
4134
4068
|
//#region src/plugins/@hey-api/typescript/shared/types.d.ts
|
|
4135
4069
|
type Type = MaybeTsDsl<TypeTsDsl>;
|
|
@@ -4518,7 +4452,7 @@ interface VoidResolverContext$2 extends BaseContext$2 {
|
|
|
4518
4452
|
//#endregion
|
|
4519
4453
|
//#region src/plugins/@hey-api/typescript/types.d.ts
|
|
4520
4454
|
type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
|
|
4521
|
-
type UserConfig$
|
|
4455
|
+
type UserConfig$15 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & HeyApiTypeScriptResolvers & {
|
|
4522
4456
|
/**
|
|
4523
4457
|
* Casing convention for generated names.
|
|
4524
4458
|
*
|
|
@@ -4725,7 +4659,7 @@ type UserConfig$14 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plu
|
|
|
4725
4659
|
payload?: NameTransformer;
|
|
4726
4660
|
};
|
|
4727
4661
|
};
|
|
4728
|
-
type Config$
|
|
4662
|
+
type Config$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & HeyApiTypeScriptResolvers & {
|
|
4729
4663
|
/**
|
|
4730
4664
|
* Casing convention for generated names.
|
|
4731
4665
|
*/
|
|
@@ -4822,10 +4756,10 @@ type Config$11 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$
|
|
|
4822
4756
|
payload: NameTransformer;
|
|
4823
4757
|
};
|
|
4824
4758
|
};
|
|
4825
|
-
type HeyApiTypeScriptPlugin = DefinePlugin$1<UserConfig$
|
|
4759
|
+
type HeyApiTypeScriptPlugin = DefinePlugin$1<UserConfig$15, Config$12, IApi$3>;
|
|
4826
4760
|
//#endregion
|
|
4827
4761
|
//#region src/plugins/@pinia/colada/types.d.ts
|
|
4828
|
-
type UserConfig$
|
|
4762
|
+
type UserConfig$14 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
4829
4763
|
/**
|
|
4830
4764
|
* Casing convention for generated names.
|
|
4831
4765
|
*
|
|
@@ -4982,7 +4916,7 @@ type UserConfig$13 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.
|
|
|
4982
4916
|
name?: NameTransformer;
|
|
4983
4917
|
};
|
|
4984
4918
|
};
|
|
4985
|
-
type Config$
|
|
4919
|
+
type Config$11 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
4986
4920
|
/**
|
|
4987
4921
|
* Casing convention for generated names.
|
|
4988
4922
|
*/
|
|
@@ -5060,10 +4994,10 @@ type Config$10 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.Comm
|
|
|
5060
4994
|
meta: ((operation: IR$1.OperationObject) => Record<string, unknown>) | undefined;
|
|
5061
4995
|
};
|
|
5062
4996
|
};
|
|
5063
|
-
type PiniaColadaPlugin = DefinePlugin$1<UserConfig$
|
|
4997
|
+
type PiniaColadaPlugin = DefinePlugin$1<UserConfig$14, Config$11>;
|
|
5064
4998
|
//#endregion
|
|
5065
4999
|
//#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
|
|
5066
|
-
type UserConfig$
|
|
5000
|
+
type UserConfig$13 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
5067
5001
|
/**
|
|
5068
5002
|
* Casing convention for generated names.
|
|
5069
5003
|
*
|
|
@@ -5328,7 +5262,7 @@ type UserConfig$12 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plu
|
|
|
5328
5262
|
name?: NameTransformer;
|
|
5329
5263
|
};
|
|
5330
5264
|
};
|
|
5331
|
-
type Config$
|
|
5265
|
+
type Config$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
5332
5266
|
/**
|
|
5333
5267
|
* Casing convention for generated names.
|
|
5334
5268
|
*/
|
|
@@ -5461,10 +5395,10 @@ type Config$9 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1
|
|
|
5461
5395
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
5462
5396
|
};
|
|
5463
5397
|
};
|
|
5464
|
-
type TanStackAngularQueryPlugin = DefinePlugin$1<UserConfig$
|
|
5398
|
+
type TanStackAngularQueryPlugin = DefinePlugin$1<UserConfig$13, Config$10>;
|
|
5465
5399
|
//#endregion
|
|
5466
5400
|
//#region src/plugins/@tanstack/preact-query/types.d.ts
|
|
5467
|
-
type UserConfig$
|
|
5401
|
+
type UserConfig$12 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
5468
5402
|
/**
|
|
5469
5403
|
* Casing convention for generated names.
|
|
5470
5404
|
*
|
|
@@ -5805,7 +5739,7 @@ type UserConfig$11 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks &
|
|
|
5805
5739
|
name?: NameTransformer;
|
|
5806
5740
|
};
|
|
5807
5741
|
};
|
|
5808
|
-
type Config$
|
|
5742
|
+
type Config$9 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
5809
5743
|
/**
|
|
5810
5744
|
* Casing convention for generated names.
|
|
5811
5745
|
*/
|
|
@@ -5953,10 +5887,10 @@ type Config$8 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks & Plugi
|
|
|
5953
5887
|
*/
|
|
5954
5888
|
useQuery: NamingOptions & FeatureToggle;
|
|
5955
5889
|
};
|
|
5956
|
-
type TanStackPreactQueryPlugin = DefinePlugin$1<UserConfig$
|
|
5890
|
+
type TanStackPreactQueryPlugin = DefinePlugin$1<UserConfig$12, Config$9>;
|
|
5957
5891
|
//#endregion
|
|
5958
5892
|
//#region src/plugins/@tanstack/react-query/types.d.ts
|
|
5959
|
-
type UserConfig$
|
|
5893
|
+
type UserConfig$11 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
5960
5894
|
/**
|
|
5961
5895
|
* Casing convention for generated names.
|
|
5962
5896
|
*
|
|
@@ -6297,7 +6231,7 @@ type UserConfig$10 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & P
|
|
|
6297
6231
|
name?: NameTransformer;
|
|
6298
6232
|
};
|
|
6299
6233
|
};
|
|
6300
|
-
type Config$
|
|
6234
|
+
type Config$8 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
6301
6235
|
/**
|
|
6302
6236
|
* Casing convention for generated names.
|
|
6303
6237
|
*/
|
|
@@ -6445,10 +6379,10 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
6445
6379
|
*/
|
|
6446
6380
|
useQuery: NamingOptions & FeatureToggle;
|
|
6447
6381
|
};
|
|
6448
|
-
type TanStackReactQueryPlugin = DefinePlugin$1<UserConfig$
|
|
6382
|
+
type TanStackReactQueryPlugin = DefinePlugin$1<UserConfig$11, Config$8>;
|
|
6449
6383
|
//#endregion
|
|
6450
6384
|
//#region src/plugins/@tanstack/solid-query/types.d.ts
|
|
6451
|
-
type UserConfig$
|
|
6385
|
+
type UserConfig$10 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
6452
6386
|
/**
|
|
6453
6387
|
* Casing convention for generated names.
|
|
6454
6388
|
*
|
|
@@ -6714,7 +6648,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
6714
6648
|
name?: NameTransformer;
|
|
6715
6649
|
};
|
|
6716
6650
|
};
|
|
6717
|
-
type Config$
|
|
6651
|
+
type Config$7 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
6718
6652
|
/**
|
|
6719
6653
|
* Casing convention for generated names.
|
|
6720
6654
|
*/
|
|
@@ -6847,10 +6781,10 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
6847
6781
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6848
6782
|
};
|
|
6849
6783
|
};
|
|
6850
|
-
type TanStackSolidQueryPlugin = DefinePlugin$1<UserConfig$
|
|
6784
|
+
type TanStackSolidQueryPlugin = DefinePlugin$1<UserConfig$10, Config$7>;
|
|
6851
6785
|
//#endregion
|
|
6852
6786
|
//#region src/plugins/@tanstack/svelte-query/types.d.ts
|
|
6853
|
-
type UserConfig$
|
|
6787
|
+
type UserConfig$9 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
6854
6788
|
/**
|
|
6855
6789
|
* Casing convention for generated names.
|
|
6856
6790
|
*
|
|
@@ -7115,7 +7049,7 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
7115
7049
|
name?: NameTransformer;
|
|
7116
7050
|
};
|
|
7117
7051
|
};
|
|
7118
|
-
type Config$
|
|
7052
|
+
type Config$6 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
7119
7053
|
/**
|
|
7120
7054
|
* Casing convention for generated names.
|
|
7121
7055
|
*/
|
|
@@ -7248,10 +7182,10 @@ type Config$5 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugi
|
|
|
7248
7182
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
7249
7183
|
};
|
|
7250
7184
|
};
|
|
7251
|
-
type TanStackSvelteQueryPlugin = DefinePlugin$1<UserConfig$
|
|
7185
|
+
type TanStackSvelteQueryPlugin = DefinePlugin$1<UserConfig$9, Config$6>;
|
|
7252
7186
|
//#endregion
|
|
7253
7187
|
//#region src/plugins/@tanstack/vue-query/types.d.ts
|
|
7254
|
-
type UserConfig$
|
|
7188
|
+
type UserConfig$8 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
7255
7189
|
/**
|
|
7256
7190
|
* Casing convention for generated names.
|
|
7257
7191
|
*
|
|
@@ -7519,7 +7453,7 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plug
|
|
|
7519
7453
|
name?: NameTransformer;
|
|
7520
7454
|
};
|
|
7521
7455
|
};
|
|
7522
|
-
type Config$
|
|
7456
|
+
type Config$5 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
7523
7457
|
/**
|
|
7524
7458
|
* Casing convention for generated names.
|
|
7525
7459
|
*/
|
|
@@ -7655,7 +7589,7 @@ type Config$4 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1
|
|
|
7655
7589
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
7656
7590
|
};
|
|
7657
7591
|
};
|
|
7658
|
-
type TanStackVueQueryPlugin = DefinePlugin$1<UserConfig$
|
|
7592
|
+
type TanStackVueQueryPlugin = DefinePlugin$1<UserConfig$8, Config$5>;
|
|
7659
7593
|
//#endregion
|
|
7660
7594
|
//#region src/plugins/arktype/shared/types.d.ts
|
|
7661
7595
|
type ValidatorArgs$2 = {
|
|
@@ -7670,7 +7604,7 @@ type IApi$2 = {
|
|
|
7670
7604
|
};
|
|
7671
7605
|
//#endregion
|
|
7672
7606
|
//#region src/plugins/arktype/types.d.ts
|
|
7673
|
-
type UserConfig$
|
|
7607
|
+
type UserConfig$7 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
7674
7608
|
/**
|
|
7675
7609
|
* Casing convention for generated names.
|
|
7676
7610
|
*
|
|
@@ -7994,7 +7928,7 @@ type UserConfig$6 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.UserCom
|
|
|
7994
7928
|
};
|
|
7995
7929
|
};
|
|
7996
7930
|
};
|
|
7997
|
-
type Config$
|
|
7931
|
+
type Config$4 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
7998
7932
|
/**
|
|
7999
7933
|
* Casing convention for generated names.
|
|
8000
7934
|
*/
|
|
@@ -8099,15 +8033,168 @@ type Config$3 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.Comments &
|
|
|
8099
8033
|
};
|
|
8100
8034
|
};
|
|
8101
8035
|
};
|
|
8102
|
-
type ArktypePlugin = DefinePlugin$1<UserConfig$
|
|
8036
|
+
type ArktypePlugin = DefinePlugin$1<UserConfig$7, Config$4, IApi$2>;
|
|
8103
8037
|
//#endregion
|
|
8104
8038
|
//#region src/plugins/fastify/types.d.ts
|
|
8105
|
-
type UserConfig$
|
|
8106
|
-
type FastifyPlugin = DefinePlugin$1<UserConfig$
|
|
8039
|
+
type UserConfig$6 = Plugin$1.Name<'fastify'> & Plugin$1.Hooks & Plugin$1.UserExports;
|
|
8040
|
+
type FastifyPlugin = DefinePlugin$1<UserConfig$6, UserConfig$6>;
|
|
8107
8041
|
//#endregion
|
|
8108
8042
|
//#region src/plugins/nestjs/types.d.ts
|
|
8109
|
-
type UserConfig$
|
|
8110
|
-
type NestJsPlugin = DefinePlugin$1<UserConfig$
|
|
8043
|
+
type UserConfig$5 = Plugin$1.Name<'nestjs'> & Plugin$1.Hooks & Plugin$1.UserExports;
|
|
8044
|
+
type NestJsPlugin = DefinePlugin$1<UserConfig$5, UserConfig$5>;
|
|
8045
|
+
//#endregion
|
|
8046
|
+
//#region src/plugins/orpc/contracts/types.d.ts
|
|
8047
|
+
interface UserContractsConfig {
|
|
8048
|
+
/**
|
|
8049
|
+
* Type of container for grouped contracts.
|
|
8050
|
+
*
|
|
8051
|
+
* Ignored when `strategy` is `'flat'`.
|
|
8052
|
+
*
|
|
8053
|
+
* - `'object'` - Object with properties
|
|
8054
|
+
*
|
|
8055
|
+
* @default 'object'
|
|
8056
|
+
*/
|
|
8057
|
+
container?: 'object';
|
|
8058
|
+
/**
|
|
8059
|
+
* Customize container names.
|
|
8060
|
+
*
|
|
8061
|
+
* For `'single'` strategy, this sets the root container name.
|
|
8062
|
+
* For `'byTags'` strategy, this transforms tag names.
|
|
8063
|
+
*
|
|
8064
|
+
* @default 'contract' for `'single'` strategy
|
|
8065
|
+
*
|
|
8066
|
+
* @example
|
|
8067
|
+
* // Set root name for single strategy
|
|
8068
|
+
* containerName: 'myContract'
|
|
8069
|
+
*
|
|
8070
|
+
* @example
|
|
8071
|
+
* // Transform tag names with suffix
|
|
8072
|
+
* containerName: '{{name}}Contract'
|
|
8073
|
+
*
|
|
8074
|
+
* @example
|
|
8075
|
+
* // With casing
|
|
8076
|
+
* containerName: { name: '{{name}}Contract', casing: 'camelCase' }
|
|
8077
|
+
*/
|
|
8078
|
+
containerName?: NamingRule;
|
|
8079
|
+
/**
|
|
8080
|
+
* Customize contract names.
|
|
8081
|
+
*
|
|
8082
|
+
* Applied to the final segment of the path (the contract name).
|
|
8083
|
+
*/
|
|
8084
|
+
contractName?: NamingRule;
|
|
8085
|
+
/**
|
|
8086
|
+
* How to derive nesting structure from operations.
|
|
8087
|
+
*
|
|
8088
|
+
* - `'operationId'` - Split operationId by delimiters (e.g., `users.list` → `Users.list()`)
|
|
8089
|
+
* - `'id'` - Use operation id as-is, no nesting
|
|
8090
|
+
* - Custom function for full control
|
|
8091
|
+
*
|
|
8092
|
+
* @default 'operationId'
|
|
8093
|
+
*/
|
|
8094
|
+
nesting?: 'operationId' | 'id' | OperationPathStrategy;
|
|
8095
|
+
/**
|
|
8096
|
+
* Delimiters for splitting operationId.
|
|
8097
|
+
*
|
|
8098
|
+
* Only applies when `nesting` is `'operationId'`.
|
|
8099
|
+
*
|
|
8100
|
+
* @default /[./]/
|
|
8101
|
+
*/
|
|
8102
|
+
nestingDelimiters?: RegExp;
|
|
8103
|
+
/**
|
|
8104
|
+
* Customize nesting segment names.
|
|
8105
|
+
*
|
|
8106
|
+
* Applied to intermediate path segments (not the contract name).
|
|
8107
|
+
*/
|
|
8108
|
+
segmentName?: NamingRule;
|
|
8109
|
+
/**
|
|
8110
|
+
* Grouping strategy.
|
|
8111
|
+
*
|
|
8112
|
+
* - `'flat'` - Standalone contracts, no grouping
|
|
8113
|
+
* - `'byTags'` - One container per operation tag
|
|
8114
|
+
* - `'single'` - All contracts in one container
|
|
8115
|
+
* - Custom function for full control
|
|
8116
|
+
*
|
|
8117
|
+
* @default 'single'
|
|
8118
|
+
*/
|
|
8119
|
+
strategy?: OperationsStrategy;
|
|
8120
|
+
/**
|
|
8121
|
+
* Default container name for operations without tags.
|
|
8122
|
+
*
|
|
8123
|
+
* Only applies when `strategy` is `'byTags'`.
|
|
8124
|
+
*
|
|
8125
|
+
* @default 'default'
|
|
8126
|
+
*/
|
|
8127
|
+
strategyDefaultTag?: string;
|
|
8128
|
+
}
|
|
8129
|
+
interface ContractsConfig {
|
|
8130
|
+
/** Type of container for grouped operations. */
|
|
8131
|
+
container: 'object';
|
|
8132
|
+
/** Customize container names. */
|
|
8133
|
+
containerName: NamingConfig;
|
|
8134
|
+
/** Customize contract names. */
|
|
8135
|
+
contractName: NamingConfig;
|
|
8136
|
+
/** How to derive nesting structure from operations. */
|
|
8137
|
+
nesting: 'operationId' | 'id' | OperationPathStrategy;
|
|
8138
|
+
/** Delimiters for splitting operationId. */
|
|
8139
|
+
nestingDelimiters: RegExp;
|
|
8140
|
+
/** Customize nesting segment names. */
|
|
8141
|
+
segmentName: NamingConfig;
|
|
8142
|
+
/** Grouping strategy. */
|
|
8143
|
+
strategy: OperationsStrategy;
|
|
8144
|
+
/** Default container name for operations without tags. */
|
|
8145
|
+
strategyDefaultTag: string;
|
|
8146
|
+
}
|
|
8147
|
+
//#endregion
|
|
8148
|
+
//#region src/plugins/orpc/types.d.ts
|
|
8149
|
+
type UserConfig$4 = Plugin$1.Name<'orpc'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
8150
|
+
/**
|
|
8151
|
+
* Define the structure of generated oRPC contracts.
|
|
8152
|
+
*
|
|
8153
|
+
* String shorthand:
|
|
8154
|
+
* - `'byTags'` – one container per operation tag
|
|
8155
|
+
* - `'flat'` – standalone functions, no container
|
|
8156
|
+
* - `'single'` – all operations in a single container
|
|
8157
|
+
* - custom function for full control
|
|
8158
|
+
*
|
|
8159
|
+
* Use the object form for advanced configuration.
|
|
8160
|
+
*
|
|
8161
|
+
* @default 'single'
|
|
8162
|
+
*/
|
|
8163
|
+
contracts?: OperationsStrategy | UserContractsConfig;
|
|
8164
|
+
/**
|
|
8165
|
+
* Validate input/output schemas.
|
|
8166
|
+
*
|
|
8167
|
+
* @default true
|
|
8168
|
+
*/
|
|
8169
|
+
validator?: PluginValidatorNames | boolean | {
|
|
8170
|
+
/**
|
|
8171
|
+
* The validator plugin to use for input schemas.
|
|
8172
|
+
*
|
|
8173
|
+
* Can be a validator plugin name or boolean (true to auto-select, false
|
|
8174
|
+
* to disable).
|
|
8175
|
+
*
|
|
8176
|
+
* @default true
|
|
8177
|
+
*/
|
|
8178
|
+
input?: PluginValidatorNames | boolean;
|
|
8179
|
+
/**
|
|
8180
|
+
* The validator plugin to use for output schemas.
|
|
8181
|
+
*
|
|
8182
|
+
* Can be a validator plugin name or boolean (true to auto-select, false
|
|
8183
|
+
* to disable).
|
|
8184
|
+
*
|
|
8185
|
+
* @default true
|
|
8186
|
+
*/
|
|
8187
|
+
output?: PluginValidatorNames | boolean;
|
|
8188
|
+
};
|
|
8189
|
+
};
|
|
8190
|
+
type Config$3 = Plugin$1.Name<'orpc'> & Plugin$1.Hooks & Plugin$1.Exports & {
|
|
8191
|
+
/** Define the structure of generated oRPC contracts. */contracts: ContractsConfig; /** Validate input/output schemas. */
|
|
8192
|
+
validator: {
|
|
8193
|
+
/** The validator plugin to use for input schemas. */input: PluginValidatorNames | false; /** The validator plugin to use for output schemas. */
|
|
8194
|
+
output: PluginValidatorNames | false;
|
|
8195
|
+
};
|
|
8196
|
+
};
|
|
8197
|
+
type OrpcPlugin = DefinePlugin$1<UserConfig$4, Config$3>;
|
|
8111
8198
|
//#endregion
|
|
8112
8199
|
//#region src/plugins/swr/types.d.ts
|
|
8113
8200
|
type UserConfig$3 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
@@ -10090,7 +10177,7 @@ type ZodPlugin = DefinePlugin$1<UserConfig$1, Config, IApi>;
|
|
|
10090
10177
|
*
|
|
10091
10178
|
* @param userConfig User provided {@link UserConfig} configuration(s).
|
|
10092
10179
|
*/
|
|
10093
|
-
declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?:
|
|
10180
|
+
declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?: Logger$1): Promise<ReadonlyArray<Context>>;
|
|
10094
10181
|
//#endregion
|
|
10095
10182
|
//#region src/config/plugins.d.ts
|
|
10096
10183
|
/**
|
|
@@ -10172,6 +10259,7 @@ declare module '@hey-api/shared' {
|
|
|
10172
10259
|
arktype: Plugins.Arktype.Types['Types'];
|
|
10173
10260
|
fastify: Plugins.Fastify.Types['Types'];
|
|
10174
10261
|
nestjs: Plugins.NestJs.Types['Types'];
|
|
10262
|
+
orpc: Plugins.Orpc.Types['Types'];
|
|
10175
10263
|
swr: Plugins.Swr.Types['Types'];
|
|
10176
10264
|
valibot: Plugins.Valibot.Types['Types'];
|
|
10177
10265
|
zod: Plugins.Zod.Types['Types'];
|
|
@@ -10243,6 +10331,9 @@ declare namespace Plugins {
|
|
|
10243
10331
|
namespace NestJs {
|
|
10244
10332
|
type Types = NestJsPlugin;
|
|
10245
10333
|
}
|
|
10334
|
+
namespace Orpc {
|
|
10335
|
+
type Types = OrpcPlugin;
|
|
10336
|
+
}
|
|
10246
10337
|
namespace PiniaColada {
|
|
10247
10338
|
type Types = PiniaColadaPlugin;
|
|
10248
10339
|
}
|