@hey-api/openapi-ts 0.86.1 → 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.
@@ -5,7 +5,21 @@ import ts from "typescript";
5
5
  import { RangeOptions, SemVer } from "semver";
6
6
  import { IProject, Project, Selector, Symbol, SymbolIn } from "@hey-api/codegen-core";
7
7
 
8
- //#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
+ }
9
23
  declare namespace types_d_exports {
10
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 };
11
25
  }
@@ -515,22 +529,6 @@ type LazyOrAsync<T$1> = T$1 | (() => T$1) | (() => Promise<T$1>);
515
529
  */
516
530
  type MaybeArray<T$1> = T$1 | ReadonlyArray<T$1>;
517
531
  //#endregion
518
- //#region src/openApi/shared/types/openapi-spec-extensions.d.ts
519
- interface EnumExtensions {
520
- /**
521
- * `x-enum-descriptions` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
522
- */
523
- 'x-enum-descriptions'?: ReadonlyArray<string>;
524
- /**
525
- * `x-enum-varnames` are {@link https://stackoverflow.com/a/66471626 supported} by OpenAPI Generator.
526
- */
527
- 'x-enum-varnames'?: ReadonlyArray<string>;
528
- /**
529
- * {@link https://github.com/RicoSuter/NSwag NSwag} generates `x-enumNames` field containing custom enum names.
530
- */
531
- 'x-enumNames'?: ReadonlyArray<string>;
532
- }
533
- //#endregion
534
532
  //#region src/openApi/3.1.x/types/spec.d.ts
535
533
  /**
536
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}.
@@ -2947,9 +2945,87 @@ type Package = {
2947
2945
  satisfies: (nameOrVersion: string | SemVer, range: string, optionsOrLoose?: boolean | RangeOptions) => boolean;
2948
2946
  };
2949
2947
  //#endregion
2950
- //#region src/types/case.d.ts
2951
- type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCREAMING_SNAKE_CASE';
2952
- 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
+ };
2953
3029
  //#endregion
2954
3030
  //#region src/config/utils/config.d.ts
2955
3031
  type ObjectType<T$1> = Extract<T$1, Record<string, any>> extends never ? Record<string, any> : Extract<T$1, Record<string, any>>;
@@ -2973,6 +3049,148 @@ type ValueToObject = <T extends undefined | string | boolean | number | ((...arg
2973
3049
  mappers: MappersType<T>;
2974
3050
  })) => PlainObject<T>;
2975
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
2976
3194
  //#region src/types/input.d.ts
2977
3195
  type JsonSchema = Record<string, unknown>;
2978
3196
  type ApiRegistryShorthands = `https://get.heyapi.dev/${string}/${string}` | `${string}/${string}` | `readme:@${string}/${string}#${string}` | `readme:${string}` | `scalar:@${string}/${string}`;
@@ -3190,6 +3408,10 @@ type Logs = {
3190
3408
  path?: string;
3191
3409
  };
3192
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
3193
3415
  //#region src/types/output.d.ts
3194
3416
  type Formatters = 'biome' | 'prettier';
3195
3417
  type Linters = 'biome' | 'eslint' | 'oxlint';
@@ -5453,7 +5675,7 @@ interface LinkObject {
5453
5675
  *
5454
5676
  * TODO: examples
5455
5677
  */
