@kubb/core 4.5.4 → 4.5.5
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/{getBarrelFiles-BPZf_Qg2.d.ts → getBarrelFiles-CtT0yFNH.d.ts} +2 -2
- package/dist/{getBarrelFiles-s1iU5KJ-.d.cts → getBarrelFiles-rj93KC8B.d.cts} +2 -2
- package/dist/hooks.d.cts +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-BXGJAUgZ.d.cts → types-DJu3btM-.d.cts} +3 -3
- package/dist/{types-BkjsjcGS.d.ts → types-TvNY_PVb.d.ts} +3 -3
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/package.json +1 -1
- package/src/types.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Logger } from "./logger-weazBKCW.js";
|
|
2
|
-
import { c as Plugin, t as BarrelType } from "./types-
|
|
2
|
+
import { c as Plugin, t as BarrelType } from "./types-TvNY_PVb.js";
|
|
3
3
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/getBarrelFiles.d.ts
|
|
@@ -34,4 +34,4 @@ declare function getBarrelFiles(files: Array<KubbFile.ResolvedFile>, {
|
|
|
34
34
|
}: AddIndexesProps): Promise<KubbFile.File[]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { getBarrelFiles as n, FileMetaBase as t };
|
|
37
|
-
//# sourceMappingURL=getBarrelFiles-
|
|
37
|
+
//# sourceMappingURL=getBarrelFiles-CtT0yFNH.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Logger } from "./logger-BjfDkvkn.cjs";
|
|
2
|
-
import { c as Plugin, t as BarrelType } from "./types-
|
|
2
|
+
import { c as Plugin, t as BarrelType } from "./types-DJu3btM-.cjs";
|
|
3
3
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/getBarrelFiles.d.ts
|
|
@@ -34,4 +34,4 @@ declare function getBarrelFiles(files: Array<KubbFile.ResolvedFile>, {
|
|
|
34
34
|
}: AddIndexesProps): Promise<KubbFile.File[]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { getBarrelFiles as n, FileMetaBase as t };
|
|
37
|
-
//# sourceMappingURL=getBarrelFiles-
|
|
37
|
+
//# sourceMappingURL=getBarrelFiles-rj93KC8B.d.cts.map
|
package/dist/hooks.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./logger-BjfDkvkn.cjs";
|
|
2
|
-
import { S as PluginManager, c as Plugin, u as PluginFactoryOptions } from "./types-
|
|
2
|
+
import { S as PluginManager, c as Plugin, u as PluginFactoryOptions } from "./types-DJu3btM-.cjs";
|
|
3
3
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
4
4
|
|
|
5
5
|
//#region src/hooks/useMode.d.ts
|
package/dist/hooks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./logger-weazBKCW.js";
|
|
2
|
-
import { S as PluginManager, c as Plugin, u as PluginFactoryOptions } from "./types-
|
|
2
|
+
import { S as PluginManager, c as Plugin, u as PluginFactoryOptions } from "./types-TvNY_PVb.js";
|
|
3
3
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
4
4
|
|
|
5
5
|
//#region src/hooks/useMode.d.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Logger } from "./logger-BjfDkvkn.cjs";
|
|
2
|
-
import { C as getMode, S as PluginManager, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, x as PossiblePromise, y as UserPlugin } from "./types-
|
|
3
|
-
import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-
|
|
2
|
+
import { C as getMode, S as PluginManager, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, x as PossiblePromise, y as UserPlugin } from "./types-DJu3btM-.cjs";
|
|
3
|
+
import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-rj93KC8B.cjs";
|
|
4
4
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
5
5
|
import { Fabric } from "@kubb/react-fabric";
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Logger } from "./logger-weazBKCW.js";
|
|
2
|
-
import { C as getMode, S as PluginManager, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, x as PossiblePromise, y as UserPlugin } from "./types-
|
|
3
|
-
import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-
|
|
2
|
+
import { C as getMode, S as PluginManager, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, x as PossiblePromise, y as UserPlugin } from "./types-TvNY_PVb.js";
|
|
3
|
+
import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-CtT0yFNH.js";
|
|
4
4
|
import { Fabric } from "@kubb/react-fabric";
|
|
5
5
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
6
|
|
|
@@ -175,7 +175,7 @@ type UserConfig<TInput = Input> = Omit<Config<TInput>, 'root' | 'plugins'> & {
|
|
|
175
175
|
/**
|
|
176
176
|
* An array of Kubb plugins used for generation. Each plugin may have additional configurable options (defined within the plugin itself). If a plugin relies on another plugin, an error will occur if the required dependency is missing. Refer to “pre” for more details.
|
|
177
177
|
*/
|
|
178
|
-
plugins?: Array<
|
|
178
|
+
plugins?: Array<UnknownUserPlugin>;
|
|
179
179
|
};
|
|
180
180
|
type InputPath = {
|
|
181
181
|
/**
|
|
@@ -335,7 +335,7 @@ type UserPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> =
|
|
|
335
335
|
inject?: (this: PluginContext<TOptions>, context: PluginContext<TOptions>) => TOptions['context'];
|
|
336
336
|
};
|
|
337
337
|
type UserPluginWithLifeCycle<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = UserPlugin<TOptions> & PluginLifecycle<TOptions>;
|
|
338
|
-
type UnknownUserPlugin =
|
|
338
|
+
type UnknownUserPlugin = UserPluginWithLifeCycle<any>;
|
|
339
339
|
type Plugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
|
|
340
340
|
/**
|
|
341
341
|
* Unique name used for the plugin
|
|
@@ -459,4 +459,4 @@ type Group = {
|
|
|
459
459
|
};
|
|
460
460
|
//#endregion
|
|
461
461
|
export { getMode as C, PluginManager as S, ResolvePathParams as _, InputData as a, UserPluginWithLifeCycle as b, Plugin as c, PluginKey as d, PluginLifecycle as f, ResolveNameParams as g, PluginWithLifeCycle as h, Group as i, PluginContext as l, PluginParameter as m, Config as n, InputPath as o, PluginLifecycleHooks as p, GetPluginFactoryOptions as r, Output as s, BarrelType as t, PluginFactoryOptions as u, UserConfig as v, PossiblePromise as x, UserPlugin as y };
|
|
462
|
-
//# sourceMappingURL=types-
|
|
462
|
+
//# sourceMappingURL=types-DJu3btM-.d.cts.map
|
|
@@ -175,7 +175,7 @@ type UserConfig<TInput = Input> = Omit<Config<TInput>, 'root' | 'plugins'> & {
|
|
|
175
175
|
/**
|
|
176
176
|
* An array of Kubb plugins used for generation. Each plugin may have additional configurable options (defined within the plugin itself). If a plugin relies on another plugin, an error will occur if the required dependency is missing. Refer to “pre” for more details.
|
|
177
177
|
*/
|
|
178
|
-
plugins?: Array<
|
|
178
|
+
plugins?: Array<UnknownUserPlugin>;
|
|
179
179
|
};
|
|
180
180
|
type InputPath = {
|
|
181
181
|
/**
|
|
@@ -335,7 +335,7 @@ type UserPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> =
|
|
|
335
335
|
inject?: (this: PluginContext<TOptions>, context: PluginContext<TOptions>) => TOptions['context'];
|
|
336
336
|
};
|
|
337
337
|
type UserPluginWithLifeCycle<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = UserPlugin<TOptions> & PluginLifecycle<TOptions>;
|
|
338
|
-
type UnknownUserPlugin =
|
|
338
|
+
type UnknownUserPlugin = UserPluginWithLifeCycle<any>;
|
|
339
339
|
type Plugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
|
|
340
340
|
/**
|
|
341
341
|
* Unique name used for the plugin
|
|
@@ -459,4 +459,4 @@ type Group = {
|
|
|
459
459
|
};
|
|
460
460
|
//#endregion
|
|
461
461
|
export { getMode as C, PluginManager as S, ResolvePathParams as _, InputData as a, UserPluginWithLifeCycle as b, Plugin as c, PluginKey as d, PluginLifecycle as f, ResolveNameParams as g, PluginWithLifeCycle as h, Group as i, PluginContext as l, PluginParameter as m, Config as n, InputPath as o, PluginLifecycleHooks as p, GetPluginFactoryOptions as r, Output as s, BarrelType as t, PluginFactoryOptions as u, UserConfig as v, PossiblePromise as x, UserPlugin as y };
|
|
462
|
-
//# sourceMappingURL=types-
|
|
462
|
+
//# sourceMappingURL=types-TvNY_PVb.d.ts.map
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-BjfDkvkn.cjs";
|
|
2
|
-
import { x as PossiblePromise } from "./types-
|
|
3
|
-
import { n as getBarrelFiles } from "./getBarrelFiles-
|
|
2
|
+
import { x as PossiblePromise } from "./types-DJu3btM-.cjs";
|
|
3
|
+
import { n as getBarrelFiles } from "./getBarrelFiles-rj93KC8B.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/Cache.d.ts
|
|
6
6
|
declare class Cache<T> {
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-weazBKCW.js";
|
|
2
|
-
import { x as PossiblePromise } from "./types-
|
|
3
|
-
import { n as getBarrelFiles } from "./getBarrelFiles-
|
|
2
|
+
import { x as PossiblePromise } from "./types-TvNY_PVb.js";
|
|
3
|
+
import { n as getBarrelFiles } from "./getBarrelFiles-CtT0yFNH.js";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/Cache.d.ts
|
|
6
6
|
declare class Cache<T> {
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type UserConfig<TInput = Input> = Omit<Config<TInput>, 'root' | 'plugins'
|
|
|
28
28
|
/**
|
|
29
29
|
* An array of Kubb plugins used for generation. Each plugin may have additional configurable options (defined within the plugin itself). If a plugin relies on another plugin, an error will occur if the required dependency is missing. Refer to “pre” for more details.
|
|
30
30
|
*/
|
|
31
|
-
plugins?: Array<
|
|
31
|
+
plugins?: Array<UnknownUserPlugin>
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export type InputPath = {
|
|
@@ -202,7 +202,7 @@ export type UserPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOpti
|
|
|
202
202
|
|
|
203
203
|
export type UserPluginWithLifeCycle<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = UserPlugin<TOptions> & PluginLifecycle<TOptions>
|
|
204
204
|
|
|
205
|
-
type UnknownUserPlugin =
|
|
205
|
+
type UnknownUserPlugin = UserPluginWithLifeCycle<any>
|
|
206
206
|
|
|
207
207
|
export type Plugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
|
|
208
208
|
/**
|