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