@hey-api/openapi-ts 0.86.7 → 0.86.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { IProject, Project, Selector, Symbol, SymbolIn, SymbolMeta } from "@hey-api/codegen-core";
1
+ import { IProject, Project, Symbol, SymbolIdentifier, SymbolIn, SymbolMeta } from "@hey-api/codegen-core";
2
2
  import fs from "node:fs";
3
3
  import ts from "typescript";
4
4
  import { RangeOptions, SemVer } from "semver";
@@ -3098,21 +3098,7 @@ type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCRE
3098
3098
  type StringName = string | ((name: string) => string);
3099
3099
  //#endregion
3100
3100
  //#region src/plugins/@angular/common/api.d.ts
3101
- type SelectorType$20 = 'class' | 'httpRequest' | 'httpResource' | 'HttpRequest' | 'inject' | 'Injectable';
3102
- type IApi$20 = {
3103
- /**
3104
- * @param type Selector type.
3105
- * @param value Depends on `type`:
3106
- * - `class`: raw string entry from path
3107
- * - `httpRequest`: `operation.id` string
3108
- * - `httpResource`: never
3109
- * - `HttpRequest`: never
3110
- * - `inject`: never
3111
- * - `Injectable`: never
3112
- * @returns Selector array
3113
- */
3114
- selector: (type: SelectorType$20, value?: string) => Selector;
3115
- };
3101
+ type IApi$20 = any;
3116
3102
  //#endregion
3117
3103
  //#region src/plugins/@angular/common/types.d.ts
3118
3104
  type UserConfig$27 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
@@ -3249,16 +3235,7 @@ type Config$14 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
3249
3235
  type AngularCommonPlugin = DefinePlugin<UserConfig$27, Config$14, IApi$20>;
3250
3236
  //#endregion
3251
3237
  //#region src/plugins/@hey-api/client-axios/api.d.ts
3252
- type SelectorType$19 = 'client';
3253
- type IApi$19 = {
3254
- /**
3255
- * @param type Selector type.
3256
- * @param value Depends on `type`:
3257
- * - `client`: never
3258
- * @returns Selector array
3259
- */
3260
- selector: (type: SelectorType$19, value?: string) => Selector;
3261
- };
3238
+ type IApi$19 = any;
3262
3239
  //#endregion
3263
3240
  //#region src/plugins/@hey-api/client-axios/types.d.ts