5456
- interface MediaTypeObject$1 {
5678
+ interface MediaTypeObject {
5457
5679
  /**
5458
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.
5459
5681
  */
@@ -5632,7 +5854,7 @@ interface ParameterObject$1 {
5632
5854
  /**
5633
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.
5634
5856
  */
5635
- content?: Record<string, MediaTypeObject$1>;
5857
+ content?: Record<string, MediaTypeObject>;
5636
5858
  /**
5637
5859
  * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is `false`.
5638
5860
  */
@@ -5795,7 +6017,7 @@ interface RequestBodyObject$1 {
5795
6017
  /**
5796
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/*"`
5797
6019
  */
5798
- content: Record<string, MediaTypeObject$1>;
6020
+ content: Record<string, MediaTypeObject>;
5799
6021
  /**
5800
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.
5801
6023
  */
@@ -5816,7 +6038,7 @@ interface ResponseObject$1 {
5816
6038
  /**
5817
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/*"`
5818
6040
  */
5819
- content?: Record<string, MediaTypeObject$1>;
6041
+ content?: Record<string, MediaTypeObject>;
5820
6042
  /**
5821
6043
  * **REQUIRED**. A description of the response. {@link https://spec.commonmark.org/ CommonMark syntax} MAY be used for rich text representation.
5822
6044
  */
@@ -6921,7 +7143,7 @@ type Patch = {
6921
7143
  };
6922
7144
  //#endregion
6923
7145
  //#region src/types/config.d.ts
6924
- interface UserConfig$26 {
7146
+ interface UserConfig$27 {
6925
7147
  /**
6926
7148
  * Path to the config file. Set this value if you don't use the default
6927
7149
  * config file name, or it's not located in the project root.
@@ -7038,7 +7260,7 @@ interface UserConfig$26 {
7038
7260
  */
7039
7261
  watch?: boolean | number | Watch;
7040
7262
  }
7041
- 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'> & {
7042
7264
  /**
7043
7265
  * Path to the input specification.
7044
7266
  */
@@ -7057,168 +7279,12 @@ type Config$1 = Omit<Required<UserConfig$26>, 'base' | 'input' | 'logs' | 'name'
7057
7279
  plugins: { [K in PluginNames]?: Plugin.ConfigWithName<PluginConfigMap[K]> };
7058
7280
  };
7059
7281
  //#endregion
7060
- //#region src/utils/logger.d.ts
7061
- declare class Logger {
7062
- private events;
7063
- private end;
7064
- report(print?: boolean): PerformanceMeasure | undefined;
7065
- private reportEvent;
7066
- private start;
7067
- private storeEvent;
7068
- timeEvent(name: string): {
7069
- mark: PerformanceMark;
7070
- timeEnd: () => void;
7071
- };
7072
- }
7073
- //#endregion
7074
- //#region src/openApi/common/interfaces/Dictionary.d.ts
7075
- interface Dictionary<T$1 = unknown> {
7076
- [key: string]: T$1;
7077
- }
7078
- //#endregion
7079
- //#region src/openApi/v3/interfaces/OpenApiReference.d.ts
7080
- /**
7081
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#reference-object
7082
- */
7083
- interface OpenApiReference {
7084
- $ref?: string;
7085
- }
7086
- //#endregion
7087
- //#region src/openApi/v3/interfaces/OpenApiExample.d.ts
7088
- /**
7089
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#example-object
7090
- */
7091
- interface OpenApiExample extends OpenApiReference {
7282
+ //#region src/openApi/common/interfaces/client.d.ts
7283
+ interface Enum {
7284
+ customDescription?: string;
7285
+ customName?: string;
7092
7286
  description?: string;
7093
- externalValue?: string;
7094
- summary?: string;
7095
- value?: unknown;
7096
- }
7097
- //#endregion
7098
- //#region src/openApi/common/interfaces/WithEnumExtension.d.ts
7099
- interface WithEnumExtension {
7100
- 'x-enum-descriptions'?: ReadonlyArray<string>;
7101
- 'x-enum-varnames'?: ReadonlyArray<string>;
7102
- 'x-enumNames'?: ReadonlyArray<string>;
7103
- }
7104
- //#endregion
7105
- //#region src/openApi/v3/interfaces/OpenApiDiscriminator.d.ts
7106
- /**
7107
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#discriminator-object
7108
- */
7109
- interface OpenApiDiscriminator {
7110
- mapping?: Dictionary<string>;
7111
- propertyName: string;
7112
- }
7113
- //#endregion
7114
- //#region src/openApi/v3/interfaces/OpenApiExternalDocs.d.ts
7115
- /**
7116
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#external-documentation-object
7117
- */
7118
- interface OpenApiExternalDocs {
7119
- description?: string;
7120
- url: string;
7121
- }
7122
- //#endregion
7123
- //#region src/openApi/v3/interfaces/OpenApiXml.d.ts
7124
- /**
7125
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#xml-object
7126
- */
7127
- interface OpenApiXml$1 {
7128
- attribute?: boolean;
7129
- name?: string;
7130
- namespace?: string;
7131
- prefix?: string;
7132
- wrapped?: boolean;
7133
- }
7134
- //#endregion
7135
- //#region src/openApi/v3/interfaces/OpenApiSchema.d.ts
7136
- /**
7137
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
7138
- */
7139
- interface OpenApiSchema$1 extends OpenApiReference, WithEnumExtension {
7140
- additionalProperties?: boolean | OpenApiSchema$1;
7141
- allOf?: OpenApiSchema$1[];
7142
- anyOf?: OpenApiSchema$1[];
7143
- const?: string | number | boolean | null;
7144
- default?: unknown;
7145
- deprecated?: boolean;
7146
- description?: string;
7147
- discriminator?: OpenApiDiscriminator;
7148
- enum?: (string | number)[];
7149
- example?: unknown;
7150
- exclusiveMaximum?: boolean;
7151
- exclusiveMinimum?: boolean;
7152
- externalDocs?: OpenApiExternalDocs;
7153
- format?: 'binary' | 'boolean' | 'byte' | 'date-time' | 'date' | 'double' | 'float' | 'int32' | 'int64' | 'password' | 'string';
7154
- items?: OpenApiSchema$1;
7155
- maxItems?: number;
7156
- maxLength?: number;
7157
- maxProperties?: number;
7158
- maximum?: number;
7159
- minItems?: number;
7160
- minLength?: number;
7161
- minProperties?: number;
7162
- minimum?: number;
7163
- multipleOf?: number;
7164
- not?: OpenApiSchema$1[];
7165
- nullable?: boolean;
7166
- oneOf?: OpenApiSchema$1[];
7167
- pattern?: string;
7168
- prefixItems?: OpenApiSchema$1[];
7169
- properties?: Dictionary<OpenApiSchema$1>;
7170
- readOnly?: boolean;
7171
- required?: string[];
7172
- title?: string;
7173
- type?: string | string[];
7174
- uniqueItems?: boolean;
7175
- writeOnly?: boolean;
7176
- xml?: OpenApiXml$1;
7177
- }
7178
- //#endregion
7179
- //#region src/openApi/v3/interfaces/OpenApiParameter.d.ts
7180
- /**
7181
- * add only one type for now as that's needed to resolve the reported issue,
7182
- * more types should be added though
7183
- * {@link https://github.com/hey-api/openapi-ts/issues/612}
7184
- */
7185
- type MediaType = 'application/json';
7186
- /**
7187
- * encoding interface should be added, not adding it for now as it's not needed
7188
- * to resolve the issue reported
7189
- * {@link https://github.com/hey-api/openapi-ts/issues/612}
7190
- */
7191
- interface MediaTypeObject {
7192
- example?: unknown;
7193
- examples?: Dictionary<OpenApiExample>;
7194
- schema: OpenApiSchema$1;
7195
- }
7196
- /**
7197
- * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object
7198
- */
7199
- interface OpenApiParameter extends OpenApiReference {
7200
- allowEmptyValue?: boolean;
7201
- allowReserved?: boolean;
7202
- content?: Record<MediaType, MediaTypeObject>;
7203
- deprecated?: boolean;
7204
- description?: string;
7205
- example?: unknown;
7206
- examples?: Dictionary<OpenApiExample>;
7207
- explode?: boolean;
7208
- in: 'cookie' | 'formData' | 'header' | 'path' | 'query';
7209
- name: string;
7210
- nullable?: boolean;
7211
- required?: boolean;
7212
- schema?: OpenApiSchema$1;
7213
- style?: string;
7214
- }
7215
- //#endregion
7216
- //#region src/openApi/common/interfaces/client.d.ts
7217
- interface Enum {
7218
- customDescription?: string;
7219
- customName?: string;
7220
- description?: string;
7221
- value: string | number;
7287
+ value: string | number;
7222
7288
  }
7223
7289
  interface OperationParameter extends Model {
7224
7290
  in: 'body' | 'cookie' | 'formData' | 'header' | 'path' | 'query';
@@ -7938,16 +8004,9 @@ declare const parseOpenApiSpec: ({
7938
8004
  spec: unknown;
7939
8005
  }) => IR$1.Context | undefined;
7940
8006
  //#endregion
7941
- //#region src/types/client.d.ts
7942
- interface Operation extends Omit<Operation$1, 'tags'> {
7943
- service: string;
7944
- }
7945
- interface Service extends Pick<Model, '$refs' | 'imports' | 'name'> {
7946
- operations: Operation[];
7947
- }
7948
- interface Client$1 extends Omit<Client$2, 'operations'> {
7949
- services: Service[];
7950
- }
8007
+ //#region src/ir/graph.d.ts
8008
+ declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
8009
+ type IrTopLevelKind = (typeof irTopLevelKinds)[number];
7951
8010
  //#endregion
7952
8011
  //#region src/plugins/shared/types/instance.d.ts
7953
8012
  type WalkEvents = {
@@ -7955,40 +8014,57 @@ type WalkEvents = {
7955
8014
  method: keyof IR$1.PathItemObject;
7956
8015
  operation: IR$1.OperationObject;
7957
8016
  path: string;
7958
- type: 'operation';
8017
+ type: Extract<IrTopLevelKind, 'operation'>;
7959
8018
  } | {
7960
8019
  $ref: string;
7961
8020
  _path: ReadonlyArray<string | number>;
7962
8021
  name: string;
7963
8022
  parameter: IR$1.ParameterObject;
7964
- type: 'parameter';
8023
+ type: Extract<IrTopLevelKind, 'parameter'>;
7965
8024
  } | {
7966
8025
  $ref: string;
7967
8026
  _path: ReadonlyArray<string | number>;
7968
8027
  name: string;
7969
8028
  requestBody: IR$1.RequestBodyObject;
7970
- type: 'requestBody';
8029
+ type: Extract<IrTopLevelKind, 'requestBody'>;
7971
8030
  } | {
7972
8031
  $ref: string;
7973
8032
  _path: ReadonlyArray<string | number>;
7974
8033
  name: string;
7975
8034
  schema: IR$1.SchemaObject;
7976
- type: 'schema';
8035
+ type: Extract<IrTopLevelKind, 'schema'>;
7977
8036
  } | {
7978
8037
  _path: ReadonlyArray<string | number>;
7979
8038
  server: IR$1.ServerObject;
7980
- type: 'server';
8039
+ type: Extract<IrTopLevelKind, 'server'>;
7981
8040
  } | {
7982
8041
  _path: ReadonlyArray<string | number>;
7983
8042
  key: string;
7984
8043
  method: keyof IR$1.PathItemObject;
7985
8044
  operation: IR$1.OperationObject;
7986
- type: 'webhook';
8045
+ type: Extract<IrTopLevelKind, 'webhook'>;
7987
8046
  };
7988
- type WalkEventType = WalkEvents['type'];
7989
- type WalkEvent<T$1 extends WalkEventType = WalkEventType> = Extract<WalkEvents, {
8047
+ type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
7990
8048
  type: T$1;
7991
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
+ };
7992
8068
  //#endregion
7993
8069
  //#region src/plugins/shared/utils/instance.d.ts
7994
8070
  declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
@@ -8036,7 +8112,8 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8036
8112
  * }
8037
8113
  * });
8038
8114
  */
8039
- 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;
8040
8117
  private forEachError;
8041
8118
  /**
8042
8119
  * Retrieves a registered plugin instance by its name from the context. This
@@ -8070,6 +8147,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8070
8147
  };
8071
8148
  };
8072
8149
  private isOperationKind;
8150
+ isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
8073
8151
  referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
8074
8152
  registerSymbol(symbol: SymbolIn): Symbol;
8075
8153
  /**
@@ -8080,9 +8158,20 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8080
8158
  private symbolToId;
8081
8159
  }
8082
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
8083
8172
  //#region src/plugins/types.d.ts
8084
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';
8085
- type PluginValidatorNames = 'valibot' | 'zod';
8174
+ type PluginValidatorNames = 'arktype' | 'valibot' | 'zod';
8086
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;
8087
8176
  type AnyPluginName = PluginNames | (string & {});
8088
8177
  type PluginTag = 'client' | 'transformer' | 'validator';
@@ -8176,12 +8265,12 @@ declare namespace Plugin {
8176
8265
  */
8177
8266
  export type UserConfig<Config extends BaseConfig> = Omit<Config, 'output'>;
8178
8267
  }
8179
- type DefinePlugin<Config$14 extends BaseConfig = BaseConfig, ResolvedConfig$1 extends BaseConfig = Config$14, Api$1 extends BaseApi = never> = {
8180
- 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>>;
8181
8270
  Handler: (args: {
8182
- plugin: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8271
+ plugin: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8183
8272
  }) => void;
8184
- Instance: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8273
+ Instance: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8185
8274
  /**
8186
8275
  * Plugin implementation for legacy parser.
8187
8276
  *
@@ -8191,14 +8280,14 @@ type DefinePlugin<Config$14 extends BaseConfig = BaseConfig, ResolvedConfig$1 ex
8191
8280
  client: Client$1;
8192
8281
  files: Files;
8193
8282
  openApi: OpenApi;
8194
- plugin: PluginInstance<Plugin.Types<Config$14, ResolvedConfig$1, Api$1>>;
8283
+ plugin: PluginInstance<Plugin.Types<Config$15, ResolvedConfig$1, Api$1>>;
8195
8284
  }) => void;
8196
- Types: Plugin.Types<Config$14, ResolvedConfig$1, Api$1>;
8285
+ Types: Plugin.Types<Config$15, ResolvedConfig$1, Api$1>;
8197
8286
  };
8198
8287
  //#endregion
8199
8288
  //#region src/plugins/@angular/common/api.d.ts
8200
- type SelectorType$19 = 'class' | 'httpRequest' | 'httpResource' | 'HttpRequest' | 'inject' | 'Injectable';
8201
- type IApi$19 = {
8289
+ type SelectorType$20 = 'class' | 'httpRequest' | 'httpResource' | 'HttpRequest' | 'inject' | 'Injectable';
8290
+ type IApi$20 = {
8202
8291
  /**
8203
8292
  * @param type Selector type.
8204
8293
  * @param value Depends on `type`:
@@ -8210,11 +8299,11 @@ type IApi$19 = {
8210
8299
  * - `Injectable`: never
8211
8300
  * @returns Selector array
8212
8301
  */
8213
- getSelector: (type: SelectorType$19, value?: string) => Selector;
8302
+ selector: (type: SelectorType$20, value?: string) => Selector;
8214
8303
  };
8215
8304
  //#endregion
8216
8305
  //#region src/plugins/@angular/common/types.d.ts
8217
- type UserConfig$25 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8306
+ type UserConfig$26 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8218
8307
  /**
8219
8308
  * Should the exports from the generated files be re-exported in the index
8220
8309
  * barrel file?
@@ -8282,7 +8371,7 @@ type UserConfig$25 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8282
8371
  methodNameBuilder?: (operation: IR.OperationObject) => string;
8283
8372
  };
8284
8373
  };
8285
- type Config$13 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8374
+ type Config$14 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8286
8375
  /**
8287
8376
  * Should the exports from the generated files be re-exported in the index
8288
8377
  * barrel file?
@@ -8345,22 +8434,22 @@ type Config$13 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
8345
8434
  methodNameBuilder: (operation: IR.OperationObject) => string;
8346
8435
  };
8347
8436
  };
8348
- type AngularCommonPlugin = DefinePlugin<UserConfig$25, Config$13, IApi$19>;
8437
+ type AngularCommonPlugin = DefinePlugin<UserConfig$26, Config$14, IApi$20>;
8349
8438
  //#endregion
8350
8439
  //#region src/plugins/@hey-api/client-axios/api.d.ts
8351
- type SelectorType$18 = 'client';
8352
- type IApi$18 = {
8440
+ type SelectorType$19 = 'client';
8441
+ type IApi$19 = {
8353
8442
  /**
8354
8443
  * @param type Selector type.
8355
8444
  * @param value Depends on `type`:
8356
8445
  * - `client`: never
8357
8446
  * @returns Selector array
8358
8447
  */
8359
- getSelector: (type: SelectorType$18, value?: string) => Selector;
8448
+ selector: (type: SelectorType$19, value?: string) => Selector;
8360
8449
  };
8361
8450
  //#endregion
8362
8451
  //#region src/plugins/@hey-api/client-axios/types.d.ts
8363
- type UserConfig$24 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8452
+ type UserConfig$25 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8364
8453
  /**
8365
8454
  * Throw an error instead of returning it in the response?
8366
8455
  *
@@ -8368,22 +8457,22 @@ type UserConfig$24 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
8368
8457
  */
8369
8458
  throwOnError?: boolean;
8370
8459
  };
8371
- type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$24, UserConfig$24, IApi$18>;
8460
+ type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$25, UserConfig$25, IApi$19>;
8372
8461
  //#endregion
8373
8462
  //#region src/plugins/@hey-api/client-fetch/api.d.ts
8374
- type SelectorType$17 = 'client';
8375
- type IApi$17 = {
8463
+ type SelectorType$18 = 'client';
8464
+ type IApi$18 = {
8376
8465
  /**
8377
8466
  * @param type Selector type.
8378
8467
  * @param value Depends on `type`:
8379
8468
  * - `client`: never
8380
8469
  * @returns Selector array
8381
8470
  */
8382
- getSelector: (type: SelectorType$17, value?: string) => Selector;
8471
+ selector: (type: SelectorType$18, value?: string) => Selector;
8383
8472
  };
8384
8473
  //#endregion
8385
8474
  //#region src/plugins/@hey-api/client-fetch/types.d.ts
8386
- type UserConfig$23 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8475
+ type UserConfig$24 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8387
8476
  /**
8388
8477
  * Throw an error instead of returning it in the response?
8389
8478
  *
@@ -8391,22 +8480,22 @@ type UserConfig$23 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
8391
8480
  */
8392
8481
  throwOnError?: boolean;
8393
8482
  };
8394
- type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$23, UserConfig$23, IApi$17>;
8483
+ type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$24, UserConfig$24, IApi$18>;
8395
8484
  //#endregion
8396
8485
  //#region src/plugins/@hey-api/client-next/api.d.ts
8397
- type SelectorType$16 = 'client';
8398
- type IApi$16 = {
8486
+ type SelectorType$17 = 'client';
8487
+ type IApi$17 = {
8399
8488
  /**
8400
8489
  * @param type Selector type.
8401
8490
  * @param value Depends on `type`:
8402
8491
  * - `client`: never
8403
8492
  * @returns Selector array
8404
8493
  */
8405
- getSelector: (type: SelectorType$16, value?: string) => Selector;
8494
+ selector: (type: SelectorType$17, value?: string) => Selector;
8406
8495
  };
8407
8496
  //#endregion
8408
8497
  //#region src/plugins/@hey-api/client-next/types.d.ts
8409
- type UserConfig$22 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8498
+ type UserConfig$23 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8410
8499
  /**
8411
8500
  * Throw an error instead of returning it in the response?
8412
8501
  *
@@ -8414,38 +8503,38 @@ type UserConfig$22 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
8414
8503
  */
8415
8504
  throwOnError?: boolean;
8416
8505
  };
8417
- type HeyApiClientNextPlugin = DefinePlugin<UserConfig$22, UserConfig$22, IApi$16>;
8506
+ type HeyApiClientNextPlugin = DefinePlugin<UserConfig$23, UserConfig$23, IApi$17>;
8418
8507
  //#endregion
8419
8508
  //#region src/plugins/@hey-api/client-nuxt/api.d.ts
8420
- type SelectorType$15 = 'client';
8421
- type IApi$15 = {
8509
+ type SelectorType$16 = 'client';
8510
+ type IApi$16 = {
8422
8511
  /**
8423
8512
  * @param type Selector type.
8424
8513
  * @param value Depends on `type`:
8425
8514
  * - `client`: never
8426
8515
  * @returns Selector array
8427
8516
  */
8428
- getSelector: (type: SelectorType$15, value?: string) => Selector;
8517
+ selector: (type: SelectorType$16, value?: string) => Selector;
8429
8518
  };
8430
8519
  //#endregion
8431
8520
  //#region src/plugins/@hey-api/client-nuxt/types.d.ts
8432
- type UserConfig$21 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
8433
- 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>;
8434
8523
  //#endregion
8435
8524
  //#region src/plugins/@hey-api/client-ofetch/api.d.ts
8436
- type SelectorType$14 = 'client';
8437
- type IApi$14 = {
8525
+ type SelectorType$15 = 'client';
8526
+ type IApi$15 = {
8438
8527
  /**
8439
8528
  * @param type Selector type.
8440
8529
  * @param value Depends on `type`:
8441
8530
  * - `client`: never
8442
8531
  * @returns Selector array
8443
8532
  */
8444
- getSelector: (type: SelectorType$14, value?: string) => Selector;
8533
+ selector: (type: SelectorType$15, value?: string) => Selector;
8445
8534
  };
8446
8535
  //#endregion
8447
8536
  //#region src/plugins/@hey-api/client-ofetch/types.d.ts
8448
- type UserConfig$20 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8537
+ type UserConfig$21 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8449
8538
  /**
8450
8539
  * Throw an error instead of returning it in the response?
8451
8540
  *
@@ -8453,7 +8542,7 @@ type UserConfig$20 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
8453
8542
  */
8454
8543
  throwOnError?: boolean;
8455
8544
  };
8456
- type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
8545
+ type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$21, UserConfig$21, IApi$15>;
8457
8546
  //#endregion
8458
8547
  //#region src/plugins/@hey-api/client-core/types.d.ts
8459
8548
  interface PluginHandler {
@@ -8523,19 +8612,19 @@ declare namespace Client {
8523
8612
  }
8524
8613
  //#endregion
8525
8614
  //#region src/plugins/@hey-api/client-angular/api.d.ts
8526
- type SelectorType$13 = 'client';
8527
- type IApi$13 = {
8615
+ type SelectorType$14 = 'client';
8616
+ type IApi$14 = {
8528
8617
  /**
8529
8618
  * @param type Selector type.
8530
8619
  * @param value Depends on `type`:
8531
8620
  * - `client`: never
8532
8621
  * @returns Selector array
8533
8622
  */
8534
- getSelector: (type: SelectorType$13, value?: string) => Selector;
8623
+ selector: (type: SelectorType$14, value?: string) => Selector;
8535
8624
  };
8536
8625
  //#endregion
8537
8626
  //#region src/plugins/@hey-api/client-angular/types.d.ts
8538
- type UserConfig$19 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8627
+ type UserConfig$20 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8539
8628
  /**
8540
8629
  * Throw an error instead of returning it in the response?
8541
8630
  *
@@ -8543,42 +8632,42 @@ type UserConfig$19 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8543
8632
  */
8544
8633
  throwOnError?: boolean;
8545
8634
  };
8546
- type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$19, UserConfig$19, IApi$13>;
8635
+ type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
8547
8636
  //#endregion
8548
8637
  //#region src/plugins/@hey-api/legacy-angular/types.d.ts
8549
- type UserConfig$18 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8550
- type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$18>;
8638
+ type UserConfig$19 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8639
+ type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$19>;
8551
8640
  //#endregion
8552
8641
  //#region src/plugins/@hey-api/legacy-axios/types.d.ts
8553
- type UserConfig$17 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8554
- type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$17>;
8642
+ type UserConfig$18 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8643
+ type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$18>;
8555
8644
  //#endregion
8556
8645
  //#region src/plugins/@hey-api/legacy-fetch/types.d.ts
8557
- type UserConfig$16 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8558
- type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$16>;
8646
+ type UserConfig$17 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8647
+ type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$17>;
8559
8648
  //#endregion
8560
8649
  //#region src/plugins/@hey-api/legacy-node/types.d.ts
8561
- type UserConfig$15 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8562
- type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$15>;
8650
+ type UserConfig$16 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8651
+ type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$16>;
8563
8652
  //#endregion
8564
8653
  //#region src/plugins/@hey-api/legacy-xhr/types.d.ts
8565
- type UserConfig$14 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8566
- type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$14>;
8654
+ type UserConfig$15 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8655
+ type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$15>;
8567
8656
  //#endregion
8568
8657
  //#region src/plugins/@hey-api/schemas/api.d.ts
8569
- type SelectorType$12 = 'ref';
8570
- type IApi$12 = {
8658
+ type SelectorType$13 = 'ref';
8659
+ type IApi$13 = {
8571
8660
  /**
8572
8661
  * @param type Selector type.
8573
8662
  * @param value Depends on `type`:
8574
8663
  * - `ref`: `$ref` JSON pointer
8575
8664
  * @returns Selector array
8576
8665
  */
8577
- getSelector: (type: SelectorType$12, value?: string) => Selector;
8666
+ selector: (type: SelectorType$13, value?: string) => Selector;
8578
8667
  };
8579
8668
  //#endregion
8580
8669
  //#region src/plugins/@hey-api/schemas/types.d.ts
8581
- type UserConfig$13 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8670
+ type UserConfig$14 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8582
8671
  /**
8583
8672
  * Should the exports from the generated files be re-exported in the index
8584
8673
  * barrel file?
@@ -8603,7 +8692,7 @@ type UserConfig$13 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8603
8692
  */
8604
8693
  type?: 'form' | 'json';
8605
8694
  };
8606
- type HeyApiSchemasPlugin = DefinePlugin<UserConfig$13, UserConfig$13, IApi$12>;
8695
+ type HeyApiSchemasPlugin = DefinePlugin<UserConfig$14, UserConfig$14, IApi$13>;
8607
8696
  declare namespace module_d_exports {
8608
8697
  export { ImportExportItem, createCallExpression, createConstVariable, createExportAllDeclaration, createNamedExportDeclarations, createNamedImportDeclarations };
8609
8698
  }
@@ -9782,8 +9871,8 @@ declare const createOperationComment: ({
9782
9871
  }) => Comments | undefined;
9783
9872
  //#endregion
9784
9873
  //#region src/plugins/@hey-api/sdk/api.d.ts
9785
- type SelectorType$11 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
9786
- type IApi$11 = {
9874
+ type SelectorType$12 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
9875
+ type IApi$12 = {
9787
9876
  createOperationComment: typeof createOperationComment;
9788
9877
  /**
9789
9878
  * @param type Selector type.
@@ -9799,11 +9888,11 @@ type IApi$11 = {
9799
9888
  * - `urlSearchParamsBodySerializer`: never
9800
9889
  * @returns Selector array
9801
9890
  */
9802
- getSelector: (type: SelectorType$11, value?: string) => Selector;
9891
+ selector: (type: SelectorType$12, value?: string) => Selector;
9803
9892
  };
9804
9893
  //#endregion
9805
9894
  //#region src/plugins/@hey-api/sdk/types.d.ts
9806
- type UserConfig$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9895
+ type UserConfig$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9807
9896
  /**
9808
9897
  * Group operation methods into classes? When enabled, you can select which
9809
9898
  * classes to export with `sdk.include` and/or transform their names with
@@ -9968,7 +10057,7 @@ type UserConfig$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9968
10057
  */
9969
10058
  response?: 'body' | 'response';
9970
10059
  };
9971
- type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
10060
+ type Config$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
9972
10061
  /**
9973
10062
  * Group operation methods into classes? When enabled, you can select which
9974
10063
  * classes to export with `sdk.include` and/or transform their names with
@@ -10115,11 +10204,11 @@ type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
10115
10204
  */
10116
10205
  response: 'body' | 'response';
10117
10206
  };
10118
- type HeyApiSdkPlugin = DefinePlugin<UserConfig$12, Config$12, IApi$11>;
10207
+ type HeyApiSdkPlugin = DefinePlugin<UserConfig$13, Config$13, IApi$12>;
10119
10208
  //#endregion
10120
10209
  //#region src/plugins/@hey-api/transformers/api.d.ts
10121
- type SelectorType$10 = 'response' | 'response-ref';
10122
- type IApi$10 = {
10210
+ type SelectorType$11 = 'response' | 'response-ref';
10211
+ type IApi$11 = {
10123
10212
  /**
10124
10213
  * @param type Selector type.
10125
10214
  * @param value Depends on `type`:
@@ -10127,7 +10216,7 @@ type IApi$10 = {
10127
10216
  * - `response-ref`: `$ref` JSON pointer
10128
10217
  * @returns Selector array
10129
10218
  */
10130
- getSelector: (type: SelectorType$10, value?: string) => Selector;
10219
+ selector: (type: SelectorType$11, value?: string) => Selector;
10131
10220
  };
10132
10221
  //#endregion
10133
10222
  //#region src/plugins/@hey-api/transformers/expressions.d.ts
@@ -10136,7 +10225,7 @@ type ExpressionTransformer = ({
10136
10225
  dataExpression,
10137
10226
  schema
10138
10227
  }: {
10139
- config: Omit<UserConfig$11, 'name'>;
10228
+ config: Omit<UserConfig$12, 'name'>;
10140
10229
  dataExpression?: ts.Expression | string;
10141
10230
  schema: IR$1.SchemaObject;
10142
10231
  }) => Array<ts.Expression> | undefined;
@@ -10151,7 +10240,7 @@ type TypeTransformer = ({
10151
10240
  }: {
10152
10241
  schema: IR$1.SchemaObject;
10153
10242
  }) => ts.TypeNode | undefined;
10154
- type UserConfig$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10243
+ type UserConfig$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10155
10244
  /**
10156
10245
  * Convert long integers into BigInt values?
10157
10246
  *
@@ -10180,7 +10269,7 @@ type UserConfig$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10180
10269
  */
10181
10270
  typeTransformers?: ReadonlyArray<TypeTransformer>;
10182
10271
  };
10183
- type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10272
+ type Config$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10184
10273
  /**
10185
10274
  * Convert long integers into BigInt values?
10186
10275
  *
@@ -10209,7 +10298,7 @@ type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10209
10298
  */
10210
10299
  typeTransformers: ReadonlyArray<TypeTransformer>;
10211
10300
  };
10212
- type HeyApiTransformersPlugin = DefinePlugin<UserConfig$11, Config$11, IApi$10>;
10301
+ type HeyApiTransformersPlugin = DefinePlugin<UserConfig$12, Config$12, IApi$11>;
10213
10302
  //#endregion
10214
10303
  //#region src/plugins/@hey-api/typescript/plugin.d.ts
10215
10304
  declare const schemaToType: ({
@@ -10221,8 +10310,9 @@ declare const schemaToType: ({
10221
10310
  }) => ts.TypeNode;
10222
10311
  //#endregion
10223
10312
  //#region src/plugins/@hey-api/typescript/api.d.ts
10224
- type SelectorType$9 = 'ClientOptions' | 'data' | 'error' | 'errors' | 'ref' | 'response' | 'responses' | 'TypeID' | 'webhook-payload' | 'webhook-request' | 'Webhooks';
10225
- 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;
10226
10316
  /**
10227
10317
  * @param type Selector type.
10228
10318
  * @param value Depends on `type`:
@@ -10239,13 +10329,12 @@ type IApi$9 = {
10239
10329
  * - `Webhooks`: never
10240
10330
  * @returns Selector array
10241
10331
  */
10242
- getSelector: (type: SelectorType$9, value?: string) => Selector;
10243
- schemaToType: (args: Parameters<typeof schemaToType>[0]) => ts.TypeNode;
10332
+ selector: (type: SelectorType$10, value?: string) => Selector;
10244
10333
  };
10245
10334
  //#endregion
10246
10335
  //#region src/plugins/@hey-api/typescript/types.d.ts
10247
10336
  type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
10248
- type UserConfig$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10337
+ type UserConfig$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10249
10338
  /**
10250
10339
  * The casing convention to use for generated names.
10251
10340
  *
@@ -10498,7 +10587,7 @@ type UserConfig$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10498
10587
  */
10499
10588
  tree?: boolean;
10500
10589
  };
10501
- type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10590
+ type Config$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10502
10591
  /**
10503
10592
  * The casing convention to use for generated names.
10504
10593
  *
@@ -10719,11 +10808,11 @@ type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
10719
10808
  */
10720
10809
  tree: boolean;
10721
10810
  };
10722
- type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$10, Config$10, IApi$9>;
10811
+ type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$11, Config$11, IApi$10>;
10723
10812
  //#endregion
10724
10813
  //#region src/plugins/@pinia/colada/api.d.ts
10725
- type SelectorType$8 = '_JSONValue' | 'AxiosError' | 'createQueryKey' | 'defineQueryOptions' | 'QueryKey' | 'queryOptionsFn' | 'serializeQueryKeyValue' | 'UseMutationOptions' | 'UseQueryOptions';
10726
- type IApi$8 = {
10814
+ type SelectorType$9 = '_JSONValue' | 'AxiosError' | 'createQueryKey' | 'defineQueryOptions' | 'QueryKey' | 'queryOptionsFn' | 'serializeQueryKeyValue' | 'UseMutationOptions' | 'UseQueryOptions';
10815
+ type IApi$9 = {
10727
10816
  /**
10728
10817
  * @param type Selector type.
10729
10818
  * @param value Depends on `type`:
@@ -10738,11 +10827,11 @@ type IApi$8 = {
10738
10827
  * - `UseQueryOptions`: never
10739
10828
  * @returns Selector array
10740
10829
  */
10741
- getSelector: (type: SelectorType$8, value?: string) => Selector;
10830
+ selector: (type: SelectorType$9, value?: string) => Selector;
10742
10831
  };
10743
10832
  //#endregion
10744
10833
  //#region src/plugins/@pinia/colada/types.d.ts
10745
- type UserConfig$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10834
+ type UserConfig$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10746
10835
  /**
10747
10836
  * The casing convention to use for generated names.
10748
10837
  *
@@ -10920,7 +11009,7 @@ type UserConfig$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10920
11009
  name?: StringName;
10921
11010
  };
10922
11011
  };
10923
- type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
11012
+ type Config$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
10924
11013
  /**
10925
11014
  * The casing convention to use for generated names.
10926
11015
  *
@@ -11069,11 +11158,11 @@ type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
11069
11158
  name: StringName;
11070
11159
  };
11071
11160
  };
11072
- type PiniaColadaPlugin = DefinePlugin<UserConfig$9, Config$9, IApi$8>;
11161
+ type PiniaColadaPlugin = DefinePlugin<UserConfig$10, Config$10, IApi$9>;
11073
11162
  //#endregion
11074
11163
  //#region src/plugins/@tanstack/angular-query-experimental/api.d.ts
11075
- type SelectorType$7 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11076
- type IApi$7 = {
11164
+ type SelectorType$8 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11165
+ type IApi$8 = {
11077
11166
  /**
11078
11167
  * @param type Selector type.
11079
11168
  * @param value Depends on `type`:
@@ -11090,11 +11179,11 @@ type IApi$7 = {
11090
11179
  * - `useQuery`: never
11091
11180
  * @returns Selector array
11092
11181
  */
11093
- getSelector: (type: SelectorType$7, value?: string) => Selector;
11182
+ selector: (type: SelectorType$8, value?: string) => Selector;
11094
11183
  };
11095
11184
  //#endregion
11096
11185
  //#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
11097
- type UserConfig$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11186
+ type UserConfig$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11098
11187
  /**
11099
11188
  * The casing convention to use for generated names.
11100
11189
  *
@@ -11375,7 +11464,7 @@ type UserConfig$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin
11375
11464
  name?: StringName;
11376
11465
  };
11377
11466
  };
11378
- type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11467
+ type Config$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
11379
11468
  /**
11380
11469
  * The casing convention to use for generated names.
11381
11470
  *
@@ -11616,11 +11705,11 @@ type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hoo
11616
11705
  name: StringName;
11617
11706
  };
11618
11707
  };
11619
- type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$8, Config$8, IApi$7>;
11708
+ type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$9, Config$9, IApi$8>;
11620
11709
  //#endregion
11621
11710
  //#region src/plugins/@tanstack/react-query/api.d.ts
11622
- type SelectorType$6 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11623
- type IApi$6 = {
11711
+ type SelectorType$7 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11712
+ type IApi$7 = {
11624
11713
  /**
11625
11714
  * @param type Selector type.
11626
11715
  * @param value Depends on `type`:
@@ -11637,11 +11726,11 @@ type IApi$6 = {
11637
11726
  * - `useQuery`: never
11638
11727
  * @returns Selector array
11639
11728
  */
11640
- getSelector: (type: SelectorType$6, value?: string) => Selector;
11729
+ selector: (type: SelectorType$7, value?: string) => Selector;
11641
11730
  };
