@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.
- package/dist/{getSpec-CyEJ30Y0.js → getSpec-NJ6vig64.js} +2 -2
- package/dist/getSpec-NJ6vig64.js.map +1 -0
- package/dist/{getSpec-BwuV5dNM.cjs → getSpec-ekNG3x72.cjs} +2 -2
- package/dist/getSpec-ekNG3x72.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.cjs.map +1 -1
- package/dist/run.js +1 -1
- package/dist/run.js.map +1 -1
- package/dist/{src-BW91z0nE.js → src-C4Q2-7Ic.js} +2 -2
- package/dist/{src-BW91z0nE.js.map → src-C4Q2-7Ic.js.map} +1 -1
- package/dist/{src-x4Ih6IqE.cjs → src-Cu5Xi-FZ.cjs} +2 -2
- package/dist/{src-x4Ih6IqE.cjs.map → src-Cu5Xi-FZ.cjs.map} +1 -1
- package/dist/{types-Cm9EOTQ7.d.cts → types-Bxdq98WE.d.cts} +6 -6
- package/dist/{types-BDC4ckIh.d.ts → types-CFT9BYmF.d.ts} +6 -6
- package/package.json +1 -1
- package/dist/getSpec-BwuV5dNM.cjs.map +0 -1
- package/dist/getSpec-CyEJ30Y0.js.map +0 -1
|
@@ -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
|
|
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<
|
|
7419
|
-
forEach<
|
|
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<
|
|
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<
|
|
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-
|
|
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
|
|
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<
|
|
7418
|
-
forEach<
|
|
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<
|
|
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<
|
|
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-
|
|
14826
|
+
//# sourceMappingURL=types-CFT9BYmF.d.ts.map
|
package/package.json
CHANGED