@kubb/core 5.0.0-beta.107 → 5.0.0-beta.108
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.cjs +23 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/{types-Dtisidv5.d.ts → types-C_JCC5Dl.d.ts} +13 -1
- package/package.json +2 -2
package/dist/mocks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { $ as PluginFactoryOptions, Ht as AdapterFactoryOptions, I as KubbDriver, M as Generator, R as Parser, Vt as Adapter, q as NormalizedPlugin, r as Config } from "./types-
|
|
2
|
+
import { $ as PluginFactoryOptions, Ht as AdapterFactoryOptions, I as KubbDriver, M as Generator, R as Parser, Vt as Adapter, q as NormalizedPlugin, r as Config } from "./types-C_JCC5Dl.js";
|
|
3
3
|
import { FileNode, InputMeta, Macro, OperationNode, SchemaNode } from "@kubb/ast";
|
|
4
4
|
//#region src/mocks.d.ts
|
|
5
5
|
/**
|
|
@@ -152,6 +152,16 @@ declare const diagnosticCode: {
|
|
|
152
152
|
* The file or URL set as `input` could not be read.
|
|
153
153
|
*/
|
|
154
154
|
readonly inputNotFound: "KUBB_INPUT_NOT_FOUND";
|
|
155
|
+
/**
|
|
156
|
+
* A URL set as `input` (or referenced by a `$ref`) answered with a 4xx or 5xx status
|
|
157
|
+
* instead of the document.
|
|
158
|
+
*/
|
|
159
|
+
readonly inputRequestFailed: "KUBB_INPUT_REQUEST_FAILED";
|
|
160
|
+
/**
|
|
161
|
+
* A URL set as `input` (or referenced by a `$ref`) never answered, so the request failed
|
|
162
|
+
* before a status was returned.
|
|
163
|
+
*/
|
|
164
|
+
readonly inputUnreachable: "KUBB_INPUT_UNREACHABLE";
|
|
155
165
|
/**
|
|
156
166
|
* An adapter was configured without an `input`.
|
|
157
167
|
*/
|
|
@@ -508,6 +518,8 @@ declare class Diagnostics {
|
|
|
508
518
|
static code: {
|
|
509
519
|
readonly unknown: "KUBB_UNKNOWN";
|
|
510
520
|
readonly inputNotFound: "KUBB_INPUT_NOT_FOUND";
|
|
521
|
+
readonly inputRequestFailed: "KUBB_INPUT_REQUEST_FAILED";
|
|
522
|
+
readonly inputUnreachable: "KUBB_INPUT_UNREACHABLE";
|
|
511
523
|
readonly inputRequired: "KUBB_INPUT_REQUIRED";
|
|
512
524
|
readonly legacyInput: "KUBB_LEGACY_INPUT";
|
|
513
525
|
readonly invalidDocument: "KUBB_INVALID_DOCUMENT";
|
|
@@ -2956,4 +2968,4 @@ type BuildOutput = {
|
|
|
2956
2968
|
};
|
|
2957
2969
|
//#endregion
|
|
2958
2970
|
export { PluginFactoryOptions as $, Kubb$1 as A, DiagnosticDoc as At, Exclude$1 as B, Hookable as Bt, KubbWarnContext as C, Reporter as Ct, CreateKubbOptions as D, createReporter as Dt, UserConfig as E, UserReporter as Et, NodeCache as F, PerformanceDiagnostic as Ft, KubbPluginSetupContext as G, Group as H, AdapterFactoryOptions as Ht, KubbDriver as I, ProblemCode as It, Output as J, KubbPluginStartContext as K, FileManagerHooks as L, ProblemDiagnostic as Lt, Generator as M, DiagnosticLocation as Mt, GeneratorContext as N, DiagnosticSeverity as Nt, GenerateOptions as O, logLevel as Ot, defineGenerator as P, Diagnostics as Pt, Plugin as Q, Parser as R, SerializedDiagnostic as Rt, KubbSuccessContext as S, GenerationResult as St, PostGenerateCommand as T, ReporterName as Tt, Include as U, AdapterSource as Ut, Filter as V, Adapter as Vt, KubbPluginEndContext as W, createAdapter as Wt, OutputOptions as X, OutputMode as Y, Override as Z, KubbHookStartContext as _, Renderer as _t, KubbBuildEndContext as a, ResolveBannerFile as at, KubbLifecycleStartContext as b, Storage as bt, KubbErrorContext as c, ResolveOptionsContext as ct, KubbFilesProcessingStartContext as d, ResolverDefault as dt, PluginName as et, KubbFilesProcessingUpdateContext as f, ResolverFile as ft, KubbHookLineContext as g, ResolverPathParams as gt, KubbHookEndContext as h, ResolverPatch as ht, Input as i, ResolveBannerContext as it, createKubb as j, DiagnosticKind as jt, GenerateResult as k, Diagnostic as kt, KubbFileProcessingUpdate as l, ResolvePathOptions as lt, KubbGenerationStartContext as m, ResolverFilePathParams as mt, CLIOptions as n, definePlugin as nt, KubbBuildStartContext as o, ResolveFileOptions as ot, KubbGenerationEndContext as p, ResolverFileParams as pt, NormalizedPlugin as q, Config as r, BannerMeta as rt, KubbDiagnosticContext as s, ResolveImportsOptions as st, BuildOutput as t, ResolvePluginOptions as tt, KubbFilesProcessingEndContext as u, Resolver as ut, KubbHooks as v, RendererFactory as vt, PossibleConfig as w, ReporterContext as wt, KubbPluginsEndContext as x, createStorage as xt, KubbInfoContext as y, createRenderer as yt, defineParser as z, UpdateDiagnostic as zt };
|
|
2959
|
-
//# sourceMappingURL=types-
|
|
2971
|
+
//# sourceMappingURL=types-C_JCC5Dl.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.108",
|
|
4
4
|
"description": "Core engine for Kubb. Provides the plugin driver, file manager and build orchestration used by every Kubb plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generator",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"registry": "https://registry.npmjs.org/"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@kubb/ast": "5.0.0-beta.
|
|
58
|
+
"@kubb/ast": "5.0.0-beta.108"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@internals/utils": "0.0.0"
|