@hey-api/openapi-ts 0.86.0 → 0.86.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,25 @@
1
+ import { n as __export } from "./chunk-C-EqMg7d.js";
1
2
  import fs from "node:fs";
2
3
  import * as typescript0 from "typescript";
3
4
  import ts from "typescript";
4
5
  import { RangeOptions, SemVer } from "semver";
5
6
  import { IProject, Project, Selector, Symbol, SymbolIn } from "@hey-api/codegen-core";
6
7
 
7
- //#region src/tsc/types.d.ts
8
+ //#region src/openApi/shared/types/openapi-spec-extensions.d.ts
9
+ interface EnumExtensions {
10
+ /**
11
+ * `x-enum-descriptions` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
12
+ */
13
+ 'x-enum-descriptions'?: ReadonlyArray<string>;
14
+ /**
15
+ * `x-enum-varnames` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
16
+ */
17
+ 'x-enum-varnames'?: ReadonlyArray<string>;
18
+ /**
19
+ * {@link https://github.com/RicoSuter/NSwag NSwag} generates `x-enumNames` field containing custom enum names.
20
+ */
21
+ 'x-enumNames'?: ReadonlyArray<string>;
22
+ }
8
23
  declare namespace types_d_exports {
9
24
  export { AccessLevel, FunctionParameter, FunctionTypeParameter, ObjectValue, SyntaxKindKeyword, createAnonymousFunction, createArrayLiteralExpression, createArrowFunction, createAsExpression, createAssignment, createAwaitExpression, createBlock, createConditionalExpression, createEnumDeclaration, createForOfStatement, createFunctionTypeNode, createGetAccessorDeclaration, createIndexedAccessTypeNode, createKeywordTypeNode, createLiteralTypeNode, createMappedTypeNode, createNamespaceDeclaration, createNewExpression, createNull, createObjectType, createParameterDeclaration, createPropertyAccessChain, createPropertyAccessExpression, createPropertyAssignment, createRegularExpressionLiteral, createStringLiteral, createTemplateLiteralType, createTypeAliasDeclaration, createTypeNode, createTypeOfExpression, createTypeOperatorNode, createTypeParameterDeclaration, createTypeParenthesizedNode, createTypeReferenceNode, syntaxKindKeyword, toExpression, toParameterDeclarations, toTypeParameters };
10
25
  }
@@ -514,22 +529,6 @@ type LazyOrAsync<T$1> = T$1 | (() => T$1) | (() => Promise<T$1>);
514
529
  */
515
530
  type MaybeArray<T$1> = T$1 | ReadonlyArray<T$1>;
516
531
  //#endregion
517
- //#region src/openApi/shared/types/openapi-spec-extensions.d.ts
518
- interface EnumExtensions {
519
- /**
520
- * `x-enum-descriptions` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
521
- */
522
- 'x-enum-descriptions'?: ReadonlyArray<string>;
523
- /**
524
- * `x-enum-varnames` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
525
- */
526
- 'x-enum-varnames'?: ReadonlyArray<string>;
527
- /**
528
- * {@link https://github.com/RicoSuter/NSwag NSwag} generates `x-enumNames` field containing custom enum names.
529
- */
530
- 'x-enumNames'?: ReadonlyArray<string>;
531
- }
532
- //#endregion
533
532
  //#region src/openApi/3.1.x/types/spec.d.ts
534
533
  /**
535
534
  * This is the root object of the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-document OpenAPI document}.
@@ -2946,9 +2945,87 @@ type Package = {
2946
2945
  satisfies: (nameOrVersion: string | SemVer, range: string, optionsOrLoose?: boolean | RangeOptions) => boolean;
2947
2946
  };
2948
2947
  //#endregion
2949
- //#region src/types/case.d.ts
2950
- type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCREAMING_SNAKE_CASE';
2951
- type StringName = string | ((name: string) => string);
2948
+ //#region src/utils/logger.d.ts
2949
+ declare class Logger {
2950
+ private events;
2951
+ private end;
2952
+ report(print?: boolean): PerformanceMeasure | undefined;
2953
+ private reportEvent;
2954
+ private start;
2955
+ private storeEvent;
2956
+ timeEvent(name: string): {
2957
+ mark: PerformanceMark;
2958
+ timeEnd: () => void;
2959
+ };
2960
+ }
2961
+ //#endregion
2962
+ //#region src/openApi/shared/utils/graph.d.ts
2963
+ /**
2964
+ * Represents the possible access scopes for OpenAPI nodes.
2965
+ * - 'normal': Default scope for regular nodes.
2966
+ * - 'read': Node is read-only (e.g., readOnly: true).
2967
+ * - 'write': Node is write-only (e.g., writeOnly: true).
2968
+ */
2969
+ type Scope = 'normal' | 'read' | 'write';
2970
+ /**
2971
+ * Information about a node in the OpenAPI graph.
2972
+ *
2973
+ * @property deprecated - Whether the node is deprecated. Optional.
2974
+ * @property key - The property name or array index in the parent, or null for root.
2975
+ * @property node - The actual object at this pointer in the spec.
2976
+ * @property parentPointer - The JSON Pointer of the parent node, or null for root.
2977
+ * @property scopes - The set of access scopes for this node, if any. Optional.
2978
+ * @property tags - The set of tags for this node, if any. Optional.
2979
+ */
2980
+ type NodeInfo = {
2981
+ /** Whether the node is deprecated. Optional. */
2982
+ deprecated?: boolean;
2983
+ /** The property name or array index in the parent, or null for root. */
2984
+ key: string | number | null;
2985
+ /** The actual object at this pointer in the spec. */
2986
+ node: unknown;
2987
+ /** The JSON Pointer of the parent node, or null for root. */
2988
+ parentPointer: string | null;
2989
+ /** The set of access scopes for this node, if any. Optional. */
2990
+ scopes?: Set<Scope>;
2991
+ /** The set of tags for this node, if any. Optional. */
2992
+ tags?: Set<string>;
2993
+ };
2994
+ /**
2995
+ * The main graph structure for OpenAPI node analysis.
2996
+ *
2997
+ * @property nodeDependencies - For each node with at least one dependency, the set of normalized JSON Pointers it references via $ref. Nodes with no dependencies are omitted.
2998
+ * @property nodes - Map from normalized JSON Pointer to NodeInfo for every node in the spec.
2999
+ * @property reverseNodeDependencies - For each node with at least one dependent, the set of nodes that reference it via $ref. Nodes with no dependents are omitted.
3000
+ */
3001
+ type Graph = {
3002
+ /**
3003
+ * For each node with at least one dependency, the set of normalized JSON Pointers it references via $ref.
3004
+ * Nodes with no dependencies are omitted from this map.
3005
+ */
3006
+ nodeDependencies: Map<string, Set<string>>;
3007
+ /**
3008
+ * Map from normalized JSON Pointer to NodeInfo for every node in the spec.
3009
+ */
3010
+ nodes: Map<string, NodeInfo>;
3011
+ /**
3012
+ * For each node with at least one dependent, the set of nodes that reference it via $ref.
3013
+ * Nodes with no dependents are omitted from this map.
3014
+ */
3015
+ reverseNodeDependencies: Map<string, Set<string>>;
3016
+ /**
3017
+ * For each node, the set of direct $ref targets that appear anywhere inside the node's
3018
+ * subtree (the node itself and its children). This is populated during graph construction
3019
+ * and is used to compute top-level dependency relationships where $ref may be attached to
3020
+ * child pointers instead of the parent.
3021
+ */
3022
+ subtreeDependencies: Map<string, Set<string>>;
3023
+ /**
3024
+ * For each node, the set of all (transitive) normalized JSON Pointers it references via $ref anywhere in its subtree.
3025
+ * This includes both direct and indirect dependencies, making it useful for filtering, codegen, and tree-shaking.
3026
+ */
3027
+ transitiveDependencies: Map<string, Set<string>>;
3028
+ };
2952
3029
  //#endregion
2953
3030
  //#region src/config/utils/config.d.ts
2954
3031
  type ObjectType<T$1> = Extract<T$1, Record<string, any>> extends never ? Record<string, any> : Extract<T$1, Record<string, any>>;
@@ -2972,6 +3049,148 @@ type ValueToObject = <T extends undefined | string | boolean | number | ((...arg
2972
3049
  mappers: MappersType<T>;
2973
3050
  })) => PlainObject<T>;
2974
3051
  //#endregion
3052
+ //#region src/openApi/common/interfaces/Dictionary.d.ts
3053
+ interface Dictionary<T$1 = unknown> {
3054
+ [key: string]: T$1;
3055
+ }
3056
+ //#endregion
3057
+ //#region src/openApi/v3/interfaces/OpenApiReference.d.ts
3058
+ /**
3059
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#reference-object
3060
+ */
3061
+ interface OpenApiReference {
3062
+ $ref?: string;
3063
+ }
3064
+ //#endregion
3065
+ //#region src/openApi/v3/interfaces/OpenApiExample.d.ts
3066
+ /**
3067
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#example-object
3068
+ */
3069
+ interface OpenApiExample extends OpenApiReference {
3070
+ description?: string;
3071
+ externalValue?: string;
3072
+ summary?: string;
3073
+ value?: unknown;
3074
+ }
3075
+ //#endregion
3076
+ //#region src/openApi/common/interfaces/WithEnumExtension.d.ts
3077
+ interface WithEnumExtension {
3078
+ 'x-enum-descriptions'?: ReadonlyArray<string>;
3079
+ 'x-enum-varnames'?: ReadonlyArray<string>;
3080
+ 'x-enumNames'?: ReadonlyArray<string>;
3081
+ }
3082
+ //#endregion
3083
+ //#region src/openApi/v3/interfaces/OpenApiDiscriminator.d.ts
3084
+ /**
3085
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#discriminator-object
3086
+ */
3087
+ interface OpenApiDiscriminator {
3088
+ mapping?: Dictionary<string>;
3089
+ propertyName: string;
3090
+ }
3091
+ //#endregion
3092
+ //#region src/openApi/v3/interfaces/OpenApiExternalDocs.d.ts
3093
+ /**
3094
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#external-documentation-object
3095
+ */
3096
+ interface OpenApiExternalDocs {
3097
+ description?: string;
3098
+ url: string;
3099
+ }
3100
+ //#endregion
3101
+ //#region src/openApi/v3/interfaces/OpenApiXml.d.ts
3102
+ /**
3103
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#xml-object
3104
+ */
3105
+ interface OpenApiXml$1 {
3106
+ attribute?: boolean;
3107
+ name?: string;
3108
+ namespace?: string;
3109
+ prefix?: string;
3110
+ wrapped?: boolean;
3111
+ }
3112
+ //#endregion
3113
+ //#region src/openApi/v3/interfaces/OpenApiSchema.d.ts
3114
+ /**
3115
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
3116
+ */
3117
+ interface OpenApiSchema$1 extends OpenApiReference, WithEnumExtension {
3118
+ additionalProperties?: boolean | OpenApiSchema$1;
3119
+ allOf?: OpenApiSchema$1[];
3120
+ anyOf?: OpenApiSchema$1[];
3121
+ const?: string | number | boolean | null;
3122
+ default?: unknown;
3123
+ deprecated?: boolean;
3124
+ description?: string;
3125
+ discriminator?: OpenApiDiscriminator;
3126
+ enum?: (string | number)[];
3127
+ example?: unknown;
3128
+ exclusiveMaximum?: boolean;
3129
+ exclusiveMinimum?: boolean;
3130
+ externalDocs?: OpenApiExternalDocs;
3131
+ format?: 'binary' | 'boolean' | 'byte' | 'date-time' | 'date' | 'double' | 'float' | 'int32' | 'int64' | 'password' | 'string';
3132
+ items?: OpenApiSchema$1;
3133
+ maxItems?: number;
3134
+ maxLength?: number;
3135
+ maxProperties?: number;
3136
+ maximum?: number;
3137
+ minItems?: number;
3138
+ minLength?: number;
3139
+ minProperties?: number;
3140
+ minimum?: number;
3141
+ multipleOf?: number;
3142
+ not?: OpenApiSchema$1[];
3143
+ nullable?: boolean;
3144
+ oneOf?: OpenApiSchema$1[];
3145
+ pattern?: string;
3146
+ prefixItems?: OpenApiSchema$1[];
3147
+ properties?: Dictionary<OpenApiSchema$1>;
3148
+ readOnly?: boolean;
3149
+ required?: string[];
3150
+ title?: string;
3151
+ type?: string | string[];
3152
+ uniqueItems?: boolean;
3153
+ writeOnly?: boolean;
3154
+ xml?: OpenApiXml$1;
3155
+ }
3156
+ //#endregion
3157
+ //#region src/openApi/v3/interfaces/OpenApiParameter.d.ts
3158
+ /**
3159
+ * add only one type for now as that's needed to resolve the reported issue,
3160
+ * more types should be added though
3161
+ * {@link https://github.com/hey-api/openapi-ts/issues/612}
3162
+ */
3163
+ type MediaType = 'application/json';
3164
+ /**
3165
+ * encoding interface should be added, not adding it for now as it's not needed
3166
+ * to resolve the issue reported
3167
+ * {@link https://github.com/hey-api/openapi-ts/issues/612}
3168
+ */
3169
+ interface MediaTypeObject$1 {
3170
+ example?: unknown;
3171
+ examples?: Dictionary<OpenApiExample>;
3172
+ schema: OpenApiSchema$1;
3173
+ }
3174
+ /**
3175
+ * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object
3176
+ */
3177
+ interface OpenApiParameter extends OpenApiReference {
3178
+ allowEmptyValue?: boolean;
3179
+ allowReserved?: boolean;
3180
+ content?: Record<MediaType, MediaTypeObject$1>;
3181
+ deprecated?: boolean;
3182
+ description?: string;
3183
+ example?: unknown;
3184
+ examples?: Dictionary<OpenApiExample>;
3185
+ explode?: boolean;
3186
+ in: 'cookie' | 'formData' | 'header' | 'path' | 'query';
3187
+ name: string;
3188
+ nullable?: boolean;
3189
+ required?: boolean;
3190
+ schema?: OpenApiSchema$1;
3191
+ style?: string;
3192
+ }
3193
+ //#endregion
2975
3194
  //#region src/types/input.d.ts
