@kubb/kit 5.6.2 → 5.7.0
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 +78 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -577,6 +577,24 @@ Object.defineProperty(exports, "Resolver", {
|
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
579
|
exports.Url = Url;
|
|
580
|
+
Object.defineProperty(exports, "addGenerator", {
|
|
581
|
+
enumerable: true,
|
|
582
|
+
get: function() {
|
|
583
|
+
return _kubb_core.addGenerator;
|
|
584
|
+
}
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(exports, "addMacro", {
|
|
587
|
+
enumerable: true,
|
|
588
|
+
get: function() {
|
|
589
|
+
return _kubb_core.addMacro;
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
Object.defineProperty(exports, "assertPluginOption", {
|
|
593
|
+
enumerable: true,
|
|
594
|
+
get: function() {
|
|
595
|
+
return _kubb_core.assertPluginOption;
|
|
596
|
+
}
|
|
597
|
+
});
|
|
580
598
|
Object.defineProperty(exports, "ast", {
|
|
581
599
|
enumerable: true,
|
|
582
600
|
get: function() {
|
|
@@ -635,7 +653,19 @@ Object.defineProperty(exports, "fsStorage", {
|
|
|
635
653
|
return _kubb_core.fsStorage;
|
|
636
654
|
}
|
|
637
655
|
});
|
|
656
|
+
Object.defineProperty(exports, "injectFile", {
|
|
657
|
+
enumerable: true,
|
|
658
|
+
get: function() {
|
|
659
|
+
return _kubb_core.injectFile;
|
|
660
|
+
}
|
|
661
|
+
});
|
|
638
662
|
exports.isStringType = isStringType;
|
|
663
|
+
Object.defineProperty(exports, "kubbContext", {
|
|
664
|
+
enumerable: true,
|
|
665
|
+
get: function() {
|
|
666
|
+
return _kubb_core.kubbContext;
|
|
667
|
+
}
|
|
668
|
+
});
|
|
639
669
|
exports.macroDiscriminatorEnum = macroDiscriminatorEnum;
|
|
640
670
|
exports.macroEnumName = macroEnumName;
|
|
641
671
|
exports.macroRenameSchema = macroRenameSchema;
|
|
@@ -647,6 +677,54 @@ Object.defineProperty(exports, "memoryStorage", {
|
|
|
647
677
|
}
|
|
648
678
|
});
|
|
649
679
|
exports.mergeAdjacentObjectsLazy = mergeAdjacentObjectsLazy;
|
|
680
|
+
Object.defineProperty(exports, "requirePlugin", {
|
|
681
|
+
enumerable: true,
|
|
682
|
+
get: function() {
|
|
683
|
+
return _kubb_core.requirePlugin;
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
Object.defineProperty(exports, "setMacros", {
|
|
687
|
+
enumerable: true,
|
|
688
|
+
get: function() {
|
|
689
|
+
return _kubb_core.setMacros;
|
|
690
|
+
}
|
|
691
|
+
});
|
|
692
|
+
Object.defineProperty(exports, "setOptions", {
|
|
693
|
+
enumerable: true,
|
|
694
|
+
get: function() {
|
|
695
|
+
return _kubb_core.setOptions;
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
Object.defineProperty(exports, "setResolver", {
|
|
699
|
+
enumerable: true,
|
|
700
|
+
get: function() {
|
|
701
|
+
return _kubb_core.setResolver;
|
|
702
|
+
}
|
|
703
|
+
});
|
|
650
704
|
exports.syncSchemaRef = syncSchemaRef;
|
|
705
|
+
Object.defineProperty(exports, "tryUseKubb", {
|
|
706
|
+
enumerable: true,
|
|
707
|
+
get: function() {
|
|
708
|
+
return _kubb_core.tryUseKubb;
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
Object.defineProperty(exports, "useConfig", {
|
|
712
|
+
enumerable: true,
|
|
713
|
+
get: function() {
|
|
714
|
+
return _kubb_core.useConfig;
|
|
715
|
+
}
|
|
716
|
+
});
|
|
717
|
+
Object.defineProperty(exports, "useKubb", {
|
|
718
|
+
enumerable: true,
|
|
719
|
+
get: function() {
|
|
720
|
+
return _kubb_core.useKubb;
|
|
721
|
+
}
|
|
722
|
+
});
|
|
723
|
+
Object.defineProperty(exports, "useOptions", {
|
|
724
|
+
enumerable: true,
|
|
725
|
+
get: function() {
|
|
726
|
+
return _kubb_core.useOptions;
|
|
727
|
+
}
|
|
728
|
+
});
|
|
651
729
|
|
|
652
730
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
2
|
import { SchemaNode, ast, ast as ast$1 } from "@kubb/ast";
|
|
3
|
-
import { Adapter, AdapterFactoryOptions, AdapterSource, BannerMeta, Config, Diagnostic, Diagnostics, Exclude, Generator as Generator$1, GeneratorContext, Group, Hookable, Include, KubbHooks, KubbPluginEndContext, KubbPluginSetupContext, KubbPluginStartContext, NodeCache, NormalizedPlugin, Output, OutputOptions, Override, Parser, Plugin, PluginFactoryOptions, Renderer, RendererFactory, ResolveFileOptions, ResolveImportsOptions, ResolvePathOptions, Resolver, ResolverFile, ResolverFileParams, ResolverFilePathParams, ResolverPatch, Storage, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, memoryStorage } from "@kubb/core";
|
|
3
|
+
import { Adapter, AdapterFactoryOptions, AdapterSource, BannerMeta, Config, Diagnostic, Diagnostics, Exclude, ExtensionDependencies, ExtensionDependency, ExtensionDependencyRecord, ExtensionFactory, ExtensionKind, ExtensionMeta, Generator as Generator$1, GeneratorContext, Group, Hookable, Include, KubbHooks, KubbPluginEndContext, KubbPluginSetupContext, KubbPluginStartContext, NodeCache, NormalizedPlugin, Output, OutputOptions, Override, Parser, ParserDefinition, ParserFactory, Plugin, PluginDefinition, PluginFactory, PluginFactoryOptions, PluginType, Renderer, RendererFactory, ResolveFileOptions, ResolveImportsOptions, ResolvePathOptions, Resolver, ResolverFile, ResolverFileParams, ResolverFilePathParams, ResolverPatch, Storage, addGenerator, addMacro, assertPluginOption, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, injectFile, kubbContext, memoryStorage, requirePlugin, setMacros, setOptions, setResolver, tryUseKubb, useConfig, useKubb, useOptions } from "@kubb/core";
|
|
4
4
|
//#region src/Url.d.ts
|
|
5
5
|
type URLObject = {
|
|
6
6
|
/**
|
|
@@ -232,5 +232,5 @@ export declare function containsCircularRef(node: SchemaNode | undefined, { circ
|
|
|
232
232
|
excludeName?: string;
|
|
233
233
|
}): boolean;
|
|
234
234
|
//#endregion
|
|
235
|
-
export { type Adapter, type AdapterFactoryOptions, type AdapterSource, type BannerMeta, type Config, type Diagnostic, Diagnostics, type Exclude, type Generator$1 as Generator, type GeneratorContext, type Group, Hookable, type Include, type KubbHooks, type KubbPluginEndContext, type KubbPluginSetupContext, type KubbPluginStartContext, type NodeCache, type NormalizedPlugin, type Output, type OutputOptions, type Override, type Parser, type Plugin, type PluginFactoryOptions, type Renderer, type RendererFactory, type ResolveFileOptions, type ResolveImportsOptions, type ResolvePathOptions, Resolver, type ResolverFile, type ResolverFileParams, type ResolverFilePathParams, type ResolverPatch, type Storage, ast, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, memoryStorage };
|
|
235
|
+
export { type Adapter, type AdapterFactoryOptions, type AdapterSource, type BannerMeta, type Config, type Diagnostic, Diagnostics, type Exclude, type ExtensionDependencies, type ExtensionDependency, type ExtensionDependencyRecord, type ExtensionFactory, type ExtensionKind, type ExtensionMeta, type Generator$1 as Generator, type GeneratorContext, type Group, Hookable, type Include, type KubbHooks, type KubbPluginEndContext, type KubbPluginSetupContext, type KubbPluginStartContext, type NodeCache, type NormalizedPlugin, type Output, type OutputOptions, type Override, type Parser, type ParserDefinition, type ParserFactory, type Plugin, type PluginDefinition, type PluginFactory, type PluginFactoryOptions, type PluginType, type Renderer, type RendererFactory, type ResolveFileOptions, type ResolveImportsOptions, type ResolvePathOptions, Resolver, type ResolverFile, type ResolverFileParams, type ResolverFilePathParams, type ResolverPatch, type Storage, addGenerator, addMacro, assertPluginOption, ast, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, injectFile, kubbContext, memoryStorage, requirePlugin, setMacros, setOptions, setResolver, tryUseKubb, useConfig, useKubb, useOptions };
|
|
236
236
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./rolldown-runtime-C0LytTxp.js";
|
|
2
2
|
import { ast, ast as ast$1 } from "@kubb/ast";
|
|
3
|
-
import { Diagnostics, Hookable, Resolver, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, memoryStorage } from "@kubb/core";
|
|
3
|
+
import { Diagnostics, Hookable, Resolver, addGenerator, addMacro, assertPluginOption, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, fsStorage, injectFile, kubbContext, memoryStorage, requirePlugin, setMacros, setOptions, setResolver, tryUseKubb, useConfig, useKubb, useOptions } from "@kubb/core";
|
|
4
4
|
//#region ../../internals/utils/src/casing.ts
|
|
5
5
|
/**
|
|
6
6
|
* Shared implementation for camelCase and PascalCase conversion.
|
|
@@ -557,6 +557,6 @@ function containsCircularRef(node, { circularSchemas, excludeName }) {
|
|
|
557
557
|
return false;
|
|
558
558
|
}
|
|
559
559
|
//#endregion
|
|
560
|
-
export { Diagnostics, Hookable, Resolver, Url, ast, childName, containsCircularRef, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, enumPropName, extractRefName, fsStorage, isStringType, macroDiscriminatorEnum, macroEnumName, macroRenameSchema, macroSimplifyUnion, memoryStorage, mergeAdjacentObjectsLazy, syncSchemaRef };
|
|
560
|
+
export { Diagnostics, Hookable, Resolver, Url, addGenerator, addMacro, assertPluginOption, ast, childName, containsCircularRef, createAdapter, createRenderer, createResolver, createStorage, defineGenerator, defineParser, definePlugin, enumPropName, extractRefName, fsStorage, injectFile, isStringType, kubbContext, macroDiscriminatorEnum, macroEnumName, macroRenameSchema, macroSimplifyUnion, memoryStorage, mergeAdjacentObjectsLazy, requirePlugin, setMacros, setOptions, setResolver, syncSchemaRef, tryUseKubb, useConfig, useKubb, useOptions };
|
|
561
561
|
|
|
562
562
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/kit",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Authoring toolkit for Kubb plugins, generators, adapters, resolvers, and renderers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codegen",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"registry": "https://registry.npmjs.org/"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@kubb/ast": "5.
|
|
67
|
-
"@kubb/core": "5.
|
|
66
|
+
"@kubb/ast": "5.7.0",
|
|
67
|
+
"@kubb/core": "5.7.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@internals/utils": "0.0.1"
|