@kubb/core 5.0.0-beta.9 → 5.0.0-beta.91
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/LICENSE +17 -10
- package/README.md +20 -123
- package/dist/index.cjs +2241 -1138
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +135 -178
- package/dist/index.js +2233 -1131
- package/dist/index.js.map +1 -1
- package/dist/mocks.cjs +77 -24
- package/dist/mocks.cjs.map +1 -1
- package/dist/mocks.d.ts +37 -11
- package/dist/mocks.js +79 -28
- package/dist/mocks.js.map +1 -1
- package/dist/types-aNebW3Ui.d.ts +2815 -0
- package/dist/usingCtx-BriKju-v.js +577 -0
- package/dist/usingCtx-BriKju-v.js.map +1 -0
- package/dist/usingCtx-eyNeehd2.cjs +679 -0
- package/dist/usingCtx-eyNeehd2.cjs.map +1 -0
- package/package.json +7 -28
- package/dist/PluginDriver-Cu1Kj9S-.cjs +0 -1075
- package/dist/PluginDriver-Cu1Kj9S-.cjs.map +0 -1
- package/dist/PluginDriver-D8Z0Htid.js +0 -978
- package/dist/PluginDriver-D8Z0Htid.js.map +0 -1
- package/dist/createKubb-ALdb8lmq.d.ts +0 -2082
- package/src/FileManager.ts +0 -115
- package/src/FileProcessor.ts +0 -86
- package/src/PluginDriver.ts +0 -457
- package/src/constants.ts +0 -35
- package/src/createAdapter.ts +0 -108
- package/src/createKubb.ts +0 -1268
- package/src/createRenderer.ts +0 -57
- package/src/createStorage.ts +0 -70
- package/src/defineGenerator.ts +0 -175
- package/src/defineLogger.ts +0 -58
- package/src/defineMiddleware.ts +0 -62
- package/src/defineParser.ts +0 -44
- package/src/definePlugin.ts +0 -379
- package/src/defineResolver.ts +0 -654
- package/src/devtools.ts +0 -66
- package/src/index.ts +0 -20
- package/src/mocks.ts +0 -177
- package/src/storages/fsStorage.ts +0 -90
- package/src/storages/memoryStorage.ts +0 -55
- package/src/types.ts +0 -41
- /package/dist/{chunk--u3MIqq1.js → rolldown-runtime-C0LytTxp.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,185 +1,140 @@
|
|
|
1
|
-
import { t as __name } from "./
|
|
2
|
-
import { $ as
|
|
3
|
-
import * as ast from "@kubb/ast";
|
|
4
|
-
import { FileNode } from "@kubb/ast";
|
|
1
|
+
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
+
import { $ as ResolveBannerFile, A as GeneratorContext, At as ProblemCode, B as KubbPluginEndContext, C as KubbWarnContext, Ct as DiagnosticByCode, D as Kubb, Dt as DiagnosticSeverity, E as CreateKubbOptions, Et as DiagnosticLocation, F as defineParser, Ft as Adapter, G as OutputMode, H as KubbPluginStartContext, I as Exclude, It as AdapterFactoryOptions, J as Plugin, K as OutputOptions, L as Filter, Lt as AdapterSource, M as KubbDriver, Mt as SerializedDiagnostic, N as FileManagerHooks, Nt as UpdateDiagnostic, O as createKubb, Ot as Diagnostics, P as Parser, Pt as Hookable, Q as ResolveBannerContext, R as Group, Rt as createAdapter, S as KubbSuccessContext, St as Diagnostic, T as UserConfig, Tt as DiagnosticKind, U as NormalizedPlugin, V as KubbPluginSetupContext, W as Output, X as definePlugin, Y as PluginFactoryOptions, Z as BannerMeta, _ as KubbHookStartContext, _t as ReporterContext, a as KubbBuildEndContext, at as ResolverFile, b as KubbLifecycleStartContext, bt as createReporter, c as KubbErrorContext, ct as ResolverPatch, d as KubbFilesProcessingStartContext, dt as RendererFactory, et as ResolveFileOptions, f as KubbFilesProcessingUpdateContext, ft as createRenderer, g as KubbHookLineContext, gt as Reporter, h as KubbHookEndContext, ht as GenerationResult, i as Input, it as ResolverDefault, j as defineGenerator, jt as ProblemDiagnostic, k as Generator, kt as PerformanceDiagnostic, l as KubbFileProcessingUpdate, lt as ResolverPathParams, m as KubbGenerationStartContext, mt as createStorage, n as CLIOptions, nt as ResolvePathOptions, o as KubbBuildStartContext, ot as ResolverFileParams, p as KubbGenerationEndContext, pt as Storage, q as Override, r as Config, rt as Resolver, s as KubbDiagnosticContext, st as ResolverFilePathParams, t as BuildOutput, tt as ResolveOptionsContext, u as KubbFilesProcessingEndContext, ut as Renderer, v as KubbHooks, vt as ReporterName, w as PossibleConfig, wt as DiagnosticDoc, x as KubbPluginsEndContext, xt as logLevel, y as KubbInfoContext, yt as UserReporter, z as Include } from "./types-aNebW3Ui.js";
|
|
5
3
|
|
|
6
|
-
//#region
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Extracted path parameters as a key-value map, or `undefined` when the path has none.
|
|
14
|
-
*/
|
|
15
|
-
params?: Record<string, string>;
|
|
16
|
-
};
|
|
17
|
-
type ObjectOptions = {
|
|
18
|
-
/**
|
|
19
|
-
* Controls whether the `url` is rendered as an Express path or a template literal.
|
|
20
|
-
* @default 'path'
|
|
21
|
-
*/
|
|
22
|
-
type?: 'path' | 'template';
|
|
23
|
-
/**
|
|
24
|
-
* Optional transform applied to each extracted parameter name.
|
|
25
|
-
*/
|
|
26
|
-
replacer?: (pathParam: string) => string;
|
|
27
|
-
/**
|
|
28
|
-
* When `true`, the result is serialized to a string expression instead of a plain object.
|
|
29
|
-
*/
|
|
30
|
-
stringify?: boolean;
|
|
4
|
+
//#region src/applyConfigDefaults.d.ts
|
|
5
|
+
type ApplyConfigDefaultsOptions<TOutput> = {
|
|
6
|
+
defaultAdapter: Adapter;
|
|
7
|
+
barrelPlugin: Plugin;
|
|
8
|
+
barrelPluginName: string; /** Output fields to fill in when the user's config leaves them unset. */
|
|
9
|
+
defaultOutput: Partial<TOutput>;
|
|
31
10
|
};
|
|
32
11
|
/**
|
|
33
|
-
*
|
|
12
|
+
* Fills in the config defaults shared by `defineConfig` and the unplugin factory: the fallback
|
|
13
|
+
* adapter, `defaultOutput`'s fields, and appending the barrel plugin when it's not already
|
|
14
|
+
* registered. Both entry points construct their own adapter, barrel plugin, and output defaults
|
|
15
|
+
* (`barrel` is a `@kubb/plugin-barrel` extension field core doesn't know about) and pass them in,
|
|
16
|
+
* so `@kubb/core` doesn't need to depend on `@kubb/adapter-oas` or `@kubb/plugin-barrel`.
|
|
34
17
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
18
|
+
declare function applyConfigDefaults<TOutput extends Config['output'] = Config['output']>(config: {
|
|
19
|
+
adapter?: Adapter;
|
|
20
|
+
output: TOutput;
|
|
21
|
+
plugins?: Array<Plugin>;
|
|
22
|
+
}, {
|
|
23
|
+
defaultAdapter,
|
|
24
|
+
barrelPlugin,
|
|
25
|
+
barrelPluginName,
|
|
26
|
+
defaultOutput
|
|
27
|
+
}: ApplyConfigDefaultsOptions<TOutput>): {
|
|
28
|
+
adapter: Adapter;
|
|
29
|
+
output: TOutput;
|
|
30
|
+
plugins: Array<Plugin>;
|
|
42
31
|
};
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/reporters/cliReporter.d.ts
|
|
34
|
+
/**
|
|
35
|
+
* The default `cli` reporter. Renders the {@link Report} for each config as it finishes, independent
|
|
36
|
+
* of the live logger view. Suppressed at `silent`. The `verbose` level adds the per-plugin timings.
|
|
37
|
+
*/
|
|
38
|
+
declare const cliReporter: Reporter;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/reporters/fileReporter.d.ts
|
|
43
41
|
/**
|
|
44
|
-
*
|
|
42
|
+
* The `file` reporter. Writes a config's {@link Report} to `.kubb/kubb-<name>-<timestamp>.log` as a
|
|
43
|
+
* plain-text document: a `# <name> — <timestamp>` header, a `## Summary` with the same counts the
|
|
44
|
+
* cli and json reporters expose, a `## Problems` section in the miette block format, and a
|
|
45
|
+
* `## Timings` section. Selected with `--reporter file` (or `reporters: ['file']`).
|
|
45
46
|
*
|
|
46
|
-
* @
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* p.template // '`/pet/${petId}`'
|
|
47
|
+
* @note It captures the collected diagnostics once a config finishes, not the live
|
|
48
|
+
* `kubb:info`/`kubb:plugin` hook stream. Color is stripped so the file stays plain text even when
|
|
49
|
+
* the run is attached to a TTY.
|
|
50
50
|
*/
|
|
51
|
-
declare
|
|
52
|
-
#private;
|
|
53
|
-
/**
|
|
54
|
-
* The raw OpenAPI/Swagger path string, e.g. `/pet/{petId}`.
|
|
55
|
-
*/
|
|
56
|
-
path: string;
|
|
57
|
-
constructor(path: string, options?: Options);
|
|
58
|
-
/** Converts the OpenAPI path to Express-style colon syntax, e.g. `/pet/{petId}` → `/pet/:petId`.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* new URLPath('/pet/{petId}').URL // '/pet/:petId'
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
get URL(): string;
|
|
66
|
-
/** Returns `true` when `path` is a fully-qualified URL (e.g. starts with `https://`).
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* ```ts
|
|
70
|
-
* new URLPath('https://petstore.swagger.io/v2/pet').isURL // true
|
|
71
|
-
* new URLPath('/pet/{petId}').isURL // false
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
get isURL(): boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Converts the OpenAPI path to a TypeScript template literal string.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* new URLPath('/pet/{petId}').template // '`/pet/${petId}`'
|
|
80
|
-
* new URLPath('/account/monetary-accountID').template // '`/account/${monetaryAccountId}`'
|
|
81
|
-
*/
|
|
82
|
-
get template(): string;
|
|
83
|
-
/** Returns the path and its extracted params as a structured `URLObject`, or as a stringified expression when `stringify` is set.
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* ```ts
|
|
87
|
-
* new URLPath('/pet/{petId}').object
|
|
88
|
-
* // { url: '/pet/:petId', params: { petId: 'petId' } }
|
|
89
|
-
* ```
|
|
90
|
-
*/
|
|
91
|
-
get object(): URLObject | string;
|
|
92
|
-
/** Returns a map of path parameter names, or `undefined` when the path has no parameters.
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* ```ts
|
|
96
|
-
* new URLPath('/pet/{petId}').params // { petId: 'petId' }
|
|
97
|
-
* new URLPath('/pet').params // undefined
|
|
98
|
-
* ```
|
|
99
|
-
*/
|
|
100
|
-
get params(): Record<string, string> | undefined;
|
|
101
|
-
toObject({
|
|
102
|
-
type,
|
|
103
|
-
replacer,
|
|
104
|
-
stringify
|
|
105
|
-
}?: ObjectOptions): URLObject | string;
|
|
106
|
-
/**
|
|
107
|
-
* Converts the OpenAPI path to a TypeScript template literal string.
|
|
108
|
-
* An optional `replacer` can transform each extracted parameter name before interpolation.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* new URLPath('/pet/{petId}').toTemplateString() // '`/pet/${petId}`'
|
|
112
|
-
*/
|
|
113
|
-
toTemplateString({
|
|
114
|
-
prefix,
|
|
115
|
-
replacer
|
|
116
|
-
}?: {
|
|
117
|
-
prefix?: string;
|
|
118
|
-
replacer?: (pathParam: string) => string;
|
|
119
|
-
}): string;
|
|
120
|
-
/**
|
|
121
|
-
* Extracts all `{param}` segments from the path and returns them as a key-value map.
|
|
122
|
-
* An optional `replacer` transforms each parameter name in both key and value positions.
|
|
123
|
-
* Returns `undefined` when no path parameters are found.
|
|
124
|
-
*
|
|
125
|
-
* @example
|
|
126
|
-
* ```ts
|
|
127
|
-
* new URLPath('/pet/{petId}/tag/{tagId}').getParams()
|
|
128
|
-
* // { petId: 'petId', tagId: 'tagId' }
|
|
129
|
-
* ```
|
|
130
|
-
*/
|
|
131
|
-
getParams(replacer?: (pathParam: string) => string): Record<string, string> | undefined;
|
|
132
|
-
/** Converts the OpenAPI path to Express-style colon syntax.
|
|
133
|
-
*
|
|
134
|
-
* @example
|
|
135
|
-
* ```ts
|
|
136
|
-
* new URLPath('/pet/{petId}').toURLPath() // '/pet/:petId'
|
|
137
|
-
* ```
|
|
138
|
-
*/
|
|
139
|
-
toURLPath(): string;
|
|
140
|
-
}
|
|
51
|
+
declare const fileReporter: Reporter;
|
|
141
52
|
//#endregion
|
|
142
|
-
//#region src/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
53
|
+
//#region src/reporters/jsonReporter.d.ts
|
|
54
|
+
/**
|
|
55
|
+
* The `json` reporter. `report` returns one config's {@link Report}, which {@link createReporter}
|
|
56
|
+
* buffers, and `drain` writes them as a single pretty-printed JSON array on `kubb:lifecycle:end`.
|
|
57
|
+
* Buffering keeps a multi-config run one valid JSON document on stdout instead of concatenated
|
|
58
|
+
* objects that would break `jq .`. The terminal reporter is suppressed while `json` is active so
|
|
59
|
+
* stdout stays valid JSON.
|
|
60
|
+
*/
|
|
61
|
+
declare const jsonReporter: Reporter;
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/createResolver.d.ts
|
|
64
|
+
/**
|
|
65
|
+
* The plugin-specific resolver fields handed to `createResolver`. `name` and `file` fall
|
|
66
|
+
* back to the built-ins when omitted. Every method reaches sibling helpers through `this`,
|
|
67
|
+
* which `ThisType` types as the full resolver.
|
|
68
|
+
*/
|
|
69
|
+
type ResolverOptions<T extends PluginFactoryOptions> = Omit<T['resolver'], keyof Resolver> & {
|
|
70
|
+
pluginName: T['name'];
|
|
71
|
+
name?: T['resolver']['name'];
|
|
72
|
+
file?: ResolverFile;
|
|
73
|
+
} & ThisType<T['resolver']>;
|
|
74
|
+
/**
|
|
75
|
+
* Defines a plugin resolver, the object that decides what every generated symbol and file
|
|
76
|
+
* path is called. Override the top-level `name` and `file` to set the plugin's conventions,
|
|
77
|
+
* and add your own naming helpers, top-level (`typeName`, …) or grouped in namespaces
|
|
78
|
+
* (`query`, `schema`, …). Every method reaches sibling helpers and the built-in machinery
|
|
79
|
+
* through `this.name`, `this.file`, and `this.default`.
|
|
80
|
+
*
|
|
81
|
+
* @example Custom identifier casing
|
|
82
|
+
* ```ts
|
|
83
|
+
* export const resolverTs = createResolver<PluginTs>({
|
|
84
|
+
* pluginName: 'plugin-ts',
|
|
85
|
+
* name(name) {
|
|
86
|
+
* return ensureValidVarName(pascalCase(name))
|
|
87
|
+
* },
|
|
88
|
+
* })
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @example Rename generated files with `file.baseName`
|
|
92
|
+
* ```ts
|
|
93
|
+
* export const resolverFaker = createResolver<PluginFaker>({
|
|
94
|
+
* pluginName: 'plugin-faker',
|
|
95
|
+
* name(name) {
|
|
96
|
+
* return camelCase(name, { prefix: 'create' })
|
|
97
|
+
* },
|
|
98
|
+
* file: {
|
|
99
|
+
* baseName({ name, extname }) {
|
|
100
|
+
* return `${camelCase(name, { prefix: 'create' })}${extname}`
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* })
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @example Own the full path with `file.path`
|
|
107
|
+
* ```ts
|
|
108
|
+
* export const resolverFaker = createResolver<PluginFaker>({
|
|
109
|
+
* pluginName: 'plugin-faker',
|
|
110
|
+
* file: {
|
|
111
|
+
* path({ baseName, output }) {
|
|
112
|
+
* return `${output.path}/mocks/${baseName}`
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* })
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
declare function createResolver<T extends PluginFactoryOptions>(options: ResolverOptions<T>): T['resolver'];
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/input.d.ts
|
|
121
|
+
/**
|
|
122
|
+
* What an `input` value points at, once Kubb has looked at it.
|
|
123
|
+
*
|
|
124
|
+
* - `file` is a local file path, absolute or relative to the config file.
|
|
125
|
+
* - `url` is a remote document to fetch.
|
|
126
|
+
* - `inline` is OpenAPI content held in the string itself (JSON or YAML).
|
|
127
|
+
* - `object` is an already-parsed spec.
|
|
128
|
+
*/
|
|
129
|
+
type InputKind = 'file' | 'url' | 'inline' | 'object';
|
|
162
130
|
/**
|
|
163
|
-
*
|
|
164
|
-
* Falls back to joining source values when no matching parser is found.
|
|
131
|
+
* Classifies an `input` value so callers branch on it once instead of repeating the checks.
|
|
165
132
|
*
|
|
166
|
-
*
|
|
133
|
+
* A non-string is a parsed spec (`object`). A string is `inline` when it holds OpenAPI content,
|
|
134
|
+
* meaning it starts with `{` or `[`, spans multiple lines, or opens with a YAML `openapi:` or
|
|
135
|
+
* `swagger:` key. Otherwise a string is a `url` when it parses as one, or a `file` path.
|
|
167
136
|
*/
|
|
168
|
-
declare
|
|
169
|
-
#private;
|
|
170
|
-
parse(file: FileNode, {
|
|
171
|
-
parsers,
|
|
172
|
-
extension
|
|
173
|
-
}?: ParseOptions): Promise<string>;
|
|
174
|
-
run(files: Array<FileNode>, {
|
|
175
|
-
parsers,
|
|
176
|
-
mode,
|
|
177
|
-
extension,
|
|
178
|
-
onStart,
|
|
179
|
-
onEnd,
|
|
180
|
-
onUpdate
|
|
181
|
-
}?: RunOptions): Promise<Array<FileNode>>;
|
|
182
|
-
}
|
|
137
|
+
declare function getInputKind(input: NonNullable<Input>): InputKind;
|
|
183
138
|
//#endregion
|
|
184
139
|
//#region src/storages/fsStorage.d.ts
|
|
185
140
|
/**
|
|
@@ -189,11 +144,13 @@ declare class FileProcessor {
|
|
|
189
144
|
* Keys are resolved against `process.cwd()`, so root-relative paths such as
|
|
190
145
|
* `src/gen/api/getPets.ts` are written to the correct location without extra configuration.
|
|
191
146
|
*
|
|
192
|
-
*
|
|
193
|
-
* -
|
|
194
|
-
* -
|
|
195
|
-
* -
|
|
196
|
-
* -
|
|
147
|
+
* Writes are deduplicated and directory-safe:
|
|
148
|
+
* - leading and trailing whitespace is trimmed before writing
|
|
149
|
+
* - the write is skipped when the file content is already identical
|
|
150
|
+
* - missing parent directories are created automatically
|
|
151
|
+
* - Bun's native file API is used when running under Bun
|
|
152
|
+
* - concurrent `setItem` calls are capped at {@link WRITE_CONCURRENCY} in flight, so a caller
|
|
153
|
+
* can fire every file's write without pacing itself
|
|
197
154
|
*
|
|
198
155
|
* @example
|
|
199
156
|
* ```ts
|
|
@@ -201,7 +158,7 @@ declare class FileProcessor {
|
|
|
201
158
|
* import { defineConfig } from 'kubb'
|
|
202
159
|
*
|
|
203
160
|
* export default defineConfig({
|
|
204
|
-
* input:
|
|
161
|
+
* input: './petStore.yaml',
|
|
205
162
|
* output: { path: './src/gen' },
|
|
206
163
|
* storage: fsStorage(),
|
|
207
164
|
* })
|
|
@@ -223,7 +180,7 @@ declare const fsStorage: (options?: Record<string, never> | undefined) => Storag
|
|
|
223
180
|
* import { defineConfig } from 'kubb'
|
|
224
181
|
*
|
|
225
182
|
* export default defineConfig({
|
|
226
|
-
* input:
|
|
183
|
+
* input: './petStore.yaml',
|
|
227
184
|
* output: { path: './src/gen' },
|
|
228
185
|
* storage: memoryStorage(),
|
|
229
186
|
* })
|
|
@@ -231,5 +188,5 @@ declare const fsStorage: (options?: Record<string, never> | undefined) => Storag
|
|
|
231
188
|
*/
|
|
232
189
|
declare const memoryStorage: (options?: Record<string, never> | undefined) => Storage;
|
|
233
190
|
//#endregion
|
|
234
|
-
export { Adapter, AdapterFactoryOptions, AdapterSource,
|
|
191
|
+
export { type Adapter, type AdapterFactoryOptions, type AdapterSource, type BannerMeta, BuildOutput, CLIOptions, Config, type CreateKubbOptions, type Diagnostic, type DiagnosticByCode, type DiagnosticDoc, type DiagnosticKind, type DiagnosticLocation, type DiagnosticSeverity, Diagnostics, type Exclude, type FileManagerHooks, type Filter, type GenerationResult, type Generator, type GeneratorContext, type Group, Hookable, type Include, Input, type InputKind, type Kubb, KubbBuildEndContext, KubbBuildStartContext, KubbDiagnosticContext, KubbDriver, KubbErrorContext, KubbFileProcessingUpdate, KubbFilesProcessingEndContext, KubbFilesProcessingStartContext, KubbFilesProcessingUpdateContext, KubbGenerationEndContext, KubbGenerationStartContext, KubbHookEndContext, KubbHookLineContext, KubbHookStartContext, KubbHooks, KubbInfoContext, KubbLifecycleStartContext, type KubbPluginEndContext, type KubbPluginSetupContext, type KubbPluginStartContext, KubbPluginsEndContext, KubbSuccessContext, KubbWarnContext, type NormalizedPlugin, type Output, type OutputMode, type OutputOptions, type Override, type Parser, type PerformanceDiagnostic, type Plugin, type PluginFactoryOptions, PossibleConfig, type ProblemCode, type ProblemDiagnostic, type Renderer, type RendererFactory, type Reporter, type ReporterContext, type ReporterName, type ResolveBannerContext, type ResolveBannerFile, type ResolveFileOptions, type ResolveOptionsContext, type ResolvePathOptions, Resolver, type ResolverDefault, type ResolverFile, type ResolverFileParams, type ResolverFilePathParams, type ResolverPatch, type ResolverPathParams, type SerializedDiagnostic, type Storage, type UpdateDiagnostic, UserConfig, type UserReporter, applyConfigDefaults, cliReporter, createAdapter, createKubb, createRenderer, createReporter, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fileReporter, fsStorage, getInputKind, jsonReporter, logLevel, memoryStorage };
|
|
235
192
|
//# sourceMappingURL=index.d.ts.map
|