11642
11731
  //#endregion
11643
11732
  //#region src/plugins/@tanstack/react-query/types.d.ts
11644
- type UserConfig$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11733
+ type UserConfig$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11645
11734
  /**
11646
11735
  * The casing convention to use for generated names.
11647
11736
  *
@@ -11966,7 +12055,7 @@ type UserConfig$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11966
12055
  name?: StringName;
11967
12056
  };
11968
12057
  };
11969
- type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
12058
+ type Config$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
11970
12059
  /**
11971
12060
  * The casing convention to use for generated names.
11972
12061
  *
@@ -12238,11 +12327,11 @@ type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
12238
12327
  name: StringName;
12239
12328
  };
12240
12329
  };
12241
- type TanStackReactQueryPlugin = DefinePlugin<UserConfig$7, Config$7, IApi$6>;
12330
+ type TanStackReactQueryPlugin = DefinePlugin<UserConfig$8, Config$8, IApi$7>;
12242
12331
  //#endregion
12243
12332
  //#region src/plugins/@tanstack/solid-query/api.d.ts
12244
- type SelectorType$5 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12245
- type IApi$5 = {
12333
+ type SelectorType$6 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12334
+ type IApi$6 = {
12246
12335
  /**
12247
12336
  * @param type Selector type.
12248
12337
  * @param value Depends on `type`:
@@ -12259,11 +12348,11 @@ type IApi$5 = {
12259
12348
  * - `useQuery`: never
12260
12349
  * @returns Selector array
12261
12350
  */
