@kubb/core 5.18.6 → 5.18.8

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/index.d.cts CHANGED
@@ -165,7 +165,7 @@ declare const diagnosticCatalog: {
165
165
  readonly code: 'KUBB_INVALID_DOCUMENT';
166
166
  readonly title: 'Invalid document';
167
167
  readonly cause: 'The `input` cannot be read as an OpenAPI or Swagger document: its JSON or YAML has a syntax error, it declares no `openapi` or `swagger` version field, or its version cannot be upgraded to OpenAPI 3.1.';
168
- readonly fix: 'Fix the syntax at the reported line, and check that `input` points at the spec and not an HTML page. Point `input` at a Swagger 2.0, OpenAPI 3.0, or OpenAPI 3.1 document, and check that a passed object is the spec itself rather than a wrapper around it.';
168
+ readonly fix: 'Fix the syntax at the reported line, and check that `input` points at the spec and not an HTML page. Point `input` at a Swagger 2.0 or OpenAPI 3.0, 3.1, or 3.2 document, and check that a passed object is the spec itself rather than a wrapper around it.';
169
169
  };
170
170
  readonly invalidSpec: {
171
171
  readonly code: 'KUBB_INVALID_SPEC';
@@ -290,8 +290,8 @@ declare const diagnosticCatalog: {
290
290
  readonly invalidPluginOptions: {
291
291
  readonly code: 'KUBB_INVALID_PLUGIN_OPTIONS';
292
292
  readonly title: 'Invalid plugin options';
293
- readonly cause: "A plugin was configured with options that cannot be honored, for example `output.mode: 'file'` paired with a `group` option.";
294
- readonly fix: "Fix the plugin options. A single-file output has nothing to group, so remove the `group` option or use `output.mode: 'directory'`.";
293
+ readonly cause: "A plugin was configured with options that cannot be honored, for example a single-file output (`output.mode: 'file'`, or an `output.path` with a file extension) paired with a `group` option.";
294
+ readonly fix: "Fix the plugin options. A single-file output has nothing to group, so remove the `group` option, give `output.path` a directory name, or set `output.mode: 'directory'`.";
295
295
  };
296
296
  readonly postGenerateFailed: {
297
297
  readonly code: 'KUBB_POST_GENERATE_FAILED';
@@ -909,7 +909,7 @@ declare class FileManager {
909
909
  * memory rather than holding every source, while still overlapping each file's write with the
910
910
  * next file's parse. Files finish in whatever order they parse, so each finished file flushes the
911
911
  * run of finished files ahead of it as one `kubb:files:processing:update`, keeping rows in input order.
912
- * Each parsed source goes out once on `kubb:file:processed`, so listeners read it without the pool holding it.
912
+ * Each parsed source goes out once on `kubb:file:processed`, next to what the storage held before the write.
913
913
  *
914
914
  * A file the storage already holds is skipped, so a rebuild that generates identical output
915
915
  * writes nothing and leaves every mtime where it was. `kubb:files:processing:end` lists the
@@ -1620,6 +1620,8 @@ export type KubbFileProcessedContext = {
1620
1620
  file: FileNode;
1621
1621
  /** The parsed content handed to the storage, before it trims the content or an output pass such as a formatter rewrites it. */
1622
1622
  source: string;
1623
+ /** What the storage held at `file.path` before the write, or `null` when the path was missing or `output.clean` emptied its folder. */
1624
+ stored?: string | null;
1623
1625
  };
1624
1626
  export type KubbFilesProcessingEndContext = {
1625
1627
  /**
@@ -1717,6 +1719,10 @@ export type BuildOutput = {
1717
1719
  * The plugin driver that orchestrated this build.
1718
1720
  */
1719
1721
  driver: KubbDriver;
1722
+ /**
1723
+ * The parsed spec the build generated from, `null` when there was none to parse.
1724
+ */
1725
+ input: InputNode | null;
1720
1726
  /**
1721
1727
  * The configured `Storage` backend, for reading back a generated file's final content.
1722
1728
  * Use `files` to list what this build produced.
@@ -2322,7 +2328,7 @@ type ResolverPathParams = Omit<ResolverFileParams, 'name' | 'extname'> & {
2322
2328
  */
2323
2329
  type ResolvePathOptions = ResolverPathParams & {
2324
2330
  /**
2325
- * Absolute project root that the output path is resolved against.
2331
+ * Absolute directory the plugin's `output.path` is resolved against. Generators pass `ctx.root`, the config's output directory.
2326
2332
  */
2327
2333
  root: string;
2328
2334
  /**
@@ -2803,7 +2809,8 @@ type ByMethod = {
2803
2809
  type: 'method';
2804
2810
  /**
2805
2811
  * HTTP method to match, as one of the `HttpMethod` values (`'GET'`, `'POST'`, `'PUT'`,
2806
- * `'PATCH'`, `'DELETE'`, `'HEAD'`, `'OPTIONS'`, `'TRACE'`, `'QUERY'`) or a regex.
2812
+ * `'PATCH'`, `'DELETE'`, `'HEAD'`, `'OPTIONS'`, `'TRACE'`, `'QUERY'`) or a regex. Matching ignores
2813
+ * case, so `'get'` and `/get/` work too.
2807
2814
  */
2808
2815
  pattern: HttpMethod | RegExp;
2809
2816
  };
@@ -3272,7 +3279,7 @@ type Adapter<TOptions extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3272
3279
  type AdapterDefinition<T extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3273
3280
  meta: ExtensionMeta<T['name']>;
3274
3281
  /**
3275
- * Takes the user's options and returns the resolved options, which `build` receives and the adapter exposes as `options`.
3282
+ * Takes the user's options and returns the resolved options, which `build` receives. The adapter exposes the user's options as `options`.
3276
3283
  * Without `setup`, the user's options are the resolved options.
3277
3284
  */
3278
3285
  setup?(options: T['options']): T['resolvedOptions'];
@@ -3392,8 +3399,15 @@ type CreateKubbOptions = {
3392
3399
  */
3393
3400
  signal?: AbortSignal;
3394
3401
  };
3402
+ type ConfigGenerateResult = GenerateResult & {
3403
+ kubb: Kubb$1;
3404
+ /**
3405
+ * What the build threw outside its own diagnostics. `diagnostics` holds it too.
3406
+ */
3407
+ error?: unknown;
3408
+ };
3395
3409
  /**
3396
- * Host hooks for a single {@link Kubb.generate} call. All optional. Progress narration rides the
3410
+ * Host hooks for a single {@link Kubb#generate} call. All optional. Progress narration rides the
3397
3411
  * `kubb:*` lifecycle hooks on `.hooks`, so hosts subscribe there rather than pass a callback.
3398
3412
  */
3399
3413
  type GenerateOptions = {
@@ -3405,7 +3419,7 @@ type GenerateOptions = {
3405
3419
  processOutput?: (context: RunOutputPassesOptions) => Promise<Array<Diagnostic>>;
3406
3420
  };
3407
3421
  /**
3408
- * What a {@link Kubb.generate} call produced, for the host to map onto its own result shape.
3422
+ * What a {@link Kubb#generate} call produced, for the host to map onto its own result shape.
3409
3423
  */
3410
3424
  type GenerateResult = {
3411
3425
  /**
@@ -3420,6 +3434,10 @@ type GenerateResult = {
3420
3434
  * Build diagnostics plus any collected from the output passes.
3421
3435
  */
3422
3436
  diagnostics: Array<Diagnostic>;
3437
+ /**
3438
+ * The parsed spec the build generated from, `null` when the build failed before parsing.
3439
+ */
3440
+ input: InputNode | null;
3423
3441
  };
3424
3442
  /**
3425
3443
  * Kubb code-generation instance bound to a single config entry. Resolves the user
@@ -3443,6 +3461,11 @@ declare class Kubb$1 {
3443
3461
  readonly hooks: Hookable<KubbHooks>;
3444
3462
  readonly config: Config;
3445
3463
  constructor(userConfig: UserConfig, options?: CreateKubbOptions);
3464
+ /**
3465
+ * Generates every config of a `defineConfig([...])` array in order and yields each result as its config finishes, so
3466
+ * memory holds one config at a time. A config that fails does not stop the others. Only an aborted `signal` rejects.
3467
+ */
3468
+ static generate(configs: Array<UserConfig>, { hooks, signal }?: Pick<CreateKubbOptions, 'hooks' | 'signal'>): AsyncGenerator<ConfigGenerateResult, void, void>;
3446
3469
  get storage(): Storage;
3447
3470
  get driver(): KubbDriver;
3448
3471
  /**
@@ -3916,5 +3939,4 @@ export declare function readInstalledPackages({ root, packages, resolveFrom }: {
3916
3939
  packages?: Iterable<string>;
3917
3940
  resolveFrom?: Array<string>;
3918
3941
  }): Promise<Array<InstalledPackage>>;
3919
- export type { Adapter, AdapterDefinition, AdapterFactory, AdapterFactoryOptions, AdapterSource, BannerMeta, CreateKubbOptions, Diagnostic, DiagnosticDoc, DiagnosticFormatOptions, DiagnosticKind, DiagnosticLocation, DiagnosticSeverity, Exclude$1 as Exclude, ExtensionDependencies, ExtensionDependency, ExtensionDependencyRecord, ExtensionFactory, ExtensionKind, ExtensionManifest, ExtensionManifestOption, ExtensionMeta, Filter, GenerateOptions, GenerateResult, GenerationResult, Generator, GeneratorContext, Group, HookResult, Include, InputKind, InstalledPackage, JSONValue, Kubb$1 as Kubb, KubbPluginEndContext, KubbPluginSetupContext, KubbPluginStartContext, Memo, NormalizedPlugin, Output, OutputManifest, OutputMode, OutputOptions, Override, Parser, ParserDefinition, ParserFactory, PerformanceDiagnostic, Plugin, PluginDefinition, PluginFactory, PluginName, PluginType, ProblemCode, ProblemDiagnostic, RegistryArtifact, RegistryDetail, RegistryEntry, RegistryGuide, RegistryIndex, Renderer, RendererFactory, Reporter, ReporterContext, ReporterName, ReporterPluginFiles, ResolveBannerContext, ResolveBannerFile, ResolveFileOptions, ResolveImportsOptions, ResolveNameOptions, ResolveOptionsContext, ResolvePathOptions, ResolvePluginOptions, ResolverDefault, ResolverFile, ResolverFileParams, ResolverFilePathParams, ResolverPatch, ResolverPathParams, RunHookOptions, RunOutputPassesOptions, SerializedDiagnostic, Storage, SummaryRenderer, UpdateDiagnostic, UserReporter };
3920
- //# sourceMappingURL=index.d.cts.map
3942
+ export { type Adapter, type AdapterDefinition, type AdapterFactory, type AdapterFactoryOptions, type AdapterSource, type BannerMeta, type ConfigGenerateResult, type CreateKubbOptions, type Diagnostic, type DiagnosticDoc, type DiagnosticFormatOptions, type DiagnosticKind, type DiagnosticLocation, type DiagnosticSeverity, type Exclude$1 as Exclude, type ExtensionDependencies, type ExtensionDependency, type ExtensionDependencyRecord, type ExtensionFactory, type ExtensionKind, type ExtensionManifest, type ExtensionManifestOption, type ExtensionMeta, type Filter, type GenerateOptions, type GenerateResult, type GenerationResult, type Generator, type GeneratorContext, type Group, type HookResult, type Include, type InputKind, type InstalledPackage, type JSONValue, Kubb$1 as Kubb, type KubbPluginEndContext, type KubbPluginSetupContext, type KubbPluginStartContext, type Memo, type NormalizedPlugin, type Output, type OutputManifest, type OutputMode, type OutputOptions, type Override, type Parser, type ParserDefinition, type ParserFactory, type PerformanceDiagnostic, type Plugin, type PluginDefinition, type PluginFactory, type PluginName, type PluginType, type ProblemCode, type ProblemDiagnostic, type RegistryArtifact, type RegistryDetail, type RegistryEntry, type RegistryGuide, type RegistryIndex, type Renderer, type RendererFactory, type Reporter, type ReporterContext, type ReporterName, type ReporterPluginFiles, type ResolveBannerContext, type ResolveBannerFile, type ResolveFileOptions, type ResolveImportsOptions, type ResolveNameOptions, type ResolveOptionsContext, type ResolvePathOptions, type ResolvePluginOptions, type ResolverDefault, type ResolverFile, type ResolverFileParams, type ResolverFilePathParams, type ResolverPatch, type ResolverPathParams, type RunHookOptions, type RunOutputPassesOptions, type SerializedDiagnostic, type Storage, type SummaryRenderer, type UpdateDiagnostic, type UserReporter };
package/dist/index.d.ts CHANGED
@@ -165,7 +165,7 @@ declare const diagnosticCatalog: {
165
165
  readonly code: 'KUBB_INVALID_DOCUMENT';
166
166
  readonly title: 'Invalid document';
167
167
  readonly cause: 'The `input` cannot be read as an OpenAPI or Swagger document: its JSON or YAML has a syntax error, it declares no `openapi` or `swagger` version field, or its version cannot be upgraded to OpenAPI 3.1.';
168
- readonly fix: 'Fix the syntax at the reported line, and check that `input` points at the spec and not an HTML page. Point `input` at a Swagger 2.0, OpenAPI 3.0, or OpenAPI 3.1 document, and check that a passed object is the spec itself rather than a wrapper around it.';
168
+ readonly fix: 'Fix the syntax at the reported line, and check that `input` points at the spec and not an HTML page. Point `input` at a Swagger 2.0 or OpenAPI 3.0, 3.1, or 3.2 document, and check that a passed object is the spec itself rather than a wrapper around it.';
169
169
  };
170
170
  readonly invalidSpec: {
171
171
  readonly code: 'KUBB_INVALID_SPEC';
@@ -290,8 +290,8 @@ declare const diagnosticCatalog: {
290
290
  readonly invalidPluginOptions: {
291
291
  readonly code: 'KUBB_INVALID_PLUGIN_OPTIONS';
292
292
  readonly title: 'Invalid plugin options';
293
- readonly cause: "A plugin was configured with options that cannot be honored, for example `output.mode: 'file'` paired with a `group` option.";
294
- readonly fix: "Fix the plugin options. A single-file output has nothing to group, so remove the `group` option or use `output.mode: 'directory'`.";
293
+ readonly cause: "A plugin was configured with options that cannot be honored, for example a single-file output (`output.mode: 'file'`, or an `output.path` with a file extension) paired with a `group` option.";
294
+ readonly fix: "Fix the plugin options. A single-file output has nothing to group, so remove the `group` option, give `output.path` a directory name, or set `output.mode: 'directory'`.";
295
295
  };
296
296
  readonly postGenerateFailed: {
297
297
  readonly code: 'KUBB_POST_GENERATE_FAILED';
@@ -909,7 +909,7 @@ declare class FileManager {
909
909
  * memory rather than holding every source, while still overlapping each file's write with the
910
910
  * next file's parse. Files finish in whatever order they parse, so each finished file flushes the
911
911
  * run of finished files ahead of it as one `kubb:files:processing:update`, keeping rows in input order.
912
- * Each parsed source goes out once on `kubb:file:processed`, so listeners read it without the pool holding it.
912
+ * Each parsed source goes out once on `kubb:file:processed`, next to what the storage held before the write.
913
913
  *
914
914
  * A file the storage already holds is skipped, so a rebuild that generates identical output
915
915
  * writes nothing and leaves every mtime where it was. `kubb:files:processing:end` lists the
@@ -1620,6 +1620,8 @@ export type KubbFileProcessedContext = {
1620
1620
  file: FileNode;
1621
1621
  /** The parsed content handed to the storage, before it trims the content or an output pass such as a formatter rewrites it. */
1622
1622
  source: string;
1623
+ /** What the storage held at `file.path` before the write, or `null` when the path was missing or `output.clean` emptied its folder. */
1624
+ stored?: string | null;
1623
1625
  };
1624
1626
  export type KubbFilesProcessingEndContext = {
1625
1627
  /**
@@ -1717,6 +1719,10 @@ export type BuildOutput = {
1717
1719
  * The plugin driver that orchestrated this build.
1718
1720
  */
1719
1721
  driver: KubbDriver;
1722
+ /**
1723
+ * The parsed spec the build generated from, `null` when there was none to parse.
1724
+ */
1725
+ input: InputNode | null;
1720
1726
  /**
1721
1727
  * The configured `Storage` backend, for reading back a generated file's final content.
1722
1728
  * Use `files` to list what this build produced.
@@ -2322,7 +2328,7 @@ type ResolverPathParams = Omit<ResolverFileParams, 'name' | 'extname'> & {
2322
2328
  */
2323
2329
  type ResolvePathOptions = ResolverPathParams & {
2324
2330
  /**
2325
- * Absolute project root that the output path is resolved against.
2331
+ * Absolute directory the plugin's `output.path` is resolved against. Generators pass `ctx.root`, the config's output directory.
2326
2332
  */
2327
2333
  root: string;
2328
2334
  /**
@@ -2803,7 +2809,8 @@ type ByMethod = {
2803
2809
  type: 'method';
2804
2810
  /**
2805
2811
  * HTTP method to match, as one of the `HttpMethod` values (`'GET'`, `'POST'`, `'PUT'`,
2806
- * `'PATCH'`, `'DELETE'`, `'HEAD'`, `'OPTIONS'`, `'TRACE'`, `'QUERY'`) or a regex.
2812
+ * `'PATCH'`, `'DELETE'`, `'HEAD'`, `'OPTIONS'`, `'TRACE'`, `'QUERY'`) or a regex. Matching ignores
2813
+ * case, so `'get'` and `/get/` work too.
2807
2814
  */
2808
2815
  pattern: HttpMethod | RegExp;
2809
2816
  };
@@ -3272,7 +3279,7 @@ type Adapter<TOptions extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3272
3279
  type AdapterDefinition<T extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3273
3280
  meta: ExtensionMeta<T['name']>;
3274
3281
  /**
3275
- * Takes the user's options and returns the resolved options, which `build` receives and the adapter exposes as `options`.
3282
+ * Takes the user's options and returns the resolved options, which `build` receives. The adapter exposes the user's options as `options`.
3276
3283
  * Without `setup`, the user's options are the resolved options.
3277
3284
  */
3278
3285
  setup?(options: T['options']): T['resolvedOptions'];
@@ -3392,8 +3399,15 @@ type CreateKubbOptions = {
3392
3399
  */
3393
3400
  signal?: AbortSignal;
3394
3401
  };
3402
+ type ConfigGenerateResult = GenerateResult & {
3403
+ kubb: Kubb$1;
3404
+ /**
3405
+ * What the build threw outside its own diagnostics. `diagnostics` holds it too.
3406
+ */
3407
+ error?: unknown;
3408
+ };
3395
3409
  /**
3396
- * Host hooks for a single {@link Kubb.generate} call. All optional. Progress narration rides the
3410
+ * Host hooks for a single {@link Kubb#generate} call. All optional. Progress narration rides the
3397
3411
  * `kubb:*` lifecycle hooks on `.hooks`, so hosts subscribe there rather than pass a callback.
3398
3412
  */
3399
3413
  type GenerateOptions = {
@@ -3405,7 +3419,7 @@ type GenerateOptions = {
3405
3419
  processOutput?: (context: RunOutputPassesOptions) => Promise<Array<Diagnostic>>;
3406
3420
  };
3407
3421
  /**
3408
- * What a {@link Kubb.generate} call produced, for the host to map onto its own result shape.
3422
+ * What a {@link Kubb#generate} call produced, for the host to map onto its own result shape.
3409
3423
  */
3410
3424
  type GenerateResult = {
3411
3425
  /**
@@ -3420,6 +3434,10 @@ type GenerateResult = {
3420
3434
  * Build diagnostics plus any collected from the output passes.
3421
3435
  */
3422
3436
  diagnostics: Array<Diagnostic>;
3437
+ /**
3438
+ * The parsed spec the build generated from, `null` when the build failed before parsing.
3439
+ */
3440
+ input: InputNode | null;
3423
3441
  };
3424
3442
  /**
3425
3443
  * Kubb code-generation instance bound to a single config entry. Resolves the user
@@ -3443,6 +3461,11 @@ declare class Kubb$1 {
3443
3461
  readonly hooks: Hookable<KubbHooks>;
3444
3462
  readonly config: Config;
3445
3463
  constructor(userConfig: UserConfig, options?: CreateKubbOptions);
3464
+ /**
3465
+ * Generates every config of a `defineConfig([...])` array in order and yields each result as its config finishes, so
3466
+ * memory holds one config at a time. A config that fails does not stop the others. Only an aborted `signal` rejects.
3467
+ */
3468
+ static generate(configs: Array<UserConfig>, { hooks, signal }?: Pick<CreateKubbOptions, 'hooks' | 'signal'>): AsyncGenerator<ConfigGenerateResult, void, void>;
3446
3469
  get storage(): Storage;
3447
3470
  get driver(): KubbDriver;
3448
3471
  /**
@@ -3916,5 +3939,4 @@ export declare function readInstalledPackages({ root, packages, resolveFrom }: {
3916
3939
  packages?: Iterable<string>;
3917
3940
  resolveFrom?: Array<string>;
3918
3941
  }): Promise<Array<InstalledPackage>>;
3919
- export type { Adapter, AdapterDefinition, AdapterFactory, AdapterFactoryOptions, AdapterSource, BannerMeta, CreateKubbOptions, Diagnostic, DiagnosticDoc, DiagnosticFormatOptions, DiagnosticKind, DiagnosticLocation, DiagnosticSeverity, Exclude$1 as Exclude, ExtensionDependencies, ExtensionDependency, ExtensionDependencyRecord, ExtensionFactory, ExtensionKind, ExtensionManifest, ExtensionManifestOption, ExtensionMeta, Filter, GenerateOptions, GenerateResult, GenerationResult, Generator, GeneratorContext, Group, HookResult, Include, InputKind, InstalledPackage, JSONValue, Kubb$1 as Kubb, KubbPluginEndContext, KubbPluginSetupContext, KubbPluginStartContext, Memo, NormalizedPlugin, Output, OutputManifest, OutputMode, OutputOptions, Override, Parser, ParserDefinition, ParserFactory, PerformanceDiagnostic, Plugin, PluginDefinition, PluginFactory, PluginName, PluginType, ProblemCode, ProblemDiagnostic, RegistryArtifact, RegistryDetail, RegistryEntry, RegistryGuide, RegistryIndex, Renderer, RendererFactory, Reporter, ReporterContext, ReporterName, ReporterPluginFiles, ResolveBannerContext, ResolveBannerFile, ResolveFileOptions, ResolveImportsOptions, ResolveNameOptions, ResolveOptionsContext, ResolvePathOptions, ResolvePluginOptions, ResolverDefault, ResolverFile, ResolverFileParams, ResolverFilePathParams, ResolverPatch, ResolverPathParams, RunHookOptions, RunOutputPassesOptions, SerializedDiagnostic, Storage, SummaryRenderer, UpdateDiagnostic, UserReporter };
3920
- //# sourceMappingURL=index.d.ts.map
3942
+ export { type Adapter, type AdapterDefinition, type AdapterFactory, type AdapterFactoryOptions, type AdapterSource, type BannerMeta, type ConfigGenerateResult, type CreateKubbOptions, type Diagnostic, type DiagnosticDoc, type DiagnosticFormatOptions, type DiagnosticKind, type DiagnosticLocation, type DiagnosticSeverity, type Exclude$1 as Exclude, type ExtensionDependencies, type ExtensionDependency, type ExtensionDependencyRecord, type ExtensionFactory, type ExtensionKind, type ExtensionManifest, type ExtensionManifestOption, type ExtensionMeta, type Filter, type GenerateOptions, type GenerateResult, type GenerationResult, type Generator, type GeneratorContext, type Group, type HookResult, type Include, type InputKind, type InstalledPackage, type JSONValue, Kubb$1 as Kubb, type KubbPluginEndContext, type KubbPluginSetupContext, type KubbPluginStartContext, type Memo, type NormalizedPlugin, type Output, type OutputManifest, type OutputMode, type OutputOptions, type Override, type Parser, type ParserDefinition, type ParserFactory, type PerformanceDiagnostic, type Plugin, type PluginDefinition, type PluginFactory, type PluginName, type PluginType, type ProblemCode, type ProblemDiagnostic, type RegistryArtifact, type RegistryDetail, type RegistryEntry, type RegistryGuide, type RegistryIndex, type Renderer, type RendererFactory, type Reporter, type ReporterContext, type ReporterName, type ReporterPluginFiles, type ResolveBannerContext, type ResolveBannerFile, type ResolveFileOptions, type ResolveImportsOptions, type ResolveNameOptions, type ResolveOptionsContext, type ResolvePathOptions, type ResolvePluginOptions, type ResolverDefault, type ResolverFile, type ResolverFileParams, type ResolverFilePathParams, type ResolverPatch, type ResolverPathParams, type RunHookOptions, type RunOutputPassesOptions, type SerializedDiagnostic, type Storage, type SummaryRenderer, type UpdateDiagnostic, type UserReporter };