···4455import type { IProject, ProjectRenderMeta } from '@hey-api/codegen-core';
6677+import type { DefinePlugin } from '~/plugins';
78import type { Client } from '~/plugins/@hey-api/client-core/types';
89import { getClientPlugin } from '~/plugins/@hey-api/client-core/utils';
99-import type { DefinePlugin } from '~/plugins/types';
1010import type { Config } from '~/types/config';
11111212import { ensureDirSync, relativeModulePath } from './utils';
···11-// eslint-disable-next-line @typescript-eslint/triple-slash-reference
22-/// <reference path="./overrides.d.ts" />
11+// OVERRIDES
22+// hard-coded here because build process doesn't pick up overrides from separate files
33+import '@hey-api/codegen-core';
44+55+declare module '@hey-api/codegen-core' {
66+ interface ProjectRenderMeta {
77+ /**
88+ * If specified, this will be the file extension used when importing
99+ * other modules. By default, we don't add a file extension and let the
1010+ * runtime resolve it.
1111+ *
1212+ * @default null
1313+ */
1414+ importFileExtension?: (string & {}) | null;
1515+ }
1616+1717+ interface SymbolMeta {
1818+ /**
1919+ * Path to the resource this symbol represents.
2020+ */
2121+ path?: ReadonlyArray<string | number>;
2222+ /**
2323+ * Name of the plugin that registered this symbol.
2424+ */
2525+ pluginName?: string;
2626+ /**
2727+ * Tags associated with this symbol.
2828+ */
2929+ tags?: Set<string>;
3030+ }
3131+}
3232+// END OVERRIDES
333434import colors from 'ansi-colors';
535// @ts-expect-error
···160190 OpenApiResponseObject,
161191 OpenApiSchemaObject,
162192} from './openApi/types';
193193+export type { DefinePlugin, Plugin } from './plugins';
163194export type { AngularClient } from './plugins/@hey-api/client-angular';
164195export type { AxiosClient } from './plugins/@hey-api/client-axios';
165196export {
···175206export type { ExpressionTransformer } from './plugins/@hey-api/transformers/expressions';
176207export type { TypeTransformer } from './plugins/@hey-api/transformers/types';
177208export { definePluginConfig } from './plugins/shared/utils/config';
178178-export type { DefinePlugin, Plugin } from './plugins/types';
179209export { compiler, tsc } from './tsc';
180210export type { UserConfig } from './types/config';
181211export type { LegacyIR } from './types/types';
-31
packages/openapi-ts/src/overrides.d.ts
···11-import '@hey-api/codegen-core';
22-33-declare module '@hey-api/codegen-core' {
44- interface ProjectRenderMeta {
55- /**
66- * If specified, this will be the file extension used when importing
77- * other modules. By default, we don't add a file extension and let the
88- * runtime resolve it.
99- *
1010- * @default null
1111- */
1212- importFileExtension?: (string & {}) | null;
1313- }
1414-1515- interface SymbolMeta {
1616- /**
1717- * Name of the plugin that registered this symbol.
1818- */
1919- pluginName?: string;
2020- /**
2121- * Type of resource this symbol represents.
2222- */
2323- resourceType?:
2424- | 'operation'
2525- | 'parameter'
2626- | 'requestBody'
2727- | 'schema'
2828- | 'server'
2929- | 'webhook';
3030- }
3131-}
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'class'
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
22import type { StringName } from '~/types/case';
3344import type { IApi } from './api';
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11+import type { Plugin } from '~/plugins';
12import type { HeyApiClientAngularPlugin } from '~/plugins/@hey-api/client-angular';
23import type { HeyApiClientAxiosPlugin } from '~/plugins/@hey-api/client-axios';
34import type { HeyApiClientFetchPlugin } from '~/plugins/@hey-api/client-fetch';
45import type { HeyApiClientNextPlugin } from '~/plugins/@hey-api/client-next';
56import type { HeyApiClientNuxtPlugin } from '~/plugins/@hey-api/client-nuxt';
67import type { HeyApiClientOfetchPlugin } from '~/plugins/@hey-api/client-ofetch';
77-import type { Plugin } from '~/plugins/types';
8899export interface PluginHandler {
1010 (...args: Parameters<HeyApiClientAngularPlugin['Handler']>): void;
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'client';
66
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344import type { IApi } from './api';
55
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344export type UserConfig = Plugin.Name<'legacy/angular'> &
55 Pick<Client.Config, 'output'>;
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344export type UserConfig = Plugin.Name<'legacy/axios'> &
55 Pick<Client.Config, 'output'>;
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344export type UserConfig = Plugin.Name<'legacy/fetch'> &
55 Pick<Client.Config, 'output'>;
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344export type UserConfig = Plugin.Name<'legacy/node'> &
55 Pick<Client.Config, 'output'>;
···11+import type { DefinePlugin, Plugin } from '~/plugins';
12import type { Client } from '~/plugins/@hey-api/client-core/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
3344export type UserConfig = Plugin.Name<'legacy/xhr'> &
55 Pick<Client.Config, 'output'>;
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'ref';
66
···22import type { OpenApiV2_0_XTypes } from '~/openApi/2.0.x';
33import type { OpenApiV3_0_XTypes } from '~/openApi/3.0.x';
44import type { OpenApiV3_1_XTypes } from '~/openApi/3.1.x';
55-import type { DefinePlugin, Plugin } from '~/plugins/types';
55+import type { DefinePlugin, Plugin } from '~/plugins';
6677import type { IApi } from './api';
88
···11import type { IR } from '~/ir/types';
2233-import type { Auth } from '../client-core/bundle/auth';
44-import type { HeyApiSdkPlugin } from './types';
33+import type { Auth } from '../../client-core/bundle/auth';
44+import type { HeyApiSdkPlugin } from '../types';
5566// TODO: parser - handle more security types
77const securitySchemeObjectToAuthObject = ({
···11import type { IR } from '~/ir/types';
22-import type {
33- DefinePlugin,
44- Plugin,
55- PluginClientNames,
66- PluginValidatorNames,
77-} from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33+import type { PluginClientNames, PluginValidatorNames } from '~/plugins/types';
84import type { StringName } from '~/types/case';
95import type { Operation } from '~/types/client';
106
···2233import type { IR } from '~/ir/types';
4455-import type { HeyApiSdkPlugin } from './types';
55+import type { HeyApiSdkPlugin } from '../types';
6677interface ValidatorProps {
88 operation: IR.OperationObject;
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'response' | 'response-ref';
66
···11import type ts from 'typescript';
2233import type { IR } from '~/ir/types';
44-import type { DefinePlugin, Plugin } from '~/plugins/types';
44+import type { DefinePlugin, Plugin } from '~/plugins';
5566import type { IApi } from './api';
77import type { ExpressionTransformer } from './expressions';
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
22import type { StringCase, StringName } from '~/types/case';
3344import type { IApi } from './api';
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | '_JSONValue'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
···11import type { IR } from '~/ir/types';
22import { getClientPlugin } from '~/plugins/@hey-api/client-core/utils';
33-import { operationOptionsType } from '~/plugins/@hey-api/sdk/operation';
33+import { operationOptionsType } from '~/plugins/@hey-api/sdk/shared/operation';
4455import type { PiniaColadaPlugin } from './types';
66
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'AxiosError'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
···11import type { IR } from '~/ir/types';
22import { getClientPlugin } from '~/plugins/@hey-api/client-core/utils';
33-import { operationOptionsType } from '~/plugins/@hey-api/sdk/operation';
33+import { operationOptionsType } from '~/plugins/@hey-api/sdk/shared/operation';
4455import type { PluginInstance } from './types';
66
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'AxiosError'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'AxiosError'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'AxiosError'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType =
66 | 'AxiosError'
···11import type { IR } from '~/ir/types';
22-import type { DefinePlugin, Plugin } from '~/plugins/types';
22+import type { DefinePlugin, Plugin } from '~/plugins';
33import type { StringCase, StringName } from '~/types/case';
4455import type { IApi } from './api';
+1-1
packages/openapi-ts/src/plugins/arktype/api.ts
···11import type { Selector } from '@hey-api/codegen-core';
22import type ts from 'typescript';
3344-import type { Plugin } from '~/plugins/types';
44+import type { Plugin } from '~/plugins';
5566import type { ValidatorArgs } from './shared/types';
77import { createRequestValidatorV2, createResponseValidatorV2 } from './v2/api';
···11+import type { SymbolMeta } from '@hey-api/codegen-core';
12import type ts from 'typescript';
2334import type { IR } from '~/ir/types';
44-import type { ToRefs } from '~/plugins/shared/types/refs';
55+import type { ToRefs } from '~/plugins';
5667import type { ArktypePlugin } from '../types';
78···1718 state: ToRefs<PluginState>;
1819};
19202020-export type PluginState = {
2121- /**
2222- * Path to the schema in the intermediary representation.
2323- */
2424- _path: ReadonlyArray<string | number>;
2525- hasLazyExpression: boolean;
2626-};
2121+export type PluginState = Pick<Required<SymbolMeta>, 'path'> &
2222+ Pick<Partial<SymbolMeta>, 'tags'> & {
2323+ hasLazyExpression: boolean;
2424+ };
27252826export type ValidatorArgs = {
2927 operation: IR.OperationObject;
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
22import type { StringCase, StringName } from '~/types/case';
3344import type { IApi } from './api';
···11+import type { Plugin } from '~/plugins';
12import type { AngularCommonPlugin } from '~/plugins/@angular/common';
23import { defaultConfig as angularCommon } from '~/plugins/@angular/common';
34import type { HeyApiClientAngularPlugin } from '~/plugins/@hey-api/client-angular';
···4647import { defaultConfig as arktype } from '~/plugins/arktype';
4748import type { FastifyPlugin } from '~/plugins/fastify';
4849import { defaultConfig as fastify } from '~/plugins/fastify';
4949-import type { Plugin, PluginNames } from '~/plugins/types';
5050+import type { PluginNames } from '~/plugins/types';
5051import type { ValibotPlugin } from '~/plugins/valibot';
5152import { defaultConfig as valibot } from '~/plugins/valibot';
5253import type { ZodPlugin } from '~/plugins/zod';
+1-1
packages/openapi-ts/src/plugins/fastify/api.ts
···11import type { Selector } from '@hey-api/codegen-core';
2233-import type { Plugin } from '~/plugins/types';
33+import type { Plugin } from '~/plugins';
4455type SelectorType = 'RouteHandler';
66
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
2233import type { IApi } from './api';
44
+3
packages/openapi-ts/src/plugins/index.ts
···11+export type { ToRefs } from './shared/types/refs';
22+export type { SchemaWithType } from './shared/types/schema';
33+export type { DefinePlugin, Plugin } from './types';
···11import { hasOperationDataRequired } from '~/ir/operation';
22import type { IR } from '~/ir/types';
33import { getClientPlugin } from '~/plugins/@hey-api/client-core/utils';
44+import type { Comments } from '~/tsc';
55+import { escapeComment } from '~/utils/escape';
66+77+export const createOperationComment = ({
88+ operation,
99+}: {
1010+ operation: IR.OperationObject;
1111+}): Comments | undefined => {
1212+ const comments: Array<string> = [];
1313+1414+ if (operation.summary) {
1515+ comments.push(escapeComment(operation.summary));
1616+ }
1717+1818+ if (operation.description) {
1919+ if (comments.length) {
2020+ comments.push(''); // Add an empty line between summary and description
2121+ }
2222+2323+ comments.push(escapeComment(operation.description));
2424+ }
2525+2626+ if (operation.deprecated) {
2727+ if (comments.length) {
2828+ comments.push(''); // Add an empty line before deprecated
2929+ }
3030+3131+ comments.push('@deprecated');
3232+ }
3333+3434+ if (!comments.length) {
3535+ return;
3636+ }
3737+3838+ return comments;
3939+};
440541export const isOperationOptionsRequired = ({
642 context,
+1-1
packages/openapi-ts/src/plugins/valibot/api.ts
···11import type { Selector } from '@hey-api/codegen-core';
22import type ts from 'typescript';
3344-import type { Plugin } from '~/plugins/types';
44+import type { Plugin } from '~/plugins';
5566import type { ValidatorArgs } from './shared/types';
77import { createRequestValidatorV1, createResponseValidatorV1 } from './v1/api';
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
22import type { StringCase, StringName } from '~/types/case';
3344import type { IApi } from './api';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import type { IrSchemaToAstOptions } from '../../shared/types';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566+import { pipesToAst } from '../../shared/pipesToAst';
67import type { IrSchemaToAstOptions } from '../../shared/types';
78import { identifiers } from '../constants';
88-import { pipesToAst } from '../pipesToAst';
991010export const stringToAst = ({
1111 plugin,
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import type { IrSchemaToAstOptions } from '../../shared/types';
···11import type { Selector } from '@hey-api/codegen-core';
22import type ts from 'typescript';
3344-import type { Plugin } from '~/plugins/types';
44+import type { Plugin } from '~/plugins';
5566import {
77 createRequestValidatorMini,
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
2233import type { Ast, IrSchemaToAstOptions } from '../../shared/types';
44import { arrayToAst } from './array';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import { identifiers } from '../../constants';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11+import type { SymbolMeta } from '@hey-api/codegen-core';
12import type ts from 'typescript';
2334import type { IR } from '~/ir/types';
44-import type { ToRefs } from '~/plugins/shared/types/refs';
55+import type { ToRefs } from '~/plugins';
5667import type { ZodPlugin } from '../types';
78···1617 state: ToRefs<PluginState>;
1718};
18191919-export type PluginState = {
2020- /**
2121- * Path to the schema in the intermediary representation.
2222- */
2323- _path: ReadonlyArray<string | number>;
2424- hasLazyExpression: boolean;
2525-};
2020+export type PluginState = Pick<Required<SymbolMeta>, 'path'> &
2121+ Pick<Partial<SymbolMeta>, 'tags'> & {
2222+ hasLazyExpression: boolean;
2323+ };
26242725export type ValidatorArgs = {
2826 operation: IR.OperationObject;
···11-import type { DefinePlugin, Plugin } from '~/plugins/types';
11+import type { DefinePlugin, Plugin } from '~/plugins';
22import type { StringCase, StringName } from '~/types/case';
3344import type { IApi } from './api';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
2233import type { Ast, IrSchemaToAstOptions } from '../../shared/types';
44import { arrayToAst } from './array';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11import type ts from 'typescript';
2233-import type { SchemaWithType } from '~/plugins/shared/types/schema';
33+import type { SchemaWithType } from '~/plugins';
44import { tsc } from '~/tsc';
5566import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
2233import type { Ast, IrSchemaToAstOptions } from '../../shared/types';
44import { arrayToAst } from './array';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
···11-import type { SchemaWithType } from '~/plugins/shared/types/schema';
11+import type { SchemaWithType } from '~/plugins';
22import { tsc } from '~/tsc';
3344import { identifiers } from '../../constants';
+2-1
packages/openapi-ts/src/types/config.d.ts
···11+import type { Plugin } from '~/plugins';
12import type { PluginConfigMap } from '~/plugins/config';
22-import type { Plugin, PluginNames } from '~/plugins/types';
33+import type { PluginNames } from '~/plugins/types';
3445import type { Input, UserInput, Watch } from './input';
56import type { Logs } from './logs';