12262
- getSelector: (type: SelectorType$5, value?: string) => Selector;
12351
+ selector: (type: SelectorType$6, value?: string) => Selector;
12263
12352
  };
12264
12353
  //#endregion
12265
12354
  //#region src/plugins/@tanstack/solid-query/types.d.ts
12266
- type UserConfig$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12355
+ type UserConfig$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12267
12356
  /**
12268
12357
  * The casing convention to use for generated names.
12269
12358
  *
@@ -12545,7 +12634,7 @@ type UserConfig$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12545
12634
  name?: StringName;
12546
12635
  };
12547
12636
  };
12548
- type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12637
+ type Config$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12549
12638
  /**
12550
12639
  * The casing convention to use for generated names.
12551
12640
  *
@@ -12786,11 +12875,11 @@ type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
12786
12875
  name: StringName;
12787
12876
  };
12788
12877
  };
12789
- type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$6, Config$6, IApi$5>;
12878
+ type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$7, Config$7, IApi$6>;
12790
12879
  //#endregion
12791
12880
  //#region src/plugins/@tanstack/svelte-query/api.d.ts
12792
- type SelectorType$4 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12793
- type IApi$4 = {
12881
+ type SelectorType$5 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
12882
+ type IApi$5 = {
12794
12883
  /**
12795
12884
  * @param type Selector type.
12796
12885
  * @param value Depends on `type`:
@@ -12807,11 +12896,11 @@ type IApi$4 = {
12807
12896
  * - `useQuery`: never
12808
12897
  * @returns Selector array
12809
12898
  */