2976
3195
  type JsonSchema = Record<string, unknown>;
2977
3196
  type ApiRegistryShorthands = `https://get.heyapi.dev/${string}/${string}` | `${string}/${string}` | `readme:@${string}/${string}#${string}` | `readme:${string}` | `scalar:@${string}/${string}`;
@@ -3189,6 +3408,10 @@ type Logs = {
3189
3408
  path?: string;
3190
3409
  };
3191
3410
  //#endregion
3411
+ //#region src/types/case.d.ts
3412
+ type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCREAMING_SNAKE_CASE';
3413
+ type StringName = string | ((name: string) => string);
3414
+ //#endregion
3192
3415
  //#region src/types/output.d.ts
3193
3416
  type Formatters = 'biome' | 'prettier';
3194
3417
  type Linters = 'biome' | 'eslint' | 'oxlint';
@@ -5452,7 +5675,7 @@ interface LinkObject {
5452
5675
  *
5453
5676
  * TODO: examples
5454
5677
  */
5455
- interface MediaTypeObject$1 {
5678
+ interface MediaTypeObject {
5456
5679
  /**
5457
5680
  * A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The `encoding` field SHALL only apply to {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#request-body-object Request Body Objects}, and only when the media type is `multipart` or `application/x-www-form-urlencoded`. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object.
5458
5681
  */
@@ -5631,7 +5854,7 @@ interface ParameterObject$1 {
5631
5854
  /**
5632
5855
  * A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.
5633
5856
  */
5634
- content?: Record<string, MediaTypeObject$1>;
5857
+ content?: Record<string, MediaTypeObject>;
5635
5858
  /**
5636
5859
  * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is `false`.
5637
5860
  */
@@ -5794,7 +6017,7 @@ interface RequestBodyObject$1 {
5794
6017
  /**
5795
6018
  * **REQUIRED**. The content of the request body. The key is a media type or {@link https://tools.ietf.org/html/rfc7231#appendix-D media type range} and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"`
5796
6019
  */
5797
- content: Record<string, MediaTypeObject$1>;
6020
+ content: Record<string, MediaTypeObject>;
5798
6021
  /**
5799
6022
  * A brief description of the request body. This could contain examples of use. {@link https://spec.commonmark.org/ CommonMark syntax} MAY be used for rich text representation.
5800
6023
  */
@@ -5815,7 +6038,7 @@ interface ResponseObject$1 {
5815
6038
  /**
5816
6039
  * A map containing descriptions of potential response payloads. The key is a media type or {@link https://tools.ietf.org/html/rfc7231#appendix-D media type range} and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"`
5817
6040
  */
5818
- content?: Record<string, MediaTypeObject$1>;
6041
+ content?: Record<string, MediaTypeObject>;
5819
6042
  /**
5820
6043
  * **REQUIRED**. A description of the response. {@link https://spec.commonmark.org/ CommonMark syntax} MAY be used for rich text representation.
5821
6044
  */
@@ -6920,7 +7143,7 @@ type Patch = {
6920
7143
  };
6921
7144
  //#endregion
6922
7145
  //#region src/types/config.d.ts
6923
- interface UserConfig$26 {
7146
+ interface UserConfig$27 {
6924
7147
  /**
6925
7148
  * Path to the config file. Set this value if you don't use the default
6926
7149
  * config file name, or it's not located in the project root.
@@ -7037,7 +7260,7 @@ interface UserConfig$26 {
7037
7260
  */
7038
7261
  watch?: boolean | number | Watch;
7039
7262
  }
7040
- type Config$1 = Omit<Required<UserConfig$26>, 'base' | 'input' | 'logs' | 'name' | 'output' | 'parser' | 'plugins' | 'request' | 'watch'> & Pick<UserConfig$26, 'base' | 'name' | 'request'> & {
7263
+ type Config$1 = Omit<Required<UserConfig$27>, 'base' | 'input' | 'logs' | 'name' | 'output' | 'parser' | 'plugins' | 'request' | 'watch'> & Pick<UserConfig$27, 'base' | 'name' | 'request'> & {
7041
7264
  /**
7042
7265
  * Path to the input specification.
7043
7266
  */
@@ -7056,168 +7279,12 @@ type Config$1 = Omit<Required<UserConfig$26>, 'base' | 'input' | 'logs' | 'name'
7056
7279
  plugins: { [K in PluginNames]?: Plugin.ConfigWithName<PluginConfigMap[K]> };
7057
7280
  };
7058
7281
  //#endregion
7059
- //#region src/utils/logger.d.ts
7060
- declare class Logger {
7061
- private events;
7062
- private end;
7063
- report(print?: boolean): PerformanceMeasure | undefined;
7064
- private reportEvent;
7065
- private start;
7066
- private storeEvent;
7067
- timeEvent(name: string): {
7068
- mark: PerformanceMark;
7069
- timeEnd: () => void;
7070
- };
7071
- }
7072
- //#endregion
7073
- //#region src/openApi/common/interfaces/Dictionary.d.ts
7074
- interface Dictionary<T$1 = unknown> {
7075
- [key: string]: T$1;
7076
- }
7077
- //#endregion
7078
- //#region src/openApi/v3/interfaces/OpenApiReference.d.ts
7079
- /**
7080
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#reference-object
7081
- */
7082
- interface OpenApiReference {
7083
- $ref?: string;
7084
- }
7085
- //#endregion
7086
- //#region src/openApi/v3/interfaces/OpenApiExample.d.ts
7087
- /**
7088
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#example-object
7089
- */
7090
- interface OpenApiExample extends OpenApiReference {
7282
+ //#region src/openApi/common/interfaces/client.d.ts
7283
+ interface Enum {
7284
+ customDescription?: string;
7285
+ customName?: string;
7091
7286
  description?: string;
7092
- externalValue?: string;
7093
- summary?: string;
7094
- value?: unknown;
7095
- }
7096
- //#endregion
7097
- //#region src/openApi/common/interfaces/WithEnumExtension.d.ts
7098
- interface WithEnumExtension {
7099
- 'x-enum-descriptions'?: ReadonlyArray<string>;
7100
- 'x-enum-varnames'?: ReadonlyArray<string>;
7101
- 'x-enumNames'?: ReadonlyArray<string>;
7102
- }
7103
- //#endregion
7104
- //#region src/openApi/v3/interfaces/OpenApiDiscriminator.d.ts
7105
- /**
7106
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#discriminator-object
7107
- */
7108
- interface OpenApiDiscriminator {
7109
- mapping?: Dictionary<string>;
7110
- propertyName: string;
7111
- }
7112
- //#endregion
7113
- //#region src/openApi/v3/interfaces/OpenApiExternalDocs.d.ts
7114
- /**
7115
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#external-documentation-object
7116
- */
7117
- interface OpenApiExternalDocs {
7118
- description?: string;
7119
- url: string;
7120
- }
7121
- //#endregion
7122
- //#region src/openApi/v3/interfaces/OpenApiXml.d.ts
7123
- /**
7124
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#xml-object
7125
- */
7126
- interface OpenApiXml$1 {
7127
- attribute?: boolean;
7128
- name?: string;
7129
- namespace?: string;
7130
- prefix?: string;
7131
- wrapped?: boolean;
7132
- }
7133
- //#endregion
7134
- //#region src/openApi/v3/interfaces/OpenApiSchema.d.ts
7135
- /**
7136
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
7137
- */
7138
- interface OpenApiSchema$1 extends OpenApiReference, WithEnumExtension {
7139
- additionalProperties?: boolean | OpenApiSchema$1;
7140
- allOf?: OpenApiSchema$1[];
7141
- anyOf?: OpenApiSchema$1[];
7142
- const?: string | number | boolean | null;
7143
- default?: unknown;
7144
- deprecated?: boolean;
7145
- description?: string;
7146
- discriminator?: OpenApiDiscriminator;
7147
- enum?: (string | number)[];
7148
- example?: unknown;
7149
- exclusiveMaximum?: boolean;
7150
- exclusiveMinimum?: boolean;
7151
- externalDocs?: OpenApiExternalDocs;
7152
- format?: 'binary' | 'boolean' | 'byte' | 'date-time' | 'date' | 'double' | 'float' | 'int32' | 'int64' | 'password' | 'string';
7153
- items?: OpenApiSchema$1;
7154
- maxItems?: number;
7155
- maxLength?: number;
7156
- maxProperties?: number;
7157
- maximum?: number;
7158
- minItems?: number;
7159
- minLength?: number;
7160
- minProperties?: number;
7161
- minimum?: number;
7162
- multipleOf?: number;
7163
- not?: OpenApiSchema$1[];
7164
- nullable?: boolean;
7165
- oneOf?: OpenApiSchema$1[];
7166
- pattern?: string;
7167
- prefixItems?: OpenApiSchema$1[];
7168
- properties?: Dictionary<OpenApiSchema$1>;
7169
- readOnly?: boolean;
7170
- required?: string[];
7171
- title?: string;
7172
- type?: string | string[];
7173
- uniqueItems?: boolean;
7174
- writeOnly?: boolean;
7175
- xml?: OpenApiXml$1;
7176
- }
7177
- //#endregion
7178
- //#region src/openApi/v3/interfaces/OpenApiParameter.d.ts
7179
- /**
7180
- * add only one type for now as that's needed to resolve the reported issue,
7181
- * more types should be added though
7182
- * {@link https://github.com/hey-api/openapi-ts/issues/612}
7183
- */
7184
- type MediaType = 'application/json';
7185
- /**
7186
- * encoding interface should be added, not adding it for now as it's not needed
7187
- * to resolve the issue reported
7188
- * {@link https://github.com/hey-api/openapi-ts/issues/612}
7189
- */
7190
- interface MediaTypeObject {
7191
- example?: unknown;
7192
- examples?: Dictionary<OpenApiExample>;
7193
- schema: OpenApiSchema$1;
7194
- }
7195
- /**
7196
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object
7197
- */
7198
- interface OpenApiParameter extends OpenApiReference {
7199
- allowEmptyValue?: boolean;
7200
- allowReserved?: boolean;
7201
- content?: Record<MediaType, MediaTypeObject>;
7202
- deprecated?: boolean;
7203
- description?: string;
7204
- example?: unknown;
7205
- examples?: Dictionary<OpenApiExample>;
7206
- explode?: boolean;
7207
- in: 'cookie' | 'formData' | 'header' | 'path' | 'query';
7208
- name: string;
7209
- nullable?: boolean;
7210
- required?: boolean;
7211
- schema?: OpenApiSchema$1;
7212
- style?: string;
7213
- }
7214
- //#endregion
7215
- //#region src/openApi/common/interfaces/client.d.ts
7216
- interface Enum {
7217
- customDescription?: string;
7218
- customName?: string;
7219
- description?: string;
7220
- value: string | number;
7287
+ value: string | number;
7221
7288
  }
7222
7289
  interface OperationParameter extends Model {
7223
7290
  in: 'body' | 'cookie' | 'formData' | 'header' | 'path' | 'query';
@@ -7937,16 +8004,9 @@ declare const parseOpenApiSpec: ({
7937
8004
  spec: unknown;
7938
8005
  }) => IR$1.Context | undefined;
7939
8006
  //#endregion
7940
- //#region src/types/client.d.ts
7941
- interface Operation extends Omit<Operation$1, 'tags'> {
7942
- service: string;
7943
- }
7944
- interface Service extends Pick<Model, '$refs' | 'imports' | 'name'> {
7945
- operations: Operation[];
7946
- }
7947
- interface Client$1 extends Omit<Client$2, 'operations'> {
7948
- services: Service[];
7949
- }
8007
+ //#region src/ir/graph.d.ts
8008
+ declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
8009
+ type IrTopLevelKind = (typeof irTopLevelKinds)[number];
7950
8010
  //#endregion
7951
8011
  //#region src/plugins/shared/types/instance.d.ts
7952
8012
  type WalkEvents = {
@@ -7954,40 +8014,57 @@ type WalkEvents = {
7954
8014
  method: keyof IR$1.PathItemObject;
7955
8015
  operation: IR$1.OperationObject;
7956
8016
  path: string;
7957
- type: 'operation';
8017
+ type: Extract<IrTopLevelKind, 'operation'>;
7958
8018
  } | {
7959
8019
  $ref: string;
7960
8020
  _path: ReadonlyArray<string | number>;
7961
8021
  name: string;
7962
8022
  parameter: IR$1.ParameterObject;
7963
- type: 'parameter';
8023
+ type: Extract<IrTopLevelKind, 'parameter'>;
7964
8024
  } | {
7965
8025
  $ref: string;
7966
8026
  _path: ReadonlyArray<string | number>;
7967
8027
  name: string;
7968
8028
  requestBody: IR$1.RequestBodyObject;
7969
- type: 'requestBody';
8029
+ type: Extract<IrTopLevelKind, 'requestBody'>;
7970
8030
  } | {
7971
8031
  $ref: string;
7972
8032
  _path: ReadonlyArray<string | number>;
7973
8033
  name: string;
7974
8034
  schema: IR$1.SchemaObject;
7975
- type: 'schema';
8035
+ type: Extract<IrTopLevelKind, 'schema'>;
7976
8036
  } | {
7977
8037
  _path: ReadonlyArray<string | number>;
7978
8038
  server: IR$1.ServerObject;
7979
- type: 'server';
8039
+ type: Extract<IrTopLevelKind, 'server'>;
7980
8040
  } | {
7981
8041
  _path: ReadonlyArray<string | number>;
7982
8042
  key: string;
7983
8043
  method: keyof IR$1.PathItemObject;
7984
8044
  operation: IR$1.OperationObject;
7985
- type: 'webhook';
8045
+ type: Extract<IrTopLevelKind, 'webhook'>;
7986
8046
  };
7987
- type WalkEventType = WalkEvents['type'];
7988
- type WalkEvent<T$1 extends WalkEventType = WalkEventType> = Extract<WalkEvents, {
8047
+ type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
7989
8048
  type: T$1;
7990
8049
  }>;
8050
+ type WalkOptions = {
8051
+ /**
8052
+ * Order of walking schemas.
8053
+ *
8054
+ * The "declarations" option ensures that schemas are walked in the order
8055
+ * they are declared in the input document. This is useful for scenarios where
8056
+ * the order of declaration matters, such as when generating code that relies
8057
+ * on the sequence of schema definitions.
8058
+ *
8059
+ * The "topological" option ensures that schemas are walked in an order
8060
+ * where dependencies are visited before the schemas that depend on them.
8061
+ * This is useful for scenarios where you need to process or generate
8062
+ * schemas in a way that respects their interdependencies.
8063
+ *
8064
+ * @default 'topological'
8065
+ */
8066
+ order?: 'declarations' | 'topological';
8067
+ };
7991
8068
  //#endregion
7992
8069
  //#region src/plugins/shared/utils/instance.d.ts
7993
8070
  declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
@@ -8035,7 +8112,8 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8035
8112
  * }
8036
8113
  * });
8037
8114
  */
8038
- forEach<T extends WalkEventType = WalkEventType>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
8115
+ forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
8116
+ forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions]): void;
8039
8117
  private forEachError;
8040
8118
  /**
8041
8119
  * Retrieves a registered plugin instance by its name from the context. This
@@ -8069,6 +8147,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8069
8147
  };
8070
8148
  };
8071
8149
  private isOperationKind;
8150
+ isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
8072
8151
  referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
8073
8152
  registerSymbol(symbol: SymbolIn): Symbol;
8074
8153
  /**
@@ -8079,9 +8158,20 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8079
8158
  private symbolToId;
8080
8159
  }
8081
8160
  //#endregion
8161
+ //#region src/types/client.d.ts
8162
+ interface Operation extends Omit<Operation$1, 'tags'> {
8163
+ service: string;
8164
+ }
8165
+ interface Service extends Pick<Model, '$refs' | 'imports' | 'name'> {
8166
+ operations: Operation[];
8167
+ }
8168
+ interface Client$1 extends Omit<Client$2, 'operations'> {
8169
+ services: Service[];
8170
+ }
8171
+ //#endregion
8082
8172
  //#region src/plugins/types.d.ts
8083
8173
  type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch' | 'legacy/angular' | 'legacy/axios' | 'legacy/fetch' | 'legacy/node' | 'legacy/xhr';
8084
- type PluginValidatorNames = 'valibot' | 'zod';
8174
+ type PluginValidatorNames = 'arktype' | 'valibot' | 'zod';
8085
8175
  type PluginNames = PluginClientNames | '@angular/common' | '@hey-api/schemas' | '@hey-api/sdk' | '@hey-api/transformers' | '@hey-api/typescript' | '@pinia/colada' | '@tanstack/angular-query-experimental' | '@tanstack/react-query' | '@tanstack/solid-query' | '@tanstack/svelte-query' | '@tanstack/vue-query' | 'fastify' | PluginValidatorNames;
8086
8176
  type AnyPluginName = PluginNames | (string & {});
8087
8177
  type PluginTag = 'client' | 'transformer' | 'validator';
@@ -8175,12 +8265,12 @@ declare namespace Plugin {
8175
8265
  */
8176
8266
  export type UserConfig<Config extends BaseConfig> = Omit<Config, 'output'>;
8177
8267
  }
8178
- type DefinePlugin<Config$14 extends BaseConfig = BaseConfig, ResolvedConfig$1 extends BaseConfig = Config$14, Api$1 extends BaseApi = never> = {
8179
- Config: Plugin.Config<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8268
+ type DefinePlugin<Config$15 extends BaseConfig = BaseConfig, ResolvedConfig$1 extends BaseConfig = Config$15, Api$1 extends BaseApi = never> = {
8269
+ Config: Plugin.Config<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8180
8270
  Handler: (args: {
8181
- plugin: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8271
+ plugin: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8182
8272
  }) => void;
8183
- Instance: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8273
+ Instance: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8184
8274
  /**
8185
8275
  * Plugin implementation for legacy parser.
8186
8276
  *
@@ -8190,14 +8280,14 @@ type DefinePlugin<Config$14 extends BaseConfig = BaseConfig, ResolvedConfig$1 ex
8190
8280
  client: Client$1;
8191
8281
  files: Files;
8192
8282
  openApi: OpenApi;
8193
- plugin: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8283
+ plugin: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8194
8284
  }) => void;
8195
- Types: Plugin.Types<Config$14, ResolvedConfig$1, Api$1>;
8285
+ Types: Plugin.Types<Config$15, ResolvedConfig$1, Api$1>;
8196
8286
  };
8197
8287
  //#endregion
8198
8288
  //#region src/plugins/@angular/common/api.d.ts
8199
- type SelectorType$19 = 'class' | 'httpRequest' | 'httpResource' | 'HttpRequest' | 'inject' | 'Injectable';
8200
- type IApi$19 = {
8289
+ type SelectorType$20 = 'class' | 'httpRequest' | 'httpResource' | 'HttpRequest' | 'inject' | 'Injectable';
8290
+ type IApi$20 = {
8201
8291
  /**
8202
8292
  * @param type Selector type.
8203
8293
  * @param value Depends on `type`:
@@ -8209,11 +8299,11 @@ type IApi$19 = {
8209
8299
  * - `Injectable`: never
8210
8300
  * @returns Selector array
8211
8301
  */
8212
- getSelector: (type: SelectorType$19, value?: string) => Selector;
8302
+ selector: (type: SelectorType$20, value?: string) => Selector;
8213
8303
  };
8214
8304
  //#endregion
8215
8305
  //#region src/plugins/@angular/common/types.d.ts
8216
- type UserConfig$25 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8306
+ type UserConfig$26 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8217
8307
  /**
8218
8308
  * Should the exports from the generated files be re-exported in the index
8219
8309
  * barrel file?
@@ -8281,7 +8371,7 @@ type UserConfig$25 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8281
8371
  methodNameBuilder?: (operation: IR.OperationObject) => string;
8282
8372
  };
8283
8373
  };
8284
- type Config$13 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8374
+ type Config$14 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8285
8375
  /**
8286
8376
  * Should the exports from the generated files be re-exported in the index
8287
8377
  * barrel file?
@@ -8344,22 +8434,22 @@ type Config$13 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8344
8434
  methodNameBuilder: (operation: IR.OperationObject) => string;
8345
8435
  };
8346
8436
  };
8347
- type AngularCommonPlugin = DefinePlugin<UserConfig$25, Config$13, IApi$19>;
8437
+ type AngularCommonPlugin = DefinePlugin<UserConfig$26, Config$14, IApi$20>;
8348
8438
  //#endregion
8349
8439
  //#region src/plugins/@hey-api/client-axios/api.d.ts
8350
- type SelectorType$18 = 'client';
8351
- type IApi$18 = {
8440
+ type SelectorType$19 = 'client';
8441
+ type IApi$19 = {
8352
8442
  /**
8353
8443
  * @param type Selector type.
8354
8444
  * @param value Depends on `type`:
8355
8445
  * - `client`: never
8356
8446
  * @returns Selector array
8357
8447
  */
8358
- getSelector: (type: SelectorType$18, value?: string) => Selector;
8448
+ selector: (type: SelectorType$19, value?: string) => Selector;
8359
8449
  };
8360
8450
  //#endregion
8361
8451
  //#region src/plugins/@hey-api/client-axios/types.d.ts
8362
- type UserConfig$24 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8452
+ type UserConfig$25 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8363
8453
  /**
8364
8454
  * Throw an error instead of returning it in the response?
8365
8455
  *
@@ -8367,22 +8457,22 @@ type UserConfig$24 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8367
8457
  */
8368
8458
  throwOnError?: boolean;
8369
8459
  };
8370
- type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$24, UserConfig$24, IApi$18>;
8460
+ type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$25, UserConfig$25, IApi$19>;
8371
8461
  //#endregion
8372
8462
  //#region src/plugins/@hey-api/client-fetch/api.d.ts
8373
- type SelectorType$17 = 'client';
8374
- type IApi$17 = {
8463
+ type SelectorType$18 = 'client';
8464
+ type IApi$18 = {
8375
8465
  /**
8376
8466
  * @param type Selector type.
8377
8467
  * @param value Depends on `type`:
8378
8468
  * - `client`: never
8379
8469
  * @returns Selector array
8380
8470
  */
8381
- getSelector: (type: SelectorType$17, value?: string) => Selector;
8471
+ selector: (type: SelectorType$18, value?: string) => Selector;
8382
8472
  };
8383
8473
  //#endregion
8384
8474
  //#region src/plugins/@hey-api/client-fetch/types.d.ts
8385
- type UserConfig$23 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8475
+ type UserConfig$24 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8386
8476
  /**
8387
8477
  * Throw an error instead of returning it in the response?
8388
8478
  *
@@ -8390,22 +8480,22 @@ type UserConfig$23 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8390
8480
  */
8391
8481
  throwOnError?: boolean;
8392
8482
  };
8393
- type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$23, UserConfig$23, IApi$17>;
8483
+ type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$24, UserConfig$24, IApi$18>;
8394
8484
  //#endregion
8395
8485
  //#region src/plugins/@hey-api/client-next/api.d.ts
8396
- type SelectorType$16 = 'client';
8397
- type IApi$16 = {
8486
+ type SelectorType$17 = 'client';
8487
+ type IApi$17 = {
8398
8488
  /**
8399
8489
  * @param type Selector type.
8400
8490
  * @param value Depends on `type`:
8401
8491
  * - `client`: never
8402
8492
  * @returns Selector array
8403
8493
  */
8404
- getSelector: (type: SelectorType$16, value?: string) => Selector;
8494
+ selector: (type: SelectorType$17, value?: string) => Selector;
8405
8495
  };
8406
8496
  //#endregion
8407
8497
  //#region src/plugins/@hey-api/client-next/types.d.ts
8408
- type UserConfig$22 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8498
+ type UserConfig$23 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8409
8499
  /**
8410
8500
  * Throw an error instead of returning it in the response?
8411
8501
  *
@@ -8413,38 +8503,38 @@ type UserConfig$22 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8413
8503
  */
8414
8504
  throwOnError?: boolean;
8415
8505
  };
8416
- type HeyApiClientNextPlugin = DefinePlugin<UserConfig$22, UserConfig$22, IApi$16>;
8506
+ type HeyApiClientNextPlugin = DefinePlugin<UserConfig$23, UserConfig$23, IApi$17>;
8417
8507
  //#endregion
8418
8508
  //#region src/plugins/@hey-api/client-nuxt/api.d.ts
8419
- type SelectorType$15 = 'client';
8420
- type IApi$15 = {
8509
+ type SelectorType$16 = 'client';
8510
+ type IApi$16 = {
8421
8511
  /**
8422
8512
  * @param type Selector type.
8423
8513
  * @param value Depends on `type`:
8424
8514
  * - `client`: never
8425
8515
  * @returns Selector array
8426
8516
  */
8427
- getSelector: (type: SelectorType$15, value?: string) => Selector;
8517
+ selector: (type: SelectorType$16, value?: string) => Selector;
8428
8518
  };
8429
8519
  //#endregion
8430
8520
  //#region src/plugins/@hey-api/client-nuxt/types.d.ts
8431
- type UserConfig$21 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
8432
- type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$21, UserConfig$21, IApi$15>;
8521
+ type UserConfig$22 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
8522
+ type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$22, UserConfig$22, IApi$16>;
8433
8523
  //#endregion
8434
8524
  //#region src/plugins/@hey-api/client-ofetch/api.d.ts
8435
- type SelectorType$14 = 'client';
8436
- type IApi$14 = {
8525
+ type SelectorType$15 = 'client';
8526
+ type IApi$15 = {
8437
8527
  /**
8438
8528
  * @param type Selector type.
8439
8529
  * @param value Depends on `type`:
8440
8530
  * - `client`: never
8441
8531
  * @returns Selector array
8442
8532
  */
8443
- getSelector: (type: SelectorType$14, value?: string) => Selector;
8533
+ selector: (type: SelectorType$15, value?: string) => Selector;
8444
8534
  };
8445
8535
  //#endregion
8446
8536
  //#region src/plugins/@hey-api/client-ofetch/types.d.ts
8447
- type UserConfig$20 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8537
+ type UserConfig$21 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8448
8538
  /**
8449
8539
  * Throw an error instead of returning it in the response?
8450
8540
  *
@@ -8452,7 +8542,7 @@ type UserConfig$20 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8452
8542
  */
8453
8543
  throwOnError?: boolean;
8454
8544
  };
8455
- type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
8545
+ type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$21, UserConfig$21, IApi$15>;
8456
8546
  //#endregion
8457
8547
  //#region src/plugins/@hey-api/client-core/types.d.ts
8458
8548
  interface PluginHandler {
@@ -8522,19 +8612,19 @@ declare namespace Client {
8522
8612
  }
8523
8613
  //#endregion
8524
8614
  //#region src/plugins/@hey-api/client-angular/api.d.ts
8525
- type SelectorType$13 = 'client';
8526
- type IApi$13 = {
8615
+ type SelectorType$14 = 'client';
8616
+ type IApi$14 = {
8527
8617
  /**
8528
8618
  * @param type Selector type.
8529
8619
  * @param value Depends on `type`:
8530
8620
  * - `client`: never
8531
8621
  * @returns Selector array
8532
8622
  */
8533
- getSelector: (type: SelectorType$13, value?: string) => Selector;
8623
+ selector: (type: SelectorType$14, value?: string) => Selector;
8534
8624
  };
8535
8625
  //#endregion
8536
8626
  //#region src/plugins/@hey-api/client-angular/types.d.ts
8537
- type UserConfig$19 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8627
+ type UserConfig$20 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8538
8628
  /**
8539
8629
  * Throw an error instead of returning it in the response?
8540
8630
  *
@@ -8542,42 +8632,42 @@ type UserConfig$19 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8542
8632
  */
8543
8633
  throwOnError?: boolean;
8544
8634
  };
8545
- type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$19, UserConfig$19, IApi$13>;
8635
+ type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
8546
8636
  //#endregion
8547
8637
  //#region src/plugins/@hey-api/legacy-angular/types.d.ts
8548
- type UserConfig$18 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8549
- type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$18>;
8638
+ type UserConfig$19 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8639
+ type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$19>;
8550
8640
  //#endregion
8551
8641
  //#region src/plugins/@hey-api/legacy-axios/types.d.ts
8552
- type UserConfig$17 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8553
- type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$17>;
8642
+ type UserConfig$18 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8643
+ type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$18>;
8554
8644
  //#endregion
8555
8645
  //#region src/plugins/@hey-api/legacy-fetch/types.d.ts
8556
- type UserConfig$16 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8557
- type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$16>;
8646
+ type UserConfig$17 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8647
+ type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$17>;
8558
8648
  //#endregion
8559
8649
  //#region src/plugins/@hey-api/legacy-node/types.d.ts
8560
- type UserConfig$15 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8561
- type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$15>;
8650
+ type UserConfig$16 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8651
+ type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$16>;
8562
8652
  //#endregion
8563
8653
  //#region src/plugins/@hey-api/legacy-xhr/types.d.ts
8564
- type UserConfig$14 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8565
- type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$14>;
8654
+ type UserConfig$15 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8655
+ type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$15>;
8566
8656
  //#endregion
8567
8657
  //#region src/plugins/@hey-api/schemas/api.d.ts
8568
- type SelectorType$12 = 'ref';
8569
- type IApi$12 = {
8658
+ type SelectorType$13 = 'ref';
8659
+ type IApi$13 = {
8570
8660
  /**
8571
8661
  * @param type Selector type.
8572
8662
  * @param value Depends on `type`:
8573
8663
  * - `ref`: `$ref` JSON pointer
8574
8664
  * @returns Selector array
8575
8665
  */
8576
- getSelector: (type: SelectorType$12, value?: string) => Selector;
8666
+ selector: (type: SelectorType$13, value?: string) => Selector;
8577
8667
  };
8578
8668
  //#endregion
8579
8669
  //#region src/plugins/@hey-api/schemas/types.d.ts
8580
- type UserConfig$13 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8670
+ type UserConfig$14 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8581
8671
  /**
8582
8672
  * Should the exports from the generated files be re-exported in the index
8583
8673
  * barrel file?
@@ -8602,7 +8692,7 @@ type UserConfig$13 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8602
8692
  */
8603
8693
  type?: 'form' | 'json';
8604
8694
  };
8605
- type HeyApiSchemasPlugin = DefinePlugin<UserConfig$13, UserConfig$13, IApi$12>;
8695
+ type HeyApiSchemasPlugin = DefinePlugin<UserConfig$14, UserConfig$14, IApi$13>;
8606
8696
  declare namespace module_d_exports {
8607
8697
  export { ImportExportItem, createCallExpression, createConstVariable, createExportAllDeclaration, createNamedExportDeclarations, createNamedImportDeclarations };
8608
8698
  }
@@ -9781,8 +9871,8 @@ declare const createOperationComment: ({
9781
9871
  }) => Comments | undefined;
9782
9872
  //#endregion
9783
9873
  //#region src/plugins/@hey-api/sdk/api.d.ts
9784
- type SelectorType$11 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
9785
- type IApi$11 = {
9874
+ type SelectorType$12 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
9875
+ type IApi$12 = {
9786
9876
  createOperationComment: typeof createOperationComment;
9787
9877
  /**
9788
9878
  * @param type Selector type.
@@ -9798,11 +9888,11 @@ type IApi$11 = {
9798
9888
  * - `urlSearchParamsBodySerializer`: never
9799
9889
  * @returns Selector array
9800
9890
  */
9801
- getSelector: (type: SelectorType$11, value?: string) => Selector;
9891
+ selector: (type: SelectorType$12, value?: string) => Selector;
9802
9892
  };
9803
9893
  //#endregion
9804
9894
  //#region src/plugins/@hey-api/sdk/types.d.ts
9805
- type UserConfig$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9895
+ type UserConfig$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9806
9896
  /**
9807
9897
  * Group operation methods into classes? When enabled, you can select which
9808
9898
  * classes to export with `sdk.include` and/or transform their names with
@@ -9967,7 +10057,7 @@ type UserConfig$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9967
10057
  */
9968
10058
  response?: 'body' | 'response';
9969
10059
  };
9970
- type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
10060
+ type Config$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9971
10061
  /**
9972
10062
  * Group operation methods into classes? When enabled, you can select which
9973
10063
  * classes to export with `sdk.include` and/or transform their names with
@@ -10114,11 +10204,11 @@ type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
10114
10204
  */
10115
10205
  response: 'body' | 'response';
10116
10206
  };
10117
- type HeyApiSdkPlugin = DefinePlugin<UserConfig$12, Config$12, IApi$11>;
10207
+ type HeyApiSdkPlugin = DefinePlugin<UserConfig$13, Config$13, IApi$12>;
10118
10208
  //#endregion
10119
10209
  //#region src/plugins/@hey-api/transformers/api.d.ts
10120
- type SelectorType$10 = 'response' | 'response-ref';
10121
- type IApi$10 = {
10210
+ type SelectorType$11 = 'response' | 'response-ref';
10211
+ type IApi$11 = {
10122
10212
  /**
10123
10213
  * @param type Selector type.
10124
10214
  * @param value Depends on `type`:
@@ -10126,7 +10216,7 @@ type IApi$10 = {
10126
10216
  * - `response-ref`: `$ref` JSON pointer
10127
10217
  * @returns Selector array
10128
10218
  */
10129
- getSelector: (type: SelectorType$10, value?: string) => Selector;
10219
+ selector: (type: SelectorType$11, value?: string) => Selector;
10130
10220
  };
10131
10221
  //#endregion
10132
10222
  //#region src/plugins/@hey-api/transformers/expressions.d.ts
@@ -10135,7 +10225,7 @@ type ExpressionTransformer = ({
10135
10225
  dataExpression,
10136
10226
  schema
10137
10227
  }: {
10138
- config: Omit<UserConfig$11, 'name'>;
10228
+ config: Omit<UserConfig$12, 'name'>;
10139
10229
  dataExpression?: ts.Expression | string;
10140
10230
  schema: IR$1.SchemaObject;
10141
10231
  }) => Array<ts.Expression> | undefined;
@@ -10150,7 +10240,7 @@ type TypeTransformer = ({
10150
10240
  }: {
10151
10241
  schema: IR$1.SchemaObject;
10152
10242
  }) => ts.TypeNode | undefined;
10153
- type UserConfig$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10243
+ type UserConfig$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10154
10244
  /**
10155
10245
  * Convert long integers into BigInt values?
10156
10246
  *
@@ -10179,7 +10269,7 @@ type UserConfig$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10179
10269
  */
10180
10270
  typeTransformers?: ReadonlyArray<TypeTransformer>;
10181
10271
  };
10182
- type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10272
+ type Config$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10183
10273
  /**
10184
10274
  * Convert long integers into BigInt values?
10185
10275
  *
@@ -10208,7 +10298,7 @@ type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10208
10298
  */
10209
10299
  typeTransformers: ReadonlyArray<TypeTransformer>;
10210
10300
  };
10211
- type HeyApiTransformersPlugin = DefinePlugin<UserConfig$11, Config$11, IApi$10>;
10301
+ type HeyApiTransformersPlugin = DefinePlugin<UserConfig$12, Config$12, IApi$11>;
10212
10302
  //#endregion
10213
10303
  //#region src/plugins/@hey-api/typescript/plugin.d.ts
10214
10304
  declare const schemaToType: ({
@@ -10220,8 +10310,9 @@ declare const schemaToType: ({
10220
10310
  }) => ts.TypeNode;
10221
10311
  //#endregion
10222
10312
  //#region src/plugins/@hey-api/typescript/api.d.ts
10223
- type SelectorType$9 = 'ClientOptions' | 'data' | 'error' | 'errors' | 'ref' | 'response' | 'responses' | 'TypeID' | 'webhook-payload' | 'webhook-request' | 'Webhooks';
10224
- type IApi$9 = {
10313
+ type SelectorType$10 = 'ClientOptions' | 'data' | 'error' | 'errors' | 'ref' | 'response' | 'responses' | 'TypeID' | 'webhook-payload' | 'webhook-request' | 'Webhooks';
10314
+ type IApi$10 = {
10315
+ schemaToType: (args: Parameters<typeof schemaToType>[0]) => ts.TypeNode;
10225
10316
  /**
10226
10317
  * @param type Selector type.
10227
10318
  * @param value Depends on `type`:
@@ -10238,13 +10329,12 @@ type IApi$9 = {
10238
10329
  * - `Webhooks`: never
10239
10330
  * @returns Selector array
10240
10331
  */
10241
- getSelector: (type: SelectorType$9, value?: string) => Selector;
10242
- schemaToType: (args: Parameters<typeof schemaToType>[0]) => ts.TypeNode;
10332
+ selector: (type: SelectorType$10, value?: string) => Selector;
10243
10333
  };
10244
10334
  //#endregion
10245
10335
  //#region src/plugins/@hey-api/typescript/types.d.ts
10246
10336
  type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
10247
- type UserConfig$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10337
+ type UserConfig$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10248
10338
  /**
10249
10339
  * The casing convention to use for generated names.
10250
10340
  *
@@ -10497,7 +10587,7 @@ type UserConfig$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10497
10587
  */
10498
10588
  tree?: boolean;
10499
10589
  };
10500
- type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10590
+ type Config$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10501
10591
  /**
10502
10592
  * The casing convention to use for generated names.
10503
10593
  *
@@ -10718,11 +10808,11 @@ type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10718
10808
  */
10719
10809
  tree: boolean;
10720
10810
  };
10721
- type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$10, Config$10, IApi$9>;
10811
+ type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$11, Config$11, IApi$10>;
10722
10812
  //#endregion
10723
10813
  //#region src/plugins/@pinia/colada/api.d.ts
10724
- type SelectorType$8 = '_JSONValue' | 'AxiosError' | 'createQueryKey' | 'defineQueryOptions' | 'QueryKey' | 'queryOptionsFn' | 'serializeQueryKeyValue' | 'UseMutationOptions' | 'UseQueryOptions';
10725
- type IApi$8 = {
10814
+ type SelectorType$9 = '_JSONValue' | 'AxiosError' | 'createQueryKey' | 'defineQueryOptions' | 'QueryKey' | 'queryOptionsFn' | 'serializeQueryKeyValue' | 'UseMutationOptions' | 'UseQueryOptions';
10815
+ type IApi$9 = {
10726
10816
  /**
10727
10817
  * @param type Selector type.
10728
10818
  * @param value Depends on `type`:
@@ -10737,11 +10827,11 @@ type IApi$8 = {
10737
10827
  * - `UseQueryOptions`: never
10738
10828
  * @returns Selector array
10739
10829
  */
10740
- getSelector: (type: SelectorType$8, value?: string) => Selector;
10830
+ selector: (type: SelectorType$9, value?: string) => Selector;
10741
10831
  };
10742
10832
  //#endregion
10743
10833
  //#region src/plugins/@pinia/colada/types.d.ts
10744
- type UserConfig$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10834
+ type UserConfig$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10745
10835
  /**
10746
10836
  * The casing convention to use for generated names.
10747
10837
  *
@@ -10919,7 +11009,7 @@ type UserConfig$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10919
11009
  name?: StringName;
10920
11010
  };
10921
11011
  };
10922
- type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
11012
+ type Config$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10923
11013
  /**
10924
11014
  * The casing convention to use for generated names.
10925
11015
  *
@@ -11068,11 +11158,11 @@ type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
11068
11158
  name: StringName;
11069
11159
  };
11070
11160
  };
11071
- type PiniaColadaPlugin = DefinePlugin<UserConfig$9, Config$9, IApi$8>;
11161
+ type PiniaColadaPlugin = DefinePlugin<UserConfig$10, Config$10, IApi$9>;
11072
11162
  //#endregion
11073
11163
  //#region src/plugins/@tanstack/angular-query-experimental/api.d.ts
11074
- type SelectorType$7 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11075
- type IApi$7 = {
11164
+ type SelectorType$8 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11165
+ type IApi$8 = {
11076
11166
  /**
11077
11167
  * @param type Selector type.
11078
11168
  * @param value Depends on `type`:
@@ -11089,11 +11179,11 @@ type IApi$7 = {
11089
11179
  * - `useQuery`: never
11090
11180
  * @returns Selector array
11091
11181
  */
11092
- getSelector: (type: SelectorType$7, value?: string) => Selector;
11182
+ selector: (type: SelectorType$8, value?: string) => Selector;
11093
11183
  };
11094
11184
  //#endregion
11095
11185
  //#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
11096
- type UserConfig$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11186
+ type UserConfig$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11097
11187
  /**
11098
11188
  * The casing convention to use for generated names.
11099
11189
  *
@@ -11374,7 +11464,7 @@ type UserConfig$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin
11374
11464
  name?: StringName;
11375
11465
  };
11376
11466
  };
11377
- type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11467
+ type Config$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11378
11468
  /**
11379
11469
  * The casing convention to use for generated names.
11380
11470
  *
@@ -11615,11 +11705,11 @@ type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hoo
11615
11705
  name: StringName;
11616
11706
  };
11617
11707
  };
11618
- type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$8, Config$8, IApi$7>;
11708
+ type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$9, Config$9, IApi$8>;
11619
11709
  //#endregion
11620
11710
  //#region src/plugins/@tanstack/react-query/api.d.ts
11621
- type SelectorType$6 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11622
- type IApi$6 = {
11711
+ type SelectorType$7 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11712
+ type IApi$7 = {
11623
11713
  /**
11624
11714
  * @param type Selector type.
11625
11715
  * @param value Depends on `type`:
@@ -11636,11 +11726,11 @@ type IApi$6 = {
11636
11726
  * - `useQuery`: never
11637
11727
  * @returns Selector array
11638
11728
  */
11639
- getSelector: (type: SelectorType$6, value?: string) => Selector;
11729
+ selector: (type: SelectorType$7, value?: string) => Selector;
11640
11730
  };
11641
11731
  //#endregion
11642
11732
  //#region src/plugins/@tanstack/react-query/types.d.ts
11643
- type UserConfig$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11733
+ type UserConfig$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11644
11734
  /**
11645
11735
  * The casing convention to use for generated names.
11646
11736
  *
@@ -11965,7 +12055,7 @@ type UserConfig$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11965
12055
  name?: StringName;
11966
12056
  };
11967
12057
  };
11968
- type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
12058
+ type Config$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11969
12059
  /**
11970
12060
  * The casing convention to use for generated names.
11971
12061
  *
@@ -12237,11 +12327,11 @@ type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
12237
12327
  name: StringName;
12238
12328
  };
12239
12329
  };
12240
- type TanStackReactQueryPlugin = DefinePlugin<UserConfig$7, Config$7, IApi$6>;
12330
+ type TanStackReactQueryPlugin = DefinePlugin<UserConfig$8, Config$8, IApi$7>;
12241
12331
  //#endregion
12242
12332
  //#region src/plugins/@tanstack/solid-query/api.d.ts
12243
- type SelectorType$5 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12244
- type IApi$5 = {
12333
+ type SelectorType$6 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12334
+ type IApi$6 = {
12245
12335
  /**
12246
12336
  * @param type Selector type.
12247
12337
  * @param value Depends on `type`:
@@ -12258,11 +12348,11 @@ type IApi$5 = {
12258
12348
  * - `useQuery`: never
12259
12349
  * @returns Selector array
12260
12350
  */
12261
- getSelector: (type: SelectorType$5, value?: string) => Selector;
12351
+ selector: (type: SelectorType$6, value?: string) => Selector;
12262
12352
  };
12263
12353
  //#endregion
12264
12354
  //#region src/plugins/@tanstack/solid-query/types.d.ts
12265
- type UserConfig$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12355
+ type UserConfig$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12266
12356
  /**
12267
12357
  * The casing convention to use for generated names.
12268
12358
  *
@@ -12544,7 +12634,7 @@ type UserConfig$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12544
12634
  name?: StringName;
12545
12635
  };
12546
12636
  };
12547
- type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12637
+ type Config$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12548
12638
  /**
12549
12639
  * The casing convention to use for generated names.
12550
12640
  *
@@ -12785,11 +12875,11 @@ type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12785
12875
  name: StringName;
12786
12876
  };
12787
12877
  };
12788
- type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$6, Config$6, IApi$5>;
12878
+ type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$7, Config$7, IApi$6>;
12789
12879
  //#endregion
12790
12880
  //#region src/plugins/@tanstack/svelte-query/api.d.ts
12791
- type SelectorType$4 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12792
- type IApi$4 = {
12881
+ type SelectorType$5 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12882
+ type IApi$5 = {
12793
12883
  /**
12794
12884
  * @param type Selector type.
12795
12885
  * @param value Depends on `type`:
@@ -12806,11 +12896,11 @@ type IApi$4 = {
12806
12896
  * - `useQuery`: never
12807
12897
  * @returns Selector array
12808
12898
  */
12809
- getSelector: (type: SelectorType$4, value?: string) => Selector;
12899
+ selector: (type: SelectorType$5, value?: string) => Selector;
12810
12900
  };
12811
12901
  //#endregion
12812
12902
  //#region src/plugins/@tanstack/svelte-query/types.d.ts
12813
- type UserConfig$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
12903
+ type UserConfig$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
12814
12904
  /**
12815
12905
  * The casing convention to use for generated names.
12816
12906
  *
@@ -13091,7 +13181,7 @@ type UserConfig$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13091
13181
  name?: StringName;
13092
13182
  };
13093
13183
  };
13094
- type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13184
+ type Config$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13095
13185
  /**
13096
13186
  * The casing convention to use for generated names.
13097
13187
  *
@@ -13332,11 +13422,11 @@ type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13332
13422
  name: StringName;
13333
13423
  };
13334
13424
  };
13335
- type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$5, Config$5, IApi$4>;
13425
+ type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$6, Config$6, IApi$5>;
13336
13426
  //#endregion
13337
13427
  //#region src/plugins/@tanstack/vue-query/api.d.ts
13338
- type SelectorType$3 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
13339
- type IApi$3 = {
13428
+ type SelectorType$4 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
13429
+ type IApi$4 = {
13340
13430
  /**
13341
13431
  * @param type Selector type.
13342
13432
  * @param value Depends on `type`:
@@ -13353,11 +13443,11 @@ type IApi$3 = {
13353
13443
  * - `useQuery`: never
13354
13444
  * @returns Selector array
13355
13445
  */
13356
- getSelector: (type: SelectorType$3, value?: string) => Selector;
13446
+ selector: (type: SelectorType$4, value?: string) => Selector;
13357
13447
  };
13358
13448
  //#endregion
13359
13449
  //#region src/plugins/@tanstack/vue-query/types.d.ts
13360
- type UserConfig$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13450
+ type UserConfig$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13361
13451
  /**
13362
13452
  * The casing convention to use for generated names.
13363
13453
  *
@@ -13641,7 +13731,7 @@ type UserConfig$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13641
13731
  name?: StringName;
13642
13732
  };
13643
13733
  };
13644
- type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13734
+ type Config$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13645
13735
  /**
13646
13736
  * The casing convention to use for generated names.
13647
13737
  *
@@ -13885,64 +13975,46 @@ type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13885
13975
  name: StringName;
13886
13976
  };
13887
13977
  };
13888
- type TanStackVueQueryPlugin = DefinePlugin<UserConfig$4, Config$4, IApi$3>;
13889
- //#endregion
13890
- //#region src/plugins/fastify/api.d.ts
13891
- type SelectorType$2 = 'RouteHandler';
13892
- type IApi$2 = {
13893
- /**
13894
- * @param type Selector type.
13895
- * @param value Depends on `type`:
13896
- * - `RouteHandler`: never
13897
- * @returns Selector array
13898
- */
13899
- getSelector: (type: SelectorType$2, value?: string) => Selector;
13900
- };
13901
- //#endregion
13902
- //#region src/plugins/fastify/types.d.ts
13903
- type UserConfig$3 = Plugin.Name<'fastify'> & Plugin.Hooks & {
13904
- /**
13905
- * Should the exports from the generated files be re-exported in the index
13906
- * barrel file?
13907
- *
13908
- * @default false
13909
- */
13910
- exportFromIndex?: boolean;
13911
- };
13912
- type FastifyPlugin = DefinePlugin<UserConfig$3, UserConfig$3, IApi$2>;
13978
+ type TanStackVueQueryPlugin = DefinePlugin<UserConfig$5, Config$5, IApi$4>;
13913
13979
  //#endregion