3264
3241
  type UserConfig$26 = Plugin.Name<'@hey-api/client-axios'> & Client$2.Config & {
@@ -3272,16 +3249,7 @@ type UserConfig$26 = Plugin.Name<'@hey-api/client-axios'> & Client$2.Config & {
3272
3249
  type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$26, UserConfig$26, IApi$19>;
3273
3250
  //#endregion
3274
3251
  //#region src/plugins/@hey-api/client-fetch/api.d.ts
3275
- type SelectorType$18 = 'client';
3276
- type IApi$18 = {
3277
- /**
3278
- * @param type Selector type.
3279
- * @param value Depends on `type`:
3280
- * - `client`: never
3281
- * @returns Selector array
3282
- */
3283
- selector: (type: SelectorType$18, value?: string) => Selector;
3284
- };
3252
+ type IApi$18 = any;
3285
3253
  //#endregion
3286
3254
  //#region src/plugins/@hey-api/client-fetch/types.d.ts
3287
3255
  type UserConfig$25 = Plugin.Name<'@hey-api/client-fetch'> & Client$2.Config & {
@@ -3295,16 +3263,7 @@ type UserConfig$25 = Plugin.Name<'@hey-api/client-fetch'> & Client$2.Config & {
3295
3263
  type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$25, UserConfig$25, IApi$18>;
3296
3264
  //#endregion
3297
3265
  //#region src/plugins/@hey-api/client-next/api.d.ts
3298
- type SelectorType$17 = 'client';
3299
- type IApi$17 = {
3300
- /**
3301
- * @param type Selector type.
3302
- * @param value Depends on `type`:
3303
- * - `client`: never
3304
- * @returns Selector array
3305
- */
3306
- selector: (type: SelectorType$17, value?: string) => Selector;
3307
- };
3266
+ type IApi$17 = any;
3308
3267
  //#endregion
3309
3268
  //#region src/plugins/@hey-api/client-next/types.d.ts
3310
3269
  type UserConfig$24 = Plugin.Name<'@hey-api/client-next'> & Client$2.Config & {
@@ -3318,32 +3277,14 @@ type UserConfig$24 = Plugin.Name<'@hey-api/client-next'> & Client$2.Config & {
3318
3277
  type HeyApiClientNextPlugin = DefinePlugin<UserConfig$24, UserConfig$24, IApi$17>;
3319
3278
  //#endregion
3320
3279
  //#region src/plugins/@hey-api/client-nuxt/api.d.ts
3321
- type SelectorType$16 = 'client';
3322
- type IApi$16 = {
3323
- /**
3324
- * @param type Selector type.
3325
- * @param value Depends on `type`:
3326
- * - `client`: never
3327
- * @returns Selector array
3328
- */
3329
- selector: (type: SelectorType$16, value?: string) => Selector;
3330
- };
3280
+ type IApi$16 = any;
3331
3281
  //#endregion
3332
3282
  //#region src/plugins/@hey-api/client-nuxt/types.d.ts
3333
3283
  type UserConfig$23 = Plugin.Name<'@hey-api/client-nuxt'> & Client$2.Config;
3334
3284
  type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$23, UserConfig$23, IApi$16>;
3335
3285
  //#endregion
3336
3286
  //#region src/plugins/@hey-api/client-ofetch/api.d.ts
3337
- type SelectorType$15 = 'client';
3338
- type IApi$15 = {
3339
- /**
3340
- * @param type Selector type.
3341
- * @param value Depends on `type`:
3342
- * - `client`: never
3343
- * @returns Selector array
3344
- */
3345
- selector: (type: SelectorType$15, value?: string) => Selector;
3346
- };
3287
+ type IApi$15 = any;
3347
3288
  //#endregion
3348
3289
  //#region src/plugins/@hey-api/client-ofetch/types.d.ts
3349
3290
  type UserConfig$22 = Plugin.Name<'@hey-api/client-ofetch'> & Client$2.Config & {
@@ -3424,16 +3365,7 @@ declare namespace Client$2 {
3424
3365
  }
3425
3366
  //#endregion
3426
3367
  //#region src/plugins/@hey-api/client-angular/api.d.ts
3427
- type SelectorType$14 = 'client';
3428
- type IApi$14 = {
3429
- /**
3430
- * @param type Selector type.
3431
- * @param value Depends on `type`:
3432
- * - `client`: never
3433
- * @returns Selector array
3434
- */
3435
- selector: (type: SelectorType$14, value?: string) => Selector;
3436
- };
3368
+ type IApi$14 = any;
3437
3369
  //#endregion
3438
3370
  //#region src/plugins/@hey-api/client-angular/types.d.ts
3439
3371
  type UserConfig$21 = Plugin.Name<'@hey-api/client-angular'> & Client$2.Config & {
@@ -3733,6 +3665,11 @@ interface Client$1 {
3733
3665
  declare class Logger {
3734
3666
  private events;
3735
3667
  private end;
3668
+ /**
3669
+ * Recursively end all unended events in the event tree.
3670
+ * This ensures all events have end marks before measuring.
3671
+ */
3672
+ private endAllEvents;
3736
3673
  report(print?: boolean): PerformanceMeasure | undefined;
3737
3674
  private reportEvent;
3738
3675
  private start;
@@ -7296,16 +7233,7 @@ interface OpenApiV3_1_XTypes {
7296
7233
  }
7297
7234
  //#endregion
7298
7235
  //#region src/plugins/@hey-api/schemas/api.d.ts
7299
- type SelectorType$13 = 'ref';
7300
- type IApi$13 = {
7301
- /**
7302
- * @param type Selector type.
7303
- * @param value Depends on `type`:
7304
- * - `ref`: `$ref` JSON pointer
7305
- * @returns Selector array
7306
- */
7307
- selector: (type: SelectorType$13, value?: string) => Selector;
7308
- };
7236
+ type IApi$13 = any;
7309
7237
  //#endregion
7310
7238
  //#region src/plugins/@hey-api/schemas/types.d.ts
7311
7239
  type UserConfig$15 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
@@ -7408,7 +7336,7 @@ type BaseEvent = {
7408
7336
  /**
7409
7337
  * Tags associated with the node.
7410
7338
  */
7411
- tags?: Set<string>;
7339
+ tags?: ReadonlyArray<string>;
7412
7340
  };
7413
7341
  type WalkEvents = BaseEvent & ({
7414
7342
  method: keyof IR$1.PathItemObject;
@@ -7507,15 +7435,16 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7507
7435
  * @returns The plugin instance if found, throw otherwise.
7508
7436
  */
7509
7437
  getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
7510
- getSymbol(symbolIdOrSelector: number | Selector): Symbol | undefined;
7438
+ getSymbol(identifier: SymbolIdentifier): Symbol | undefined;
7511
7439
  hooks: {
7512
7440
  operation: {
7513
7441
  isMutation: (operation: IR$1.OperationObject) => boolean;
7514
7442
  isQuery: (operation: IR$1.OperationObject) => boolean;
7515
7443
  };
7516
7444
  };
7517
- isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
7518
- referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
7445
+ isSymbolRegistered(identifier: SymbolIdentifier): boolean;
7446
+ querySymbol(filter: SymbolMeta): Symbol | undefined;
7447
+ referenceSymbol(meta: SymbolMeta): Symbol;
7519
7448
  registerSymbol(symbol: SymbolIn): Symbol;
7520
7449
  /**
7521
7450
  * Executes plugin's handler function.
@@ -7840,24 +7769,7 @@ type DefinePlugin<Config$15 extends BaseConfig = BaseConfig, ResolvedConfig$1 ex
7840
7769
  };
7841
7770
  //#endregion
7842
7771
  //#region src/plugins/@hey-api/sdk/api.d.ts
7843
- type SelectorType$12 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
7844
- type IApi$12 = {
7845
- /**
7846
- * @param type Selector type.
7847
- * @param value Depends on `type`:
7848
- * - `buildClientParams`: never
7849
- * - `class`: current class name
7850
- * - `Client`: never
7851
- * - `Composable`: never
7852
- * - `formDataBodySerializer`: never
7853
- * - `function`: `operation.id` string
7854
- * - `Injectable`: never
7855
- * - `Options`: never
7856
- * - `urlSearchParamsBodySerializer`: never
7857
- * @returns Selector array
7858
- */
7859
- selector: (type: SelectorType$12, value?: string) => Selector;
7860
- };
7772
+ type IApi$12 = any;
7861
7773
  //#endregion
7862
7774
  //#region src/plugins/@hey-api/sdk/types.d.ts
7863
7775
  type UserConfig$14 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
@@ -8175,17 +8087,7 @@ type Config$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
8175
8087
  type HeyApiSdkPlugin = DefinePlugin<UserConfig$14, Config$13, IApi$12>;
8176
8088
  //#endregion
8177
8089
  //#region src/plugins/@hey-api/transformers/api.d.ts
8178
- type SelectorType$11 = 'response' | 'response-ref';
8179
- type IApi$11 = {
8180
- /**
8181
- * @param type Selector type.
8182
- * @param value Depends on `type`:
8183
- * - `response`: `operation.id` string
8184
- * - `response-ref`: `$ref` JSON pointer
8185
- * @returns Selector array
8186
- */
8187
- selector: (type: SelectorType$11, value?: string) => Selector;
8188
- };
8090
+ type IApi$11 = any;
8189
8091
  //#endregion
8190
8092
  //#region src/plugins/@hey-api/transformers/expressions.d.ts
8191
8093
  type ExpressionTransformer = ({
@@ -8285,26 +8187,8 @@ declare const irSchemaToAst: ({
8285
8187
  }) => ts.TypeNode;
8286
8188
  //#endregion
8287
8189
  //#region src/plugins/@hey-api/typescript/api.d.ts
8288
- type SelectorType$10 = 'ClientOptions' | 'data' | 'error' | 'errors' | 'ref' | 'response' | 'responses' | 'TypeID' | 'webhook-payload' | 'webhook-request' | 'Webhooks';
8289
8190
  type IApi$10 = {
8290
8191
  schemaToType: (args: Parameters<typeof irSchemaToAst>[0]) => ts.TypeNode;
8291
- /**
8292
- * @param type Selector type.
8293
- * @param value Depends on `type`:
8294
- * - `ClientOptions`: never
8295
- * - `data`: `operation.id` string
8296
- * - `error`: `operation.id` string
8297
- * - `errors`: `operation.id` string
8298
- * - `ref`: `$ref` JSON pointer
8299
- * - `response`: `operation.id` string
8300
- * - `responses`: `operation.id` string
8301
- * - `TypeID`: `type` name string
8302
- * - `webhook-payload`: `operation.id` string
8303
- * - `webhook-request`: `operation.id` string
8304
- * - `Webhooks`: never
8305
- * @returns Selector array
8306
- */
8307
- selector: (type: SelectorType$10, value?: string) => Selector;
8308
8192
  };
8309
8193
  //#endregion
8310
8194
  //#region src/plugins/@hey-api/typescript/types.d.ts
@@ -8786,24 +8670,7 @@ type Config$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
8786
8670
  type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$12, Config$11, IApi$10>;
8787
8671
  //#endregion
8788
8672
  //#region src/plugins/@pinia/colada/api.d.ts
8789
- type SelectorType$9 = '_JSONValue' | 'AxiosError' | 'createQueryKey' | 'defineQueryOptions' | 'QueryKey' | 'queryOptionsFn' | 'serializeQueryKeyValue' | 'UseMutationOptions' | 'UseQueryOptions';
8790
- type IApi$9 = {
8791
- /**
8792
- * @param type Selector type.
8793
- * @param value Depends on `type`:
8794
- * - `_JSONValue`: never
8795
- * - `AxiosError`: never
8796
- * - `createQueryKey`: never
8797
- * - `defineQueryOptions`: never
8798
- * - `QueryKey`: never
8799
- * - `queryOptionsFn`: `operation.id` string
8800
- * - `serializeQueryKeyValue`: never
8801
- * - `UseMutationOptions`: never
8802
- * - `UseQueryOptions`: never
8803
- * @returns Selector array
8804
- */
8805
- selector: (type: SelectorType$9, value?: string) => Selector;
8806
- };
8673
+ type IApi$9 = any;
8807
8674
  //#endregion
8808
8675
  //#region src/plugins/@pinia/colada/types.d.ts
8809
8676
  type UserConfig$11 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
@@ -9136,26 +9003,7 @@ type Config$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
9136
9003
  type PiniaColadaPlugin = DefinePlugin<UserConfig$11, Config$10, IApi$9>;
9137
9004
  //#endregion
9138
9005
  //#region src/plugins/@tanstack/angular-query-experimental/api.d.ts
9139
- type SelectorType$8 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
9140
- type IApi$8 = {
9141
- /**
9142
- * @param type Selector type.
9143
- * @param value Depends on `type`:
9144
- * - `AxiosError`: never
9145
- * - `createInfiniteParams`: never
9146
- * - `createQueryKey`: never
9147
- * - `DefaultError`: never
9148
- * - `infiniteQueryOptions`: never
9149
- * - `InfiniteData`: never
9150
- * - `MutationOptions`: never
9151
- * - `queryOptions`: never
9152
- * - `queryOptionsFn`: `operation.id` string
9153
- * - `QueryKey`: never
9154
- * - `useQuery`: never
9155
- * @returns Selector array
9156
- */
9157
- selector: (type: SelectorType$8, value?: string) => Selector;
9158
- };
9006
+ type IApi$8 = any;
9159
9007
  //#endregion
9160
9008
  //#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
9161
9009
  type UserConfig$10 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
@@ -9683,26 +9531,7 @@ type Config$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hoo
9683
9531
  type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$10, Config$9, IApi$8>;
9684
9532
  //#endregion
9685
9533
  //#region src/plugins/@tanstack/react-query/api.d.ts
9686
- type SelectorType$7 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
9687
- type IApi$7 = {
9688
- /**
9689
- * @param type Selector type.
9690
- * @param value Depends on `type`:
9691
- * - `AxiosError`: never
9692
- * - `createInfiniteParams`: never
9693
- * - `createQueryKey`: never
9694
- * - `DefaultError`: never
9695
- * - `infiniteQueryOptions`: never
9696
- * - `InfiniteData`: never
9697
- * - `MutationOptions`: never
9698
- * - `queryOptions`: never
9699
- * - `queryOptionsFn`: `operation.id` string
9700
- * - `QueryKey`: never
9701
- * - `useQuery`: never
9702
- * @returns Selector array
9703
- */
9704
- selector: (type: SelectorType$7, value?: string) => Selector;
9705
- };
9534
+ type IApi$7 = any;
9706
9535
  //#endregion
9707
9536
  //#region src/plugins/@tanstack/react-query/types.d.ts
9708
9537
  type UserConfig$9 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
@@ -10305,26 +10134,7 @@ type Config$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
10305
10134
  type TanStackReactQueryPlugin = DefinePlugin<UserConfig$9, Config$8, IApi$7>;
10306
10135
  //#endregion
10307
10136
  //#region src/plugins/@tanstack/solid-query/api.d.ts
10308
- type SelectorType$6 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
10309
- type IApi$6 = {
10310
- /**
10311
- * @param type Selector type.
10312
- * @param value Depends on `type`:
10313
- * - `AxiosError`: never
10314
- * - `createInfiniteParams`: never
10315
- * - `createQueryKey`: never
10316
- * - `DefaultError`: never
10317
- * - `infiniteQueryOptions`: never
10318
- * - `InfiniteData`: never
10319
- * - `MutationOptions`: never
10320
- * - `queryOptions`: never
10321
- * - `queryOptionsFn`: `operation.id` string
10322
- * - `QueryKey`: never
10323
- * - `useQuery`: never
10324
- * @returns Selector array
10325
- */
10326
- selector: (type: SelectorType$6, value?: string) => Selector;
10327
- };
10137
+ type IApi$6 = any;
10328
10138
  //#endregion
10329
10139
  //#region src/plugins/@tanstack/solid-query/types.d.ts
10330
10140
  type UserConfig$8 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
@@ -10853,26 +10663,7 @@ type Config$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
10853
10663
  type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$8, Config$7, IApi$6>;
10854
10664
  //#endregion
10855
10665
  //#region src/plugins/@tanstack/svelte-query/api.d.ts
10856
- type SelectorType$5 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
10857
- type IApi$5 = {
10858
- /**
10859
- * @param type Selector type.
10860
- * @param value Depends on `type`:
10861
- * - `AxiosError`: never
10862
- * - `createInfiniteParams`: never
10863
- * - `createQueryKey`: never
10864
- * - `DefaultError`: never
10865
- * - `infiniteQueryOptions`: never
10866
- * - `InfiniteData`: never
10867
- * - `MutationOptions`: never
10868
- * - `queryOptions`: never
10869
- * - `queryOptionsFn`: `operation.id` string
10870
- * - `QueryKey`: never
10871
- * - `useQuery`: never
10872
- * @returns Selector array
10873
- */
10874
- selector: (type: SelectorType$5, value?: string) => Selector;
10875
- };
10666
+ type IApi$5 = any;
10876
10667
  //#endregion
10877
10668
  //#region src/plugins/@tanstack/svelte-query/types.d.ts
10878
10669
  type UserConfig$7 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
@@ -11400,26 +11191,7 @@ type Config$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
11400
11191
  type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$7, Config$6, IApi$5>;
11401
11192
  //#endregion
11402
11193
  //#region src/plugins/@tanstack/vue-query/api.d.ts
11403
- type SelectorType$4 = 'AxiosError' | 'createInfiniteParams' | 'createQueryKey' | 'DefaultError' | 'infiniteQueryOptions' | 'InfiniteData' | 'MutationOptions' | 'queryOptions' | 'queryOptionsFn' | 'QueryKey' | 'useQuery';
11404
- type IApi$4 = {
11405
- /**
11406
- * @param type Selector type.
11407
- * @param value Depends on `type`:
11408
- * - `AxiosError`: never
11409
- * - `createInfiniteParams`: never
11410
- * - `createQueryKey`: never
11411
- * - `DefaultError`: never
11412
- * - `infiniteQueryOptions`: never
11413
- * - `InfiniteData`: never
11414
- * - `MutationOptions`: never
11415
- * - `queryOptions`: never
11416
- * - `queryOptionsFn`: `operation.id` string
11417
- * - `QueryKey`: never
11418
- * - `useQuery`: never
11419
- * @returns Selector array
11420
- */
11421
- selector: (type: SelectorType$4, value?: string) => Selector;
11422
- };
11194
+ type IApi$4 = any;
11423
11195
  //#endregion
11424
11196
  //#region src/plugins/@tanstack/vue-query/types.d.ts
11425
11197
  type UserConfig$6 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
@@ -11959,25 +11731,9 @@ type ValidatorArgs$2 = {
11959
11731
  };
11960
11732
  //#endregion
11961
11733
  //#region src/plugins/arktype/api.d.ts
11962
- type SelectorType$3 = 'data' | 'external' | 'ref' | 'responses' | 'type-infer-data' | 'type-infer-ref' | 'type-infer-responses' | 'type-infer-webhook-request' | 'webhook-request';
11963
11734
  type IApi$3 = {
11964
11735
  createRequestValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
11965
11736
  createResponseValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
11966
- /**
11967
- * @param type Selector type.
11968
- * @param value Depends on `type`:
11969
- * - `data`: `operation.id` string
11970
- * - `external`: external modules
11971
- * - `ref`: `$ref` JSON pointer
11972
- * - `responses`: `operation.id` string
11973
- * - `type-infer-data`: `operation.id` string
11974
- * - `type-infer-ref`: `$ref` JSON pointer
11975
- * - `type-infer-responses`: `operation.id` string
11976
- * - `type-infer-webhook-request`: `operation.id` string
11977
- * - `webhook-request`: `operation.id` string
11978
- * @returns Selector array
11979
- */
11980
- selector: (type: SelectorType$3, value?: string) => Selector;
11981
11737
  };
11982
11738
  //#endregion
11983
11739
  //#region src/plugins/arktype/types.d.ts
@@ -12613,16 +12369,7 @@ type Config$4 = Plugin.Name<'arktype'> & Plugin.Hooks & {
12613
12369
  type ArktypePlugin = DefinePlugin<UserConfig$5, Config$4, IApi$3>;
12614
12370
  //#endregion
12615
12371
  //#region src/plugins/fastify/api.d.ts
12616
- type SelectorType$2 = 'RouteHandler';
12617
- type IApi$2 = {
12618
- /**
12619
- * @param type Selector type.
12620
- * @param value Depends on `type`:
12621
- * - `RouteHandler`: never
12622
- * @returns Selector array
12623
- */
12624
- selector: (type: SelectorType$2, value?: string) => Selector;
12625
- };
12372
+ type IApi$2 = any;
12626
12373
  //#endregion
12627
12374
  //#region src/plugins/fastify/types.d.ts
12628
12375
  type UserConfig$4 = Plugin.Name<'fastify'> & Plugin.Hooks & {
@@ -12643,21 +12390,9 @@ type ValidatorArgs$1 = {
12643
12390
  };
12644
12391
  //#endregion
12645
12392
  //#region src/plugins/valibot/api.d.ts
12646
- type SelectorType$1 = 'data' | 'external' | 'ref' | 'responses' | 'webhook-request';
12647
12393
  type IApi$1 = {
12648
12394
  createRequestValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
12649
12395
  createResponseValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
12650
- /**
12651
- * @param type Selector type.
12652
- * @param value Depends on `type`:
12653
- * - `data`: `operation.id` string
12654
- * - `external`: external modules
12655
- * - `ref`: `$ref` JSON pointer
12656
- * - `responses`: `operation.id` string
12657
- * - `webhook-request`: `operation.id` string
12658
- * @returns Selector array
12659
- */
12660
- selector: (type: SelectorType$1, value?: string) => Selector;
12661
12396
  };
12662
12397
  //#endregion
12663
12398
  //#region src/plugins/valibot/types.d.ts
@@ -12964,25 +12699,9 @@ type ValidatorArgs = {
12964
12699
  };
12965
12700
  //#endregion
12966
12701
  //#region src/plugins/zod/api.d.ts
12967
- type SelectorType = 'data' | 'external' | 'ref' | 'responses' | 'type-infer-data' | 'type-infer-ref' | 'type-infer-responses' | 'type-infer-webhook-request' | 'webhook-request';
12968
12702
  type IApi = {
12969
12703
  createRequestValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
12970
12704
  createResponseValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
12971
- /**
12972
- * @param type Selector type.
12973
- * @param value Depends on `type`:
12974
- * - `data`: `operation.id` string
12975
- * - `external`: external modules
12976
- * - `ref`: `$ref` JSON pointer
12977
- * - `responses`: `operation.id` string
12978
- * - `type-infer-data`: `operation.id` string
12979
- * - `type-infer-ref`: `$ref` JSON pointer
12980
- * - `type-infer-responses`: `operation.id` string
12981
- * - `type-infer-webhook-request`: `operation.id` string
12982
- * - `webhook-request`: `operation.id` string
12983
- * @returns Selector array
12984
- */
12985
- selector: (type: SelectorType, value?: string) => Selector;
12986
12705
  };
12987
12706
  //#endregion
12988
12707
  //#region src/plugins/zod/types.d.ts
@@ -15105,4 +14824,4 @@ interface WatchValues {
15105
14824
  }
15106
14825
  //#endregion
15107
14826
  export { AccessLevel as A, PluginHandler as C, Comments as D, MaybeArray as E, types_d_exports as F, __export as I, FunctionTypeParameter as M, ObjectValue as N, ImportExportItemObject as O, SyntaxKindKeyword as P, Client$2 as S, LazyOrAsync as T, OpenApiRequestBodyObject as _, Input as a, parseOpenApiSpec as b, ExpressionTransformer as c, Client as d, Operation as f, OpenApiParameterObject as g, OpenApiOperationObject as h, UserConfig$1 as i, FunctionParameter as j, tsNodeToString as k, DefinePlugin as l, OpenApiMetaObject as m, WatchValues as n, IR$1 as o, OpenApi$1 as p, Config$1 as r, TypeTransformer as s, LegacyIR as t, Plugin as u, OpenApiResponseObject as v, StringCase as w, Logger as x, OpenApiSchemaObject as y };
15108
- //# sourceMappingURL=types-CHvu8B2X.d.cts.map
14827
+ //# sourceMappingURL=types-Cm9EOTQ7.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hey-api/openapi-ts",
3
- "version": "0.86.7",
3
+ "version": "0.86.9",
4
4
  "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
5
5
  "homepage": "https://heyapi.dev/",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "node": ">=20.19.0"
79
79
  },
80
80
  "dependencies": {
81
- "@hey-api/codegen-core": "^0.3.1",
81
+ "@hey-api/codegen-core": "^0.3.2",
82
82
  "@hey-api/json-schema-ref-parser": "1.2.1",
83
83
  "ansi-colors": "4.1.3",
84
84
  "c12": "3.3.1",