@kubb/core 5.11.6 → 5.12.1
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/{Hookable-CvStaYYq.js → Hookable-D3jKB944.js} +220 -10
- package/dist/Hookable-D3jKB944.js.map +1 -0
- package/dist/{createAdapter-DtX_MKL-.d.ts → createAdapter-DFXvZLZC.d.ts} +138 -131
- package/dist/index.cjs +218 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +169 -135
- package/dist/index.d.ts +33 -6
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/mocks.js +1 -1
- package/package.json +2 -2
- package/dist/Hookable-CvStaYYq.js.map +0 -1
|
@@ -91,209 +91,215 @@ declare function defineParser<TOptions extends object = object, TMeta extends ob
|
|
|
91
91
|
*/
|
|
92
92
|
declare const diagnosticCatalog: {
|
|
93
93
|
readonly unknown: {
|
|
94
|
-
readonly code:
|
|
95
|
-
readonly title:
|
|
96
|
-
readonly cause:
|
|
97
|
-
readonly fix:
|
|
94
|
+
readonly code: 'KUBB_UNKNOWN';
|
|
95
|
+
readonly title: 'Unknown error';
|
|
96
|
+
readonly cause: 'An error was thrown without a stable Kubb code, so it is reported as-is.';
|
|
97
|
+
readonly fix: 'Read the underlying message and stack. If it comes from a plugin or adapter, check its configuration; otherwise report it as a possible Kubb bug.';
|
|
98
98
|
};
|
|
99
99
|
readonly inputNotFound: {
|
|
100
|
-
readonly code:
|
|
101
|
-
readonly title:
|
|
102
|
-
readonly cause:
|
|
103
|
-
readonly fix:
|
|
100
|
+
readonly code: 'KUBB_INPUT_NOT_FOUND';
|
|
101
|
+
readonly title: 'Input not found';
|
|
102
|
+
readonly cause: 'The file set as `input` (or passed as `kubb generate PATH`) could not be read. A URL reports `KUBB_INPUT_REQUEST_FAILED` or `KUBB_INPUT_UNREACHABLE` instead.';
|
|
103
|
+
readonly fix: 'Check that the path exists and is readable, then set it as `input` or pass it on the CLI.';
|
|
104
104
|
};
|
|
105
105
|
readonly inputRequestFailed: {
|
|
106
|
-
readonly code:
|
|
107
|
-
readonly title:
|
|
108
|
-
readonly cause:
|
|
109
|
-
readonly fix:
|
|
106
|
+
readonly code: 'KUBB_INPUT_REQUEST_FAILED';
|
|
107
|
+
readonly title: 'Input request failed';
|
|
108
|
+
readonly cause: 'A URL set as `input` (or reached through a `$ref`) answered with a 4xx or 5xx status instead of the document.';
|
|
109
|
+
readonly fix: 'Open the URL to see what the server returns. A 401 or 403 needs credentials Kubb does not send, so download the document and point `input` at the local file. A 404 means the path is wrong, and a 5xx means the server itself failed.';
|
|
110
110
|
};
|
|
111
111
|
readonly inputUnreachable: {
|
|
112
|
-
readonly code:
|
|
113
|
-
readonly title:
|
|
114
|
-
readonly cause:
|
|
115
|
-
readonly fix:
|
|
112
|
+
readonly code: 'KUBB_INPUT_UNREACHABLE';
|
|
113
|
+
readonly title: 'Input unreachable';
|
|
114
|
+
readonly cause: 'A URL set as `input` (or reached through a `$ref`) never answered, so the request failed before a status came back. A refused connection, an unknown host, an expired certificate, and a timeout all land here.';
|
|
115
|
+
readonly fix: 'Check that the host is running and reachable from this machine. For a local server, start it and confirm the port matches the one in `input`.';
|
|
116
|
+
};
|
|
117
|
+
readonly gitInputFailed: {
|
|
118
|
+
readonly code: 'KUBB_GIT_INPUT_FAILED';
|
|
119
|
+
readonly title: 'Git input failed';
|
|
120
|
+
readonly cause: 'A git `input` (`git+<repo>#<ref>:<path>`) is malformed, or `git` could not fetch it: git is not installed, the repository or ref does not exist, or the credentials were refused.';
|
|
121
|
+
readonly fix: 'Write the input as `git+<repo>#<ref>:<path>`. Run `git fetch --depth 1 <repo> <ref>` yourself to see the git error, and set up a credential helper or SSH key for a private repository.';
|
|
116
122
|
};
|
|
117
123
|
readonly inputRequired: {
|
|
118
|
-
readonly code:
|
|
119
|
-
readonly title:
|
|
120
|
-
readonly cause:
|
|
121
|
-
readonly fix:
|
|
124
|
+
readonly code: 'KUBB_INPUT_REQUIRED';
|
|
125
|
+
readonly title: 'Input required';
|
|
126
|
+
readonly cause: 'An adapter is configured but no `input` was provided.';
|
|
127
|
+
readonly fix: 'Set `input` to a file path, a URL, an inline spec (JSON/YAML string), or a parsed object in your Kubb config.';
|
|
122
128
|
};
|
|
123
129
|
readonly legacyInput: {
|
|
124
|
-
readonly code:
|
|
125
|
-
readonly title:
|
|
126
|
-
readonly cause:
|
|
127
|
-
readonly fix:
|
|
130
|
+
readonly code: 'KUBB_LEGACY_INPUT';
|
|
131
|
+
readonly title: 'Legacy input shape';
|
|
132
|
+
readonly cause: '`input` is a `{ path }` or `{ data }` wrapper, which v4 used to point at a document and v5 reads as the document itself.';
|
|
133
|
+
readonly fix: 'Unwrap it: `input: { path: "./petStore.yaml" }` becomes `input: "./petStore.yaml"`, and `input: { data: spec }` becomes `input: spec`.';
|
|
128
134
|
};
|
|
129
135
|
readonly invalidDocument: {
|
|
130
|
-
readonly code:
|
|
131
|
-
readonly title:
|
|
132
|
-
readonly cause:
|
|
133
|
-
readonly fix:
|
|
136
|
+
readonly code: 'KUBB_INVALID_DOCUMENT';
|
|
137
|
+
readonly title: 'Invalid document';
|
|
138
|
+
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.';
|
|
139
|
+
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.';
|
|
134
140
|
};
|
|
135
141
|
readonly invalidSpec: {
|
|
136
|
-
readonly code:
|
|
137
|
-
readonly title:
|
|
138
|
-
readonly cause:
|
|
139
|
-
readonly fix:
|
|
142
|
+
readonly code: 'KUBB_INVALID_SPEC';
|
|
143
|
+
readonly title: 'Invalid spec';
|
|
144
|
+
readonly cause: 'The document does not pass OpenAPI schema validation. Kubb still generates from it, but the output can be incomplete or wrong.';
|
|
145
|
+
readonly fix: 'Fix the reported problem in the spec. Run `kubb validate` to list every error, or set `validate: false` on the adapter to skip the check.';
|
|
140
146
|
};
|
|
141
147
|
readonly refNotFound: {
|
|
142
|
-
readonly code:
|
|
143
|
-
readonly title:
|
|
144
|
-
readonly cause:
|
|
145
|
-
readonly fix:
|
|
148
|
+
readonly code: 'KUBB_REF_NOT_FOUND';
|
|
149
|
+
readonly title: 'Reference not found';
|
|
150
|
+
readonly cause: 'A `$ref` could not be resolved in the source document.';
|
|
151
|
+
readonly fix: 'Add the missing definition (for example under `components.schemas`) or fix the `$ref`. Run `kubb validate` to check the spec.';
|
|
146
152
|
};
|
|
147
153
|
readonly invalidServerVariable: {
|
|
148
|
-
readonly code:
|
|
149
|
-
readonly title:
|
|
150
|
-
readonly cause:
|
|
151
|
-
readonly fix:
|
|
154
|
+
readonly code: 'KUBB_INVALID_SERVER_VARIABLE';
|
|
155
|
+
readonly title: 'Invalid server variable';
|
|
156
|
+
readonly cause: 'A server variable value is not allowed by its `enum`.';
|
|
157
|
+
readonly fix: 'Use one of the values listed in the server variable `enum`, or update the spec.';
|
|
152
158
|
};
|
|
153
159
|
readonly pluginNotFound: {
|
|
154
|
-
readonly code:
|
|
155
|
-
readonly title:
|
|
156
|
-
readonly cause:
|
|
157
|
-
readonly fix:
|
|
160
|
+
readonly code: 'KUBB_PLUGIN_NOT_FOUND';
|
|
161
|
+
readonly title: 'Plugin not found';
|
|
162
|
+
readonly cause: 'A plugin that another plugin depends on is missing from the config.';
|
|
163
|
+
readonly fix: 'Add the required plugin to the `plugins` array in kubb.config.ts, or remove the dependency on it.';
|
|
158
164
|
};
|
|
159
165
|
readonly incompatibleExtension: {
|
|
160
|
-
readonly code:
|
|
161
|
-
readonly title:
|
|
162
|
-
readonly cause:
|
|
163
|
-
readonly fix:
|
|
166
|
+
readonly code: 'KUBB_INCOMPATIBLE_EXTENSION';
|
|
167
|
+
readonly title: 'Incompatible extension';
|
|
168
|
+
readonly cause: 'A plugin sets `meta.compatibility.kubb` or `meta.compatibility.node` to a range the running Kubb or Node.js version does not satisfy.';
|
|
169
|
+
readonly fix: 'Upgrade Kubb or Node.js to a version in the range, or install a version of the plugin that supports your current Kubb and Node.js.';
|
|
164
170
|
};
|
|
165
171
|
readonly missingDependency: {
|
|
166
|
-
readonly code:
|
|
167
|
-
readonly title:
|
|
168
|
-
readonly cause:
|
|
169
|
-
readonly fix:
|
|
172
|
+
readonly code: 'KUBB_MISSING_DEPENDENCY';
|
|
173
|
+
readonly title: 'Missing dependency';
|
|
174
|
+
readonly cause: 'A plugin lists another plugin in its `dependencies` record without `optional: true`, and the config does not include it.';
|
|
175
|
+
readonly fix: 'Add the missing plugin to the `plugins` array in kubb.config.ts.';
|
|
170
176
|
};
|
|
171
177
|
readonly incompatibleDependency: {
|
|
172
|
-
readonly code:
|
|
173
|
-
readonly title:
|
|
178
|
+
readonly code: 'KUBB_INCOMPATIBLE_DEPENDENCY';
|
|
179
|
+
readonly title: 'Incompatible dependency';
|
|
174
180
|
readonly cause: "A plugin's `dependencies` record sets a `version` range, and the configured plugin's `meta.version` falls outside it.";
|
|
175
|
-
readonly fix:
|
|
181
|
+
readonly fix: 'Install a version of the dependency inside the range, or a version of the dependent plugin that supports the installed dependency.';
|
|
176
182
|
};
|
|
177
183
|
readonly pluginFailed: {
|
|
178
|
-
readonly code:
|
|
179
|
-
readonly title:
|
|
180
|
-
readonly cause:
|
|
181
|
-
readonly fix:
|
|
184
|
+
readonly code: 'KUBB_PLUGIN_FAILED';
|
|
185
|
+
readonly title: 'Plugin failed';
|
|
186
|
+
readonly cause: 'A plugin threw while generating, or reported an error through `ctx.error`.';
|
|
187
|
+
readonly fix: 'Check the plugin options and the node at `at:`. If it is a bug, report it with the stack at `report:`.';
|
|
182
188
|
};
|
|
183
189
|
readonly adapterFailed: {
|
|
184
|
-
readonly code:
|
|
185
|
-
readonly title:
|
|
186
|
-
readonly cause:
|
|
187
|
-
readonly fix:
|
|
190
|
+
readonly code: 'KUBB_ADAPTER_FAILED';
|
|
191
|
+
readonly title: 'Adapter failed';
|
|
192
|
+
readonly cause: 'The adapter threw an unexpected error while parsing the input.';
|
|
193
|
+
readonly fix: 'Check the input and the adapter options. If it is a bug, report it with the stack at `report:`.';
|
|
188
194
|
};
|
|
189
195
|
readonly parserFailed: {
|
|
190
|
-
readonly code:
|
|
191
|
-
readonly title:
|
|
192
|
-
readonly cause:
|
|
193
|
-
readonly fix:
|
|
196
|
+
readonly code: 'KUBB_PARSER_FAILED';
|
|
197
|
+
readonly title: 'Parser failed';
|
|
198
|
+
readonly cause: 'A parser threw an unexpected error while printing a generated file.';
|
|
199
|
+
readonly fix: 'Check the parser options. If it is a bug, report it with the stack at `report:`.';
|
|
194
200
|
};
|
|
195
201
|
readonly pluginWarning: {
|
|
196
|
-
readonly code:
|
|
197
|
-
readonly title:
|
|
198
|
-
readonly cause:
|
|
199
|
-
readonly fix:
|
|
202
|
+
readonly code: 'KUBB_PLUGIN_WARNING';
|
|
203
|
+
readonly title: 'Plugin warning';
|
|
204
|
+
readonly cause: 'A plugin reported a non-fatal warning through `ctx.warn`.';
|
|
205
|
+
readonly fix: 'Review the message. It does not fail the build; adjust the plugin options or input if the warning is unwanted.';
|
|
200
206
|
};
|
|
201
207
|
readonly pluginInfo: {
|
|
202
|
-
readonly code:
|
|
203
|
-
readonly title:
|
|
204
|
-
readonly cause:
|
|
205
|
-
readonly fix:
|
|
208
|
+
readonly code: 'KUBB_PLUGIN_INFO';
|
|
209
|
+
readonly title: 'Plugin info';
|
|
210
|
+
readonly cause: 'A plugin reported an informational message through `ctx.info`.';
|
|
211
|
+
readonly fix: 'Informational only. No action is required.';
|
|
206
212
|
};
|
|
207
213
|
readonly noContext: {
|
|
208
|
-
readonly code:
|
|
209
|
-
readonly title:
|
|
210
|
-
readonly cause:
|
|
211
|
-
readonly fix:
|
|
214
|
+
readonly code: 'KUBB_NO_CONTEXT';
|
|
215
|
+
readonly title: 'No plugin context';
|
|
216
|
+
readonly cause: 'A `kubb/kit` composable such as `useKubb()` or `addGenerator()` ran outside the `setup` and `kubb:plugin:setup` of a plugin, so there is no plugin to apply it to.';
|
|
217
|
+
readonly fix: 'Call the composable inside `setup` or `kubb:plugin:setup`, including in code that setup awaits.';
|
|
212
218
|
};
|
|
213
219
|
readonly unsupportedFormat: {
|
|
214
|
-
readonly code:
|
|
215
|
-
readonly title:
|
|
216
|
-
readonly cause:
|
|
217
|
-
readonly fix:
|
|
220
|
+
readonly code: 'KUBB_UNSUPPORTED_FORMAT';
|
|
221
|
+
readonly title: 'Unsupported format';
|
|
222
|
+
readonly cause: 'A schema uses a `format` Kubb does not map to a specific type, so it falls back to the base type.';
|
|
223
|
+
readonly fix: 'Use a format Kubb supports, or handle the custom format with a parser or plugin.';
|
|
218
224
|
};
|
|
219
225
|
readonly deprecated: {
|
|
220
|
-
readonly code:
|
|
221
|
-
readonly title:
|
|
222
|
-
readonly cause:
|
|
223
|
-
readonly fix:
|
|
226
|
+
readonly code: 'KUBB_DEPRECATED';
|
|
227
|
+
readonly title: 'Deprecated';
|
|
228
|
+
readonly cause: 'A referenced schema or operation is marked `deprecated`.';
|
|
229
|
+
readonly fix: 'Migrate off the deprecated definition if the warning is unwanted.';
|
|
224
230
|
};
|
|
225
231
|
readonly adapterRequired: {
|
|
226
|
-
readonly code:
|
|
227
|
-
readonly title:
|
|
228
|
-
readonly cause:
|
|
229
|
-
readonly fix:
|
|
232
|
+
readonly code: 'KUBB_ADAPTER_REQUIRED';
|
|
233
|
+
readonly title: 'Adapter required';
|
|
234
|
+
readonly cause: 'An action needs an adapter but none is configured.';
|
|
235
|
+
readonly fix: 'Set `adapter` in kubb.config.ts, for example `adapterOas()`.';
|
|
230
236
|
};
|
|
231
237
|
readonly pathTraversal: {
|
|
232
|
-
readonly code:
|
|
233
|
-
readonly title:
|
|
234
|
-
readonly cause:
|
|
235
|
-
readonly fix:
|
|
238
|
+
readonly code: 'KUBB_PATH_TRAVERSAL';
|
|
239
|
+
readonly title: 'Path traversal';
|
|
240
|
+
readonly cause: 'A resolved output path escaped the output directory, which can stem from a path traversal in the spec or a misconfigured `group.name`.';
|
|
241
|
+
readonly fix: 'Keep generated paths within the output directory. Review the `group.name` function and the names coming from the spec.';
|
|
236
242
|
};
|
|
237
243
|
readonly cleanRoot: {
|
|
238
|
-
readonly code:
|
|
239
|
-
readonly title:
|
|
240
|
-
readonly cause:
|
|
241
|
-
readonly fix:
|
|
244
|
+
readonly code: 'KUBB_CLEAN_ROOT';
|
|
245
|
+
readonly title: 'Clean targets the project root';
|
|
246
|
+
readonly cause: '`output.clean` is enabled and `output.path` resolves to the project root or a parent of it, so cleaning would delete `kubb.config` and every source file.';
|
|
247
|
+
readonly fix: 'Point `output.path` at a subdirectory such as `./src/gen` so clean only removes generated code, or disable `output.clean`.';
|
|
242
248
|
};
|
|
243
249
|
readonly invalidPluginOptions: {
|
|
244
|
-
readonly code:
|
|
245
|
-
readonly title:
|
|
250
|
+
readonly code: 'KUBB_INVALID_PLUGIN_OPTIONS';
|
|
251
|
+
readonly title: 'Invalid plugin options';
|
|
246
252
|
readonly cause: "A plugin was configured with options that cannot be honored, for example `output.mode: 'file'` paired with a `group` option.";
|
|
247
253
|
readonly fix: "Fix the plugin options. A single-file output has nothing to group, so remove the `group` option or use `output.mode: 'directory'`.";
|
|
248
254
|
};
|
|
249
255
|
readonly postGenerateFailed: {
|
|
250
|
-
readonly code:
|
|
251
|
-
readonly title:
|
|
252
|
-
readonly cause:
|
|
253
|
-
readonly fix:
|
|
256
|
+
readonly code: 'KUBB_POST_GENERATE_FAILED';
|
|
257
|
+
readonly title: 'Post-generate command failed';
|
|
258
|
+
readonly cause: 'A post-generate command (`output.postGenerate`) exited with a non-zero status.';
|
|
259
|
+
readonly fix: 'Check the command is installed and correct, and run it manually to see the error.';
|
|
254
260
|
};
|
|
255
261
|
readonly formatFailed: {
|
|
256
|
-
readonly code:
|
|
257
|
-
readonly title:
|
|
258
|
-
readonly cause:
|
|
259
|
-
readonly fix:
|
|
262
|
+
readonly code: 'KUBB_FORMAT_FAILED';
|
|
263
|
+
readonly title: 'Format failed';
|
|
264
|
+
readonly cause: 'The formatter pass over the generated files failed.';
|
|
265
|
+
readonly fix: 'Check the formatter (oxfmt, biome, or prettier) is installed and its config is valid, then run it manually on the output.';
|
|
260
266
|
};
|
|
261
267
|
readonly lintFailed: {
|
|
262
|
-
readonly code:
|
|
263
|
-
readonly title:
|
|
264
|
-
readonly cause:
|
|
265
|
-
readonly fix:
|
|
268
|
+
readonly code: 'KUBB_LINT_FAILED';
|
|
269
|
+
readonly title: 'Lint failed';
|
|
270
|
+
readonly cause: 'The linter pass over the generated files failed.';
|
|
271
|
+
readonly fix: 'Check the linter (oxlint, biome, or eslint) is installed and its config is valid, then run it manually on the output.';
|
|
266
272
|
};
|
|
267
273
|
readonly barrelDuplicateExport: {
|
|
268
|
-
readonly code:
|
|
269
|
-
readonly title:
|
|
270
|
-
readonly cause:
|
|
271
|
-
readonly fix:
|
|
274
|
+
readonly code: 'KUBB_BARREL_DUPLICATE_EXPORT';
|
|
275
|
+
readonly title: 'Duplicate barrel export';
|
|
276
|
+
readonly cause: 'Two generated modules export the same name, so the barrel cannot re-export both.';
|
|
277
|
+
readonly fix: 'Rename one of the colliding declarations, or configure the plugin resolver to produce distinct names.';
|
|
272
278
|
};
|
|
273
279
|
readonly internalError: {
|
|
274
|
-
readonly code:
|
|
275
|
-
readonly title:
|
|
276
|
-
readonly cause:
|
|
277
|
-
readonly fix:
|
|
280
|
+
readonly code: 'KUBB_INTERNAL_ERROR';
|
|
281
|
+
readonly title: 'Internal error';
|
|
282
|
+
readonly cause: 'Kubb hit a state it does not expect. This is a bug in Kubb, not in your config.';
|
|
283
|
+
readonly fix: 'Rerun with `--reporter json` or `--verbose` to get the stack. Then report it at https://github.com/kubb-labs/kubb/issues with the spec and config that trigger it.';
|
|
278
284
|
};
|
|
279
285
|
readonly performance: {
|
|
280
|
-
readonly code:
|
|
281
|
-
readonly title:
|
|
282
|
-
readonly cause:
|
|
283
|
-
readonly fix:
|
|
286
|
+
readonly code: 'KUBB_PERFORMANCE';
|
|
287
|
+
readonly title: 'Performance';
|
|
288
|
+
readonly cause: 'Not a failure. Records a plugin’s elapsed time, summed into the run total.';
|
|
289
|
+
readonly fix: 'No action. This is an informational metric.';
|
|
284
290
|
};
|
|
285
291
|
readonly updateAvailable: {
|
|
286
|
-
readonly code:
|
|
287
|
-
readonly title:
|
|
288
|
-
readonly cause:
|
|
289
|
-
readonly fix:
|
|
292
|
+
readonly code: 'KUBB_UPDATE_AVAILABLE';
|
|
293
|
+
readonly title: 'Update available';
|
|
294
|
+
readonly cause: 'A newer Kubb version is published on npm than the one running.';
|
|
295
|
+
readonly fix: 'Update the `@kubb/*` packages, for example `npm install -g @kubb/cli`, to get the latest fixes.';
|
|
290
296
|
};
|
|
291
297
|
};
|
|
292
298
|
/**
|
|
293
299
|
* Stable codes Kubb attaches to a `Diagnostic`, derived from {@link diagnosticCatalog}. Reference
|
|
294
300
|
* these instead of inlining the string at a throw site.
|
|
295
301
|
*/
|
|
296
|
-
declare const diagnosticCode: { readonly [K in keyof typeof diagnosticCatalog]: (typeof diagnosticCatalog)[K][
|
|
302
|
+
declare const diagnosticCode: { readonly [K in keyof typeof diagnosticCatalog]: (typeof diagnosticCatalog)[K]['code']; };
|
|
297
303
|
/**
|
|
298
304
|
* Union of the stable {@link diagnosticCode} values.
|
|
299
305
|
*/
|
|
@@ -1825,6 +1831,7 @@ declare class Diagnostics {
|
|
|
1825
1831
|
readonly inputNotFound: "KUBB_INPUT_NOT_FOUND";
|
|
1826
1832
|
readonly inputRequestFailed: "KUBB_INPUT_REQUEST_FAILED";
|
|
1827
1833
|
readonly inputUnreachable: "KUBB_INPUT_UNREACHABLE";
|
|
1834
|
+
readonly gitInputFailed: "KUBB_GIT_INPUT_FAILED";
|
|
1828
1835
|
readonly inputRequired: "KUBB_INPUT_REQUIRED";
|
|
1829
1836
|
readonly legacyInput: "KUBB_LEGACY_INPUT";
|
|
1830
1837
|
readonly invalidDocument: "KUBB_INVALID_DOCUMENT";
|
|
@@ -3216,4 +3223,4 @@ type AdapterFactory<T extends AdapterFactoryOptions = AdapterFactoryOptions> = E
|
|
|
3216
3223
|
declare function createAdapter<T extends AdapterFactoryOptions = AdapterFactoryOptions>(definition: AdapterDefinition<T>): AdapterFactory<T>;
|
|
3217
3224
|
//#endregion
|
|
3218
3225
|
export { NodeCache as $, ReporterContext as $t, PluginFactory as A, KubbInfoContext as At, ResolveImportsOptions as B, RunHookOptions as Bt, NormalizedPlugin as C, KubbGenerationEndContext as Ct, Override as D, KubbHookLineContext as Dt, OutputOptions as E, KubbHookEndContext as Et, definePlugin as F, KubbWarnContext as Ft, ResolverFile as G, createOutputManifest as Gt, ResolvePathOptions as H, KubbDriver as Ht, BannerMeta as I, PossibleConfig as It, ResolverPatch as J, createRenderer as Jt, ResolverFileParams as K, Renderer as Kt, ResolveBannerContext as L, PostGenerateCommand as Lt, PluginType as M, KubbMessageContext as Mt, ResolvePluginOptions as N, KubbPluginsEndContext as Nt, Plugin as O, KubbHookStartContext as Ot, assertPluginOption as P, KubbSuccessContext as Pt, defineGenerator as Q, Reporter as Qt, ResolveBannerFile as R, UserConfig as Rt, KubbPluginStartContext as S, KubbFilesProcessingUpdateContext as St, OutputMode as T, KubbGenerationSummaryContext as Tt, Resolver as U, Hookable as Ut, ResolveOptionsContext as V, runHook as Vt, ResolverDefault as W, OutputManifest as Wt, Generator as X, createStorage as Xt, ResolverPathParams as Y, Storage as Yt, GeneratorContext as Z, GenerationResult as Zt, Filter as _, KubbDiagnosticContext as _t, AdapterSource as a, DiagnosticFormatOptions as an, Diagnostics as at, KubbPluginEndContext as b, KubbFilesProcessingEndContext as bt, ExtensionDependency as c, ParserDefinition as cn, ProblemDiagnostic as ct, ExtensionKind as d, CLIOptions as dt, ReporterName as en, Diagnostic as et, ExtensionMeta as f, Config as ft, Exclude$1 as g, KubbBuildStartContext as gt, resolveMeta as h, KubbBuildEndContext as ht, AdapterFactoryOptions as i, logLevel as in, DiagnosticSeverity as it, PluginName as j, KubbLifecycleStartContext as jt, PluginDefinition as k, KubbHooks as kt, ExtensionDependencyRecord as l, ParserFactory as ln, UpdateDiagnostic as lt, defineExtension as m, Input as mt, AdapterDefinition as n, UserReporter as nn, DiagnosticKind as nt, createAdapter as o, SerializedDiagnostic as on, PerformanceDiagnostic as ot, checkCompatibility as p, FilesContext as pt, ResolverFilePathParams as q, RendererFactory as qt, AdapterFactory as r, createReporter as rn, DiagnosticLocation as rt, ExtensionDependencies as s, Parser as sn, ProblemCode as st, Adapter as t, ReporterPluginFiles as tn, DiagnosticDoc as tt, ExtensionFactory as u, defineParser as un, BuildOutput as ut, Group as v, KubbErrorContext as vt, Output as w, KubbGenerationStartContext as wt, KubbPluginSetupContext as x, KubbFilesProcessingStartContext as xt, Include as y, KubbFileProcessingUpdate as yt, ResolveFileOptions as z, HookResult as zt };
|
|
3219
|
-
//# sourceMappingURL=createAdapter-
|
|
3226
|
+
//# sourceMappingURL=createAdapter-DFXvZLZC.d.ts.map
|