13914
- //#region src/plugins/valibot/api.d.ts
13915
- type SelectorType$1 = 'data' | 'import' | 'ref' | 'responses' | 'webhook-request';
13916
- type ValidatorArgs$1 = {
13980
+ //#region src/plugins/arktype/shared/types.d.ts
13981
+ type ValidatorArgs$2 = {
13917
13982
  operation: IR$1.OperationObject;
13918
- plugin: ValibotPlugin['Instance'];
13983
+ plugin: ArktypePlugin['Instance'];
13919
13984
  };
13920
- type IApi$1 = {
13921
- createRequestValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
13922
- createResponseValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
13985
+ //#endregion
13986
+ //#region src/plugins/arktype/api.d.ts
13987
+ type SelectorType$3 = 'data' | 'external' | 'ref' | 'responses' | 'type-infer-data' | 'type-infer-ref' | 'type-infer-responses' | 'type-infer-webhook-request' | 'webhook-request';
13988
+ type IApi$3 = {
13989
+ createRequestValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
13990
+ createResponseValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
13923
13991
  /**
13924
13992
  * @param type Selector type.
13925
13993
  * @param value Depends on `type`:
13926
13994
  * - `data`: `operation.id` string
13927
- * - `import`: headless symbols representing module imports
13995
+ * - `external`: external modules
13928
13996
  * - `ref`: `$ref` JSON pointer
13929
13997
  * - `responses`: `operation.id` string
13998
+ * - `type-infer-data`: `operation.id` string
13999
+ * - `type-infer-ref`: `$ref` JSON pointer
14000
+ * - `type-infer-responses`: `operation.id` string
14001
+ * - `type-infer-webhook-request`: `operation.id` string
13930
14002
  * - `webhook-request`: `operation.id` string
13931
14003
  * @returns Selector array
13932
14004
  */
13933
- getSelector: (type: SelectorType$1, value?: string) => Selector;
14005
+ selector: (type: SelectorType$3, value?: string) => Selector;
13934
14006
  };
13935
14007
  //#endregion
13936
- //#region src/plugins/valibot/types.d.ts
13937
- type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
14008
+ //#region src/plugins/arktype/types.d.ts
14009
+ type UserConfig$4 = Plugin.Name<'arktype'> & Plugin.Hooks & {
13938
14010
  /**
13939
14011
  * The casing convention to use for generated names.
13940
14012
  *
13941
- * @default 'camelCase'
14013
+ * @default 'PascalCase'
13942
14014
  */
13943
14015
  case?: StringCase;
13944
14016
  /**
13945
- * Add comments from input to the generated Valibot schemas?
14017
+ * Add comments from input to the generated Arktype schemas?
13946
14018
  *
13947
14019
  * @default true
13948
14020
  */
@@ -13950,7 +14022,7 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13950
14022
  /**
13951
14023
  * Configuration for reusable schema definitions.
13952
14024
  *
13953
- * Controls generation of shared Valibot schemas that can be referenced
14025
+ * Controls generation of shared Arktype schemas that can be referenced
13954
14026
  * across requests and responses.
13955
14027
  *
13956
14028
  * Can be:
@@ -13962,11 +14034,11 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13962
14034
  /**
13963
14035
  * The casing convention to use for generated names.
13964
14036
  *
13965
- * @default 'camelCase'
14037
+ * @default 'PascalCase'
13966
14038
  */
13967
14039
  case?: StringCase;
13968
14040
  /**
13969
- * Whether to generate Valibot schemas for reusable definitions.
14041
+ * Whether to generate Arktype schemas for reusable definitions.
13970
14042
  *
13971
14043
  * @default true
13972
14044
  */
@@ -13975,14 +14047,694 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13975
14047
  * Custom naming pattern for generated schema names. The name variable
13976
14048
  * is obtained from the schema name.
13977
14049
  *
13978
- * @default 'v{{name}}'
14050
+ * @default '{{name}}'
13979
14051
  */
13980
14052
  name?: StringName;
13981
- };
13982
- /**
13983
- * Should the exports from the generated files be re-exported in the index
13984
- * barrel file?
13985
- *
14053
+ /**
14054
+ * Configuration for TypeScript type generation from Arktype schemas.
14055
+ *
14056
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14057
+ */
14058
+ types?: {
14059
+ /**
14060
+ * Configuration for `infer` types.
14061
+ *
14062
+ * Can be:
14063
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14064
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14065
+ * - `object`: Full configuration object
14066
+ *
14067
+ * @default false
14068
+ */
14069
+ infer?: boolean | StringName | {
14070
+ /**
14071
+ * The casing convention to use for generated type names.
14072
+ *
14073
+ * @default 'PascalCase'
14074
+ */
14075
+ case?: StringCase;
14076
+ /**
14077
+ * Whether to generate TypeScript types from Arktype schemas.
14078
+ *
14079
+ * @default true
14080
+ */
14081
+ enabled?: boolean;
14082
+ /**
14083
+ * Custom naming pattern for generated type names. The name variable is
14084
+ * obtained from the Arktype schema name.
14085
+ *
14086
+ * @default '{{name}}'
14087
+ */
14088
+ name?: StringName;
14089
+ };
14090
+ };
14091
+ };
14092
+ /**
14093
+ * Should the exports from the generated files be re-exported in the index
14094
+ * barrel file?
14095
+ *
14096
+ * @default false
14097
+ */
14098
+ exportFromIndex?: boolean;
14099
+ /**
14100
+ * Enable Arktype metadata support? It's often useful to associate a schema
14101
+ * with some additional metadata for documentation, code generation, AI
14102
+ * structured outputs, form validation, and other purposes.
14103
+ *
14104
+ * @default false
14105
+ */
14106
+ metadata?: boolean;
14107
+ /**
14108
+ * Configuration for request-specific Arktype schemas.
14109
+ *
14110
+ * Controls generation of Arktype schemas for request bodies, query parameters, path
14111
+ * parameters, and headers.
14112
+ *
14113
+ * Can be:
14114
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14115
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14116
+ * - `object`: Full configuration object
14117
+ *
14118
+ * @default true
14119
+ */
14120
+ requests?: boolean | StringName | {
14121
+ /**
14122
+ * The casing convention to use for generated names.
14123
+ *
14124
+ * @default 'PascalCase'
14125
+ */
14126
+ case?: StringCase;
14127
+ /**
14128
+ * Whether to generate Arktype schemas for request definitions.
14129
+ *
14130
+ * @default true
14131
+ */
14132
+ enabled?: boolean;
14133
+ /**
14134
+ * Custom naming pattern for generated schema names. The name variable
14135
+ * is obtained from the operation name.
14136
+ *
14137
+ * @default '{{name}}Data'
14138
+ */
14139
+ name?: StringName;
14140
+ /**
14141
+ * Configuration for TypeScript type generation from Arktype schemas.
14142
+ *
14143
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14144
+ */
14145
+ types?: {
14146
+ /**
14147
+ * Configuration for `infer` types.
14148
+ *
14149
+ * Can be:
14150
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14151
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14152
+ * - `object`: Full configuration object
14153
+ *
14154
+ * @default false
14155
+ */
14156
+ infer?: boolean | StringName | {
14157
+ /**
14158
+ * The casing convention to use for generated type names.
14159
+ *
14160
+ * @default 'PascalCase'
14161
+ */
14162
+ case?: StringCase;
14163
+ /**
14164
+ * Whether to generate TypeScript types from Arktype schemas.
14165
+ *
14166
+ * @default true
14167
+ */
14168
+ enabled?: boolean;
14169
+ /**
14170
+ * Custom naming pattern for generated type names. The name variable is
14171
+ * obtained from the Arktype schema name.
14172
+ *
14173
+ * @default '{{name}}Data'
14174
+ */
14175
+ name?: StringName;
14176
+ };
14177
+ };
14178
+ };
14179
+ /**
14180
+ * Configuration for response-specific Arktype schemas.
14181
+ *
14182
+ * Controls generation of Arktype schemas for response bodies, error responses,
14183
+ * and status codes.
14184
+ *
14185
+ * Can be:
14186
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14187
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14188
+ * - `object`: Full configuration object
14189
+ *
14190
+ * @default true
14191
+ */
14192
+ responses?: boolean | StringName | {
14193
+ /**
14194
+ * The casing convention to use for generated names.
14195
+ *
14196
+ * @default 'PascalCase'
14197
+ */
14198
+ case?: StringCase;
14199
+ /**
14200
+ * Whether to generate Arktype schemas for response definitions.
14201
+ *
14202
+ * @default true
14203
+ */
14204
+ enabled?: boolean;
14205
+ /**
14206
+ * Custom naming pattern for generated schema names. The name variable
14207
+ * is obtained from the operation name.
14208
+ *
14209
+ * @default '{{name}}Response'
14210
+ */
14211
+ name?: StringName;
14212
+ /**
14213
+ * Configuration for TypeScript type generation from Arktype schemas.
14214
+ *
14215
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14216
+ */
14217
+ types?: {
14218
+ /**
14219
+ * Configuration for `infer` types.
14220
+ *
14221
+ * Can be:
14222
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14223
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14224
+ * - `object`: Full configuration object
14225
+ *
14226
+ * @default false
14227
+ */
14228
+ infer?: boolean | StringName | {
14229
+ /**
14230
+ * The casing convention to use for generated type names.
14231
+ *
14232
+ * @default 'PascalCase'
14233
+ */
14234
+ case?: StringCase;
14235
+ /**
14236
+ * Whether to generate TypeScript types from Arktype schemas.
14237
+ *
14238
+ * @default true
14239
+ */
14240
+ enabled?: boolean;
14241
+ /**
14242
+ * Custom naming pattern for generated type names. The name variable is
14243
+ * obtained from the Arktype schema name.
14244
+ *
14245
+ * @default '{{name}}Response'
14246
+ */
14247
+ name?: StringName;
14248
+ };
14249
+ };
14250
+ };
14251
+ /**
14252
+ * Configuration for TypeScript type generation from Arktype schemas.
14253
+ *
14254
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14255
+ */
14256
+ types?: {
14257
+ /**
14258
+ * Configuration for `infer` types.
14259
+ *
14260
+ * Can be:
14261
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14262
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14263
+ * - `object`: Full configuration object
14264
+ *
14265
+ * @default false
14266
+ */
14267
+ infer?: boolean | StringName | {
14268
+ /**
14269
+ * The casing convention to use for generated type names.
14270
+ *
14271
+ * @default 'PascalCase'
14272
+ */
14273
+ case?: StringCase;
14274
+ /**
14275
+ * Whether to generate TypeScript types from Arktype schemas.
14276
+ *
14277
+ * @default true
14278
+ */
14279
+ enabled?: boolean;
14280
+ };
14281
+ };
14282
+ /**
14283
+ * Configuration for webhook-specific Arktype schemas.
14284
+ *
14285
+ * Controls generation of Arktype schemas for webhook payloads.
14286
+ *
14287
+ * Can be:
14288
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14289
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14290
+ * - `object`: Full configuration object
14291
+ *
14292
+ * @default true
14293
+ */
14294
+ webhooks?: boolean | StringName | {
14295
+ /**
14296
+ * The casing convention to use for generated names.
14297
+ *
14298
+ * @default 'PascalCase'
14299
+ */
14300
+ case?: StringCase;
14301
+ /**
14302
+ * Whether to generate Arktype schemas for webhook definitions.
14303
+ *
14304
+ * @default true
14305
+ */
14306
+ enabled?: boolean;
14307
+ /**
14308
+ * Custom naming pattern for generated schema names. The name variable
14309
+ * is obtained from the webhook key.
14310
+ *
14311
+ * @default '{{name}}WebhookRequest'
14312
+ */
14313
+ name?: StringName;
14314
+ /**
14315
+ * Configuration for TypeScript type generation from Arktype schemas.
14316
+ *
14317
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14318
+ */
14319
+ types?: {
14320
+ /**
14321
+ * Configuration for `infer` types.
14322
+ *
14323
+ * Can be:
14324
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14325
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14326
+ * - `object`: Full configuration object
14327
+ *
14328
+ * @default false
14329
+ */
14330
+ infer?: boolean | StringName | {
14331
+ /**
14332
+ * The casing convention to use for generated type names.
14333
+ *
14334
+ * @default 'PascalCase'
14335
+ */
14336
+ case?: StringCase;
14337
+ /**
14338
+ * Whether to generate TypeScript types from Arktype schemas.
14339
+ *
14340
+ * @default true
14341
+ */
14342
+ enabled?: boolean;
14343
+ /**
14344
+ * Custom naming pattern for generated type names. The name variable is
14345
+ * obtained from the Arktype schema name.
14346
+ *
14347
+ * @default '{{name}}WebhookRequest'
14348
+ */
14349
+ name?: StringName;
14350
+ };
14351
+ };
14352
+ };
14353
+ };
14354
+ type Config$4 = Plugin.Name<'arktype'> & Plugin.Hooks & {
14355
+ /**
14356
+ * The casing convention to use for generated names.
14357
+ *
14358
+ * @default 'PascalCase'
14359
+ */
14360
+ case: StringCase;
14361
+ /**
14362
+ * Add comments from input to the generated Arktype schemas?
14363
+ *
14364
+ * @default true
14365
+ */
14366
+ comments: boolean;
14367
+ /**
14368
+ * Configuration for reusable schema definitions.
14369
+ *
14370
+ * Controls generation of shared Arktype schemas that can be referenced across
14371
+ * requests and responses.
14372
+ */
14373
+ definitions: {
14374
+ /**
14375
+ * The casing convention to use for generated names.
14376
+ *
14377
+ * @default 'PascalCase'
14378
+ */
14379
+ case: StringCase;
14380
+ /**
14381
+ * Whether to generate Arktype schemas for reusable definitions.
14382
+ *
14383
+ * @default true
14384
+ */
14385
+ enabled: boolean;
14386
+ /**
14387
+ * Custom naming pattern for generated schema names. The name variable is
14388
+ * obtained from the schema name.
14389
+ *
14390
+ * @default '{{name}}'
14391
+ */
14392
+ name: StringName;
14393
+ /**
14394
+ * Configuration for TypeScript type generation from Arktype schemas.
14395
+ *
14396
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14397
+ */
14398
+ types: {
14399
+ /**
14400
+ * Configuration for `infer` types.
14401
+ */
14402
+ infer: {
14403
+ /**
14404
+ * The casing convention to use for generated type names.
14405
+ *
14406
+ * @default 'PascalCase'
14407
+ */
14408
+ case: StringCase;
14409
+ /**
14410
+ * Whether to generate TypeScript types from Arktype schemas.
14411
+ *
14412
+ * @default true
14413
+ */
14414
+ enabled: boolean;
14415
+ /**
14416
+ * Custom naming pattern for generated type names. The name variable is
14417
+ * obtained from the Arktype schema name.
14418
+ *
14419
+ * @default '{{name}}'
14420
+ */
14421
+ name: StringName;
14422
+ };
14423
+ };
14424
+ };
14425
+ /**
14426
+ * Should the exports from the generated files be re-exported in the index
14427
+ * barrel file?
14428
+ *
14429
+ * @default false
14430
+ */
14431
+ exportFromIndex: boolean;
14432
+ /**
14433
+ * Enable Arktype metadata support? It's often useful to associate a schema with
14434
+ * some additional metadata for documentation, code generation, AI
14435
+ * structured outputs, form validation, and other purposes.
14436
+ *
14437
+ * @default false
14438
+ */
14439
+ metadata: boolean;
14440
+ /**
14441
+ * Configuration for request-specific Arktype schemas.
14442
+ *
14443
+ * Controls generation of Arktype schemas for request bodies, query parameters, path
14444
+ * parameters, and headers.
14445
+ */
14446
+ requests: {
14447
+ /**
14448
+ * The casing convention to use for generated names.
14449
+ *
14450
+ * @default 'PascalCase'
14451
+ */
14452
+ case: StringCase;
14453
+ /**
14454
+ * Whether to generate Arktype schemas for request definitions.
14455
+ *
14456
+ * @default true
14457
+ */
14458
+ enabled: boolean;
14459
+ /**
14460
+ * Custom naming pattern for generated schema names. The name variable is
14461
+ * obtained from the operation name.
14462
+ *
14463
+ * @default '{{name}}Data'
14464
+ */
14465
+ name: StringName;
14466
+ /**
14467
+ * Configuration for TypeScript type generation from Arktype schemas.
14468
+ *
14469
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14470
+ */
14471
+ types: {
14472
+ /**
14473
+ * Configuration for `infer` types.
14474
+ */
14475
+ infer: {
14476
+ /**
14477
+ * The casing convention to use for generated type names.
14478
+ *
14479
+ * @default 'PascalCase'
14480
+ */
14481
+ case: StringCase;
14482
+ /**
14483
+ * Whether to generate TypeScript types from Arktype schemas.
14484
+ *
14485
+ * @default true
14486
+ */
14487
+ enabled: boolean;
14488
+ /**
14489
+ * Custom naming pattern for generated type names. The name variable is
14490
+ * obtained from the Arktype schema name.
14491
+ *
14492
+ * @default '{{name}}Data'
14493
+ */
14494
+ name: StringName;
14495
+ };
14496
+ };
14497
+ };
14498
+ /**
14499
+ * Configuration for response-specific Arktype schemas.
14500
+ *
14501
+ * Controls generation of Arktype schemas for response bodies, error responses,
14502
+ * and status codes.
14503
+ */
14504
+ responses: {
14505
+ /**
14506
+ * The casing convention to use for generated names.
14507
+ *
14508
+ * @default 'PascalCase'
14509
+ */
14510
+ case: StringCase;
14511
+ /**
14512
+ * Whether to generate Arktype schemas for response definitions.
14513
+ *
14514
+ * @default true
14515
+ */
14516
+ enabled: boolean;
14517
+ /**
14518
+ * Custom naming pattern for generated schema names. The name variable is
14519
+ * obtained from the operation name.
14520
+ *
14521
+ * @default '{{name}}Response'
14522
+ */
14523
+ name: StringName;
14524
+ /**
14525
+ * Configuration for TypeScript type generation from Arktype schemas.
14526
+ *
14527
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14528
+ */
14529
+ types: {
14530
+ /**
14531
+ * Configuration for `infer` types.
14532
+ */
14533
+ infer: {
14534
+ /**
14535
+ * The casing convention to use for generated type names.
14536
+ *
14537
+ * @default 'PascalCase'
14538
+ */
14539
+ case: StringCase;
14540
+ /**
14541
+ * Whether to generate TypeScript types from Arktype schemas.
14542
+ *
14543
+ * @default true
14544
+ */
14545
+ enabled: boolean;
14546
+ /**
14547
+ * Custom naming pattern for generated type names. The name variable is
14548
+ * obtained from the Arktype schema name.
14549
+ *
14550
+ * @default '{{name}}Response'
14551
+ */
14552
+ name: StringName;
14553
+ };
14554
+ };
14555
+ };
14556
+ /**
14557
+ * Configuration for TypeScript type generation from Arktype schemas.
14558
+ *
14559
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14560
+ */
14561
+ types: {
14562
+ /**
14563
+ * Configuration for `infer` types.
14564
+ */
14565
+ infer: {
14566
+ /**
14567
+ * The casing convention to use for generated type names.
14568
+ *
14569
+ * @default 'PascalCase'
14570
+ */
14571
+ case: StringCase;
14572
+ /**
14573
+ * Whether to generate TypeScript types from Arktype schemas.
14574
+ *
14575
+ * @default true
14576
+ */
14577
+ enabled: boolean;
14578
+ };
14579
+ };
14580
+ /**
14581
+ * Configuration for webhook-specific Arktype schemas.
14582
+ *
14583
+ * Controls generation of Arktype schemas for webhook payloads.
14584
+ */
14585
+ webhooks: {
14586
+ /**
14587
+ * The casing convention to use for generated names.
14588
+ *
14589
+ * @default 'PascalCase'
14590
+ */
14591
+ case: StringCase;
14592
+ /**
14593
+ * Whether to generate Arktype schemas for webhook definitions.
14594
+ *
14595
+ * @default true
14596
+ */
14597
+ enabled: boolean;
14598
+ /**
14599
+ * Custom naming pattern for generated schema names. The name variable is
14600
+ * is obtained from the webhook key.
14601
+ *
14602
+ * @default '{{name}}WebhookRequest'
14603
+ */
14604
+ name: StringName;
14605
+ /**
14606
+ * Configuration for TypeScript type generation from Arktype schemas.
14607
+ *
14608
+ * Controls generation of TypeScript types based on the generated Arktype schemas.
14609
+ */
14610
+ types: {
14611
+ /**
14612
+ * Configuration for `infer` types.
14613
+ */
14614
+ infer: {
14615
+ /**
14616
+ * The casing convention to use for generated type names.
14617
+ *
14618
+ * @default 'PascalCase'
14619
+ */
14620
+ case: StringCase;
14621
+ /**
14622
+ * Whether to generate TypeScript types from Arktype schemas.
14623
+ *
14624
+ * @default true
14625
+ */
14626
+ enabled: boolean;
14627
+ /**
14628
+ * Custom naming pattern for generated type names. The name variable is
14629
+ * obtained from the Arktype schema name.
14630
+ *
14631
+ * @default '{{name}}WebhookRequest'
14632
+ */
14633
+ name: StringName;
14634
+ };
14635
+ };
14636
+ };
14637
+ };
14638
+ type ArktypePlugin = DefinePlugin<UserConfig$4, Config$4, IApi$3>;
14639
+ //#endregion
14640
+ //#region src/plugins/fastify/api.d.ts
14641
+ type SelectorType$2 = 'RouteHandler';
14642
+ type IApi$2 = {
14643
+ /**
14644
+ * @param type Selector type.
14645
+ * @param value Depends on `type`:
14646
+ * - `RouteHandler`: never
14647
+ * @returns Selector array
14648
+ */
14649
+ selector: (type: SelectorType$2, value?: string) => Selector;
14650
+ };
14651
+ //#endregion
14652
+ //#region src/plugins/fastify/types.d.ts
14653
+ type UserConfig$3 = Plugin.Name<'fastify'> & Plugin.Hooks & {
14654
+ /**
14655
+ * Should the exports from the generated files be re-exported in the index
14656
+ * barrel file?
14657
+ *
14658
+ * @default false
14659
+ */
14660
+ exportFromIndex?: boolean;
14661
+ };
14662
+ type FastifyPlugin = DefinePlugin<UserConfig$3, UserConfig$3, IApi$2>;
14663
+ //#endregion
14664
+ //#region src/plugins/valibot/shared/types.d.ts
14665
+ type ValidatorArgs$1 = {
14666
+ operation: IR$1.OperationObject;
14667
+ plugin: ValibotPlugin['Instance'];
14668
+ };
14669
+ //#endregion
14670
+ //#region src/plugins/valibot/api.d.ts
14671
+ type SelectorType$1 = 'data' | 'external' | 'ref' | 'responses' | 'webhook-request';
14672
+ type IApi$1 = {
14673
+ createRequestValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
14674
+ createResponseValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
14675
+ /**
14676
+ * @param type Selector type.
14677
+ * @param value Depends on `type`:
14678
+ * - `data`: `operation.id` string
14679
+ * - `external`: external modules
14680
+ * - `ref`: `$ref` JSON pointer
14681
+ * - `responses`: `operation.id` string
14682
+ * - `webhook-request`: `operation.id` string
14683
+ * @returns Selector array
14684
+ */
14685
+ selector: (type: SelectorType$1, value?: string) => Selector;
14686
+ };
14687
+ //#endregion
14688
+ //#region src/plugins/valibot/types.d.ts
14689
+ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
14690
+ /**
14691
+ * The casing convention to use for generated names.
14692
+ *
14693
+ * @default 'camelCase'
14694
+ */
14695
+ case?: StringCase;
14696
+ /**
14697
+ * Add comments from input to the generated Valibot schemas?
14698
+ *
14699
+ * @default true
14700
+ */
14701
+ comments?: boolean;
14702
+ /**
14703
+ * Configuration for reusable schema definitions.
14704
+ *
14705
+ * Controls generation of shared Valibot schemas that can be referenced
14706
+ * across requests and responses.
14707
+ *
14708
+ * Can be:
14709
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
14710
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
14711
+ * - `object`: Full configuration object
14712
+ */
14713
+ definitions?: boolean | StringName | {
14714
+ /**
14715
+ * The casing convention to use for generated names.
14716
+ *
14717
+ * @default 'camelCase'
14718
+ */
14719
+ case?: StringCase;
14720
+ /**
14721
+ * Whether to generate Valibot schemas for reusable definitions.
14722
+ *
14723
+ * @default true
14724
+ */
14725
+ enabled?: boolean;
14726
+ /**
14727
+ * Custom naming pattern for generated schema names. The name variable
14728
+ * is obtained from the schema name.
14729
+ *
14730
+ * @default 'v{{name}}'
14731
+ */
14732
+ name?: StringName;
14733
+ };
14734
+ /**
14735
+ * Should the exports from the generated files be re-exported in the index
14736
+ * barrel file?
14737
+ *
13986
14738
  * @default false
13987
14739
  */