12810
- getSelector: (type: SelectorType$4, value?: string) => Selector;
12899
+ selector: (type: SelectorType$5, value?: string) => Selector;
12811
12900
  };
12812
12901
  //#endregion
12813
12902
  //#region src/plugins/@tanstack/svelte-query/types.d.ts
12814
- type UserConfig$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
12903
+ type UserConfig$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
12815
12904
  /**
12816
12905
  * The casing convention to use for generated names.
12817
12906
  *
@@ -13092,7 +13181,7 @@ type UserConfig$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13092
13181
  name?: StringName;
13093
13182
  };
13094
13183
  };
13095
- type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13184
+ type Config$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13096
13185
  /**
13097
13186
  * The casing convention to use for generated names.
13098
13187
  *
@@ -13333,11 +13422,11 @@ type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
13333
13422
  name: StringName;
13334
13423
  };
13335
13424
  };
13336
- type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$5, Config$5, IApi$4>;
13425
+ type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$6, Config$6, IApi$5>;
13337
13426
  //#endregion
13338
13427
  //#region src/plugins/@tanstack/vue-query/api.d.ts
13339
- type SelectorType$3 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
13340
- type IApi$3 = {
13428
+ type SelectorType$4 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
13429
+ type IApi$4 = {
13341
13430
  /**
13342
13431
  * @param type Selector type.
13343
13432
  * @param value Depends on `type`:
@@ -13354,11 +13443,11 @@ type IApi$3 = {
13354
13443
  * - `useQuery`: never
13355
13444
  * @returns Selector array
13356
13445
  */
