@hey-api/openapi-ts 0.93.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -12
- package/dist/clients/angular/client.ts +5 -3
- package/dist/clients/axios/client.ts +4 -1
- package/dist/clients/core/bodySerializer.ts +6 -8
- package/dist/clients/core/params.ts +1 -1
- package/dist/clients/fetch/client.ts +5 -3
- package/dist/clients/ky/client.ts +5 -3
- package/dist/clients/next/client.ts +5 -3
- package/dist/clients/nuxt/client.ts +4 -1
- package/dist/clients/nuxt/utils.ts +4 -0
- package/dist/clients/ofetch/client.ts +5 -3
- package/dist/index.d.mts +889 -266
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{init-BVQKw3ZX.mjs → init-PHWYaLgi.mjs} +372 -111
- package/dist/init-PHWYaLgi.mjs.map +1 -0
- package/dist/internal.mjs +1 -1
- package/dist/run.mjs +5 -5
- package/dist/run.mjs.map +1 -1
- package/dist/{src-BD5OAshH.mjs → src-1D7PrOtb.mjs} +2 -2
- package/dist/{src-BD5OAshH.mjs.map → src-1D7PrOtb.mjs.map} +1 -1
- package/package.json +4 -4
- package/dist/init-BVQKw3ZX.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { n as UserConfig } from "./types-Ba27ofyy.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Logger as Logger$1, Node, NodeName, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, Refs, RenderContext, Renderer, Symbol, SymbolMeta } from "@hey-api/codegen-core";
|
|
2
|
+
import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Node, NodeName as NodeName$1, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, Refs, RenderContext, Renderer, Symbol, SymbolMeta } from "@hey-api/codegen-core";
|
|
4
3
|
import { 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, SchemaExtractor, SchemaVisitorContext, SchemaWithType, Walker, defaultPaginationKeywords, definePluginConfig, utils } from "@hey-api/shared";
|
|
5
4
|
import ts from "typescript";
|
|
6
5
|
import { AnyString, LazyOrAsync, MaybeArray, MaybeFunc } from "@hey-api/types";
|
|
@@ -372,7 +371,7 @@ type HttpResourcesConfig = FeatureToggle & {
|
|
|
372
371
|
};
|
|
373
372
|
//#endregion
|
|
374
373
|
//#region src/plugins/@angular/common/types.d.ts
|
|
375
|
-
type UserConfig$
|
|
374
|
+
type UserConfig$25 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
376
375
|
/**
|
|
377
376
|
* Options for generating HTTP Request instances.
|
|
378
377
|
*
|
|
@@ -386,7 +385,7 @@ type UserConfig$24 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$
|
|
|
386
385
|
*/
|
|
387
386
|
httpResources?: boolean | OperationsStrategy | UserHttpResourcesConfig;
|
|
388
387
|
};
|
|
389
|
-
type Config$
|
|
388
|
+
type Config$22 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
390
389
|
/**
|
|
391
390
|
* Options for generating HTTP Request instances.
|
|
392
391
|
*/
|
|
@@ -396,7 +395,7 @@ type Config$21 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.Co
|
|
|
396
395
|
*/
|
|
397
396
|
httpResources: HttpResourcesConfig;
|
|
398
397
|
};
|
|
399
|
-
type AngularCommonPlugin = DefinePlugin$1<UserConfig$
|
|
398
|
+
type AngularCommonPlugin = DefinePlugin$1<UserConfig$25, Config$22>;
|
|
400
399
|
//#endregion
|
|
401
400
|
//#region src/ts-dsl/mixins/types.d.ts
|
|
402
401
|
type BaseCtor<T extends ts.Node> = abstract new (...args: Array<any>) => TsDsl<T>;
|
|
@@ -404,7 +403,7 @@ type DropFirst<T extends Array<any>> = T extends [any, ...infer Rest] ? Rest : n
|
|
|
404
403
|
type MixinCtor<T extends BaseCtor<any>, K$1> = abstract new (...args: Array<any>) => InstanceType<T> & K$1;
|
|
405
404
|
//#endregion
|
|
406
405
|
//#region src/ts-dsl/mixins/type-args.d.ts
|
|
407
|
-
type Arg$1 = NodeName | MaybeTsDsl<TypeTsDsl>;
|
|
406
|
+
type Arg$1 = NodeName$1 | MaybeTsDsl<TypeTsDsl>;
|
|
408
407
|
interface TypeArgsMethods extends Node {
|
|
409
408
|
/** Returns the type arguments as an array of ts.TypeNode nodes. */
|
|
410
409
|
$generics(): ReadonlyArray<ts.TypeNode> | undefined;
|
|
@@ -421,8 +420,8 @@ interface AsMethods extends Node {
|
|
|
421
420
|
}
|
|
422
421
|
//#endregion
|
|
423
422
|
//#region src/ts-dsl/expr/as.d.ts
|
|
424
|
-
type AsExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
425
|
-
type AsType = NodeName | TypeTsDsl;
|
|
423
|
+
type AsExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
424
|
+
type AsType = NodeName$1 | TypeTsDsl;
|
|
426
425
|
type AsCtor = (expr: AsExpr, type: AsType) => AsTsDsl;
|
|
427
426
|
declare const Mixed$52: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.AsExpression>, ExprMethods>, AsMethods>;
|
|
428
427
|
declare class AsTsDsl extends Mixed$52 {
|
|
@@ -444,7 +443,7 @@ interface OptionalMethods extends Node {
|
|
|
444
443
|
}
|
|
445
444
|
//#endregion
|
|
446
445
|
//#region src/ts-dsl/expr/binary.d.ts
|
|
447
|
-
type Expr$3 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
446
|
+
type Expr$3 = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
448
447
|
type Op$1 = Operator | ts.BinaryOperator;
|
|
449
448
|
type Operator = '!=' | '!==' | '&&' | '*' | '+' | '-' | '/' | '<' | '<=' | '=' | '==' | '===' | '>' | '>=' | '??' | '??=' | '||';
|
|
450
449
|
declare const Mixed$51: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.BinaryExpression>, ExprMethods>, AsMethods>;
|
|
@@ -503,7 +502,7 @@ declare class BinaryTsDsl extends Mixed$51 {
|
|
|
503
502
|
}
|
|
504
503
|
//#endregion
|
|
505
504
|
//#region src/ts-dsl/mixins/operator.d.ts
|
|
506
|
-
type Expr$2 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
505
|
+
type Expr$2 = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
507
506
|
interface OperatorMethods extends Node {
|
|
508
507
|
/** Logical AND — `this && expr` */
|
|
509
508
|
and(expr: Expr$2): BinaryTsDsl;
|
|
@@ -542,19 +541,19 @@ interface OperatorMethods extends Node {
|
|
|
542
541
|
}
|
|
543
542
|
//#endregion
|
|
544
543
|
//#region src/ts-dsl/expr/attr.d.ts
|
|
545
|
-
type AttrLeft = NodeName | MaybeTsDsl<ts.Expression>;
|
|
546
|
-
type AttrCtor = (left: AttrLeft, right: NodeName) => AttrTsDsl;
|
|
544
|
+
type AttrLeft = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
545
|
+
type AttrCtor = (left: AttrLeft, right: NodeName$1) => AttrTsDsl;
|
|
547
546
|
declare const Mixed$50: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyAccessExpression | ts.ElementAccessExpression>, OptionalMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
|
|
548
547
|
declare class AttrTsDsl extends Mixed$50 {
|
|
549
548
|
readonly '~dsl' = "AttrTsDsl";
|
|
550
549
|
protected left: Ref<AttrLeft>;
|
|
551
|
-
constructor(left: AttrLeft, right: NodeName);
|
|
550
|
+
constructor(left: AttrLeft, right: NodeName$1);
|
|
552
551
|
analyze(ctx: AnalysisContext): void;
|
|
553
552
|
toAst(): ts.PropertyAccessExpression | ts.ElementAccessExpression;
|
|
554
553
|
}
|
|
555
554
|
//#endregion
|
|
556
555
|
//#region src/ts-dsl/expr/await.d.ts
|
|
557
|
-
type AwaitExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
556
|
+
type AwaitExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
558
557
|
type AwaitCtor = (expr: AwaitExpr) => AwaitTsDsl;
|
|
559
558
|
declare const Mixed$49: MixinCtor<abstract new () => TsDsl<ts.AwaitExpression>, ExprMethods>;
|
|
560
559
|
declare class AwaitTsDsl extends Mixed$49 {
|
|
@@ -566,7 +565,7 @@ declare class AwaitTsDsl extends Mixed$49 {
|
|
|
566
565
|
}
|
|
567
566
|
//#endregion
|
|
568
567
|
//#region src/ts-dsl/mixins/args.d.ts
|
|
569
|
-
type Arg = NodeName | MaybeTsDsl<ts.Expression>;
|
|
568
|
+
type Arg = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
570
569
|
interface ArgsMethods extends Node {
|
|
571
570
|
/** Renders the arguments into an array of `Expression`s. */
|
|
572
571
|
$args(): ReadonlyArray<ts.Expression>;
|
|
@@ -578,7 +577,7 @@ interface ArgsMethods extends Node {
|
|
|
578
577
|
//#endregion
|
|
579
578
|
//#region src/ts-dsl/expr/new.d.ts
|
|
580
579
|
type NewArgs = ReadonlyArray<NewExpr | undefined>;
|
|
581
|
-
type NewExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
580
|
+
type NewExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
582
581
|
type NewCtor = (expr: NewExpr, ...args: NewArgs) => NewTsDsl;
|
|
583
582
|
declare const Mixed$48: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.NewExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
|
|
584
583
|
declare class NewTsDsl extends Mixed$48 {
|
|
@@ -602,7 +601,7 @@ declare class TypeOfExprTsDsl extends Mixed$47 {
|
|
|
602
601
|
}
|
|
603
602
|
//#endregion
|
|
604
603
|
//#region src/ts-dsl/stmt/return.d.ts
|
|
605
|
-
type ReturnExpr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
604
|
+
type ReturnExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
606
605
|
type ReturnCtor = (expr?: ReturnExpr) => ReturnTsDsl;
|
|
607
606
|
declare const Mixed$46: abstract new () => TsDsl<ts.ReturnStatement>;
|
|
608
607
|
declare class ReturnTsDsl extends Mixed$46 {
|
|
@@ -632,8 +631,8 @@ interface TypeExprMethods extends Node {
|
|
|
632
631
|
}
|
|
633
632
|
//#endregion
|
|
634
633
|
//#region src/ts-dsl/type/attr.d.ts
|
|
635
|
-
type Base$1 = NodeName | MaybeTsDsl<ts.EntityName>;
|
|
636
|
-
type Right = NodeName | ts.Identifier;
|
|
634
|
+
type Base$1 = NodeName$1 | MaybeTsDsl<ts.EntityName>;
|
|
635
|
+
type Right = NodeName$1 | ts.Identifier;
|
|
637
636
|
declare const Mixed$45: MixinCtor<abstract new () => TsDsl<ts.QualifiedName>, TypeExprMethods>;
|
|
638
637
|
declare class TypeAttrTsDsl extends Mixed$45 {
|
|
639
638
|
readonly '~dsl' = "TypeAttrTsDsl";
|
|
@@ -656,9 +655,9 @@ declare class TypeAttrTsDsl extends Mixed$45 {
|
|
|
656
655
|
}
|
|
657
656
|
//#endregion
|
|
658
657
|
//#region src/ts-dsl/type/expr.d.ts
|
|
659
|
-
type TypeExprExpr = NodeName | TypeAttrTsDsl;
|
|
658
|
+
type TypeExprExpr = NodeName$1 | TypeAttrTsDsl;
|
|
660
659
|
type TypeExprFn = (t: TypeExprTsDsl) => void;
|
|
661
|
-
type TypeExprCtor = (nameOrFn?: NodeName | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
|
|
660
|
+
type TypeExprCtor = (nameOrFn?: NodeName$1 | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
|
|
662
661
|
declare const Mixed$44: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeReferenceNode>, TypeExprMethods>, TypeArgsMethods>;
|
|
663
662
|
declare class TypeExprTsDsl extends Mixed$44 {
|
|
664
663
|
readonly '~dsl' = "TypeExprTsDsl";
|
|
@@ -666,8 +665,8 @@ declare class TypeExprTsDsl extends Mixed$44 {
|
|
|
666
665
|
protected _exprInput?: Ref<TypeExprExpr>;
|
|
667
666
|
constructor();
|
|
668
667
|
constructor(fn: TypeExprFn);
|
|
669
|
-
constructor(name: NodeName);
|
|
670
|
-
constructor(name: NodeName, fn?: TypeExprFn);
|
|
668
|
+
constructor(name: NodeName$1);
|
|
669
|
+
constructor(name: NodeName$1, fn?: TypeExprFn);
|
|
671
670
|
analyze(ctx: AnalysisContext): void;
|
|
672
671
|
/** Returns true when all required builder calls are present. */
|
|
673
672
|
get isValid(): boolean;
|
|
@@ -808,7 +807,7 @@ interface ExprMethods extends Node {
|
|
|
808
807
|
//#endregion
|
|
809
808
|
//#region src/ts-dsl/expr/call.d.ts
|
|
810
809
|
type CallArgs = ReadonlyArray<CallCallee | undefined>;
|
|
811
|
-
type CallCallee = NodeName | MaybeTsDsl<ts.Expression>;
|
|
810
|
+
type CallCallee = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
812
811
|
type CallCtor = (callee: CallCallee, ...args: CallArgs) => CallTsDsl;
|
|
813
812
|
declare const Mixed$40: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
|
|
814
813
|
declare class CallTsDsl extends Mixed$40 {
|
|
@@ -893,7 +892,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
|
|
|
893
892
|
structuralParents?: Map<TsDsl, NodeRelationship>;
|
|
894
893
|
symbol?: Symbol;
|
|
895
894
|
toAst(): T;
|
|
896
|
-
readonly '~brand'
|
|
895
|
+
readonly '~brand': any;
|
|
897
896
|
/** Branding property to identify the DSL class at runtime. */
|
|
898
897
|
abstract readonly '~dsl': AnyString;
|
|
899
898
|
/** Conditionally applies a callback to this builder. */
|
|
@@ -914,7 +913,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
|
|
|
914
913
|
length: number;
|
|
915
914
|
}): TsDsl | undefined;
|
|
916
915
|
protected $maybeId<T extends string | ts.Expression>(expr: T): T extends string ? ts.Identifier : T;
|
|
917
|
-
protected $name(name: Ref<NodeName>): string;
|
|
916
|
+
protected $name(name: Ref<NodeName$1>): string;
|
|
918
917
|
protected $node<I>(value: I): NodeOfMaybe<I>;
|
|
919
918
|
protected $type<I>(value: I, args?: ReadonlyArray<ts.TypeNode>): TypeOfMaybe<I>;
|
|
920
919
|
private _name?;
|
|
@@ -939,7 +938,7 @@ declare class DocTsDsl extends TsDsl<ts.Node> {
|
|
|
939
938
|
analyze(ctx: AnalysisContext): void;
|
|
940
939
|
add(lines: DocLines): this;
|
|
941
940
|
apply<T extends ts.Node>(node: T): T;
|
|
942
|
-
toAst():
|
|
941
|
+
toAst(): any;
|
|
943
942
|
}
|
|
944
943
|
//#endregion
|
|
945
944
|
//#region src/ts-dsl/layout/hint.d.ts
|
|
@@ -953,7 +952,7 @@ declare class HintTsDsl extends TsDsl<ts.Node> {
|
|
|
953
952
|
analyze(ctx: AnalysisContext): void;
|
|
954
953
|
add(lines: HintLines): this;
|
|
955
954
|
apply<T extends ts.Node>(node: T): T;
|
|
956
|
-
toAst():
|
|
955
|
+
toAst(): any;
|
|
957
956
|
}
|
|
958
957
|
//#endregion
|
|
959
958
|
//#region src/ts-dsl/mixins/do.d.ts
|
|
@@ -1005,7 +1004,7 @@ declare class LiteralTsDsl extends Mixed$38 {
|
|
|
1005
1004
|
protected value: LiteralValue;
|
|
1006
1005
|
constructor(value: LiteralValue);
|
|
1007
1006
|
analyze(ctx: AnalysisContext): void;
|
|
1008
|
-
toAst():
|
|
1007
|
+
toAst(): any;
|
|
1009
1008
|
}
|
|
1010
1009
|
//#endregion
|
|
1011
1010
|
//#region src/ts-dsl/layout/note.d.ts
|
|
@@ -1019,30 +1018,18 @@ declare class NoteTsDsl extends TsDsl<ts.Node> {
|
|
|
1019
1018
|
analyze(ctx: AnalysisContext): void;
|
|
1020
1019
|
add(lines: NoteLines): this;
|
|
1021
1020
|
apply<T extends ts.Node>(node: T): T;
|
|
1022
|
-
toAst():
|
|
1023
|
-
}
|
|
1024
|
-
//#endregion
|
|
1025
|
-
//#region src/ts-dsl/expr/template.d.ts
|
|
1026
|
-
type TemplatePart = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1027
|
-
declare const Mixed$37: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
|
|
1028
|
-
declare class TemplateTsDsl extends Mixed$37 {
|
|
1029
|
-
readonly '~dsl' = "TemplateTsDsl";
|
|
1030
|
-
protected parts: Array<Ref<TemplatePart>>;
|
|
1031
|
-
constructor(value?: TemplatePart);
|
|
1032
|
-
analyze(ctx: AnalysisContext): void;
|
|
1033
|
-
add(value: TemplatePart): this;
|
|
1034
|
-
toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
|
|
1021
|
+
toAst(): any;
|
|
1035
1022
|
}
|
|
1036
1023
|
//#endregion
|
|
1037
1024
|
//#region src/ts-dsl/type/param.d.ts
|
|
1038
|
-
type TypeParamExpr = NodeName | boolean | MaybeTsDsl<TypeTsDsl>;
|
|
1039
|
-
declare const Mixed$
|
|
1040
|
-
declare class TypeParamTsDsl extends Mixed$
|
|
1025
|
+
type TypeParamExpr = NodeName$1 | boolean | MaybeTsDsl<TypeTsDsl>;
|
|
1026
|
+
declare const Mixed$37: abstract new () => TsDsl<ts.TypeParameterDeclaration>;
|
|
1027
|
+
declare class TypeParamTsDsl extends Mixed$37 {
|
|
1041
1028
|
readonly '~dsl' = "TypeParamTsDsl";
|
|
1042
1029
|
scope: NodeScope;
|
|
1043
1030
|
protected constraint?: Ref<TypeParamExpr>;
|
|
1044
1031
|
protected defaultValue?: Ref<TypeParamExpr>;
|
|
1045
|
-
constructor(name?: NodeName, fn?: (name: TypeParamTsDsl) => void);
|
|
1032
|
+
constructor(name?: NodeName$1, fn?: (name: TypeParamTsDsl) => void);
|
|
1046
1033
|
analyze(ctx: AnalysisContext): void;
|
|
1047
1034
|
default(value: TypeParamExpr): this;
|
|
1048
1035
|
extends(constraint: TypeParamExpr): this;
|
|
@@ -1056,7 +1043,7 @@ interface TypeParamsMethods extends Node {
|
|
|
1056
1043
|
/** Adds a single type parameter (e.g. `T` in `Array<T>`). */
|
|
1057
1044
|
generic(...args: ConstructorParameters<typeof TypeParamTsDsl>): this;
|
|
1058
1045
|
/** Adds type parameters (e.g. `Map<string, T>`). */
|
|
1059
|
-
generics(...args: ReadonlyArray<NodeName | MaybeTsDsl<TypeParamTsDsl>>): this;
|
|
1046
|
+
generics(...args: ReadonlyArray<NodeName$1 | MaybeTsDsl<TypeParamTsDsl>>): this;
|
|
1060
1047
|
}
|
|
1061
1048
|
//#endregion
|
|
1062
1049
|
//#region src/ts-dsl/mixins/modifiers.d.ts
|
|
@@ -1173,7 +1160,7 @@ interface DecoratorMethods extends Node {
|
|
|
1173
1160
|
/** Renders the decorators into an array of `ts.Decorator`s. */
|
|
1174
1161
|
$decorators(): ReadonlyArray<ts.Decorator>;
|
|
1175
1162
|
/** Adds a decorator (e.g. `@sealed({ in: 'root' })`). */
|
|
1176
|
-
decorator(name: NodeName | MaybeTsDsl<ts.Expression>, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>): this;
|
|
1163
|
+
decorator(name: NodeName$1 | MaybeTsDsl<ts.Expression>, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>): this;
|
|
1177
1164
|
}
|
|
1178
1165
|
//#endregion
|
|
1179
1166
|
//#region src/ts-dsl/mixins/value.d.ts
|
|
@@ -1185,13 +1172,13 @@ interface ValueMethods extends Node {
|
|
|
1185
1172
|
}
|
|
1186
1173
|
//#endregion
|
|
1187
1174
|
//#region src/ts-dsl/decl/field.d.ts
|
|
1188
|
-
type FieldType = NodeName | TypeTsDsl;
|
|
1189
|
-
declare const Mixed$
|
|
1190
|
-
declare class FieldTsDsl extends Mixed$
|
|
1175
|
+
type FieldType = NodeName$1 | TypeTsDsl;
|
|
1176
|
+
declare const Mixed$36: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyDeclaration>, ValueMethods>, StaticMethods>, ReadonlyMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, OptionalMethods>, DocMethods>, DecoratorMethods>;
|
|
1177
|
+
declare class FieldTsDsl extends Mixed$36 {
|
|
1191
1178
|
readonly '~dsl' = "FieldTsDsl";
|
|
1192
1179
|
readonly nameSanitizer: (name: string) => string;
|
|
1193
1180
|
protected _type?: TypeTsDsl;
|
|
1194
|
-
constructor(name: NodeName, fn?: (f: FieldTsDsl) => void);
|
|
1181
|
+
constructor(name: NodeName$1, fn?: (f: FieldTsDsl) => void);
|
|
1195
1182
|
analyze(ctx: AnalysisContext): void;
|
|
1196
1183
|
/** Sets the field type. */
|
|
1197
1184
|
type(type: FieldType): this;
|
|
@@ -1211,12 +1198,12 @@ interface PatternMethods extends Node {
|
|
|
1211
1198
|
}
|
|
1212
1199
|
//#endregion
|
|
1213
1200
|
//#region src/ts-dsl/decl/param.d.ts
|
|
1214
|
-
type ParamCtor = (name: NodeName | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void) => ParamTsDsl;
|
|
1215
|
-
declare const Mixed$
|
|
1216
|
-
declare class ParamTsDsl extends Mixed$
|
|
1201
|
+
type ParamCtor = (name: NodeName$1 | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void) => ParamTsDsl;
|
|
1202
|
+
declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration>, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
|
|
1203
|
+
declare class ParamTsDsl extends Mixed$35 {
|
|
1217
1204
|
readonly '~dsl' = "ParamTsDsl";
|
|
1218
1205
|
protected _type?: TypeTsDsl;
|
|
1219
|
-
constructor(name: NodeName | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void);
|
|
1206
|
+
constructor(name: NodeName$1 | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void);
|
|
1220
1207
|
analyze(ctx: AnalysisContext): void;
|
|
1221
1208
|
/** Returns true when all required builder calls are present. */
|
|
1222
1209
|
get isValid(): boolean;
|
|
@@ -1238,8 +1225,8 @@ interface ParamMethods extends Node {
|
|
|
1238
1225
|
}
|
|
1239
1226
|
//#endregion
|
|
1240
1227
|
//#region src/ts-dsl/decl/init.d.ts
|
|
1241
|
-
declare const Mixed$
|
|
1242
|
-
declare class InitTsDsl extends Mixed$
|
|
1228
|
+
declare const Mixed$34: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
|
|
1229
|
+
declare class InitTsDsl extends Mixed$34 {
|
|
1243
1230
|
readonly '~dsl' = "InitTsDsl";
|
|
1244
1231
|
constructor(fn?: (i: InitTsDsl) => void);
|
|
1245
1232
|
analyze(ctx: AnalysisContext): void;
|
|
@@ -1251,41 +1238,41 @@ interface TypeReturnsMethods extends Node {
|
|
|
1251
1238
|
/** Returns the return type node. */
|
|
1252
1239
|
$returns(): ts.TypeNode | undefined;
|
|
1253
1240
|
/** Sets the return type. */
|
|
1254
|
-
returns(type: NodeName | TypeTsDsl): this;
|
|
1241
|
+
returns(type: NodeName$1 | TypeTsDsl): this;
|
|
1255
1242
|
}
|
|
1256
1243
|
//#endregion
|
|
1257
1244
|
//#region src/ts-dsl/decl/method.d.ts
|
|
1258
|
-
declare const Mixed$
|
|
1259
|
-
declare class MethodTsDsl extends Mixed$
|
|
1245
|
+
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>;
|
|
1246
|
+
declare class MethodTsDsl extends Mixed$33 {
|
|
1260
1247
|
readonly '~dsl' = "MethodTsDsl";
|
|
1261
1248
|
readonly nameSanitizer: (name: string) => string;
|
|
1262
|
-
constructor(name: NodeName, fn?: (m: MethodTsDsl) => void);
|
|
1249
|
+
constructor(name: NodeName$1, fn?: (m: MethodTsDsl) => void);
|
|
1263
1250
|
analyze(ctx: AnalysisContext): void;
|
|
1264
1251
|
toAst(): ts.MethodDeclaration;
|
|
1265
1252
|
}
|
|
1266
1253
|
//#endregion
|
|
1267
1254
|
//#region src/ts-dsl/decl/class.d.ts
|
|
1268
1255
|
type Body = Array<MaybeTsDsl<ts.ClassElement | ts.Node>>;
|
|
1269
|
-
declare const Mixed$
|
|
1270
|
-
declare class ClassTsDsl extends Mixed$
|
|
1256
|
+
declare const Mixed$32: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
|
|
1257
|
+
declare class ClassTsDsl extends Mixed$32 {
|
|
1271
1258
|
readonly '~dsl' = "ClassTsDsl";
|
|
1272
1259
|
readonly nameSanitizer: (name: string) => string;
|
|
1273
|
-
protected baseClass?: Ref<NodeName>;
|
|
1260
|
+
protected baseClass?: Ref<NodeName$1>;
|
|
1274
1261
|
protected body: Body;
|
|
1275
|
-
constructor(name: NodeName);
|
|
1262
|
+
constructor(name: NodeName$1);
|
|
1276
1263
|
analyze(ctx: AnalysisContext): void;
|
|
1277
1264
|
/** Returns true if the class has any members. */
|
|
1278
1265
|
get hasBody(): boolean;
|
|
1279
1266
|
/** Adds one or more class members (fields, methods, etc.). */
|
|
1280
1267
|
do(...items: Body): this;
|
|
1281
1268
|
/** Records a base class to extend from. */
|
|
1282
|
-
extends(base?: NodeName): this;
|
|
1269
|
+
extends(base?: NodeName$1): this;
|
|
1283
1270
|
/** Adds a class field. */
|
|
1284
|
-
field(name: NodeName, fn?: (f: FieldTsDsl) => void): this;
|
|
1271
|
+
field(name: NodeName$1, fn?: (f: FieldTsDsl) => void): this;
|
|
1285
1272
|
/** Adds a class constructor. */
|
|
1286
1273
|
init(fn?: InitTsDsl | ((i: InitTsDsl) => void)): this;
|
|
1287
1274
|
/** Adds a class method. */
|
|
1288
|
-
method(name: NodeName, fn?: (m: MethodTsDsl) => void): this;
|
|
1275
|
+
method(name: NodeName$1, fn?: (m: MethodTsDsl) => void): this;
|
|
1289
1276
|
/** Inserts an empty line between members for formatting. */
|
|
1290
1277
|
newline(): this;
|
|
1291
1278
|
toAst(): ts.ClassDeclaration;
|
|
@@ -1294,11 +1281,11 @@ declare class ClassTsDsl extends Mixed$31 {
|
|
|
1294
1281
|
}
|
|
1295
1282
|
//#endregion
|
|
1296
1283
|
//#region src/ts-dsl/decl/decorator.d.ts
|
|
1297
|
-
declare const Mixed$
|
|
1298
|
-
declare class DecoratorTsDsl extends Mixed$
|
|
1284
|
+
declare const Mixed$31: MixinCtor<abstract new () => TsDsl<ts.Decorator>, ArgsMethods>;
|
|
1285
|
+
declare class DecoratorTsDsl extends Mixed$31 {
|
|
1299
1286
|
readonly '~dsl' = "DecoratorTsDsl";
|
|
1300
1287
|
readonly nameSanitizer: (name: string) => string;
|
|
1301
|
-
constructor(name: NodeName, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
|
|
1288
|
+
constructor(name: NodeName$1, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
|
|
1302
1289
|
analyze(ctx: AnalysisContext): void;
|
|
1303
1290
|
toAst(): ts.Decorator;
|
|
1304
1291
|
}
|
|
@@ -1306,11 +1293,11 @@ declare class DecoratorTsDsl extends Mixed$30 {
|
|
|
1306
1293
|
//#region src/ts-dsl/decl/member.d.ts
|
|
1307
1294
|
type Value$2 = string | number | MaybeTsDsl<ts.Expression>;
|
|
1308
1295
|
type ValueFn$1 = Value$2 | ((m: EnumMemberTsDsl) => void);
|
|
1309
|
-
declare const Mixed$
|
|
1310
|
-
declare class EnumMemberTsDsl extends Mixed$
|
|
1296
|
+
declare const Mixed$30: MixinCtor<abstract new () => TsDsl<ts.EnumMember>, DocMethods>;
|
|
1297
|
+
declare class EnumMemberTsDsl extends Mixed$30 {
|
|
1311
1298
|
readonly '~dsl' = "EnumMemberTsDsl";
|
|
1312
1299
|
private _value?;
|
|
1313
|
-
constructor(name: NodeName, value?: ValueFn$1);
|
|
1300
|
+
constructor(name: NodeName$1, value?: ValueFn$1);
|
|
1314
1301
|
analyze(ctx: AnalysisContext): void;
|
|
1315
1302
|
/** Sets the enum member value. */
|
|
1316
1303
|
value(value?: Value$2): this;
|
|
@@ -1320,12 +1307,12 @@ declare class EnumMemberTsDsl extends Mixed$29 {
|
|
|
1320
1307
|
//#region src/ts-dsl/decl/enum.d.ts
|
|
1321
1308
|
type Value$1 = string | number | MaybeTsDsl<ts.Expression>;
|
|
1322
1309
|
type ValueFn = Value$1 | ((m: EnumMemberTsDsl) => void);
|
|
1323
|
-
declare const Mixed$
|
|
1324
|
-
declare class EnumTsDsl extends Mixed$
|
|
1310
|
+
declare const Mixed$29: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration>, ExportMethods>, DocMethods>, ConstMethods>;
|
|
1311
|
+
declare class EnumTsDsl extends Mixed$29 {
|
|
1325
1312
|
readonly '~dsl' = "EnumTsDsl";
|
|
1326
1313
|
readonly nameSanitizer: (name: string) => string;
|
|
1327
1314
|
private _members;
|
|
1328
|
-
constructor(name: NodeName, fn?: (e: EnumTsDsl) => void);
|
|
1315
|
+
constructor(name: NodeName$1, fn?: (e: EnumTsDsl) => void);
|
|
1329
1316
|
analyze(ctx: AnalysisContext): void;
|
|
1330
1317
|
/** Adds an enum member. */
|
|
1331
1318
|
member(name: string, value?: ValueFn): this;
|
|
@@ -1336,15 +1323,15 @@ declare class EnumTsDsl extends Mixed$28 {
|
|
|
1336
1323
|
//#endregion
|
|
1337
1324
|
//#region src/ts-dsl/decl/func.d.ts
|
|
1338
1325
|
type FuncMode = 'arrow' | 'decl' | 'expr';
|
|
1339
|
-
declare const Mixed$
|
|
1340
|
-
declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$
|
|
1326
|
+
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>;
|
|
1327
|
+
declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$28 {
|
|
1341
1328
|
readonly '~dsl' = "FuncTsDsl";
|
|
1342
1329
|
readonly nameSanitizer: (name: string) => string;
|
|
1343
1330
|
protected mode?: FuncMode;
|
|
1344
1331
|
constructor();
|
|
1345
1332
|
constructor(fn: (f: ImplFuncTsDsl<'arrow'>) => void);
|
|
1346
|
-
constructor(name: NodeName);
|
|
1347
|
-
constructor(name: NodeName, fn: (f: ImplFuncTsDsl<'decl'>) => void);
|
|
1333
|
+
constructor(name: NodeName$1);
|
|
1334
|
+
constructor(name: NodeName$1, fn: (f: ImplFuncTsDsl<'decl'>) => void);
|
|
1348
1335
|
analyze(ctx: AnalysisContext): void;
|
|
1349
1336
|
/** Returns true when all required builder calls are present. */
|
|
1350
1337
|
get isValid(): boolean;
|
|
@@ -1361,27 +1348,27 @@ declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$27 {
|
|
|
1361
1348
|
declare const FuncTsDsl: {
|
|
1362
1349
|
new (): FuncTsDsl<"arrow">;
|
|
1363
1350
|
new (fn: (f: FuncTsDsl<"arrow">) => void): FuncTsDsl<"arrow">;
|
|
1364
|
-
new (name: NodeName): FuncTsDsl<"decl">;
|
|
1365
|
-
new (name: NodeName, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
|
|
1351
|
+
new (name: NodeName$1): FuncTsDsl<"decl">;
|
|
1352
|
+
new (name: NodeName$1, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
|
|
1366
1353
|
} & typeof ImplFuncTsDsl;
|
|
1367
1354
|
type FuncTsDsl<M extends FuncMode = 'arrow'> = ImplFuncTsDsl<M>;
|
|
1368
1355
|
//#endregion
|
|
1369
1356
|
//#region src/ts-dsl/decl/getter.d.ts
|
|
1370
|
-
declare const Mixed$
|
|
1371
|
-
declare class GetterTsDsl extends Mixed$
|
|
1357
|
+
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>;
|
|
1358
|
+
declare class GetterTsDsl extends Mixed$27 {
|
|
1372
1359
|
readonly '~dsl' = "GetterTsDsl";
|
|
1373
1360
|
readonly nameSanitizer: (name: string) => string;
|
|
1374
|
-
constructor(name: NodeName, fn?: (g: GetterTsDsl) => void);
|
|
1361
|
+
constructor(name: NodeName$1, fn?: (g: GetterTsDsl) => void);
|
|
1375
1362
|
analyze(ctx: AnalysisContext): void;
|
|
1376
1363
|
toAst(): ts.GetAccessorDeclaration;
|
|
1377
1364
|
}
|
|
1378
1365
|
//#endregion
|
|
1379
1366
|
//#region src/ts-dsl/decl/pattern.d.ts
|
|
1380
|
-
declare const Mixed$
|
|
1367
|
+
declare const Mixed$26: abstract new () => TsDsl<ts.BindingName>;
|
|
1381
1368
|
/**
|
|
1382
1369
|
* Builds binding patterns (e.g. `{ foo, bar }`, `[a, b, ...rest]`).
|
|
1383
1370
|
*/
|
|
1384
|
-
declare class PatternTsDsl extends Mixed$
|
|
1371
|
+
declare class PatternTsDsl extends Mixed$26 {
|
|
1385
1372
|
readonly '~dsl' = "PatternTsDsl";
|
|
1386
1373
|
protected pattern?: {
|
|
1387
1374
|
kind: 'array';
|
|
@@ -1415,11 +1402,11 @@ declare class PatternTsDsl extends Mixed$25 {
|
|
|
1415
1402
|
}
|
|
1416
1403
|
//#endregion
|
|
1417
1404
|
//#region src/ts-dsl/decl/setter.d.ts
|
|
1418
|
-
declare const Mixed$
|
|
1419
|
-
declare class SetterTsDsl extends Mixed$
|
|
1405
|
+
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>;
|
|
1406
|
+
declare class SetterTsDsl extends Mixed$25 {
|
|
1420
1407
|
readonly '~dsl' = "SetterTsDsl";
|
|
1421
1408
|
readonly nameSanitizer: (name: string) => string;
|
|
1422
|
-
constructor(name: NodeName, fn?: (s: SetterTsDsl) => void);
|
|
1409
|
+
constructor(name: NodeName$1, fn?: (s: SetterTsDsl) => void);
|
|
1423
1410
|
analyze(ctx: AnalysisContext): void;
|
|
1424
1411
|
toAst(): ts.SetAccessorDeclaration;
|
|
1425
1412
|
}
|
|
@@ -1437,8 +1424,8 @@ interface LayoutMethods extends Node {
|
|
|
1437
1424
|
}
|
|
1438
1425
|
//#endregion
|
|
1439
1426
|
//#region src/ts-dsl/expr/array.d.ts
|
|
1440
|
-
declare const Mixed$
|
|
1441
|
-
declare class ArrayTsDsl extends Mixed$
|
|
1427
|
+
declare const Mixed$24: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression>, LayoutMethods>, AsMethods>;
|
|
1428
|
+
declare class ArrayTsDsl extends Mixed$24 {
|
|
1442
1429
|
readonly '~dsl' = "ArrayTsDsl";
|
|
1443
1430
|
protected _elements: Array<{
|
|
1444
1431
|
expr: MaybeTsDsl<ts.Expression>;
|
|
@@ -1459,19 +1446,19 @@ declare class ArrayTsDsl extends Mixed$23 {
|
|
|
1459
1446
|
}
|
|
1460
1447
|
//#endregion
|
|
1461
1448
|
//#region src/ts-dsl/expr/expr.d.ts
|
|
1462
|
-
type Id = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1463
|
-
declare const Mixed$
|
|
1464
|
-
declare class ExprTsDsl extends Mixed$
|
|
1449
|
+
type Id = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
1450
|
+
declare const Mixed$23: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression>, TypeExprMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
|
|
1451
|
+
declare class ExprTsDsl extends Mixed$23 {
|
|
1465
1452
|
readonly '~dsl' = "ExprTsDsl";
|
|
1466
1453
|
protected _exprInput: Ref<Id>;
|
|
1467
1454
|
constructor(id: Id);
|
|
1468
1455
|
analyze(ctx: AnalysisContext): void;
|
|
1469
|
-
toAst():
|
|
1456
|
+
toAst(): any;
|
|
1470
1457
|
}
|
|
1471
1458
|
//#endregion
|
|
1472
1459
|
//#region src/ts-dsl/expr/id.d.ts
|
|
1473
|
-
declare const Mixed$
|
|
1474
|
-
declare class IdTsDsl extends Mixed$
|
|
1460
|
+
declare const Mixed$22: abstract new () => TsDsl<ts.Identifier>;
|
|
1461
|
+
declare class IdTsDsl extends Mixed$22 {
|
|
1475
1462
|
readonly '~dsl' = "IdTsDsl";
|
|
1476
1463
|
constructor(name: string);
|
|
1477
1464
|
analyze(ctx: AnalysisContext): void;
|
|
@@ -1485,8 +1472,8 @@ interface HintMethods extends Node {
|
|
|
1485
1472
|
}
|
|
1486
1473
|
//#endregion
|
|
1487
1474
|
//#region src/ts-dsl/expr/prop.d.ts
|
|
1488
|
-
type Expr$1 = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1489
|
-
type Stmt$1 = NodeName | MaybeTsDsl<ts.Statement>;
|
|
1475
|
+
type Expr$1 = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
1476
|
+
type Stmt$1 = NodeName$1 | MaybeTsDsl<ts.Statement>;
|
|
1490
1477
|
type ObjectPropKind = 'computed' | 'getter' | 'prop' | 'setter' | 'spread';
|
|
1491
1478
|
type Meta = {
|
|
1492
1479
|
kind: 'computed';
|
|
@@ -1504,8 +1491,8 @@ type Meta = {
|
|
|
1504
1491
|
kind: 'spread';
|
|
1505
1492
|
name?: undefined;
|
|
1506
1493
|
};
|
|
1507
|
-
declare const Mixed$
|
|
1508
|
-
declare class ObjectPropTsDsl extends Mixed$
|
|
1494
|
+
declare const Mixed$21: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike>, DocMethods>;
|
|
1495
|
+
declare class ObjectPropTsDsl extends Mixed$21 {
|
|
1509
1496
|
readonly '~dsl' = "ObjectPropTsDsl";
|
|
1510
1497
|
protected _value?: Ref<Expr$1 | Stmt$1>;
|
|
1511
1498
|
protected _meta: Meta;
|
|
@@ -1515,7 +1502,7 @@ declare class ObjectPropTsDsl extends Mixed$20 {
|
|
|
1515
1502
|
analyze(ctx: AnalysisContext): void;
|
|
1516
1503
|
get isValid(): boolean;
|
|
1517
1504
|
value(value: Expr$1 | Stmt$1 | ((p: ObjectPropTsDsl) => void)): this;
|
|
1518
|
-
toAst():
|
|
1505
|
+
toAst(): any;
|
|
1519
1506
|
$validate(): asserts this is this & {
|
|
1520
1507
|
_value: Expr$1 | Stmt$1;
|
|
1521
1508
|
kind: ObjectPropKind;
|
|
@@ -1524,12 +1511,12 @@ declare class ObjectPropTsDsl extends Mixed$20 {
|
|
|
1524
1511
|
}
|
|
1525
1512
|
//#endregion
|
|
1526
1513
|
//#region src/ts-dsl/expr/object.d.ts
|
|
1527
|
-
type Expr = NodeName | MaybeTsDsl<ts.Expression>;
|
|
1528
|
-
type Stmt = NodeName | MaybeTsDsl<ts.Statement>;
|
|
1514
|
+
type Expr = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
1515
|
+
type Stmt = NodeName$1 | MaybeTsDsl<ts.Statement>;
|
|
1529
1516
|
type ExprFn = Expr | ((p: ObjectPropTsDsl) => void);
|
|
1530
1517
|
type StmtFn = Stmt | ((p: ObjectPropTsDsl) => void);
|
|
1531
|
-
declare const Mixed$
|
|
1532
|
-
declare class ObjectTsDsl extends Mixed$
|
|
1518
|
+
declare const Mixed$20: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression>, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
|
|
1519
|
+
declare class ObjectTsDsl extends Mixed$20 {
|
|
1533
1520
|
readonly '~dsl' = "ObjectTsDsl";
|
|
1534
1521
|
protected _props: Map<string, ObjectPropTsDsl>;
|
|
1535
1522
|
protected _spreadCounter: number;
|
|
@@ -1557,8 +1544,8 @@ declare class ObjectTsDsl extends Mixed$19 {
|
|
|
1557
1544
|
}
|
|
1558
1545
|
//#endregion
|
|
1559
1546
|
//#region src/ts-dsl/expr/prefix.d.ts
|
|
1560
|
-
declare const Mixed$
|
|
1561
|
-
declare class PrefixTsDsl extends Mixed$
|
|
1547
|
+
declare const Mixed$19: abstract new () => TsDsl<ts.PrefixUnaryExpression>;
|
|
1548
|
+
declare class PrefixTsDsl extends Mixed$19 {
|
|
1562
1549
|
readonly '~dsl' = "PrefixTsDsl";
|
|
1563
1550
|
protected _expr?: string | MaybeTsDsl<ts.Expression>;
|
|
1564
1551
|
protected _op?: ts.PrefixUnaryOperator;
|
|
@@ -1585,8 +1572,8 @@ declare class PrefixTsDsl extends Mixed$18 {
|
|
|
1585
1572
|
//#region src/ts-dsl/expr/regexp.d.ts
|
|
1586
1573
|
type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u' | 'y';
|
|
1587
1574
|
type RegexFlags<Avail extends string = RegexFlag> = '' | { [K in Avail]: `${K}${RegexFlags<Exclude<Avail, K>>}` }[Avail];
|
|
1588
|
-
declare const Mixed$
|
|
1589
|
-
declare class RegExpTsDsl extends Mixed$
|
|
1575
|
+
declare const Mixed$18: abstract new () => TsDsl<ts.RegularExpressionLiteral>;
|
|
1576
|
+
declare class RegExpTsDsl extends Mixed$18 {
|
|
1590
1577
|
readonly '~dsl' = "RegExpTsDsl";
|
|
1591
1578
|
protected pattern: string;
|
|
1592
1579
|
protected flags?: RegexFlags;
|
|
@@ -1595,6 +1582,18 @@ declare class RegExpTsDsl extends Mixed$17 {
|
|
|
1595
1582
|
toAst(): ts.RegularExpressionLiteral;
|
|
1596
1583
|
}
|
|
1597
1584
|
//#endregion
|
|
1585
|
+
//#region src/ts-dsl/expr/template.d.ts
|
|
1586
|
+
type TemplatePart = NodeName$1 | MaybeTsDsl<ts.Expression>;
|
|
1587
|
+
declare const Mixed$17: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
|
|
1588
|
+
declare class TemplateTsDsl extends Mixed$17 {
|
|
1589
|
+
readonly '~dsl' = "TemplateTsDsl";
|
|
1590
|
+
protected parts: Array<Ref<TemplatePart>>;
|
|
1591
|
+
constructor(value?: TemplatePart);
|
|
1592
|
+
analyze(ctx: AnalysisContext): void;
|
|
1593
|
+
add(value: TemplatePart): this;
|
|
1594
|
+
toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
|
|
1595
|
+
}
|
|
1596
|
+
//#endregion
|
|
1598
1597
|
//#region src/ts-dsl/expr/ternary.d.ts
|
|
1599
1598
|
declare const Mixed$16: abstract new () => TsDsl<ts.ConditionalExpression>;
|
|
1600
1599
|
declare class TernaryTsDsl extends Mixed$16 {
|
|
@@ -1622,7 +1621,7 @@ declare class TernaryTsDsl extends Mixed$16 {
|
|
|
1622
1621
|
declare class NewlineTsDsl extends TsDsl<ts.Identifier> {
|
|
1623
1622
|
readonly '~dsl' = "NewlineTsDsl";
|
|
1624
1623
|
analyze(ctx: AnalysisContext): void;
|
|
1625
|
-
toAst():
|
|
1624
|
+
toAst(): any;
|
|
1626
1625
|
}
|
|
1627
1626
|
//#endregion
|
|
1628
1627
|
//#region src/ts-dsl/stmt/block.d.ts
|
|
@@ -1662,7 +1661,7 @@ declare const Mixed$12: abstract new () => TsDsl<ts.TryStatement>;
|
|
|
1662
1661
|
declare class TryTsDsl extends Mixed$12 {
|
|
1663
1662
|
readonly '~dsl' = "TryTsDsl";
|
|
1664
1663
|
protected _catch?: Array<DoExpr>;
|
|
1665
|
-
protected _catchArg?: NodeName;
|
|
1664
|
+
protected _catchArg?: NodeName$1;
|
|
1666
1665
|
protected _finally?: Array<DoExpr>;
|
|
1667
1666
|
protected _try?: Array<DoExpr>;
|
|
1668
1667
|
constructor(...tryBlock: Array<DoExpr>);
|
|
@@ -1670,7 +1669,7 @@ declare class TryTsDsl extends Mixed$12 {
|
|
|
1670
1669
|
/** Returns true when all required builder calls are present. */
|
|
1671
1670
|
get isValid(): boolean;
|
|
1672
1671
|
catch(...items: Array<DoExpr>): this;
|
|
1673
|
-
catchArg(arg: NodeName): this;
|
|
1672
|
+
catchArg(arg: NodeName$1): this;
|
|
1674
1673
|
finally(...items: Array<DoExpr>): this;
|
|
1675
1674
|
try(...items: Array<DoExpr>): this;
|
|
1676
1675
|
toAst(): ts.TryStatement;
|
|
@@ -1687,7 +1686,7 @@ declare class VarTsDsl extends Mixed$11 {
|
|
|
1687
1686
|
readonly nameSanitizer: (name: string) => string;
|
|
1688
1687
|
protected kind: ts.NodeFlags;
|
|
1689
1688
|
protected _type?: TypeTsDsl;
|
|
1690
|
-
constructor(name?: NodeName);
|
|
1689
|
+
constructor(name?: NodeName$1);
|
|
1691
1690
|
analyze(ctx: AnalysisContext): void;
|
|
1692
1691
|
/** Returns true when all required builder calls are present. */
|
|
1693
1692
|
get isValid(): boolean;
|
|
@@ -1736,7 +1735,7 @@ declare class TypeAliasTsDsl extends Mixed$10 {
|
|
|
1736
1735
|
readonly nameSanitizer: (name: string) => string;
|
|
1737
1736
|
scope: NodeScope;
|
|
1738
1737
|
protected value?: Value;
|
|
1739
|
-
constructor(name: NodeName, fn?: (t: TypeAliasTsDsl) => void);
|
|
1738
|
+
constructor(name: NodeName$1, fn?: (t: TypeAliasTsDsl) => void);
|
|
1740
1739
|
analyze(ctx: AnalysisContext): void;
|
|
1741
1740
|
/** Returns true when all required builder calls are present. */
|
|
1742
1741
|
get isValid(): boolean;
|
|
@@ -1750,7 +1749,7 @@ declare class TypeAliasTsDsl extends Mixed$10 {
|
|
|
1750
1749
|
}
|
|
1751
1750
|
//#endregion
|
|
1752
1751
|
//#region src/ts-dsl/type/and.d.ts
|
|
1753
|
-
type Type$1 = NodeName | ts.TypeNode | TypeTsDsl;
|
|
1752
|
+
type Type$1 = NodeName$1 | ts.TypeNode | TypeTsDsl;
|
|
1754
1753
|
declare const Mixed$9: abstract new () => TsDsl<ts.IntersectionTypeNode>;
|
|
1755
1754
|
declare class TypeAndTsDsl extends Mixed$9 {
|
|
1756
1755
|
readonly '~dsl' = "TypeAndTsDsl";
|
|
@@ -1795,7 +1794,7 @@ declare class TypeMappedTsDsl extends Mixed$6 {
|
|
|
1795
1794
|
protected readonlyToken?: TokenTsDsl<ts.SyntaxKind.ReadonlyKeyword | ts.SyntaxKind.MinusToken | ts.SyntaxKind.PlusToken>;
|
|
1796
1795
|
protected _key?: string | MaybeTsDsl<ts.TypeNode>;
|
|
1797
1796
|
protected _type?: string | MaybeTsDsl<ts.TypeNode>;
|
|
1798
|
-
constructor(name?: NodeName);
|
|
1797
|
+
constructor(name?: NodeName$1);
|
|
1799
1798
|
analyze(ctx: AnalysisContext): void;
|
|
1800
1799
|
/** Returns true when all required builder calls are present. */
|
|
1801
1800
|
get isValid(): boolean;
|
|
@@ -1828,7 +1827,7 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
|
|
|
1828
1827
|
scope: NodeScope;
|
|
1829
1828
|
protected _key?: TypeIdxSigType;
|
|
1830
1829
|
protected _type?: TypeIdxSigType;
|
|
1831
|
-
constructor(name: NodeName, fn?: (i: TypeIdxSigTsDsl) => void);
|
|
1830
|
+
constructor(name: NodeName$1, fn?: (i: TypeIdxSigTsDsl) => void);
|
|
1832
1831
|
/** Element kind. */
|
|
1833
1832
|
get kind(): TypeIdxSigKind;
|
|
1834
1833
|
/** Index signature parameter name. */
|
|
@@ -1849,14 +1848,14 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
|
|
|
1849
1848
|
}
|
|
1850
1849
|
//#endregion
|
|
1851
1850
|
//#region src/ts-dsl/type/prop.d.ts
|
|
1852
|
-
type TypePropType = NodeName | MaybeTsDsl<ts.TypeNode>;
|
|
1851
|
+
type TypePropType = NodeName$1 | MaybeTsDsl<ts.TypeNode>;
|
|
1853
1852
|
type TypePropKind = 'prop';
|
|
1854
1853
|
declare const Mixed$4: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeElement>, ReadonlyMethods>, OptionalMethods>, DocMethods>;
|
|
1855
1854
|
declare class TypePropTsDsl extends Mixed$4 {
|
|
1856
1855
|
readonly '~dsl' = "TypePropTsDsl";
|
|
1857
1856
|
scope: NodeScope;
|
|
1858
1857
|
protected _type?: Ref<TypePropType>;
|
|
1859
|
-
constructor(name: NodeName, fn: (p: TypePropTsDsl) => void);
|
|
1858
|
+
constructor(name: NodeName$1, fn: (p: TypePropTsDsl) => void);
|
|
1860
1859
|
/** Element kind. */
|
|
1861
1860
|
get kind(): TypePropKind;
|
|
1862
1861
|
/** Property name. */
|
|
@@ -1894,7 +1893,7 @@ declare class TypeObjectTsDsl extends Mixed$3 {
|
|
|
1894
1893
|
}
|
|
1895
1894
|
//#endregion
|
|
1896
1895
|
//#region src/ts-dsl/type/or.d.ts
|
|
1897
|
-
type Type = NodeName | ts.TypeNode | TypeTsDsl;
|
|
1896
|
+
type Type = NodeName$1 | ts.TypeNode | TypeTsDsl;
|
|
1898
1897
|
declare const Mixed$2: abstract new () => TsDsl<ts.UnionTypeNode>;
|
|
1899
1898
|
declare class TypeOrTsDsl extends Mixed$2 {
|
|
1900
1899
|
readonly '~dsl' = "TypeOrTsDsl";
|
|
@@ -2061,35 +2060,35 @@ declare const reserved: {
|
|
|
2061
2060
|
};
|
|
2062
2061
|
//#endregion
|
|
2063
2062
|
//#region src/ts-dsl/index.d.ts
|
|
2064
|
-
declare const $: ((id:
|
|
2063
|
+
declare const $: ((id: any) => ExprTsDsl) & {
|
|
2065
2064
|
/** Creates an array literal expression (e.g. `[1, 2, 3]`). */
|
|
2066
2065
|
array: (...args: ConstructorParameters<typeof ArrayTsDsl>) => ArrayTsDsl;
|
|
2067
2066
|
/** Creates an `as` type assertion expression (e.g. `value as Type`). */
|
|
2068
|
-
as: (expr:
|
|
2067
|
+
as: (expr: any, type: any) => AsTsDsl;
|
|
2069
2068
|
/** Creates a property access expression (e.g. `obj.foo`). */
|
|
2070
|
-
attr: (left:
|
|
2069
|
+
attr: (left: any, right: NodeName) => AttrTsDsl;
|
|
2071
2070
|
/** Creates an await expression (e.g. `await promise`). */
|
|
2072
|
-
await: (expr:
|
|
2071
|
+
await: (expr: any) => AwaitTsDsl;
|
|
2073
2072
|
/** Creates a binary expression (e.g. `a + b`). */
|
|
2074
|
-
binary: (base:
|
|
2073
|
+
binary: (base: any, op?: (("!=" | "!==" | "&&" | "*" | "+" | "-" | "/" | "<" | "<=" | "=" | "==" | "===" | ">" | ">=" | "??" | "??=" | "||") | ts.BinaryOperator) | undefined, expr?: any) => BinaryTsDsl;
|
|
2075
2074
|
/** Creates a statement block (`{ ... }`). */
|
|
2076
2075
|
block: (...args: ConstructorParameters<typeof BlockTsDsl>) => BlockTsDsl;
|
|
2077
2076
|
/** Creates a function or method call expression (e.g. `fn(arg)`). */
|
|
2078
|
-
call: (callee:
|
|
2077
|
+
call: (callee: any, ...args: any[]) => CallTsDsl;
|
|
2079
2078
|
/** Creates a class declaration or expression. */
|
|
2080
|
-
class: (name:
|
|
2079
|
+
class: (name: NodeName) => ClassTsDsl;
|
|
2081
2080
|
/** Creates a constant variable declaration (`const`). */
|
|
2082
|
-
const: (name?:
|
|
2081
|
+
const: (name?: any) => VarTsDsl;
|
|
2083
2082
|
/** Creates a decorator expression (e.g. `@decorator`). */
|
|
2084
|
-
decorator: (name:
|
|
2083
|
+
decorator: (name: NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl;
|
|
2085
2084
|
/** Creates a JSDoc documentation block. */
|
|
2086
2085
|
doc: (lines?: DocLines | undefined, fn?: DocFn | undefined) => DocTsDsl;
|
|
2087
2086
|
/** Creates an enum declaration. */
|
|
2088
|
-
enum: (name:
|
|
2087
|
+
enum: (name: NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl;
|
|
2089
2088
|
/** Creates a general expression node. */
|
|
2090
|
-
expr: (id:
|
|
2089
|
+
expr: (id: any) => ExprTsDsl;
|
|
2091
2090
|
/** Creates a field declaration in a class or object. */
|
|
2092
|
-
field: (name:
|
|
2091
|
+
field: (name: NodeName, fn?: ((f: FieldTsDsl) => void) | undefined) => FieldTsDsl;
|
|
2093
2092
|
/** Converts a runtime value into a corresponding expression node. */
|
|
2094
2093
|
fromValue: (input: unknown, options?: {
|
|
2095
2094
|
layout?: "pretty";
|
|
@@ -2103,7 +2102,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2103
2102
|
(name?: string, fn?: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"arrow"> | FuncTsDsl<"decl">;
|
|
2104
2103
|
};
|
|
2105
2104
|
/** Creates a getter method declaration. */
|
|
2106
|
-
getter: (name:
|
|
2105
|
+
getter: (name: NodeName, fn?: ((g: GetterTsDsl) => void) | undefined) => GetterTsDsl;
|
|
2107
2106
|
/** Creates a single-line comment (//). */
|
|
2108
2107
|
hint: (lines?: HintLines | undefined, fn?: HintFn | undefined) => HintTsDsl;
|
|
2109
2108
|
/** Creates an identifier (e.g. `foo`). */
|
|
@@ -2115,17 +2114,17 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2115
2114
|
/** Creates a lazy, context-aware node with deferred evaluation. */
|
|
2116
2115
|
lazy: <T extends ts.Node>(thunk: LazyThunk<T>) => LazyTsDsl<T>;
|
|
2117
2116
|
/** Creates a let variable declaration (`let`). */
|
|
2118
|
-
let: (name?:
|
|
2117
|
+
let: (name?: any) => VarTsDsl;
|
|
2119
2118
|
/** Creates a literal value (e.g. string, number, boolean). */
|
|
2120
2119
|
literal: (value: LiteralValue) => LiteralTsDsl;
|
|
2121
2120
|
/** Creates an enum member declaration. */
|
|
2122
|
-
member: (name:
|
|
2121
|
+
member: (name: NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl;
|
|
2123
2122
|
/** Creates a method declaration inside a class or object. */
|
|
2124
|
-
method: (name:
|
|
2123
|
+
method: (name: NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl;
|
|
2125
2124
|
/** Creates a negation expression (`-x`). */
|
|
2126
2125
|
neg: (expr?: string | ts.Expression | TsDsl<ts.Expression> | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl;
|
|
2127
2126
|
/** Creates a new expression (e.g. `new ClassName()`). */
|
|
2128
|
-
new: (expr:
|
|
2127
|
+
new: (expr: any, ...args: any[]) => NewTsDsl;
|
|
2129
2128
|
/** Creates a newline (for formatting purposes). */
|
|
2130
2129
|
newline: () => NewlineTsDsl;
|
|
2131
2130
|
/** Creates a logical NOT expression (`!x`). */
|
|
@@ -2135,7 +2134,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2135
2134
|
/** Creates an object literal expression. */
|
|
2136
2135
|
object: (...args: ConstructorParameters<typeof ObjectTsDsl>) => ObjectTsDsl;
|
|
2137
2136
|
/** Creates a parameter declaration for functions or methods. */
|
|
2138
|
-
param: (name:
|
|
2137
|
+
param: (name: any, fn?: ((p: ParamTsDsl) => void) | undefined) => ParamTsDsl;
|
|
2139
2138
|
/** Creates a pattern for destructuring or matching. */
|
|
2140
2139
|
pattern: () => PatternTsDsl;
|
|
2141
2140
|
/** Creates a prefix unary expression (e.g. `-x`, `!x`, `~x`). */
|
|
@@ -2160,13 +2159,13 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2160
2159
|
/** Creates a regular expression literal (e.g. `/foo/gi`). */
|
|
2161
2160
|
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;
|
|
2162
2161
|
/** Creates a return statement. */
|
|
2163
|
-
return: (expr?:
|
|
2162
|
+
return: (expr?: any) => ReturnTsDsl;
|
|
2164
2163
|
/** Creates a setter method declaration. */
|
|
2165
|
-
setter: (name:
|
|
2164
|
+
setter: (name: NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl;
|
|
2166
2165
|
/** Wraps an expression or statement-like value into a `StmtTsDsl`. */
|
|
2167
2166
|
stmt: (inner: ts.Expression | ts.Statement | TsDsl<any>) => StmtTsDsl;
|
|
2168
2167
|
/** Creates a template literal expression. */
|
|
2169
|
-
template: (value?:
|
|
2168
|
+
template: (value?: any) => TemplateTsDsl;
|
|
2170
2169
|
/** Creates a ternary conditional expression (if ? then : else). */
|
|
2171
2170
|
ternary: (condition?: string | ts.Expression | TsDsl<ts.Expression> | undefined) => TernaryTsDsl;
|
|
2172
2171
|
/** Creates a throw statement. */
|
|
@@ -2176,15 +2175,15 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2176
2175
|
/** Creates a try/catch/finally statement. */
|
|
2177
2176
|
try: (...args: ConstructorParameters<typeof TryTsDsl>) => TryTsDsl;
|
|
2178
2177
|
/** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
|
|
2179
|
-
type: ((name:
|
|
2178
|
+
type: ((name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
|
|
2180
2179
|
/** Creates a type alias declaration (e.g. `type Foo = Bar`). */
|
|
2181
|
-
alias: (name:
|
|
2180
|
+
alias: (name: NodeName, fn?: ((t: TypeAliasTsDsl) => void) | undefined) => TypeAliasTsDsl;
|
|
2182
2181
|
/** Creates an intersection type (e.g. `A & B`). */
|
|
2183
2182
|
and: (...args: ConstructorParameters<typeof TypeAndTsDsl>) => TypeAndTsDsl;
|
|
2184
2183
|
/** Creates a qualified type reference (e.g. Foo.Bar). */
|
|
2185
|
-
attr: (right:
|
|
2184
|
+
attr: (right: any) => TypeAttrTsDsl;
|
|
2186
2185
|
/** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
|
|
2187
|
-
expr: (name:
|
|
2186
|
+
expr: (name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl;
|
|
2188
2187
|
/** Converts a runtime value into a corresponding type expression node. */
|
|
2189
2188
|
fromValue: (input: unknown) => TsDsl<ts.TypeNode>;
|
|
2190
2189
|
/** Creates a function type node (e.g. `(a: string) => number`). */
|
|
@@ -2194,7 +2193,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2194
2193
|
/** Creates a literal type node (e.g. 'foo', 42, or true). */
|
|
2195
2194
|
literal: (value: string | number | boolean | null) => TypeLiteralTsDsl;
|
|
2196
2195
|
/** Creates a mapped type (e.g. `{ [K in keyof T]: U }`). */
|
|
2197
|
-
mapped: (name?:
|
|
2196
|
+
mapped: (name?: any) => TypeMappedTsDsl;
|
|
2198
2197
|
/** Creates a type literal node (e.g. { foo: string }). */
|
|
2199
2198
|
object: () => TypeObjectTsDsl;
|
|
2200
2199
|
/** Creates a type operator node (e.g. `readonly T`, `keyof T`, `unique T`). */
|
|
@@ -2202,7 +2201,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2202
2201
|
/** Represents a union type (e.g. `A | B | C`). */
|
|
2203
2202
|
or: (...args: ConstructorParameters<typeof TypeOrTsDsl>) => TypeOrTsDsl;
|
|
2204
2203
|
/** Creates a type parameter (e.g. `<T>`). */
|
|
2205
|
-
param: (name?:
|
|
2204
|
+
param: (name?: any, fn?: ((name: TypeParamTsDsl) => void) | undefined) => TypeParamTsDsl;
|
|
2206
2205
|
/** Creates a type query node (e.g. `typeof Foo`). */
|
|
2207
2206
|
query: (expr: TypeQueryExpr) => TypeQueryTsDsl;
|
|
2208
2207
|
/** Builds a TypeScript template literal *type* (e.g. `${Foo}-${Bar}` as a type). */
|
|
@@ -2213,7 +2212,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
|
|
|
2213
2212
|
/** Creates a `typeof` expression (e.g. `typeof value`). */
|
|
2214
2213
|
typeofExpr: (expr: TypeOfExpr) => TypeOfExprTsDsl;
|
|
2215
2214
|
/** Creates a variable declaration (`var`). */
|
|
2216
|
-
var: (name?:
|
|
2215
|
+
var: (name?: any) => VarTsDsl;
|
|
2217
2216
|
};
|
|
2218
2217
|
type DollarTsDsl = {
|
|
2219
2218
|
/**
|
|
@@ -2266,7 +2265,7 @@ type IApi$4 = {
|
|
|
2266
2265
|
};
|
|
2267
2266
|
//#endregion
|
|
2268
2267
|
//#region src/plugins/@faker-js/faker/types.d.ts
|
|
2269
|
-
type UserConfig$
|
|
2268
|
+
type UserConfig$24 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
2270
2269
|
/**
|
|
2271
2270
|
* Casing convention for generated names.
|
|
2272
2271
|
*
|
|
@@ -2313,7 +2312,7 @@ type UserConfig$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$
|
|
|
2313
2312
|
*/
|
|
2314
2313
|
seed?: number;
|
|
2315
2314
|
};
|
|
2316
|
-
type Config$
|
|
2315
|
+
type Config$21 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.Exports & {
|
|
2317
2316
|
/**
|
|
2318
2317
|
* Casing convention for generated names.
|
|
2319
2318
|
*/
|
|
@@ -2332,7 +2331,7 @@ type Config$20 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.Ex
|
|
|
2332
2331
|
*/
|
|
2333
2332
|
seed?: number;
|
|
2334
2333
|
};
|
|
2335
|
-
type FakerJsFakerPlugin = DefinePlugin$1<UserConfig$
|
|
2334
|
+
type FakerJsFakerPlugin = DefinePlugin$1<UserConfig$24, Config$21, IApi$4>;
|
|
2336
2335
|
//#endregion
|
|
2337
2336
|
//#region src/plugins/@hey-api/client-core/bundle/auth.d.ts
|
|
2338
2337
|
type AuthToken = string | undefined;
|
|
@@ -2366,7 +2365,7 @@ type ObjectStyle = 'form' | 'deepObject';
|
|
|
2366
2365
|
//#endregion
|
|
2367
2366
|
//#region src/plugins/@hey-api/client-core/bundle/bodySerializer.d.ts
|
|
2368
2367
|
type QuerySerializer$1 = (query: Record<string, unknown>) => string;
|
|
2369
|
-
type BodySerializer = (body:
|
|
2368
|
+
type BodySerializer = (body: unknown) => unknown;
|
|
2370
2369
|
type QuerySerializerOptionsObject = {
|
|
2371
2370
|
allowReserved?: boolean;
|
|
2372
2371
|
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
@@ -2382,20 +2381,20 @@ type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
|
2382
2381
|
//#endregion
|
|
2383
2382
|
//#region src/plugins/@hey-api/client-core/bundle/types.d.ts
|
|
2384
2383
|
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
2385
|
-
type Client$7<RequestFn$6 = never, Config$
|
|
2384
|
+
type Client$7<RequestFn$6 = never, Config$23 = unknown, MethodFn$6 = never, BuildUrlFn$6 = never, SseFn$6 = never> = {
|
|
2386
2385
|
/**
|
|
2387
2386
|
* Returns the final request URL.
|
|
2388
2387
|
*/
|
|
2389
2388
|
buildUrl: BuildUrlFn$6;
|
|
2390
|
-
getConfig: () => Config$
|
|
2389
|
+
getConfig: () => Config$23;
|
|
2391
2390
|
request: RequestFn$6;
|
|
2392
|
-
setConfig: (config: Config$
|
|
2391
|
+
setConfig: (config: Config$23) => Config$23;
|
|
2393
2392
|
} & { [K in HttpMethod]: MethodFn$6 } & ([SseFn$6] extends [never] ? {
|
|
2394
2393
|
sse?: never;
|
|
2395
2394
|
} : {
|
|
2396
2395
|
sse: { [K in HttpMethod]: SseFn$6 };
|
|
2397
2396
|
});
|
|
2398
|
-
interface Config$
|
|
2397
|
+
interface Config$20 {
|
|
2399
2398
|
/**
|
|
2400
2399
|
* Auth token or a function returning auth token. The resolved value will be
|
|
2401
2400
|
* added to the request payload as defined by its `security` array.
|
|
@@ -2450,7 +2449,7 @@ interface Config$19 {
|
|
|
2450
2449
|
}
|
|
2451
2450
|
//#endregion
|
|
2452
2451
|
//#region src/plugins/@hey-api/client-core/bundle/serverSentEvents.d.ts
|
|
2453
|
-
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$
|
|
2452
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$20, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
2454
2453
|
/**
|
|
2455
2454
|
* Fetch API implementation. You can use this option to provide a custom
|
|
2456
2455
|
* fetch instance.
|
|
@@ -2541,7 +2540,7 @@ interface Middleware$3<Req, Res, Err, Options$6> {
|
|
|
2541
2540
|
//#endregion
|
|
2542
2541
|
//#region src/plugins/@hey-api/client-angular/bundle/types.d.ts
|
|
2543
2542
|
type ResponseStyle$2 = 'data' | 'fields';
|
|
2544
|
-
interface Config$
|
|
2543
|
+
interface Config$19<T extends ClientOptions$5 = ClientOptions$5> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Omit<Config$20, 'headers'> {
|
|
2545
2544
|
/**
|
|
2546
2545
|
* Base URL for all requests made by this client.
|
|
2547
2546
|
*/
|
|
@@ -2570,7 +2569,7 @@ interface Config$18<T extends ClientOptions$5 = ClientOptions$5> extends Omit<Re
|
|
|
2570
2569
|
*/
|
|
2571
2570
|
throwOnError?: T['throwOnError'];
|
|
2572
2571
|
}
|
|
2573
|
-
interface RequestOptions$5<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2572
|
+
interface RequestOptions$5<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$19<{
|
|
2574
2573
|
responseStyle: TResponseStyle;
|
|
2575
2574
|
throwOnError: ThrowOnError;
|
|
2576
2575
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -2627,7 +2626,7 @@ type BuildUrlFn$5 = <TData extends {
|
|
|
2627
2626
|
query?: Record<string, unknown>;
|
|
2628
2627
|
url: string;
|
|
2629
2628
|
}>(options: TData & Options$5<TData>) => string;
|
|
2630
|
-
type Client = Client$7<RequestFn$5, Config$
|
|
2629
|
+
type Client = Client$7<RequestFn$5, Config$19, MethodFn$5, BuildUrlFn$5, SseFn$5> & {
|
|
2631
2630
|
interceptors: Middleware$3<HttpRequest<unknown>, HttpResponse<unknown>, unknown, ResolvedRequestOptions$3>;
|
|
2632
2631
|
requestOptions: RequestOptionsFn;
|
|
2633
2632
|
};
|
|
@@ -2642,7 +2641,7 @@ type OmitKeys$5<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
2642
2641
|
type Options$5<TData extends TDataShape$5 = TDataShape$5, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$2 = 'fields'> = OmitKeys$5<RequestOptions$5<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2643
2642
|
//#endregion
|
|
2644
2643
|
//#region src/plugins/@hey-api/client-axios/bundle/types.d.ts
|
|
2645
|
-
interface Config$
|
|
2644
|
+
interface Config$18<T extends ClientOptions$4 = ClientOptions$4> extends Omit<CreateAxiosDefaults, 'auth' | 'baseURL' | 'headers' | 'method'>, Config$20 {
|
|
2646
2645
|
/**
|
|
2647
2646
|
* Axios implementation. You can use this option to provide either an
|
|
2648
2647
|
* `AxiosStatic` or an `AxiosInstance`.
|
|
@@ -2668,7 +2667,7 @@ interface Config$17<T extends ClientOptions$4 = ClientOptions$4> extends Omit<Cr
|
|
|
2668
2667
|
*/
|
|
2669
2668
|
throwOnError?: T['throwOnError'];
|
|
2670
2669
|
}
|
|
2671
|
-
interface RequestOptions$4<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2670
|
+
interface RequestOptions$4<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$18<{
|
|
2672
2671
|
throwOnError: ThrowOnError;
|
|
2673
2672
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
2674
2673
|
/**
|
|
@@ -2704,7 +2703,7 @@ type BuildUrlFn$4 = <TData extends {
|
|
|
2704
2703
|
query?: Record<string, unknown>;
|
|
2705
2704
|
url: string;
|
|
2706
2705
|
}>(options: TData & Options$4<TData>) => string;
|
|
2707
|
-
type Client$1 = Client$7<RequestFn$4, Config$
|
|
2706
|
+
type Client$1 = Client$7<RequestFn$4, Config$18, MethodFn$4, BuildUrlFn$4, SseFn$4> & {
|
|
2708
2707
|
instance: AxiosInstance;
|
|
2709
2708
|
};
|
|
2710
2709
|
interface TDataShape$4 {
|
|
@@ -2718,7 +2717,7 @@ type OmitKeys$4<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
2718
2717
|
type Options$4<TData extends TDataShape$4 = TDataShape$4, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$4<RequestOptions$4<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2719
2718
|
//#endregion
|
|
2720
2719
|
//#region src/plugins/@hey-api/client-axios/types.d.ts
|
|
2721
|
-
type UserConfig$
|
|
2720
|
+
type UserConfig$23 = Plugin$1.Name<'@hey-api/client-axios'> & Client$2.Config & {
|
|
2722
2721
|
/**
|
|
2723
2722
|
* Throw an error instead of returning it in the response?
|
|
2724
2723
|
*
|
|
@@ -2726,7 +2725,7 @@ type UserConfig$22 = Plugin$1.Name<'@hey-api/client-axios'> & Client$2.Config &
|
|
|
2726
2725
|
*/
|
|
2727
2726
|
throwOnError?: boolean;
|
|
2728
2727
|
};
|
|
2729
|
-
type HeyApiClientAxiosPlugin = DefinePlugin$1<UserConfig$
|
|
2728
|
+
type HeyApiClientAxiosPlugin = DefinePlugin$1<UserConfig$23, UserConfig$23>;
|
|
2730
2729
|
//#endregion
|
|
2731
2730
|
//#region src/plugins/@hey-api/client-fetch/bundle/utils.d.ts
|
|
2732
2731
|
type ErrInterceptor$2<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
|
|
@@ -2749,7 +2748,7 @@ interface Middleware$2<Req, Res, Err, Options$6> {
|
|
|
2749
2748
|
//#endregion
|
|
2750
2749
|
//#region src/plugins/@hey-api/client-fetch/bundle/types.d.ts
|
|
2751
2750
|
type ResponseStyle$1 = 'data' | 'fields';
|
|
2752
|
-
interface Config$
|
|
2751
|
+
interface Config$17<T extends ClientOptions$3 = ClientOptions$3> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$20 {
|
|
2753
2752
|
/**
|
|
2754
2753
|
* Base URL for all requests made by this client.
|
|
2755
2754
|
*/
|
|
@@ -2790,7 +2789,7 @@ interface Config$16<T extends ClientOptions$3 = ClientOptions$3> extends Omit<Re
|
|
|
2790
2789
|
*/
|
|
2791
2790
|
throwOnError?: T['throwOnError'];
|
|
2792
2791
|
}
|
|
2793
|
-
interface RequestOptions$3<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2792
|
+
interface RequestOptions$3<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$17<{
|
|
2794
2793
|
responseStyle: TResponseStyle;
|
|
2795
2794
|
throwOnError: ThrowOnError;
|
|
2796
2795
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -2839,7 +2838,7 @@ type BuildUrlFn$3 = <TData extends {
|
|
|
2839
2838
|
query?: Record<string, unknown>;
|
|
2840
2839
|
url: string;
|
|
2841
2840
|
}>(options: TData & Options$3<TData>) => string;
|
|
2842
|
-
type Client$3 = Client$7<RequestFn$3, Config$
|
|
2841
|
+
type Client$3 = Client$7<RequestFn$3, Config$17, MethodFn$3, BuildUrlFn$3, SseFn$3> & {
|
|
2843
2842
|
interceptors: Middleware$2<Request, Response, unknown, ResolvedRequestOptions$2>;
|
|
2844
2843
|
};
|
|
2845
2844
|
interface TDataShape$3 {
|
|
@@ -2853,7 +2852,7 @@ type OmitKeys$3<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
2853
2852
|
type Options$3<TData extends TDataShape$3 = TDataShape$3, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$1 = 'fields'> = OmitKeys$3<RequestOptions$3<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2854
2853
|
//#endregion
|
|
2855
2854
|
//#region src/plugins/@hey-api/client-fetch/types.d.ts
|
|
2856
|
-
type UserConfig$
|
|
2855
|
+
type UserConfig$22 = Plugin$1.Name<'@hey-api/client-fetch'> & Client$2.Config & {
|
|
2857
2856
|
/**
|
|
2858
2857
|
* Throw an error instead of returning it in the response?
|
|
2859
2858
|
*
|
|
@@ -2861,7 +2860,7 @@ type UserConfig$21 = Plugin$1.Name<'@hey-api/client-fetch'> & Client$2.Config &
|
|
|
2861
2860
|
*/
|
|
2862
2861
|
throwOnError?: boolean;
|
|
2863
2862
|
};
|
|
2864
|
-
type HeyApiClientFetchPlugin = DefinePlugin$1<UserConfig$
|
|
2863
|
+
type HeyApiClientFetchPlugin = DefinePlugin$1<UserConfig$22, UserConfig$22>;
|
|
2865
2864
|
//#endregion
|
|
2866
2865
|
//#region src/plugins/@hey-api/client-next/bundle/utils.d.ts
|
|
2867
2866
|
type ErrInterceptor$1<Err, Res, Options$6> = (error: Err, response: Res, options: Options$6) => Err | Promise<Err>;
|
|
@@ -2883,7 +2882,7 @@ interface Middleware$1<Res, Err, Options$6> {
|
|
|
2883
2882
|
}
|
|
2884
2883
|
//#endregion
|
|
2885
2884
|
//#region src/plugins/@hey-api/client-next/bundle/types.d.ts
|
|
2886
|
-
interface Config$
|
|
2885
|
+
interface Config$16<T extends ClientOptions$2 = ClientOptions$2> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$20 {
|
|
2887
2886
|
/**
|
|
2888
2887
|
* Base URL for all requests made by this client.
|
|
2889
2888
|
*/
|
|
@@ -2911,7 +2910,7 @@ interface Config$15<T extends ClientOptions$2 = ClientOptions$2> extends Omit<Re
|
|
|
2911
2910
|
*/
|
|
2912
2911
|
throwOnError?: T['throwOnError'];
|
|
2913
2912
|
}
|
|
2914
|
-
interface RequestOptions$2<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
2913
|
+
interface RequestOptions$2<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$16<{
|
|
2915
2914
|
throwOnError: ThrowOnError;
|
|
2916
2915
|
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
2917
2916
|
/**
|
|
@@ -2956,7 +2955,7 @@ type BuildUrlFn$2 = <TData extends {
|
|
|
2956
2955
|
query?: Record<string, unknown>;
|
|
2957
2956
|
url: string;
|
|
2958
2957
|
}>(options: TData & Options$2<TData>) => string;
|
|
2959
|
-
type Client$4 = Client$7<RequestFn$2, Config$
|
|
2958
|
+
type Client$4 = Client$7<RequestFn$2, Config$16, MethodFn$2, BuildUrlFn$2, SseFn$2> & {
|
|
2960
2959
|
interceptors: Middleware$1<Response, unknown, ResolvedRequestOptions$1>;
|
|
2961
2960
|
};
|
|
2962
2961
|
interface TDataShape$2 {
|
|
@@ -2970,7 +2969,7 @@ type OmitKeys$2<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
2970
2969
|
type Options$2<TData extends TDataShape$2 = TDataShape$2, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$2<RequestOptions$2<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
2971
2970
|
//#endregion
|
|
2972
2971
|
//#region src/plugins/@hey-api/client-next/types.d.ts
|
|
2973
|
-
type UserConfig$
|
|
2972
|
+
type UserConfig$21 = Plugin$1.Name<'@hey-api/client-next'> & Client$2.Config & {
|
|
2974
2973
|
/**
|
|
2975
2974
|
* Throw an error instead of returning it in the response?
|
|
2976
2975
|
*
|
|
@@ -2978,13 +2977,13 @@ type UserConfig$20 = Plugin$1.Name<'@hey-api/client-next'> & Client$2.Config & {
|
|
|
2978
2977
|
*/
|
|
2979
2978
|
throwOnError?: boolean;
|
|
2980
2979
|
};
|
|
2981
|
-
type HeyApiClientNextPlugin = DefinePlugin$1<UserConfig$
|
|
2980
|
+
type HeyApiClientNextPlugin = DefinePlugin$1<UserConfig$21, UserConfig$21>;
|
|
2982
2981
|
//#endregion
|
|
2983
2982
|
//#region src/plugins/@hey-api/client-nuxt/bundle/types.d.ts
|
|
2984
2983
|
type QuerySerializer = (query: Parameters<Client$5['buildUrl']>[0]['query']) => string;
|
|
2985
2984
|
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> };
|
|
2986
2985
|
type KeysOf<T> = Array<T extends T ? (keyof T extends string ? keyof T : never) : never>;
|
|
2987
|
-
interface Config$
|
|
2986
|
+
interface Config$15<T extends ClientOptions$1 = ClientOptions$1> extends Omit<FetchOptions$1<unknown>, 'baseURL' | 'body' | 'headers' | 'method' | 'query'>, WithRefs<Pick<FetchOptions$1<unknown>, 'query'>>, Omit<Config$20, 'querySerializer'> {
|
|
2988
2987
|
/**
|
|
2989
2988
|
* Base URL for all requests made by this client.
|
|
2990
2989
|
*/
|
|
@@ -2998,7 +2997,7 @@ interface Config$14<T extends ClientOptions$1 = ClientOptions$1> extends Omit<Fe
|
|
|
2998
2997
|
*/
|
|
2999
2998
|
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
3000
2999
|
}
|
|
3001
|
-
interface RequestOptions$1<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$
|
|
3000
|
+
interface RequestOptions$1<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$15, WithRefs<{
|
|
3002
3001
|
path?: FetchOptions$1<unknown>['query'];
|
|
3003
3002
|
query?: FetchOptions$1<unknown>['query'];
|
|
3004
3003
|
}>, Pick<ServerSentEventsOptions<ResT>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -3043,15 +3042,15 @@ interface TDataShape$1 {
|
|
|
3043
3042
|
}
|
|
3044
3043
|
type BuildUrlOptions<TData extends Omit<TDataShape$1, 'headers'> = Omit<TDataShape$1, 'headers'>> = Pick<WithRefs<TData>, 'path' | 'query'> & Pick<TData, 'url'> & Pick<Options$1<'$fetch', TData>, 'baseURL' | 'querySerializer'>;
|
|
3045
3044
|
type BuildUrlFn$1 = <TData extends Omit<TDataShape$1, 'headers'>>(options: BuildUrlOptions<TData>) => string;
|
|
3046
|
-
type Client$5 = Client$7<RequestFn$1, Config$
|
|
3045
|
+
type Client$5 = Client$7<RequestFn$1, Config$15, MethodFn$1, BuildUrlFn$1, SseFn$1>;
|
|
3047
3046
|
type OmitKeys$1<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
3048
3047
|
type Options$1<TComposable extends Composable = '$fetch', TData extends TDataShape$1 = TDataShape$1, ResT = unknown, DefaultT = undefined> = OmitKeys$1<RequestOptions$1<TComposable, ResT, DefaultT>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : WithRefs<Omit<TData, 'url'>>);
|
|
3049
3048
|
type FetchOptions$1<TData> = Omit<UseFetchOptions<TData, TData>, keyof AsyncDataOptions<TData>>;
|
|
3050
3049
|
type Composable = '$fetch' | 'useAsyncData' | 'useFetch' | 'useLazyAsyncData' | 'useLazyFetch';
|
|
3051
3050
|
//#endregion
|
|
3052
3051
|
//#region src/plugins/@hey-api/client-nuxt/types.d.ts
|
|
3053
|
-
type UserConfig$
|
|
3054
|
-
type HeyApiClientNuxtPlugin = DefinePlugin$1<UserConfig$
|
|
3052
|
+
type UserConfig$20 = Plugin$1.Name<'@hey-api/client-nuxt'> & Client$2.Config;
|
|
3053
|
+
type HeyApiClientNuxtPlugin = DefinePlugin$1<UserConfig$20, UserConfig$20>;
|
|
3055
3054
|
//#endregion
|
|
3056
3055
|
//#region src/plugins/@hey-api/client-ofetch/bundle/utils.d.ts
|
|
3057
3056
|
type ErrInterceptor<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
|
|
@@ -3074,7 +3073,7 @@ interface Middleware<Req, Res, Err, Options$6> {
|
|
|
3074
3073
|
//#endregion
|
|
3075
3074
|
//#region src/plugins/@hey-api/client-ofetch/bundle/types.d.ts
|
|
3076
3075
|
type ResponseStyle = 'data' | 'fields';
|
|
3077
|
-
interface Config$
|
|
3076
|
+
interface Config$14<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$20 {
|
|
3078
3077
|
/**
|
|
3079
3078
|
* HTTP(S) agent configuration (Node.js only). Passed through to ofetch.
|
|
3080
3079
|
*/
|
|
@@ -3175,7 +3174,7 @@ interface Config$13<T extends ClientOptions = ClientOptions> extends Omit<Reques
|
|
|
3175
3174
|
*/
|
|
3176
3175
|
timeout?: number;
|
|
3177
3176
|
}
|
|
3178
|
-
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$
|
|
3177
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$14<{
|
|
3179
3178
|
responseStyle: TResponseStyle;
|
|
3180
3179
|
throwOnError: ThrowOnError;
|
|
3181
3180
|
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
@@ -3224,7 +3223,7 @@ type BuildUrlFn = <TData extends {
|
|
|
3224
3223
|
query?: Record<string, unknown>;
|
|
3225
3224
|
url: string;
|
|
3226
3225
|
}>(options: TData & Options<TData>) => string;
|
|
3227
|
-
type Client$6 = Client$7<RequestFn, Config$
|
|
3226
|
+
type Client$6 = Client$7<RequestFn, Config$14, MethodFn, BuildUrlFn, SseFn> & {
|
|
3228
3227
|
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
3229
3228
|
};
|
|
3230
3229
|
interface TDataShape {
|
|
@@ -3238,7 +3237,7 @@ type OmitKeys<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
|
|
|
3238
3237
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3239
3238
|
//#endregion
|
|
3240
3239
|
//#region src/plugins/@hey-api/client-ofetch/types.d.ts
|
|
3241
|
-
type UserConfig$
|
|
3240
|
+
type UserConfig$19 = Plugin$1.Name<'@hey-api/client-ofetch'> & Client$2.Config & {
|
|
3242
3241
|
/**
|
|
3243
3242
|
* Throw an error instead of returning it in the response?
|
|
3244
3243
|
*
|
|
@@ -3246,7 +3245,7 @@ type UserConfig$18 = Plugin$1.Name<'@hey-api/client-ofetch'> & Client$2.Config &
|
|
|
3246
3245
|
*/
|
|
3247
3246
|
throwOnError?: boolean;
|
|
3248
3247
|
};
|
|
3249
|
-
type HeyApiClientOfetchPlugin = DefinePlugin$1<UserConfig$
|
|
3248
|
+
type HeyApiClientOfetchPlugin = DefinePlugin$1<UserConfig$19, UserConfig$19>;
|
|
3250
3249
|
//#endregion
|
|
3251
3250
|
//#region src/plugins/@hey-api/client-core/types.d.ts
|
|
3252
3251
|
interface PluginHandler {
|
|
@@ -3309,7 +3308,7 @@ declare namespace Client$2 {
|
|
|
3309
3308
|
}
|
|
3310
3309
|
//#endregion
|
|
3311
3310
|
//#region src/plugins/@hey-api/client-angular/types.d.ts
|
|
3312
|
-
type UserConfig$
|
|
3311
|
+
type UserConfig$18 = Plugin$1.Name<'@hey-api/client-angular'> & Client$2.Config & {
|
|
3313
3312
|
/**
|
|
3314
3313
|
* Throw an error instead of returning it in the response?
|
|
3315
3314
|
*
|
|
@@ -3317,10 +3316,10 @@ type UserConfig$17 = Plugin$1.Name<'@hey-api/client-angular'> & Client$2.Config
|
|
|
3317
3316
|
*/
|
|
3318
3317
|
throwOnError?: boolean;
|
|
3319
3318
|
};
|
|
3320
|
-
type HeyApiClientAngularPlugin = DefinePlugin$1<UserConfig$
|
|
3319
|
+
type HeyApiClientAngularPlugin = DefinePlugin$1<UserConfig$18, UserConfig$18>;
|
|
3321
3320
|
//#endregion
|
|
3322
3321
|
//#region src/plugins/@hey-api/client-ky/types.d.ts
|
|
3323
|
-
type UserConfig$
|
|
3322
|
+
type UserConfig$17 = Plugin$1.Name<'@hey-api/client-ky'> & Client$2.Config & {
|
|
3324
3323
|
/**
|
|
3325
3324
|
* Throw an error instead of returning it in the response?
|
|
3326
3325
|
*
|
|
@@ -3328,10 +3327,10 @@ type UserConfig$16 = Plugin$1.Name<'@hey-api/client-ky'> & Client$2.Config & {
|
|
|
3328
3327
|
*/
|
|
3329
3328
|
throwOnError?: boolean;
|
|
3330
3329
|
};
|
|
3331
|
-
type HeyApiClientKyPlugin = DefinePlugin$1<UserConfig$
|
|
3330
|
+
type HeyApiClientKyPlugin = DefinePlugin$1<UserConfig$17, UserConfig$17>;
|
|
3332
3331
|
//#endregion
|
|
3333
3332
|
//#region src/plugins/@hey-api/schemas/types.d.ts
|
|
3334
|
-
type UserConfig$
|
|
3333
|
+
type UserConfig$16 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
3335
3334
|
/**
|
|
3336
3335
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
3337
3336
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
@@ -3349,7 +3348,7 @@ type UserConfig$15 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & Plugin
|
|
|
3349
3348
|
*/
|
|
3350
3349
|
type?: 'form' | 'json';
|
|
3351
3350
|
};
|
|
3352
|
-
type HeyApiSchemasPlugin = DefinePlugin$1<UserConfig$
|
|
3351
|
+
type HeyApiSchemasPlugin = DefinePlugin$1<UserConfig$16, UserConfig$16>;
|
|
3353
3352
|
//#endregion
|
|
3354
3353
|
//#region src/plugins/types.d.ts
|
|
3355
3354
|
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';
|
|
@@ -3585,7 +3584,7 @@ interface OperationsConfig {
|
|
|
3585
3584
|
}
|
|
3586
3585
|
//#endregion
|
|
3587
3586
|
//#region src/plugins/@hey-api/sdk/types.d.ts
|
|
3588
|
-
type UserConfig$
|
|
3587
|
+
type UserConfig$15 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
3589
3588
|
/**
|
|
3590
3589
|
* Should the generated functions contain auth mechanisms? You may want to
|
|
3591
3590
|
* disable this option if you're handling auth yourself or defining it
|
|
@@ -3761,7 +3760,7 @@ type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.U
|
|
|
3761
3760
|
*/
|
|
3762
3761
|
response?: 'body' | 'response';
|
|
3763
3762
|
};
|
|
3764
|
-
type Config$
|
|
3763
|
+
type Config$13 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
3765
3764
|
/**
|
|
3766
3765
|
* Should the generated functions contain auth mechanisms? You may want to
|
|
3767
3766
|
* disable this option if you're handling auth yourself or defining it
|
|
@@ -3849,7 +3848,7 @@ type Config$12 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comme
|
|
|
3849
3848
|
*/
|
|
3850
3849
|
response: 'body' | 'response';
|
|
3851
3850
|
};
|
|
3852
|
-
type HeyApiSdkPlugin = DefinePlugin$1<UserConfig$
|
|
3851
|
+
type HeyApiSdkPlugin = DefinePlugin$1<UserConfig$15, Config$13>;
|
|
3853
3852
|
//#endregion
|
|
3854
3853
|
//#region src/plugins/@hey-api/transformers/expressions.d.ts
|
|
3855
3854
|
type ExpressionTransformer = ({
|
|
@@ -3857,7 +3856,7 @@ type ExpressionTransformer = ({
|
|
|
3857
3856
|
dataExpression,
|
|
3858
3857
|
schema
|
|
3859
3858
|
}: {
|
|
3860
|
-
config: Omit<UserConfig$
|
|
3859
|
+
config: Omit<UserConfig$14, 'name'>;
|
|
3861
3860
|
dataExpression?: ts.Expression | ReturnType<typeof $.expr | typeof $.attr> | string;
|
|
3862
3861
|
schema: IR$1.SchemaObject;
|
|
3863
3862
|
}) => Array<ReturnType<typeof $.fromValue>> | undefined;
|
|
@@ -3872,7 +3871,7 @@ type TypeTransformer = ({
|
|
|
3872
3871
|
}: {
|
|
3873
3872
|
schema: IR$1.SchemaObject;
|
|
3874
3873
|
}) => ts.TypeNode | undefined;
|
|
3875
|
-
type UserConfig$
|
|
3874
|
+
type UserConfig$14 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.UserExports & {
|
|
3876
3875
|
/**
|
|
3877
3876
|
* Convert long integers into BigInt values?
|
|
3878
3877
|
*
|
|
@@ -3894,7 +3893,7 @@ type UserConfig$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & P
|
|
|
3894
3893
|
*/
|
|
3895
3894
|
typeTransformers?: ReadonlyArray<TypeTransformer>;
|
|
3896
3895
|
};
|
|
3897
|
-
type Config$
|
|
3896
|
+
type Config$12 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.Exports & {
|
|
3898
3897
|
/**
|
|
3899
3898
|
* Convert long integers into BigInt values?
|
|
3900
3899
|
*
|
|
@@ -3916,7 +3915,7 @@ type Config$11 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugi
|
|
|
3916
3915
|
*/
|
|
3917
3916
|
typeTransformers: ReadonlyArray<TypeTransformer>;
|
|
3918
3917
|
};
|
|
3919
|
-
type HeyApiTransformersPlugin = DefinePlugin$1<UserConfig$
|
|
3918
|
+
type HeyApiTransformersPlugin = DefinePlugin$1<UserConfig$14, Config$12>;
|
|
3920
3919
|
//#endregion
|
|
3921
3920
|
//#region src/plugins/@hey-api/typescript/shared/types.d.ts
|
|
3922
3921
|
type IrSchemaToAstOptions$1 = {
|
|
@@ -3946,7 +3945,7 @@ type IApi$3 = {
|
|
|
3946
3945
|
//#endregion
|
|
3947
3946
|
//#region src/plugins/@hey-api/typescript/types.d.ts
|
|
3948
3947
|
type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
|
|
3949
|
-
type UserConfig$
|
|
3948
|
+
type UserConfig$13 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
3950
3949
|
/**
|
|
3951
3950
|
* Casing convention for generated names.
|
|
3952
3951
|
*
|
|
@@ -4153,7 +4152,7 @@ type UserConfig$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plu
|
|
|
4153
4152
|
payload?: NameTransformer;
|
|
4154
4153
|
};
|
|
4155
4154
|
};
|
|
4156
|
-
type Config$
|
|
4155
|
+
type Config$11 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
4157
4156
|
/**
|
|
4158
4157
|
* Casing convention for generated names.
|
|
4159
4158
|
*/
|
|
@@ -4250,10 +4249,10 @@ type Config$10 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$
|
|
|
4250
4249
|
payload: NameTransformer;
|
|
4251
4250
|
};
|
|
4252
4251
|
};
|
|
4253
|
-
type HeyApiTypeScriptPlugin = DefinePlugin$1<UserConfig$
|
|
4252
|
+
type HeyApiTypeScriptPlugin = DefinePlugin$1<UserConfig$13, Config$11, IApi$3>;
|
|
4254
4253
|
//#endregion
|
|
4255
4254
|
//#region src/plugins/@pinia/colada/types.d.ts
|
|
4256
|
-
type UserConfig$
|
|
4255
|
+
type UserConfig$12 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
4257
4256
|
/**
|
|
4258
4257
|
* Casing convention for generated names.
|
|
4259
4258
|
*
|
|
@@ -4410,7 +4409,7 @@ type UserConfig$11 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.
|
|
|
4410
4409
|
name?: NameTransformer;
|
|
4411
4410
|
};
|
|
4412
4411
|
};
|
|
4413
|
-
type Config$
|
|
4412
|
+
type Config$10 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
4414
4413
|
/**
|
|
4415
4414
|
* Casing convention for generated names.
|
|
4416
4415
|
*/
|
|
@@ -4488,10 +4487,10 @@ type Config$9 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.Comme
|
|
|
4488
4487
|
meta: ((operation: IR$1.OperationObject) => Record<string, unknown>) | undefined;
|
|
4489
4488
|
};
|
|
4490
4489
|
};
|
|
4491
|
-
type PiniaColadaPlugin = DefinePlugin$1<UserConfig$
|
|
4490
|
+
type PiniaColadaPlugin = DefinePlugin$1<UserConfig$12, Config$10>;
|
|
4492
4491
|
//#endregion
|
|
4493
4492
|
//#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
|
|
4494
|
-
type UserConfig$
|
|
4493
|
+
type UserConfig$11 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
4495
4494
|
/**
|
|
4496
4495
|
* Casing convention for generated names.
|
|
4497
4496
|
*
|
|
@@ -4618,6 +4617,12 @@ type UserConfig$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plu
|
|
|
4618
4617
|
* @default true
|
|
4619
4618
|
*/
|
|
4620
4619
|
enabled?: boolean;
|
|
4620
|
+
/**
|
|
4621
|
+
* Whether to export generated symbols.
|
|
4622
|
+
*
|
|
4623
|
+
* @default true
|
|
4624
|
+
*/
|
|
4625
|
+
exported?: boolean;
|
|
4621
4626
|
/**
|
|
4622
4627
|
* Custom function to generate metadata for the operation.
|
|
4623
4628
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -4750,7 +4755,7 @@ type UserConfig$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plu
|
|
|
4750
4755
|
name?: NameTransformer;
|
|
4751
4756
|
};
|
|
4752
4757
|
};
|
|
4753
|
-
type Config$
|
|
4758
|
+
type Config$9 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
4754
4759
|
/**
|
|
4755
4760
|
* Casing convention for generated names.
|
|
4756
4761
|
*/
|
|
@@ -4804,6 +4809,12 @@ type Config$8 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1
|
|
|
4804
4809
|
* @see https://tanstack.com/query/v5/docs/framework/angular/reference/useMutation
|
|
4805
4810
|
*/
|
|
4806
4811
|
mutationOptions: NamingOptions & FeatureToggle & {
|
|
4812
|
+
/**
|
|
4813
|
+
* Whether to export generated symbols.
|
|
4814
|
+
*
|
|
4815
|
+
* @default true
|
|
4816
|
+
*/
|
|
4817
|
+
exported: boolean;
|
|
4807
4818
|
/**
|
|
4808
4819
|
* Custom function to generate metadata for the operation.
|
|
4809
4820
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -4877,10 +4888,10 @@ type Config$8 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1
|
|
|
4877
4888
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
4878
4889
|
};
|
|
4879
4890
|
};
|
|
4880
|
-
type TanStackAngularQueryPlugin = DefinePlugin$1<UserConfig$
|
|
4891
|
+
type TanStackAngularQueryPlugin = DefinePlugin$1<UserConfig$11, Config$9>;
|
|
4881
4892
|
//#endregion
|
|
4882
|
-
//#region src/plugins/@tanstack/
|
|
4883
|
-
type UserConfig$
|
|
4893
|
+
//#region src/plugins/@tanstack/preact-query/types.d.ts
|
|
4894
|
+
type UserConfig$10 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
4884
4895
|
/**
|
|
4885
4896
|
* Casing convention for generated names.
|
|
4886
4897
|
*
|
|
@@ -4890,7 +4901,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
4890
4901
|
/**
|
|
4891
4902
|
* Configuration for generated infinite query key helpers.
|
|
4892
4903
|
*
|
|
4893
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
4904
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
4894
4905
|
*
|
|
4895
4906
|
* Can be:
|
|
4896
4907
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -4915,7 +4926,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
4915
4926
|
/**
|
|
4916
4927
|
* Naming pattern for generated names.
|
|
4917
4928
|
*
|
|
4918
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
4929
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
4919
4930
|
*
|
|
4920
4931
|
* @default '{{name}}InfiniteQueryKey'
|
|
4921
4932
|
*/
|
|
@@ -4931,7 +4942,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
4931
4942
|
/**
|
|
4932
4943
|
* Configuration for generated infinite query options helpers.
|
|
4933
4944
|
*
|
|
4934
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
4945
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
4935
4946
|
*
|
|
4936
4947
|
* Can be:
|
|
4937
4948
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -4979,7 +4990,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
4979
4990
|
/**
|
|
4980
4991
|
* Naming pattern for generated names.
|
|
4981
4992
|
*
|
|
4982
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
4993
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
4983
4994
|
*
|
|
4984
4995
|
* @default '{{name}}InfiniteOptions'
|
|
4985
4996
|
*/
|
|
@@ -4988,7 +4999,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
4988
4999
|
/**
|
|
4989
5000
|
* Configuration for generated mutation options helpers.
|
|
4990
5001
|
*
|
|
4991
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5002
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
4992
5003
|
*
|
|
4993
5004
|
* Can be:
|
|
4994
5005
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5010,6 +5021,12 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5010
5021
|
* @default true
|
|
5011
5022
|
*/
|
|
5012
5023
|
enabled?: boolean;
|
|
5024
|
+
/**
|
|
5025
|
+
* Whether to export generated symbols.
|
|
5026
|
+
*
|
|
5027
|
+
* @default true
|
|
5028
|
+
*/
|
|
5029
|
+
exported?: boolean;
|
|
5013
5030
|
/**
|
|
5014
5031
|
* Custom function to generate metadata for the operation.
|
|
5015
5032
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -5036,7 +5053,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5036
5053
|
/**
|
|
5037
5054
|
* Naming pattern for generated names.
|
|
5038
5055
|
*
|
|
5039
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5056
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
5040
5057
|
*
|
|
5041
5058
|
* @default '{{name}}Mutation'
|
|
5042
5059
|
*/
|
|
@@ -5045,7 +5062,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5045
5062
|
/**
|
|
5046
5063
|
* Configuration for generated query keys.
|
|
5047
5064
|
*
|
|
5048
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5065
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/queryKey queryKey}
|
|
5049
5066
|
*
|
|
5050
5067
|
* Can be:
|
|
5051
5068
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5070,7 +5087,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5070
5087
|
/**
|
|
5071
5088
|
* Naming pattern for generated names.
|
|
5072
5089
|
*
|
|
5073
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5090
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/guides/query-keys Query Keys}
|
|
5074
5091
|
*
|
|
5075
5092
|
* @default '{{name}}QueryKey'
|
|
5076
5093
|
*/
|
|
@@ -5086,7 +5103,7 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5086
5103
|
/**
|
|
5087
5104
|
* Configuration for generated query options helpers.
|
|
5088
5105
|
*
|
|
5089
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5106
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/queryOptions queryOptions}
|
|
5090
5107
|
*
|
|
5091
5108
|
* Can be:
|
|
5092
5109
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5140,16 +5157,50 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5140
5157
|
/**
|
|
5141
5158
|
* Naming pattern for generated names.
|
|
5142
5159
|
*
|
|
5143
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5160
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/queryOptions queryOptions}
|
|
5144
5161
|
*
|
|
5145
5162
|
* @default '{{name}}Options'
|
|
5146
5163
|
*/
|
|
5147
5164
|
name?: NameTransformer;
|
|
5148
5165
|
};
|
|
5166
|
+
/**
|
|
5167
|
+
* Configuration for generated `useMutation()` function helpers.
|
|
5168
|
+
*
|
|
5169
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
5170
|
+
*
|
|
5171
|
+
* Can be:
|
|
5172
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
5173
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
5174
|
+
* - `object`: Full configuration object
|
|
5175
|
+
*
|
|
5176
|
+
* @default false
|
|
5177
|
+
*/
|
|
5178
|
+
useMutation?: boolean | NameTransformer | {
|
|
5179
|
+
/**
|
|
5180
|
+
* Casing convention for generated names.
|
|
5181
|
+
*
|
|
5182
|
+
* @default 'camelCase'
|
|
5183
|
+
*/
|
|
5184
|
+
case?: Casing;
|
|
5185
|
+
/**
|
|
5186
|
+
* Whether this feature is enabled.
|
|
5187
|
+
*
|
|
5188
|
+
* @default false
|
|
5189
|
+
*/
|
|
5190
|
+
enabled?: boolean;
|
|
5191
|
+
/**
|
|
5192
|
+
* Naming pattern for generated names.
|
|
5193
|
+
*
|
|
5194
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
5195
|
+
*
|
|
5196
|
+
* @default 'use{{name}}Mutation'
|
|
5197
|
+
*/
|
|
5198
|
+
name?: NameTransformer;
|
|
5199
|
+
};
|
|
5149
5200
|
/**
|
|
5150
5201
|
* Configuration for generated `useQuery()` function helpers.
|
|
5151
5202
|
*
|
|
5152
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5203
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useQuery useQuery}
|
|
5153
5204
|
*
|
|
5154
5205
|
* Can be:
|
|
5155
5206
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5174,14 +5225,14 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Pl
|
|
|
5174
5225
|
/**
|
|
5175
5226
|
* Naming pattern for generated names.
|
|
5176
5227
|
*
|
|
5177
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5228
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useQuery useQuery}
|
|
5178
5229
|
*
|
|
5179
5230
|
* @default 'use{{name}}Query'
|
|
5180
5231
|
*/
|
|
5181
5232
|
name?: NameTransformer;
|
|
5182
5233
|
};
|
|
5183
5234
|
};
|
|
5184
|
-
type Config$
|
|
5235
|
+
type Config$8 = Plugin$1.Name<'@tanstack/preact-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
5185
5236
|
/**
|
|
5186
5237
|
* Casing convention for generated names.
|
|
5187
5238
|
*/
|
|
@@ -5189,7 +5240,7 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5189
5240
|
/**
|
|
5190
5241
|
* Resolved configuration for generated infinite query key helpers.
|
|
5191
5242
|
*
|
|
5192
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5243
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5193
5244
|
*/
|
|
5194
5245
|
infiniteQueryKeys: NamingOptions & FeatureToggle & {
|
|
5195
5246
|
/**
|
|
@@ -5203,7 +5254,7 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5203
5254
|
/**
|
|
5204
5255
|
* Resolved configuration for generated infinite query options helpers.
|
|
5205
5256
|
*
|
|
5206
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5257
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5207
5258
|
*/
|
|
5208
5259
|
infiniteQueryOptions: NamingOptions & FeatureToggle & {
|
|
5209
5260
|
/**
|
|
@@ -5233,9 +5284,15 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5233
5284
|
/**
|
|
5234
5285
|
* Resolved configuration for generated mutation options helpers.
|
|
5235
5286
|
*
|
|
5236
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5287
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
5237
5288
|
*/
|
|
5238
5289
|
mutationOptions: NamingOptions & FeatureToggle & {
|
|
5290
|
+
/**
|
|
5291
|
+
* Whether to export generated symbols.
|
|
5292
|
+
*
|
|
5293
|
+
* @default true
|
|
5294
|
+
*/
|
|
5295
|
+
exported: boolean;
|
|
5239
5296
|
/**
|
|
5240
5297
|
* Custom function to generate metadata for the operation.
|
|
5241
5298
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -5263,7 +5320,7 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5263
5320
|
/**
|
|
5264
5321
|
* Resolved configuration for generated query keys.
|
|
5265
5322
|
*
|
|
5266
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5323
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/guides/query-keys Query Keys}
|
|
5267
5324
|
*/
|
|
5268
5325
|
queryKeys: NamingOptions & FeatureToggle & {
|
|
5269
5326
|
/**
|
|
@@ -5277,7 +5334,7 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5277
5334
|
/**
|
|
5278
5335
|
* Resolved configuration for generated query options helpers.
|
|
5279
5336
|
*
|
|
5280
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5337
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/queryOptions queryOptions}
|
|
5281
5338
|
*/
|
|
5282
5339
|
queryOptions: NamingOptions & FeatureToggle & {
|
|
5283
5340
|
/**
|
|
@@ -5310,17 +5367,23 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin
|
|
|
5310
5367
|
*/
|
|
5311
5368
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
5312
5369
|
};
|
|
5370
|
+
/**
|
|
5371
|
+
* Configuration for generated `useMutation()` function helpers.
|
|
5372
|
+
*
|
|
5373
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useMutation useMutation}
|
|
5374
|
+
*/
|
|
5375
|
+
useMutation: NamingOptions & FeatureToggle;
|
|
5313
5376
|
/**
|
|
5314
5377
|
* Configuration for generated `useQuery()` function helpers.
|
|
5315
5378
|
*
|
|
5316
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5379
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/preact/reference/useQuery useQuery}
|
|
5317
5380
|
*/
|
|
5318
5381
|
useQuery: NamingOptions & FeatureToggle;
|
|
5319
5382
|
};
|
|
5320
|
-
type
|
|
5383
|
+
type TanStackPreactQueryPlugin = DefinePlugin$1<UserConfig$10, Config$8>;
|
|
5321
5384
|
//#endregion
|
|
5322
|
-
//#region src/plugins/@tanstack/
|
|
5323
|
-
type UserConfig$
|
|
5385
|
+
//#region src/plugins/@tanstack/react-query/types.d.ts
|
|
5386
|
+
type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
5324
5387
|
/**
|
|
5325
5388
|
* Casing convention for generated names.
|
|
5326
5389
|
*
|
|
@@ -5330,7 +5393,7 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5330
5393
|
/**
|
|
5331
5394
|
* Configuration for generated infinite query key helpers.
|
|
5332
5395
|
*
|
|
5333
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5396
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5334
5397
|
*
|
|
5335
5398
|
* Can be:
|
|
5336
5399
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5355,8 +5418,9 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5355
5418
|
/**
|
|
5356
5419
|
* Naming pattern for generated names.
|
|
5357
5420
|
*
|
|
5421
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5422
|
+
*
|
|
5358
5423
|
* @default '{{name}}InfiniteQueryKey'
|
|
5359
|
-
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
5360
5424
|
*/
|
|
5361
5425
|
name?: NameTransformer;
|
|
5362
5426
|
/**
|
|
@@ -5370,7 +5434,7 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5370
5434
|
/**
|
|
5371
5435
|
* Configuration for generated infinite query options helpers.
|
|
5372
5436
|
*
|
|
5373
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5437
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5374
5438
|
*
|
|
5375
5439
|
* Can be:
|
|
5376
5440
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5418,15 +5482,16 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5418
5482
|
/**
|
|
5419
5483
|
* Naming pattern for generated names.
|
|
5420
5484
|
*
|
|
5485
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5486
|
+
*
|
|
5421
5487
|
* @default '{{name}}InfiniteOptions'
|
|
5422
|
-
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
5423
5488
|
*/
|
|
5424
5489
|
name?: NameTransformer;
|
|
5425
5490
|
};
|
|
5426
5491
|
/**
|
|
5427
5492
|
* Configuration for generated mutation options helpers.
|
|
5428
5493
|
*
|
|
5429
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5494
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5430
5495
|
*
|
|
5431
5496
|
* Can be:
|
|
5432
5497
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5448,9 +5513,16 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5448
5513
|
* @default true
|
|
5449
5514
|
*/
|
|
5450
5515
|
enabled?: boolean;
|
|
5516
|
+
/**
|
|
5517
|
+
* Whether to export generated symbols.
|
|
5518
|
+
*
|
|
5519
|
+
* @default true
|
|
5520
|
+
*/
|
|
5521
|
+
exported?: boolean;
|
|
5451
5522
|
/**
|
|
5452
5523
|
* Custom function to generate metadata for the operation.
|
|
5453
5524
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
5525
|
+
*
|
|
5454
5526
|
* @param operation - The operation object containing all available metadata
|
|
5455
5527
|
* @returns A meta object with any properties you want to include
|
|
5456
5528
|
*
|
|
@@ -5473,15 +5545,16 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5473
5545
|
/**
|
|
5474
5546
|
* Naming pattern for generated names.
|
|
5475
5547
|
*
|
|
5548
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5549
|
+
*
|
|
5476
5550
|
* @default '{{name}}Mutation'
|
|
5477
|
-
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createMutation
|
|
5478
5551
|
*/
|
|
5479
5552
|
name?: NameTransformer;
|
|
5480
5553
|
};
|
|
5481
5554
|
/**
|
|
5482
5555
|
* Configuration for generated query keys.
|
|
5483
5556
|
*
|
|
5484
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5557
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryKey queryKey}
|
|
5485
5558
|
*
|
|
5486
5559
|
* Can be:
|
|
5487
5560
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5506,8 +5579,9 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5506
5579
|
/**
|
|
5507
5580
|
* Naming pattern for generated names.
|
|
5508
5581
|
*
|
|
5582
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys Query Keys}
|
|
5583
|
+
*
|
|
5509
5584
|
* @default '{{name}}QueryKey'
|
|
5510
|
-
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/queryKey
|
|
5511
5585
|
*/
|
|
5512
5586
|
name?: NameTransformer;
|
|
5513
5587
|
/**
|
|
@@ -5521,7 +5595,7 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5521
5595
|
/**
|
|
5522
5596
|
* Configuration for generated query options helpers.
|
|
5523
5597
|
*
|
|
5524
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5598
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
|
|
5525
5599
|
*
|
|
5526
5600
|
* Can be:
|
|
5527
5601
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5552,6 +5626,7 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5552
5626
|
/**
|
|
5553
5627
|
* Custom function to generate metadata for the operation.
|
|
5554
5628
|
* Can return any valid meta object that will be included in the generated query options.
|
|
5629
|
+
*
|
|
5555
5630
|
* @param operation - The operation object containing all available metadata
|
|
5556
5631
|
* @returns A meta object with any properties you want to include
|
|
5557
5632
|
*
|
|
@@ -5574,13 +5649,82 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Pl
|
|
|
5574
5649
|
/**
|
|
5575
5650
|
* Naming pattern for generated names.
|
|
5576
5651
|
*
|
|
5652
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
|
|
5653
|
+
*
|
|
5577
5654
|
* @default '{{name}}Options'
|
|
5578
|
-
|
|
5655
|
+
*/
|
|
5656
|
+
name?: NameTransformer;
|
|
5657
|
+
};
|
|
5658
|
+
/**
|
|
5659
|
+
* Configuration for generated `useMutation()` function helpers.
|
|
5660
|
+
*
|
|
5661
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5662
|
+
*
|
|
5663
|
+
* Can be:
|
|
5664
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
5665
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
5666
|
+
* - `object`: Full configuration object
|
|
5667
|
+
*
|
|
5668
|
+
* @default false
|
|
5669
|
+
*/
|
|
5670
|
+
useMutation?: boolean | NameTransformer | {
|
|
5671
|
+
/**
|
|
5672
|
+
* Casing convention for generated names.
|
|
5673
|
+
*
|
|
5674
|
+
* @default 'camelCase'
|
|
5675
|
+
*/
|
|
5676
|
+
case?: Casing;
|
|
5677
|
+
/**
|
|
5678
|
+
* Whether this feature is enabled.
|
|
5679
|
+
*
|
|
5680
|
+
* @default false
|
|
5681
|
+
*/
|
|
5682
|
+
enabled?: boolean;
|
|
5683
|
+
/**
|
|
5684
|
+
* Naming pattern for generated names.
|
|
5685
|
+
*
|
|
5686
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5687
|
+
*
|
|
5688
|
+
* @default 'use{{name}}Mutation'
|
|
5689
|
+
*/
|
|
5690
|
+
name?: NameTransformer;
|
|
5691
|
+
};
|
|
5692
|
+
/**
|
|
5693
|
+
* Configuration for generated `useQuery()` function helpers.
|
|
5694
|
+
*
|
|
5695
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useQuery useQuery}
|
|
5696
|
+
*
|
|
5697
|
+
* Can be:
|
|
5698
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
5699
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
5700
|
+
* - `object`: Full configuration object
|
|
5701
|
+
*
|
|
5702
|
+
* @default false
|
|
5703
|
+
*/
|
|
5704
|
+
useQuery?: boolean | NameTransformer | {
|
|
5705
|
+
/**
|
|
5706
|
+
* Casing convention for generated names.
|
|
5707
|
+
*
|
|
5708
|
+
* @default 'camelCase'
|
|
5709
|
+
*/
|
|
5710
|
+
case?: Casing;
|
|
5711
|
+
/**
|
|
5712
|
+
* Whether this feature is enabled.
|
|
5713
|
+
*
|
|
5714
|
+
* @default true
|
|
5715
|
+
*/
|
|
5716
|
+
enabled?: boolean;
|
|
5717
|
+
/**
|
|
5718
|
+
* Naming pattern for generated names.
|
|
5719
|
+
*
|
|
5720
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useQuery useQuery}
|
|
5721
|
+
*
|
|
5722
|
+
* @default 'use{{name}}Query'
|
|
5579
5723
|
*/
|
|
5580
5724
|
name?: NameTransformer;
|
|
5581
5725
|
};
|
|
5582
5726
|
};
|
|
5583
|
-
type Config$
|
|
5727
|
+
type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
5584
5728
|
/**
|
|
5585
5729
|
* Casing convention for generated names.
|
|
5586
5730
|
*/
|
|
@@ -5588,7 +5732,7 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5588
5732
|
/**
|
|
5589
5733
|
* Resolved configuration for generated infinite query key helpers.
|
|
5590
5734
|
*
|
|
5591
|
-
* @
|
|
5735
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5592
5736
|
*/
|
|
5593
5737
|
infiniteQueryKeys: NamingOptions & FeatureToggle & {
|
|
5594
5738
|
/**
|
|
@@ -5602,12 +5746,13 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5602
5746
|
/**
|
|
5603
5747
|
* Resolved configuration for generated infinite query options helpers.
|
|
5604
5748
|
*
|
|
5605
|
-
* @
|
|
5749
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
|
|
5606
5750
|
*/
|
|
5607
5751
|
infiniteQueryOptions: NamingOptions & FeatureToggle & {
|
|
5608
5752
|
/**
|
|
5609
5753
|
* Custom function to generate metadata for the operation.
|
|
5610
5754
|
* Can return any valid meta object that will be included in the generated infinite query options.
|
|
5755
|
+
*
|
|
5611
5756
|
* @param operation - The operation object containing all available metadata
|
|
5612
5757
|
* @returns A meta object with any properties you want to include
|
|
5613
5758
|
*
|
|
@@ -5631,12 +5776,19 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5631
5776
|
/**
|
|
5632
5777
|
* Resolved configuration for generated mutation options helpers.
|
|
5633
5778
|
*
|
|
5634
|
-
* @
|
|
5779
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5635
5780
|
*/
|
|
5636
5781
|
mutationOptions: NamingOptions & FeatureToggle & {
|
|
5782
|
+
/**
|
|
5783
|
+
* Whether to export generated symbols.
|
|
5784
|
+
*
|
|
5785
|
+
* @default true
|
|
5786
|
+
*/
|
|
5787
|
+
exported: boolean;
|
|
5637
5788
|
/**
|
|
5638
5789
|
* Custom function to generate metadata for the operation.
|
|
5639
5790
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
5791
|
+
*
|
|
5640
5792
|
* @param operation - The operation object containing all available metadata
|
|
5641
5793
|
* @returns A meta object with any properties you want to include
|
|
5642
5794
|
*
|
|
@@ -5660,7 +5812,7 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5660
5812
|
/**
|
|
5661
5813
|
* Resolved configuration for generated query keys.
|
|
5662
5814
|
*
|
|
5663
|
-
* @
|
|
5815
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys Query Keys}
|
|
5664
5816
|
*/
|
|
5665
5817
|
queryKeys: NamingOptions & FeatureToggle & {
|
|
5666
5818
|
/**
|
|
@@ -5674,7 +5826,7 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5674
5826
|
/**
|
|
5675
5827
|
* Resolved configuration for generated query options helpers.
|
|
5676
5828
|
*
|
|
5677
|
-
* @
|
|
5829
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
|
|
5678
5830
|
*/
|
|
5679
5831
|
queryOptions: NamingOptions & FeatureToggle & {
|
|
5680
5832
|
/**
|
|
@@ -5686,6 +5838,7 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5686
5838
|
/**
|
|
5687
5839
|
* Custom function to generate metadata for the operation.
|
|
5688
5840
|
* Can return any valid meta object that will be included in the generated query options.
|
|
5841
|
+
*
|
|
5689
5842
|
* @param operation - The operation object containing all available metadata
|
|
5690
5843
|
* @returns A meta object with any properties you want to include
|
|
5691
5844
|
*
|
|
@@ -5706,11 +5859,23 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin
|
|
|
5706
5859
|
*/
|
|
5707
5860
|
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
5708
5861
|
};
|
|
5862
|
+
/**
|
|
5863
|
+
* Configuration for generated `useMutation()` function helpers.
|
|
5864
|
+
*
|
|
5865
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
|
|
5866
|
+
*/
|
|
5867
|
+
useMutation: NamingOptions & FeatureToggle;
|
|
5868
|
+
/**
|
|
5869
|
+
* Configuration for generated `useQuery()` function helpers.
|
|
5870
|
+
*
|
|
5871
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useQuery useQuery}
|
|
5872
|
+
*/
|
|
5873
|
+
useQuery: NamingOptions & FeatureToggle;
|
|
5709
5874
|
};
|
|
5710
|
-
type
|
|
5875
|
+
type TanStackReactQueryPlugin = DefinePlugin$1<UserConfig$9, Config$7>;
|
|
5711
5876
|
//#endregion
|
|
5712
|
-
//#region src/plugins/@tanstack/
|
|
5713
|
-
type UserConfig$
|
|
5877
|
+
//#region src/plugins/@tanstack/solid-query/types.d.ts
|
|
5878
|
+
type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
5714
5879
|
/**
|
|
5715
5880
|
* Casing convention for generated names.
|
|
5716
5881
|
*
|
|
@@ -5720,7 +5885,7 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5720
5885
|
/**
|
|
5721
5886
|
* Configuration for generated infinite query key helpers.
|
|
5722
5887
|
*
|
|
5723
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5888
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery}
|
|
5724
5889
|
*
|
|
5725
5890
|
* Can be:
|
|
5726
5891
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5746,7 +5911,7 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5746
5911
|
* Naming pattern for generated names.
|
|
5747
5912
|
*
|
|
5748
5913
|
* @default '{{name}}InfiniteQueryKey'
|
|
5749
|
-
* @see https://tanstack.com/query/v5/docs/framework/
|
|
5914
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
5750
5915
|
*/
|
|
5751
5916
|
name?: NameTransformer;
|
|
5752
5917
|
/**
|
|
@@ -5760,7 +5925,7 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5760
5925
|
/**
|
|
5761
5926
|
* Configuration for generated infinite query options helpers.
|
|
5762
5927
|
*
|
|
5763
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5928
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery}
|
|
5764
5929
|
*
|
|
5765
5930
|
* Can be:
|
|
5766
5931
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5785,6 +5950,7 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5785
5950
|
/**
|
|
5786
5951
|
* Custom function to generate metadata for the operation.
|
|
5787
5952
|
* Can return any valid meta object that will be included in the generated infinite query options.
|
|
5953
|
+
*
|
|
5788
5954
|
* @param operation - The operation object containing all available metadata
|
|
5789
5955
|
* @returns A meta object with any properties you want to include
|
|
5790
5956
|
*
|
|
@@ -5808,14 +5974,14 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5808
5974
|
* Naming pattern for generated names.
|
|
5809
5975
|
*
|
|
5810
5976
|
* @default '{{name}}InfiniteOptions'
|
|
5811
|
-
* @see https://tanstack.com/query/v5/docs/framework/
|
|
5977
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
5812
5978
|
*/
|
|
5813
5979
|
name?: NameTransformer;
|
|
5814
5980
|
};
|
|
5815
5981
|
/**
|
|
5816
5982
|
* Configuration for generated mutation options helpers.
|
|
5817
5983
|
*
|
|
5818
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
5984
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/solid/reference/createMutation}
|
|
5819
5985
|
*
|
|
5820
5986
|
* Can be:
|
|
5821
5987
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -5837,6 +6003,12 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5837
6003
|
* @default true
|
|
5838
6004
|
*/
|
|
5839
6005
|
enabled?: boolean;
|
|
6006
|
+
/**
|
|
6007
|
+
* Whether to export generated symbols.
|
|
6008
|
+
*
|
|
6009
|
+
* @default true
|
|
6010
|
+
*/
|
|
6011
|
+
exported?: boolean;
|
|
5840
6012
|
/**
|
|
5841
6013
|
* Custom function to generate metadata for the operation.
|
|
5842
6014
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -5863,14 +6035,415 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & P
|
|
|
5863
6035
|
* Naming pattern for generated names.
|
|
5864
6036
|
*
|
|
5865
6037
|
* @default '{{name}}Mutation'
|
|
5866
|
-
* @see https://tanstack.com/query/v5/docs/framework/
|
|
6038
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createMutation
|
|
5867
6039
|
*/
|
|
5868
6040
|
name?: NameTransformer;
|
|
5869
6041
|
};
|
|
5870
6042
|
/**
|
|
5871
6043
|
* Configuration for generated query keys.
|
|
5872
6044
|
*
|
|
5873
|
-
* See {@link https://tanstack.com/query/v5/docs/framework/
|
|
6045
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/solid/reference/queryKey}
|
|
6046
|
+
*
|
|
6047
|
+
* Can be:
|
|
6048
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
6049
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
6050
|
+
* - `object`: Full configuration object
|
|
6051
|
+
*
|
|
6052
|
+
* @default true
|
|
6053
|
+
*/
|
|
6054
|
+
queryKeys?: boolean | NameTransformer | {
|
|
6055
|
+
/**
|
|
6056
|
+
* Casing convention for generated names.
|
|
6057
|
+
*
|
|
6058
|
+
* @default 'camelCase'
|
|
6059
|
+
*/
|
|
6060
|
+
case?: Casing;
|
|
6061
|
+
/**
|
|
6062
|
+
* Whether this feature is enabled.
|
|
6063
|
+
*
|
|
6064
|
+
* @default true
|
|
6065
|
+
*/
|
|
6066
|
+
enabled?: boolean;
|
|
6067
|
+
/**
|
|
6068
|
+
* Naming pattern for generated names.
|
|
6069
|
+
*
|
|
6070
|
+
* @default '{{name}}QueryKey'
|
|
6071
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/queryKey
|
|
6072
|
+
*/
|
|
6073
|
+
name?: NameTransformer;
|
|
6074
|
+
/**
|
|
6075
|
+
* Whether to include operation tags in query keys.
|
|
6076
|
+
* This will make query keys larger but provides better cache invalidation capabilities.
|
|
6077
|
+
*
|
|
6078
|
+
* @default false
|
|
6079
|
+
*/
|
|
6080
|
+
tags?: boolean;
|
|
6081
|
+
};
|
|
6082
|
+
/**
|
|
6083
|
+
* Configuration for generated query options helpers.
|
|
6084
|
+
*
|
|
6085
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/solid/reference/createQuery}
|
|
6086
|
+
*
|
|
6087
|
+
* Can be:
|
|
6088
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
6089
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
6090
|
+
* - `object`: Full configuration object
|
|
6091
|
+
*
|
|
6092
|
+
* @default true
|
|
6093
|
+
*/
|
|
6094
|
+
queryOptions?: boolean | NameTransformer | {
|
|
6095
|
+
/**
|
|
6096
|
+
* Casing convention for generated names.
|
|
6097
|
+
*
|
|
6098
|
+
* @default 'camelCase'
|
|
6099
|
+
*/
|
|
6100
|
+
case?: Casing;
|
|
6101
|
+
/**
|
|
6102
|
+
* Whether this feature is enabled.
|
|
6103
|
+
*
|
|
6104
|
+
* @default true
|
|
6105
|
+
*/
|
|
6106
|
+
enabled?: boolean;
|
|
6107
|
+
/**
|
|
6108
|
+
* Whether to export generated symbols.
|
|
6109
|
+
*
|
|
6110
|
+
* @default true
|
|
6111
|
+
*/
|
|
6112
|
+
exported?: boolean;
|
|
6113
|
+
/**
|
|
6114
|
+
* Custom function to generate metadata for the operation.
|
|
6115
|
+
* Can return any valid meta object that will be included in the generated query options.
|
|
6116
|
+
* @param operation - The operation object containing all available metadata
|
|
6117
|
+
* @returns A meta object with any properties you want to include
|
|
6118
|
+
*
|
|
6119
|
+
* @example
|
|
6120
|
+
* ```ts
|
|
6121
|
+
* meta: (operation) => ({
|
|
6122
|
+
* customField: operation.id,
|
|
6123
|
+
* isDeprecated: operation.deprecated,
|
|
6124
|
+
* tags: operation.tags,
|
|
6125
|
+
* customObject: {
|
|
6126
|
+
* method: operation.method,
|
|
6127
|
+
* path: operation.path
|
|
6128
|
+
* }
|
|
6129
|
+
* })
|
|
6130
|
+
* ```
|
|
6131
|
+
*
|
|
6132
|
+
* @default undefined
|
|
6133
|
+
*/
|
|
6134
|
+
meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6135
|
+
/**
|
|
6136
|
+
* Naming pattern for generated names.
|
|
6137
|
+
*
|
|
6138
|
+
* @default '{{name}}Options'
|
|
6139
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createQuery
|
|
6140
|
+
*/
|
|
6141
|
+
name?: NameTransformer;
|
|
6142
|
+
};
|
|
6143
|
+
};
|
|
6144
|
+
type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
|
|
6145
|
+
/**
|
|
6146
|
+
* Casing convention for generated names.
|
|
6147
|
+
*/
|
|
6148
|
+
case: Casing;
|
|
6149
|
+
/**
|
|
6150
|
+
* Resolved configuration for generated infinite query key helpers.
|
|
6151
|
+
*
|
|
6152
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
6153
|
+
*/
|
|
6154
|
+
infiniteQueryKeys: NamingOptions & FeatureToggle & {
|
|
6155
|
+
/**
|
|
6156
|
+
* Whether to include operation tags in infinite query keys.
|
|
6157
|
+
* This will make query keys larger but provides better cache invalidation capabilities.
|
|
6158
|
+
*
|
|
6159
|
+
* @default false
|
|
6160
|
+
*/
|
|
6161
|
+
tags: boolean;
|
|
6162
|
+
};
|
|
6163
|
+
/**
|
|
6164
|
+
* Resolved configuration for generated infinite query options helpers.
|
|
6165
|
+
*
|
|
6166
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createInfiniteQuery
|
|
6167
|
+
*/
|
|
6168
|
+
infiniteQueryOptions: NamingOptions & FeatureToggle & {
|
|
6169
|
+
/**
|
|
6170
|
+
* Custom function to generate metadata for the operation.
|
|
6171
|
+
* Can return any valid meta object that will be included in the generated infinite query options.
|
|
6172
|
+
* @param operation - The operation object containing all available metadata
|
|
6173
|
+
* @returns A meta object with any properties you want to include
|
|
6174
|
+
*
|
|
6175
|
+
* @example
|
|
6176
|
+
* ```ts
|
|
6177
|
+
* meta: (operation) => ({
|
|
6178
|
+
* customField: operation.id,
|
|
6179
|
+
* isDeprecated: operation.deprecated,
|
|
6180
|
+
* tags: operation.tags,
|
|
6181
|
+
* customObject: {
|
|
6182
|
+
* method: operation.method,
|
|
6183
|
+
* path: operation.path
|
|
6184
|
+
* }
|
|
6185
|
+
* })
|
|
6186
|
+
* ```
|
|
6187
|
+
*
|
|
6188
|
+
* @default undefined
|
|
6189
|
+
*/
|
|
6190
|
+
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6191
|
+
};
|
|
6192
|
+
/**
|
|
6193
|
+
* Resolved configuration for generated mutation options helpers.
|
|
6194
|
+
*
|
|
6195
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createMutation
|
|
6196
|
+
*/
|
|
6197
|
+
mutationOptions: NamingOptions & FeatureToggle & {
|
|
6198
|
+
/**
|
|
6199
|
+
* Whether to export generated symbols.
|
|
6200
|
+
*
|
|
6201
|
+
* @default true
|
|
6202
|
+
*/
|
|
6203
|
+
exported: boolean;
|
|
6204
|
+
/**
|
|
6205
|
+
* Custom function to generate metadata for the operation.
|
|
6206
|
+
* Can return any valid meta object that will be included in the generated mutation options.
|
|
6207
|
+
* @param operation - The operation object containing all available metadata
|
|
6208
|
+
* @returns A meta object with any properties you want to include
|
|
6209
|
+
*
|
|
6210
|
+
* @example
|
|
6211
|
+
* ```ts
|
|
6212
|
+
* meta: (operation) => ({
|
|
6213
|
+
* customField: operation.id,
|
|
6214
|
+
* isDeprecated: operation.deprecated,
|
|
6215
|
+
* tags: operation.tags,
|
|
6216
|
+
* customObject: {
|
|
6217
|
+
* method: operation.method,
|
|
6218
|
+
* path: operation.path
|
|
6219
|
+
* }
|
|
6220
|
+
* })
|
|
6221
|
+
* ```
|
|
6222
|
+
*
|
|
6223
|
+
* @default undefined
|
|
6224
|
+
*/
|
|
6225
|
+
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6226
|
+
};
|
|
6227
|
+
/**
|
|
6228
|
+
* Resolved configuration for generated query keys.
|
|
6229
|
+
*
|
|
6230
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/queryKey
|
|
6231
|
+
*/
|
|
6232
|
+
queryKeys: NamingOptions & FeatureToggle & {
|
|
6233
|
+
/**
|
|
6234
|
+
* Whether to include operation tags in query keys.
|
|
6235
|
+
* This will make query keys larger but provides better cache invalidation capabilities.
|
|
6236
|
+
*
|
|
6237
|
+
* @default false
|
|
6238
|
+
*/
|
|
6239
|
+
tags: boolean;
|
|
6240
|
+
};
|
|
6241
|
+
/**
|
|
6242
|
+
* Resolved configuration for generated query options helpers.
|
|
6243
|
+
*
|
|
6244
|
+
* @see https://tanstack.com/query/v5/docs/framework/solid/reference/createQuery
|
|
6245
|
+
*/
|
|
6246
|
+
queryOptions: NamingOptions & FeatureToggle & {
|
|
6247
|
+
/**
|
|
6248
|
+
* Whether to export generated symbols.
|
|
6249
|
+
*
|
|
6250
|
+
* @default true
|
|
6251
|
+
*/
|
|
6252
|
+
exported: boolean;
|
|
6253
|
+
/**
|
|
6254
|
+
* Custom function to generate metadata for the operation.
|
|
6255
|
+
* Can return any valid meta object that will be included in the generated query options.
|
|
6256
|
+
* @param operation - The operation object containing all available metadata
|
|
6257
|
+
* @returns A meta object with any properties you want to include
|
|
6258
|
+
*
|
|
6259
|
+
* @example
|
|
6260
|
+
* ```ts
|
|
6261
|
+
* meta: (operation) => ({
|
|
6262
|
+
* customField: operation.id,
|
|
6263
|
+
* isDeprecated: operation.deprecated,
|
|
6264
|
+
* tags: operation.tags,
|
|
6265
|
+
* customObject: {
|
|
6266
|
+
* method: operation.method,
|
|
6267
|
+
* path: operation.path
|
|
6268
|
+
* }
|
|
6269
|
+
* })
|
|
6270
|
+
* ```
|
|
6271
|
+
*
|
|
6272
|
+
* @default undefined
|
|
6273
|
+
*/
|
|
6274
|
+
meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6275
|
+
};
|
|
6276
|
+
};
|
|
6277
|
+
type TanStackSolidQueryPlugin = DefinePlugin$1<UserConfig$8, Config$6>;
|
|
6278
|
+
//#endregion
|
|
6279
|
+
//#region src/plugins/@tanstack/svelte-query/types.d.ts
|
|
6280
|
+
type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
|
|
6281
|
+
/**
|
|
6282
|
+
* Casing convention for generated names.
|
|
6283
|
+
*
|
|
6284
|
+
* @default 'camelCase'
|
|
6285
|
+
*/
|
|
6286
|
+
case?: Casing;
|
|
6287
|
+
/**
|
|
6288
|
+
* Configuration for generated infinite query key helpers.
|
|
6289
|
+
*
|
|
6290
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createinfinitequery}
|
|
6291
|
+
*
|
|
6292
|
+
* Can be:
|
|
6293
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
6294
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
6295
|
+
* - `object`: Full configuration object
|
|
6296
|
+
*
|
|
6297
|
+
* @default true
|
|
6298
|
+
*/
|
|
6299
|
+
infiniteQueryKeys?: boolean | NameTransformer | {
|
|
6300
|
+
/**
|
|
6301
|
+
* Casing convention for generated names.
|
|
6302
|
+
*
|
|
6303
|
+
* @default 'camelCase'
|
|
6304
|
+
*/
|
|
6305
|
+
case?: Casing;
|
|
6306
|
+
/**
|
|
6307
|
+
* Whether this feature is enabled.
|
|
6308
|
+
*
|
|
6309
|
+
* @default true
|
|
6310
|
+
*/
|
|
6311
|
+
enabled?: boolean;
|
|
6312
|
+
/**
|
|
6313
|
+
* Naming pattern for generated names.
|
|
6314
|
+
*
|
|
6315
|
+
* @default '{{name}}InfiniteQueryKey'
|
|
6316
|
+
* @see https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createinfinitequery
|
|
6317
|
+
*/
|
|
6318
|
+
name?: NameTransformer;
|
|
6319
|
+
/**
|
|
6320
|
+
* Whether to include operation tags in infinite query keys.
|
|
6321
|
+
* This will make query keys larger but provides better cache invalidation capabilities.
|
|
6322
|
+
*
|
|
6323
|
+
* @default false
|
|
6324
|
+
*/
|
|
6325
|
+
tags?: boolean;
|
|
6326
|
+
};
|
|
6327
|
+
/**
|
|
6328
|
+
* Configuration for generated infinite query options helpers.
|
|
6329
|
+
*
|
|
6330
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createinfinitequery}
|
|
6331
|
+
*
|
|
6332
|
+
* Can be:
|
|
6333
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
6334
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
6335
|
+
* - `object`: Full configuration object
|
|
6336
|
+
*
|
|
6337
|
+
* @default true
|
|
6338
|
+
*/
|
|
6339
|
+
infiniteQueryOptions?: boolean | NameTransformer | {
|
|
6340
|
+
/**
|
|
6341
|
+
* Casing convention for generated names.
|
|
6342
|
+
*
|
|
6343
|
+
* @default 'camelCase'
|
|
6344
|
+
*/
|
|
6345
|
+
case?: Casing;
|
|
6346
|
+
/**
|
|
6347
|
+
* Whether this feature is enabled.
|
|
6348
|
+
*
|
|
6349
|
+
* @default true
|
|
6350
|
+
*/
|
|
6351
|
+
enabled?: boolean;
|
|
6352
|
+
/**
|
|
6353
|
+
* Custom function to generate metadata for the operation.
|
|
6354
|
+
* Can return any valid meta object that will be included in the generated infinite query options.
|
|
6355
|
+
* @param operation - The operation object containing all available metadata
|
|
6356
|
+
* @returns A meta object with any properties you want to include
|
|
6357
|
+
*
|
|
6358
|
+
* @example
|
|
6359
|
+
* ```ts
|
|
6360
|
+
* meta: (operation) => ({
|
|
6361
|
+
* customField: operation.id,
|
|
6362
|
+
* isDeprecated: operation.deprecated,
|
|
6363
|
+
* tags: operation.tags,
|
|
6364
|
+
* customObject: {
|
|
6365
|
+
* method: operation.method,
|
|
6366
|
+
* path: operation.path
|
|
6367
|
+
* }
|
|
6368
|
+
* })
|
|
6369
|
+
* ```
|
|
6370
|
+
*
|
|
6371
|
+
* @default undefined
|
|
6372
|
+
*/
|
|
6373
|
+
meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6374
|
+
/**
|
|
6375
|
+
* Naming pattern for generated names.
|
|
6376
|
+
*
|
|
6377
|
+
* @default '{{name}}InfiniteOptions'
|
|
6378
|
+
* @see https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createinfinitequery
|
|
6379
|
+
*/
|
|
6380
|
+
name?: NameTransformer;
|
|
6381
|
+
};
|
|
6382
|
+
/**
|
|
6383
|
+
* Configuration for generated mutation options helpers.
|
|
6384
|
+
*
|
|
6385
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createmutation}
|
|
6386
|
+
*
|
|
6387
|
+
* Can be:
|
|
6388
|
+
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
6389
|
+
* - `string` or `function`: Shorthand for `{ name: string | function }`
|
|
6390
|
+
* - `object`: Full configuration object
|
|
6391
|
+
*
|
|
6392
|
+
* @default true
|
|
6393
|
+
*/
|
|
6394
|
+
mutationOptions?: boolean | NameTransformer | {
|
|
6395
|
+
/**
|
|
6396
|
+
* Casing convention for generated names.
|
|
6397
|
+
*
|
|
6398
|
+
* @default 'camelCase'
|
|
6399
|
+
*/
|
|
6400
|
+
case?: Casing;
|
|
6401
|
+
/**
|
|
6402
|
+
* Whether this feature is enabled.
|
|
6403
|
+
*
|
|
6404
|
+
* @default true
|
|
6405
|
+
*/
|
|
6406
|
+
enabled?: boolean;
|
|
6407
|
+
/**
|
|
6408
|
+
* Whether to export generated symbols.
|
|
6409
|
+
*
|
|
6410
|
+
* @default true
|
|
6411
|
+
*/
|
|
6412
|
+
exported?: boolean;
|
|
6413
|
+
/**
|
|
6414
|
+
* Custom function to generate metadata for the operation.
|
|
6415
|
+
* Can return any valid meta object that will be included in the generated mutation options.
|
|
6416
|
+
* @param operation - The operation object containing all available metadata
|
|
6417
|
+
* @returns A meta object with any properties you want to include
|
|
6418
|
+
*
|
|
6419
|
+
* @example
|
|
6420
|
+
* ```ts
|
|
6421
|
+
* meta: (operation) => ({
|
|
6422
|
+
* customField: operation.id,
|
|
6423
|
+
* isDeprecated: operation.deprecated,
|
|
6424
|
+
* tags: operation.tags,
|
|
6425
|
+
* customObject: {
|
|
6426
|
+
* method: operation.method,
|
|
6427
|
+
* path: operation.path
|
|
6428
|
+
* }
|
|
6429
|
+
* })
|
|
6430
|
+
* ```
|
|
6431
|
+
*
|
|
6432
|
+
* @default undefined
|
|
6433
|
+
*/
|
|
6434
|
+
meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
|
|
6435
|
+
/**
|
|
6436
|
+
* Naming pattern for generated names.
|
|
6437
|
+
*
|
|
6438
|
+
* @default '{{name}}Mutation'
|
|
6439
|
+
* @see https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createmutation
|
|
6440
|
+
*/
|
|
6441
|
+
name?: NameTransformer;
|
|
6442
|
+
};
|
|
6443
|
+
/**
|
|
6444
|
+
* Configuration for generated query keys.
|
|
6445
|
+
*
|
|
6446
|
+
* See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys}
|
|
5874
6447
|
*
|
|
5875
6448
|
* Can be:
|
|
5876
6449
|
* - `boolean`: Shorthand for `{ enabled: boolean }`
|
|
@@ -6023,6 +6596,12 @@ type Config$5 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugi
|
|
|
6023
6596
|
* @see https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createmutation
|
|
6024
6597
|
*/
|
|
6025
6598
|
mutationOptions: NamingOptions & FeatureToggle & {
|
|
6599
|
+
/**
|
|
6600
|
+
* Whether to export generated symbols.
|
|
6601
|
+
*
|
|
6602
|
+
* @default true
|
|
6603
|
+
*/
|
|
6604
|
+
exported: boolean;
|
|
6026
6605
|
/**
|
|
6027
6606
|
* Custom function to generate metadata for the operation.
|
|
6028
6607
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -6227,6 +6806,12 @@ type UserConfig$6 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plug
|
|
|
6227
6806
|
* @default true
|
|
6228
6807
|
*/
|
|
6229
6808
|
enabled?: boolean;
|
|
6809
|
+
/**
|
|
6810
|
+
* Whether to export generated symbols.
|
|
6811
|
+
*
|
|
6812
|
+
* @default true
|
|
6813
|
+
*/
|
|
6814
|
+
exported?: boolean;
|
|
6230
6815
|
/**
|
|
6231
6816
|
* Custom function to generate metadata for the operation.
|
|
6232
6817
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -6416,6 +7001,12 @@ type Config$4 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1
|
|
|
6416
7001
|
* @see https://tanstack.com/query/v5/docs/framework/vue/reference/useMutation
|
|
6417
7002
|
*/
|
|
6418
7003
|
mutationOptions: NamingOptions & FeatureToggle & {
|
|
7004
|
+
/**
|
|
7005
|
+
* Whether to export generated symbols.
|
|
7006
|
+
*
|
|
7007
|
+
* @default true
|
|
7008
|
+
*/
|
|
7009
|
+
exported: boolean;
|
|
6419
7010
|
/**
|
|
6420
7011
|
* Custom function to generate metadata for the operation.
|
|
6421
7012
|
* Can return any valid meta object that will be included in the generated mutation options.
|
|
@@ -7680,9 +8271,21 @@ type UserConfig$2 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Plugin$1.UserCom
|
|
|
7680
8271
|
* with some additional metadata for documentation, code generation, AI
|
|
7681
8272
|
* structured outputs, form validation, and other purposes.
|
|
7682
8273
|
*
|
|
8274
|
+
* Can be:
|
|
8275
|
+
* - `boolean`: Shorthand for the default metadata builder. When `true`,
|
|
8276
|
+
* attaches `{ description }` from the schema (if present) to the
|
|
8277
|
+
* generated Valibot schema via the metadata action.
|
|
8278
|
+
* - `function`: Custom metadata builder. Receives `{ $, node, schema }`,
|
|
8279
|
+
* where `node` is a pre-initialized `$.object()` node. Add properties to
|
|
8280
|
+
* `node` to populate the metadata object. Return value is ignored; an
|
|
8281
|
+
* empty `node` skips metadata for that schema.
|
|
8282
|
+
*
|
|
7683
8283
|
* @default false
|
|
7684
8284
|
*/
|
|
7685
|
-
metadata?: boolean
|
|
8285
|
+
metadata?: boolean | ((ctx: DollarTsDsl & {
|
|
8286
|
+
node: ReturnType<typeof $.object>;
|
|
8287
|
+
schema: IR$1.SchemaObject;
|
|
8288
|
+
}) => void);
|
|
7686
8289
|
/**
|
|
7687
8290
|
* Configuration for request-specific Valibot schemas.
|
|
7688
8291
|
*
|
|
@@ -7788,7 +8391,10 @@ type Config$1 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Plugin$1.Comments &
|
|
|
7788
8391
|
/** Configuration for reusable schema definitions. */
|
|
7789
8392
|
definitions: NamingOptions & FeatureToggle;
|
|
7790
8393
|
/** Enable Valibot metadata support? */
|
|
7791
|
-
metadata: boolean
|
|
8394
|
+
metadata: boolean | ((ctx: DollarTsDsl & {
|
|
8395
|
+
node: ReturnType<typeof $.object>;
|
|
8396
|
+
schema: IR$1.SchemaObject;
|
|
8397
|
+
}) => void);
|
|
7792
8398
|
/** Configuration for request-specific Valibot schemas. */
|
|
7793
8399
|
requests: NamingOptions & FeatureToggle;
|
|
7794
8400
|
/** Configuration for response-specific Valibot schemas. */
|
|
@@ -8174,9 +8780,22 @@ type UserConfig$1 = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Plugin$1.UserComment
|
|
|
8174
8780
|
* some additional metadata for documentation, code generation, AI
|
|
8175
8781
|
* structured outputs, form validation, and other purposes.
|
|
8176
8782
|
*
|
|
8783
|
+
* Can be:
|
|
8784
|
+
* - `boolean`: Shorthand for the default metadata builder. When `true`,
|
|
8785
|
+
* attaches `{ description }` from the schema (if present) to the
|
|
8786
|
+
* generated Zod schema via the metadata API.
|
|
8787
|
+
* - `function`: Custom metadata builder. Receives `{ $, node, schema }`,
|
|
8788
|
+
* where `node` is a pre-initialized `$.object().pretty()` node. Add
|
|
8789
|
+
* properties to `node` to populate the metadata object. Return value is
|
|
8790
|
+
* ignored; an empty `node` skips metadata for that schema.
|
|
8791
|
+
* Note: **not supported for Zod 3** (use `boolean` only).
|
|
8792
|
+
*
|
|
8177
8793
|
* @default false
|
|
8178
8794
|
*/
|
|
8179
|
-
metadata?: boolean
|
|
8795
|
+
metadata?: boolean | ((ctx: DollarTsDsl & {
|
|
8796
|
+
node: ReturnType<typeof $.object>;
|
|
8797
|
+
schema: IR$1.SchemaObject;
|
|
8798
|
+
}) => void);
|
|
8180
8799
|
/**
|
|
8181
8800
|
* Configuration for request-specific Zod schemas.
|
|
8182
8801
|
*
|
|
@@ -8433,7 +9052,10 @@ type Config = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin
|
|
|
8433
9052
|
/** Configuration for reusable schema definitions. */
|
|
8434
9053
|
definitions: NamingOptions & FeatureToggle & TypeOptions;
|
|
8435
9054
|
/** Enable Zod metadata support? */
|
|
8436
|
-
metadata: boolean
|
|
9055
|
+
metadata: boolean | ((ctx: DollarTsDsl & {
|
|
9056
|
+
node: ReturnType<typeof $.object>;
|
|
9057
|
+
schema: IR$1.SchemaObject;
|
|
9058
|
+
}) => void);
|
|
8437
9059
|
/** Configuration for request-specific Zod schemas. */
|
|
8438
9060
|
requests: NamingOptions & FeatureToggle & TypeOptions;
|
|
8439
9061
|
/** Configuration for response-specific Zod schemas. */
|
|
@@ -8457,7 +9079,7 @@ type ZodPlugin = DefinePlugin$1<UserConfig$1, Config, IApi>;
|
|
|
8457
9079
|
*
|
|
8458
9080
|
* @param userConfig User provided {@link UserConfig} configuration(s).
|
|
8459
9081
|
*/
|
|
8460
|
-
declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?:
|
|
9082
|
+
declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?: any): Promise<ReadonlyArray<Context>>;
|
|
8461
9083
|
//#endregion
|
|
8462
9084
|
//#region src/config/plugins.d.ts
|
|
8463
9085
|
/**
|
|
@@ -8531,6 +9153,7 @@ declare module '@hey-api/shared' {
|
|
|
8531
9153
|
'@hey-api/typescript': HeyApiTypeScriptPlugin['Types'];
|
|
8532
9154
|
'@pinia/colada': PiniaColadaPlugin['Types'];
|
|
8533
9155
|
'@tanstack/angular-query-experimental': TanStackAngularQueryPlugin['Types'];
|
|
9156
|
+
'@tanstack/preact-query': TanStackPreactQueryPlugin['Types'];
|
|
8534
9157
|
'@tanstack/react-query': TanStackReactQueryPlugin['Types'];
|
|
8535
9158
|
'@tanstack/solid-query': TanStackSolidQueryPlugin['Types'];
|
|
8536
9159
|
'@tanstack/svelte-query': TanStackSvelteQueryPlugin['Types'];
|