@hey-api/openapi-ts 0.86.9 → 0.86.11

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.
@@ -7401,7 +7401,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7401
7401
  * This ensures, for example, that schemas are always processed before
7402
7402
  * operations, which may reference them.
7403
7403
  *
7404
- * @template T - The event type(s) to yield. Defaults to all event types.
7404
+ * @template TKind - The event type(s) to yield. Defaults to all event types.
7405
7405
  * @param events - The event types to walk over. If none are provided, all event types are included.
7406
7406
  * @param callback - Function to execute for each event.
7407
7407
  *
@@ -7415,8 +7415,8 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7415
7415
  * }
7416
7416
  * });
7417
7417
  */
7418
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
7419
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions<T$1>]): void;
7418
+ forEach<TKind extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<TKind>, callback: (event: WalkEvent<TKind>) => void]): void;
7419
+ forEach<TKind extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<TKind>, callback: (event: WalkEvent<TKind>) => void, options: WalkOptions<TKind>]): void;
7420
7420
  /**
7421
7421
  * Retrieves a registered plugin instance by its name from the context. This
7422
7422
  * allows plugins to access other plugins that have been registered in the
@@ -7425,7 +7425,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7425
7425
  * @param name Plugin name as defined in the configuration.
7426
7426
  * @returns The plugin instance if found, undefined otherwise.
7427
7427
  */
7428
- getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
7428
+ getPlugin<TName extends keyof PluginConfigMap>(name: TName): TName extends any ? PluginInstance<PluginConfigMap[TName]> | undefined : never;
7429
7429
  /**
7430
7430
  * Retrieves a registered plugin instance by its name from the context. This
7431
7431
  * allows plugins to access other plugins that have been registered in the
@@ -7434,7 +7434,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7434
7434
  * @param name Plugin name as defined in the configuration.
7435
7435
  * @returns The plugin instance if found, throw otherwise.
7436
7436
  */
7437
- getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
7437
+ getPluginOrThrow<TName extends keyof PluginConfigMap>(name: TName): TName extends any ? PluginInstance<PluginConfigMap[TName]> : never;
7438
7438
  getSymbol(identifier: SymbolIdentifier): Symbol | undefined;
7439
7439
  hooks: {
7440
7440
  operation: {
@@ -14824,4 +14824,4 @@ interface WatchValues {
14824
14824
  }
14825
14825
  //#endregion
14826
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 };
14827
- //# sourceMappingURL=types-Cm9EOTQ7.d.cts.map
14827
+ //# sourceMappingURL=types-Bxdq98WE.d.cts.map
@@ -7400,7 +7400,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7400
7400
  * This ensures, for example, that schemas are always processed before
7401
7401
  * operations, which may reference them.
7402
7402
  *
7403
- * @template T - The event type(s) to yield. Defaults to all event types.
7403
+ * @template TKind - The event type(s) to yield. Defaults to all event types.
7404
7404
  * @param events - The event types to walk over. If none are provided, all event types are included.
7405
7405
  * @param callback - Function to execute for each event.
7406
7406
  *
@@ -7414,8 +7414,8 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7414
7414
  * }
7415
7415
  * });
7416
7416
  */
7417
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
7418
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions<T$1>]): void;
7417
+ forEach<TKind extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<TKind>, callback: (event: WalkEvent<TKind>) => void]): void;
7418
+ forEach<TKind extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<TKind>, callback: (event: WalkEvent<TKind>) => void, options: WalkOptions<TKind>]): void;
7419
7419
  /**
7420
7420
  * Retrieves a registered plugin instance by its name from the context. This
7421
7421
  * allows plugins to access other plugins that have been registered in the
@@ -7424,7 +7424,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7424
7424
  * @param name Plugin name as defined in the configuration.
7425
7425
  * @returns The plugin instance if found, undefined otherwise.
7426
7426
  */
7427
- getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
7427
+ getPlugin<TName extends keyof PluginConfigMap>(name: TName): TName extends any ? PluginInstance<PluginConfigMap[TName]> | undefined : never;
7428
7428
  /**
7429
7429
  * Retrieves a registered plugin instance by its name from the context. This
7430
7430
  * allows plugins to access other plugins that have been registered in the
@@ -7433,7 +7433,7 @@ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
7433
7433
  * @param name Plugin name as defined in the configuration.
7434
7434
  * @returns The plugin instance if found, throw otherwise.
7435
7435
  */
7436
- getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
7436
+ getPluginOrThrow<TName extends keyof PluginConfigMap>(name: TName): TName extends any ? PluginInstance<PluginConfigMap[TName]> : never;
7437
7437
  getSymbol(identifier: SymbolIdentifier): Symbol | undefined;
7438
7438
  hooks: {
7439
7439
  operation: {
@@ -14823,4 +14823,4 @@ interface WatchValues {
14823
14823
  }
14824
14824
  //#endregion
14825
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 };
14826
- //# sourceMappingURL=types-BDC4ckIh.d.ts.map
14826
+ //# sourceMappingURL=types-CFT9BYmF.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hey-api/openapi-ts",
3
- "version": "0.86.9",
3
+ "version": "0.86.11",
4
4
  "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
5
5
  "homepage": "https://heyapi.dev/",
6
6
  "repository": {