13357
- getSelector: (type: SelectorType$3, value?: string) => Selector;
13446
+ selector: (type: SelectorType$4, value?: string) => Selector;
13358
13447
  };
13359
13448
  //#endregion
13360
13449
  //#region src/plugins/@tanstack/vue-query/types.d.ts
13361
- type UserConfig$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13450
+ type UserConfig$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13362
13451
  /**
13363
13452
  * The casing convention to use for generated names.
13364
13453
  *
@@ -13642,7 +13731,7 @@ type UserConfig$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13642
13731
  name?: StringName;
13643
13732
  };
13644
13733
  };
13645
- type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13734
+ type Config$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13646
13735
  /**
13647
13736
  * The casing convention to use for generated names.
13648
13737
  *
@@ -13886,64 +13975,46 @@ type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
13886
13975
  name: StringName;
13887
13976
  };
13888
13977
  };
13889
- type TanStackVueQueryPlugin = DefinePlugin<UserConfig$4, Config$4, IApi$3>;
13890
- //#endregion
13891
- //#region src/plugins/fastify/api.d.ts
13892
- type SelectorType$2 = 'RouteHandler';
13893
- type IApi$2 = {
13894
- /**
13895
- * @param type Selector type.
13896
- * @param value Depends on `type`:
13897
- * - `RouteHandler`: never
13898
- * @returns Selector array
13899
- */
13900
- getSelector: (type: SelectorType$2, value?: string) => Selector;
13901
- };
13902
- //#endregion
13903
- //#region src/plugins/fastify/types.d.ts
13904
- type UserConfig$3 = Plugin.Name<'fastify'> & Plugin.Hooks & {
13905
- /**
13906
- * Should the exports from the generated files be re-exported in the index
13907
- * barrel file?
13908
- *
13909
- * @default false
13910
- */
13911
- exportFromIndex?: boolean;
13912
- };
13913
- type FastifyPlugin = DefinePlugin<UserConfig$3, UserConfig$3, IApi$2>;
13978
+ type TanStackVueQueryPlugin = DefinePlugin<UserConfig$5, Config$5, IApi$4>;
13914
13979
  //#endregion