13988
14740
  exportFromIndex?: boolean;
@@ -14230,12 +14982,14 @@ type Config$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
14230
14982
  };
14231
14983
  type ValibotPlugin = DefinePlugin<UserConfig$2, Config$3, IApi$1>;
14232
14984
  //#endregion
14233
- //#region src/plugins/zod/api.d.ts
14234
- type SelectorType = 'data' | 'import' | 'ref' | 'responses' | 'type-infer-data' | 'type-infer-ref' | 'type-infer-responses' | 'type-infer-webhook-request' | 'webhook-request';
14985
+ //#region src/plugins/zod/shared/types.d.ts
14235
14986
  type ValidatorArgs = {
14236
14987
  operation: IR$1.OperationObject;
14237
14988
  plugin: ZodPlugin['Instance'];
14238
14989
  };
14990
+ //#endregion
14991
+ //#region src/plugins/zod/api.d.ts
14992
+ type SelectorType = 'data' | 'external' | 'ref' | 'responses' | 'type-infer-data' | 'type-infer-ref' | 'type-infer-responses' | 'type-infer-webhook-request' | 'webhook-request';
14239
14993
  type IApi = {
14240
14994
  createRequestValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
14241
14995
  createResponseValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
@@ -14243,7 +14997,7 @@ type IApi = {
14243
14997
  * @param type Selector type.
14244
14998
  * @param value Depends on `type`:
14245
14999
  * - `data`: `operation.id` string
14246
- * - `import`: headless symbols representing module imports
15000
+ * - `external`: external modules
14247
15001
  * - `ref`: `$ref` JSON pointer
14248
15002
  * - `responses`: `operation.id` string
14249
15003
  * - `type-infer-data`: `operation.id` string
@@ -14253,7 +15007,7 @@ type IApi = {
14253
15007
  * - `webhook-request`: `operation.id` string
14254
15008
  * @returns Selector array
14255
15009
  */
14256
- getSelector: (type: SelectorType, value?: string) => Selector;
15010
+ selector: (type: SelectorType, value?: string) => Selector;
14257
15011
  };
14258
15012
  //#endregion
14259
15013
  //#region src/plugins/zod/types.d.ts
@@ -14347,7 +15101,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14347
15101
  */
14348
15102
  types?: {
14349
15103
  /**
14350
- * Configuration for `z.infer` types.
15104
+ * Configuration for `infer` types.
14351
15105
  *
14352
15106
  * Can be:
14353
15107
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14434,7 +15188,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14434
15188
  */
14435
15189
  types?: {
14436
15190
  /**
14437
- * Configuration for `z.infer` types.
15191
+ * Configuration for `infer` types.
14438
15192
  *
14439
15193
  * Can be:
14440
15194
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14506,7 +15260,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14506
15260
  */
14507
15261
  types?: {
14508
15262
  /**
14509
- * Configuration for `z.infer` types.
15263
+ * Configuration for `infer` types.
14510
15264
  *
14511
15265
  * Can be:
14512
15266
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14545,7 +15299,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14545
15299
  */
14546
15300
  types?: {
14547
15301
  /**
14548
- * Configuration for `z.infer` types.
15302
+ * Configuration for `infer` types.
14549
15303
  *
14550
15304
  * Can be:
14551
15305
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14608,7 +15362,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14608
15362
  */
14609
15363
  types?: {
14610
15364
  /**
14611
- * Configuration for `z.infer` types.
15365
+ * Configuration for `infer` types.
14612
15366
  *
14613
15367
  * Can be:
14614
15368
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14724,7 +15478,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14724
15478
  */
14725
15479
  types: {
14726
15480
  /**
14727
- * Configuration for `z.infer` types.
15481
+ * Configuration for `infer` types.
14728
15482
  */
14729
15483
  infer: {
14730
15484
  /**
@@ -14797,7 +15551,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14797
15551
  */
14798
15552
  types: {
14799
15553
  /**
14800
- * Configuration for `z.infer` types.
15554
+ * Configuration for `infer` types.
14801
15555
  */
14802
15556
  infer: {
14803
15557
  /**
@@ -14855,7 +15609,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14855
15609
  */
14856
15610
  types: {
14857
15611
  /**
14858
- * Configuration for `z.infer` types.
15612
+ * Configuration for `infer` types.
14859
15613
  */
14860
15614
  infer: {
14861
15615
  /**
@@ -14887,7 +15641,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14887
15641
  */
14888
15642
  types: {
14889
15643
  /**
14890
- * Configuration for `z.infer` types.
15644
+ * Configuration for `infer` types.
14891
15645
  */
14892
15646
  infer: {
14893
15647
  /**
@@ -14936,7 +15690,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14936
15690
  */
14937
15691
  types: {
14938
15692
  /**
14939
- * Configuration for `z.infer` types.
15693
+ * Configuration for `infer` types.
14940
15694
  */
14941
15695
  infer: {
14942
15696
  /**
@@ -14983,6 +15737,7 @@ interface PluginConfigMap {
14983
15737
  '@tanstack/solid-query': TanStackSolidQueryPlugin['Types'];
14984
15738
  '@tanstack/svelte-query': TanStackSvelteQueryPlugin['Types'];
14985
15739
  '@tanstack/vue-query': TanStackVueQueryPlugin['Types'];
15740
+ arktype: ArktypePlugin['Types'];
14986
15741
  fastify: FastifyPlugin['Types'];
14987
15742
  'legacy/angular': HeyApiClientLegacyAngularPlugin['Types'];
14988
15743
  'legacy/axios': HeyApiClientLegacyAxiosPlugin['Types'];
@@ -15004,6 +15759,10 @@ declare class IRContext<Spec$1 extends Record<string, any> = any> {
15004
15759
  * The code generation project instance used to manage files, symbols,
15005
15760
  */
15006
15761
  gen: Project;
15762
+ /**
15763
+ * The dependency graph built from the intermediate representation.
15764
+ */
15765
+ graph: Graph | undefined;
15007
15766
  /**
15008
15767
  * Intermediate representation model obtained from `spec`.
15009
15768
  */
@@ -15271,13 +16030,6 @@ interface IRSchemaObject extends Pick<JsonSchemaDraft2020_12, '$ref' | 'const' |
15271
16030
  * properties altogether.
15272
16031
  */
15273
16032
  additionalProperties?: IRSchemaObject | false;
15274
- /**
15275
- * If this schema is a $ref and is circular (points to itself or is in the current resolution stack),
15276
- * this flag is set to true.
15277
- *
15278
- * @default undefined
15279
- */
15280
- circular?: boolean;
15281
16033
  /**
15282
16034
  * Any string value is accepted as `format`.
15283
16035
  */
@@ -15303,7 +16055,6 @@ interface IRSchemaObject extends Pick<JsonSchemaDraft2020_12, '$ref' | 'const' |
15303
16055
  * When type is `object`, `properties` will contain a map of its properties.
15304
16056
  */
15305
16057
  properties?: Record<string, IRSchemaObject>;
15306
-
15307
16058
  /**
15308
16059
  * The names of `properties` can be validated against a schema, irrespective
15309
16060
  * of their values. This can be useful if you don't want to enforce specific
@@ -15368,5 +16119,5 @@ interface WatchValues {
15368
16119
  lastValue?: string;
15369
16120
  }
15370
16121
  //#endregion
15371
- export { type Client, Client$1, Config$1 as Config, DefinePlugin, ExpressionTransformer, IR$1 as IR, Input, LazyOrAsync, LegacyIR, Logger, MaybeArray, type OpenApi$1 as OpenApi, OpenApiMetaObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiSchemaObject, Plugin, PluginHandler, StringCase, TypeTransformer, UserConfig$26 as UserConfig, WatchValues, compiler, parseOpenApiSpec, tsc };
15372
- //# sourceMappingURL=types-BesMf-H-.d.ts.map
16122
+ export { StringCase as C, MaybeArray as D, LazyOrAsync as E, OpenApiSchemaObject as S, Logger as T, OpenApiMetaObject as _, ExpressionTransformer as a, OpenApiRequestBodyObject as b, Client as c, Plugin as d, Client$1 as f, OpenApi$1 as g, UserConfig$27 as h, TypeTransformer as i, PluginHandler as l, Config$1 as m, WatchValues as n, compiler as o, parseOpenApiSpec as p, IR$1 as r, tsc as s, LegacyIR as t, DefinePlugin as u, OpenApiOperationObject as v, Input as w, OpenApiResponseObject as x, OpenApiParameterObject as y };
16123
+ //# sourceMappingURL=types-DGAzCzMG.d.ts.map