13915
- //#region src/plugins/valibot/api.d.ts
13916
- type SelectorType$1 = 'data' | 'import' | 'ref' | 'responses' | 'webhook-request';
13917
- type ValidatorArgs$1 = {
13980
+ //#region src/plugins/arktype/shared/types.d.ts
13981
+ type ValidatorArgs$2 = {
13918
13982
  operation: IR$1.OperationObject;
13919
- plugin: ValibotPlugin['Instance'];
13983
+ plugin: ArktypePlugin['Instance'];
13920
13984
  };
13921
- type IApi$1 = {
13922
- createRequestValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
13923
- 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;
13924
13991
  /**
13925
13992
  * @param type Selector type.
13926
13993
  * @param value Depends on `type`:
13927
13994
  * - `data`: `operation.id` string
13928
- * - `import`: headless symbols representing module imports
13995
+ * - `external`: external modules
13929
13996
  * - `ref`: `$ref` JSON pointer
13930
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
13931
14002
  * - `webhook-request`: `operation.id` string
13932
14003
  * @returns Selector array
13933
14004
  */
13934
- getSelector: (type: SelectorType$1, value?: string) => Selector;
14005
+ selector: (type: SelectorType$3, value?: string) => Selector;
13935
14006
  };
13936
14007
  //#endregion
13937
- //#region src/plugins/valibot/types.d.ts
13938
- 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 & {
13939
14010
  /**
13940
14011
  * The casing convention to use for generated names.
13941
14012
  *
13942
- * @default 'camelCase'
14013
+ * @default 'PascalCase'
13943
14014
  */
13944
14015
  case?: StringCase;
13945
14016
  /**
13946
- * Add comments from input to the generated Valibot schemas?
14017
+ * Add comments from input to the generated Arktype schemas?
13947
14018
  *
13948
14019
  * @default true
13949
14020
  */
@@ -13951,7 +14022,7 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13951
14022
  /**
13952
14023
  * Configuration for reusable schema definitions.
13953
14024
  *
13954
- * Controls generation of shared Valibot schemas that can be referenced
14025
+ * Controls generation of shared Arktype schemas that can be referenced
13955
14026
  * across requests and responses.
13956
14027
  *
13957
14028
  * Can be:
@@ -13963,11 +14034,11 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13963
14034
  /**
13964
14035
  * The casing convention to use for generated names.
13965
14036
  *
13966
- * @default 'camelCase'
14037
+ * @default 'PascalCase'
13967
14038
  */
13968
14039
  case?: StringCase;
13969
14040
  /**
13970
- * Whether to generate Valibot schemas for reusable definitions.
14041
+ * Whether to generate Arktype schemas for reusable definitions.
13971
14042
  *
13972
14043
  * @default true
13973
14044
  */
@@ -13976,14 +14047,694 @@ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
13976
14047
  * Custom naming pattern for generated schema names. The name variable
13977
14048
  * is obtained from the schema name.
13978
14049
  *
13979
- * @default 'v{{name}}'
14050
+ * @default '{{name}}'
13980
14051
  */
13981
14052
  name?: StringName;
13982
- };
13983
- /**
13984
- * Should the exports from the generated files be re-exported in the index
13985
- * barrel file?
13986
- *
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
+ *
13987
14738
  * @default false
13988
14739
  */
13989
14740
  exportFromIndex?: boolean;
@@ -14231,12 +14982,14 @@ type Config$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
14231
14982
  };
14232
14983
  type ValibotPlugin = DefinePlugin<UserConfig$2, Config$3, IApi$1>;
14233
14984
  //#endregion
14234
- //#region src/plugins/zod/api.d.ts
14235
- 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
14236
14986
  type ValidatorArgs = {
14237
14987
  operation: IR$1.OperationObject;
14238
14988
  plugin: ZodPlugin['Instance'];
14239
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';
14240
14993
  type IApi = {
14241
14994
  createRequestValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
14242
14995
  createResponseValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
@@ -14244,7 +14997,7 @@ type IApi = {
14244
14997
  * @param type Selector type.
14245
14998
  * @param value Depends on `type`:
14246
14999
  * - `data`: `operation.id` string
14247
- * - `import`: headless symbols representing module imports
15000
+ * - `external`: external modules
14248
15001
  * - `ref`: `$ref` JSON pointer
14249
15002
  * - `responses`: `operation.id` string
14250
15003
  * - `type-infer-data`: `operation.id` string
@@ -14254,7 +15007,7 @@ type IApi = {
14254
15007
  * - `webhook-request`: `operation.id` string
14255
15008
  * @returns Selector array
14256
15009
  */
14257
- getSelector: (type: SelectorType, value?: string) => Selector;
15010
+ selector: (type: SelectorType, value?: string) => Selector;
14258
15011
  };
14259
15012
  //#endregion
14260
15013
  //#region src/plugins/zod/types.d.ts
@@ -14348,7 +15101,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14348
15101
  */
14349
15102
  types?: {
14350
15103
  /**
14351
- * Configuration for `z.infer` types.
15104
+ * Configuration for `infer` types.
14352
15105
  *
14353
15106
  * Can be:
14354
15107
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14435,7 +15188,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14435
15188
  */
14436
15189
  types?: {
14437
15190
  /**
14438
- * Configuration for `z.infer` types.
15191
+ * Configuration for `infer` types.
14439
15192
  *
14440
15193
  * Can be:
14441
15194
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14507,7 +15260,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14507
15260
  */
14508
15261
  types?: {
14509
15262
  /**
14510
- * Configuration for `z.infer` types.
15263
+ * Configuration for `infer` types.
14511
15264
  *
14512
15265
  * Can be:
14513
15266
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14546,7 +15299,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14546
15299
  */
14547
15300
  types?: {
14548
15301
  /**
14549
- * Configuration for `z.infer` types.
15302
+ * Configuration for `infer` types.
14550
15303
  *
14551
15304
  * Can be:
14552
15305
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14609,7 +15362,7 @@ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
14609
15362
  */
14610
15363
  types?: {
14611
15364
  /**
14612
- * Configuration for `z.infer` types.
15365
+ * Configuration for `infer` types.
14613
15366
  *
14614
15367
  * Can be:
14615
15368
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -14725,7 +15478,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14725
15478
  */
14726
15479
  types: {
14727
15480
  /**
14728
- * Configuration for `z.infer` types.
15481
+ * Configuration for `infer` types.
14729
15482
  */
14730
15483
  infer: {
14731
15484
  /**
@@ -14798,7 +15551,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14798
15551
  */
14799
15552
  types: {
14800
15553
  /**
14801
- * Configuration for `z.infer` types.
15554
+ * Configuration for `infer` types.
14802
15555
  */
14803
15556
  infer: {
14804
15557
  /**
@@ -14856,7 +15609,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14856
15609
  */
14857
15610
  types: {
14858
15611
  /**
14859
- * Configuration for `z.infer` types.
15612
+ * Configuration for `infer` types.
14860
15613
  */
14861
15614
  infer: {
14862
15615
  /**
@@ -14888,7 +15641,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14888
15641
  */
14889
15642
  types: {
14890
15643
  /**
14891
- * Configuration for `z.infer` types.
15644
+ * Configuration for `infer` types.
14892
15645
  */
14893
15646
  infer: {
14894
15647
  /**
@@ -14937,7 +15690,7 @@ type Config$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
14937
15690
  */
14938
15691
  types: {
14939
15692
  /**
14940
- * Configuration for `z.infer` types.
15693
+ * Configuration for `infer` types.
14941
15694
  */
14942
15695
  infer: {
14943
15696
  /**
@@ -14984,6 +15737,7 @@ interface PluginConfigMap {
14984
15737
  '@tanstack/solid-query': TanStackSolidQueryPlugin['Types'];
14985
15738
  '@tanstack/svelte-query': TanStackSvelteQueryPlugin['Types'];
14986
15739
  '@tanstack/vue-query': TanStackVueQueryPlugin['Types'];
15740
+ arktype: ArktypePlugin['Types'];
14987
15741
  fastify: FastifyPlugin['Types'];
14988
15742
  'legacy/angular': HeyApiClientLegacyAngularPlugin['Types'];
14989
15743
  'legacy/axios': HeyApiClientLegacyAxiosPlugin['Types'];
@@ -15005,6 +15759,10 @@ declare class IRContext<Spec$1 extends Record<string, any> = any> {
15005
15759
  * The code generation project instance used to manage files, symbols,
15006
15760
  */
15007
15761
  gen: Project;
15762
+ /**
15763
+ * The dependency graph built from the intermediate representation.
15764
+ */
15765
+ graph: Graph | undefined;
15008
15766
  /**
15009
15767
  * Intermediate representation model obtained from `spec`.
15010
15768
  */
@@ -15272,13 +16030,6 @@ interface IRSchemaObject extends Pick<JsonSchemaDraft2020_12, '$ref' | 'const' |
15272
16030
  * properties altogether.
15273
16031
  */
15274
16032
  additionalProperties?: IRSchemaObject | false;
15275
- /**
15276
- * If this schema is a $ref and is circular (points to itself or is in the current resolution stack),
15277
- * this flag is set to true.
15278
- *
15279
- * @default undefined
15280
- */
15281
- circular?: boolean;
15282
16033
  /**
15283
16034
  * Any string value is accepted as `format`.
15284
16035
  */
@@ -15304,7 +16055,6 @@ interface IRSchemaObject extends Pick<JsonSchemaDraft2020_12, '$ref' | 'const' |
15304
16055
  * When type is `object`, `properties` will contain a map of its properties.
15305
16056
  */
15306
16057
  properties?: Record<string, IRSchemaObject>;
15307
-
15308
16058
  /**
15309
16059
  * The names of `properties` can be validated against a schema, irrespective
15310
16060
  * of their values. This can be useful if you don't want to enforce specific
@@ -15369,5 +16119,5 @@ interface WatchValues {
15369
16119
  lastValue?: string;
15370
16120
  }
15371
16121
  //#endregion
15372
- export { OpenApiSchemaObject as C, MaybeArray as D, LazyOrAsync as E, OpenApiResponseObject as S, StringCase as T, OpenApi$1 as _, ExpressionTransformer as a, OpenApiParameterObject as b, Client as c, Plugin as d, Client$1 as f, UserConfig$26 as g, Config$1 as h, TypeTransformer as i, PluginHandler as l, Logger as m, WatchValues as n, compiler as o, parseOpenApiSpec as p, IR$1 as r, tsc as s, LegacyIR as t, DefinePlugin as u, OpenApiMetaObject as v, Input as w, OpenApiRequestBodyObject as x, OpenApiOperationObject as y };
15373
- //# sourceMappingURL=types-k8CRHWYM.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