@kubb/fabric-core 0.12.1 → 0.12.2
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/{Fabric-CWkKa2Mo.d.ts → Fabric-dUuj_QO6.d.ts} +6 -5
- package/dist/{Fabric-w_aJctdU.d.cts → Fabric-yRxItrhk.d.cts} +6 -5
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/parsers/typescript.d.cts +1 -1
- package/dist/parsers/typescript.d.ts +1 -1
- package/dist/parsers.d.cts +1 -1
- package/dist/parsers.d.ts +1 -1
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/{types-BUaUx9dJ.d.cts → types-DHjLDbT5.d.cts} +3 -3
- package/dist/{types-DFd8YkEN.d.ts → types-_X71gVe5.d.ts} +3 -3
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/types.js.map +1 -1
- package/dist/{useNodeTree-DeOfnKDY.d.cts → useNodeTree-CdlPBTwH.d.cts} +2 -2
- package/dist/{useNodeTree-CCruXmic.d.ts → useNodeTree-vLaKh36n.d.ts} +2 -2
- package/package.json +1 -1
- package/src/KubbFile.ts +12 -9
|
@@ -4,16 +4,17 @@ import { n as __name, t as __exportAll } from "./chunk-Cq_TCZj9.js";
|
|
|
4
4
|
declare namespace KubbFile_d_exports {
|
|
5
5
|
export { BaseName, Export, Extname, File, Import, Mode, Path, ResolvedFile, Source };
|
|
6
6
|
}
|
|
7
|
+
type ImportName = string | Array<string | {
|
|
8
|
+
propertyName: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
}>;
|
|
7
11
|
type Import = {
|
|
8
12
|
/**
|
|
9
13
|
* Import name to be used
|
|
10
14
|
* @example ["useState"]
|
|
11
15
|
* @example "React"
|
|
12
16
|
*/
|
|
13
|
-
name:
|
|
14
|
-
propertyName: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
}>;
|
|
17
|
+
name: ImportName;
|
|
17
18
|
/**
|
|
18
19
|
* Path for the import
|
|
19
20
|
* @example '@kubb/core'
|
|
@@ -489,4 +490,4 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
|
|
|
489
490
|
}
|
|
490
491
|
//#endregion
|
|
491
492
|
export { Path as A, UserParser as C, File as D, Extname as E, Source as M, Import as O, Parser as S, Export as T, inject as _, FabricElement as a, FileManager as b, FabricOptions as c, renderIndent as d, renderIntrinsic as f, createContext as g, Context as h, FabricContext as i, ResolvedFile as j, KubbFile_d_exports as k, Plugin as l, RenderContextProps as m, FabricComponent as n, FabricMode as o, RenderContext as p, FabricConfig as r, FabricNode as s, Fabric as t, UserPlugin as u, provide as v, BaseName as w, FileProcessor as x, unprovide as y };
|
|
492
|
-
//# sourceMappingURL=Fabric-
|
|
493
|
+
//# sourceMappingURL=Fabric-dUuj_QO6.d.ts.map
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
declare namespace KubbFile_d_exports {
|
|
2
2
|
export { BaseName, Export, Extname, File, Import, Mode, Path, ResolvedFile, Source };
|
|
3
3
|
}
|
|
4
|
+
type ImportName = string | Array<string | {
|
|
5
|
+
propertyName: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
}>;
|
|
4
8
|
type Import = {
|
|
5
9
|
/**
|
|
6
10
|
* Import name to be used
|
|
7
11
|
* @example ["useState"]
|
|
8
12
|
* @example "React"
|
|
9
13
|
*/
|
|
10
|
-
name:
|
|
11
|
-
propertyName: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
}>;
|
|
14
|
+
name: ImportName;
|
|
14
15
|
/**
|
|
15
16
|
* Path for the import
|
|
16
17
|
* @example '@kubb/core'
|
|
@@ -486,4 +487,4 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
|
|
|
486
487
|
}
|
|
487
488
|
//#endregion
|
|
488
489
|
export { Path as A, UserParser as C, File as D, Extname as E, Source as M, __name as N, Import as O, Parser as S, Export as T, inject as _, FabricElement as a, FileManager as b, FabricOptions as c, renderIndent as d, renderIntrinsic as f, createContext as g, Context as h, FabricContext as i, ResolvedFile as j, KubbFile_d_exports as k, Plugin as l, RenderContextProps as m, FabricComponent as n, FabricMode as o, RenderContext as p, FabricConfig as r, FabricNode as s, Fabric as t, UserPlugin as u, provide as v, BaseName as w, FileProcessor as x, unprovide as y };
|
|
489
|
-
//# sourceMappingURL=Fabric-
|
|
490
|
+
//# sourceMappingURL=Fabric-yRxItrhk.d.cts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Path, D as File$1, M as Source, N as __name, O as Import, T as Export, _ as inject, b as FileManager, c as FabricOptions, d as renderIndent, f as renderIntrinsic, g as createContext, h as Context, j as ResolvedFile, n as FabricComponent, p as RenderContext, r as FabricConfig, s as FabricNode, t as Fabric, v as provide, w as BaseName, x as FileProcessor, y as unprovide } from "./Fabric-
|
|
2
|
-
import { n as useNodeTree, r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
3
|
-
import { n as RootContext, t as JSDoc } from "./types-
|
|
1
|
+
import { A as Path, D as File$1, M as Source, N as __name, O as Import, T as Export, _ as inject, b as FileManager, c as FabricOptions, d as renderIndent, f as renderIntrinsic, g as createContext, h as Context, j as ResolvedFile, n as FabricComponent, p as RenderContext, r as FabricConfig, s as FabricNode, t as Fabric, v as provide, w as BaseName, x as FileProcessor, y as unprovide } from "./Fabric-yRxItrhk.cjs";
|
|
2
|
+
import { n as useNodeTree, r as TreeNode, t as ComponentNode } from "./useNodeTree-CdlPBTwH.cjs";
|
|
3
|
+
import { n as RootContext, t as JSDoc } from "./types-DHjLDbT5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/createComponent.d.ts
|
|
6
6
|
type MakeChildrenOptional<T extends object> = T extends {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __name } from "./chunk-Cq_TCZj9.js";
|
|
2
|
-
import { A as Path, D as File$1, M as Source, O as Import, T as Export, _ as inject, b as FileManager, c as FabricOptions, d as renderIndent, f as renderIntrinsic, g as createContext, h as Context, j as ResolvedFile, n as FabricComponent, p as RenderContext, r as FabricConfig, s as FabricNode, t as Fabric, v as provide, w as BaseName, x as FileProcessor, y as unprovide } from "./Fabric-
|
|
3
|
-
import { n as useNodeTree, r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
4
|
-
import { n as RootContext, t as JSDoc } from "./types-
|
|
2
|
+
import { A as Path, D as File$1, M as Source, O as Import, T as Export, _ as inject, b as FileManager, c as FabricOptions, d as renderIndent, f as renderIntrinsic, g as createContext, h as Context, j as ResolvedFile, n as FabricComponent, p as RenderContext, r as FabricConfig, s as FabricNode, t as Fabric, v as provide, w as BaseName, x as FileProcessor, y as unprovide } from "./Fabric-dUuj_QO6.js";
|
|
3
|
+
import { n as useNodeTree, r as TreeNode, t as ComponentNode } from "./useNodeTree-vLaKh36n.js";
|
|
4
|
+
import { n as RootContext, t as JSDoc } from "./types-_X71gVe5.js";
|
|
5
5
|
|
|
6
6
|
//#region src/createComponent.d.ts
|
|
7
7
|
type MakeChildrenOptional<T extends object> = T extends {
|
package/dist/parsers.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as UserParser, N as __name, S as Parser } from "./Fabric-
|
|
1
|
+
import { C as UserParser, N as __name, S as Parser } from "./Fabric-yRxItrhk.cjs";
|
|
2
2
|
import { typescriptParser } from "./parsers/typescript.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/parsers/defaultParser.d.ts
|
package/dist/parsers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __name } from "./chunk-Cq_TCZj9.js";
|
|
2
|
-
import { C as UserParser, S as Parser } from "./Fabric-
|
|
2
|
+
import { C as UserParser, S as Parser } from "./Fabric-dUuj_QO6.js";
|
|
3
3
|
import { typescriptParser } from "./parsers/typescript.js";
|
|
4
4
|
|
|
5
5
|
//#region src/parsers/defaultParser.d.ts
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as Extname, N as __name, a as FabricElement, l as Plugin, u as UserPlugin } from "./Fabric-
|
|
2
|
-
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
1
|
+
import { E as Extname, N as __name, a as FabricElement, l as Plugin, u as UserPlugin } from "./Fabric-yRxItrhk.cjs";
|
|
2
|
+
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-CdlPBTwH.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/barrelPlugin.d.ts
|
|
5
5
|
type Mode = 'all' | 'named' | 'propagate' | false;
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __name } from "./chunk-Cq_TCZj9.js";
|
|
2
|
-
import { E as Extname, a as FabricElement, l as Plugin, u as UserPlugin } from "./Fabric-
|
|
3
|
-
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
2
|
+
import { E as Extname, a as FabricElement, l as Plugin, u as UserPlugin } from "./Fabric-dUuj_QO6.js";
|
|
3
|
+
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-vLaKh36n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/barrelPlugin.d.ts
|
|
6
6
|
type Mode = 'all' | 'named' | 'propagate' | false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as __name, b as FileManager, h as Context } from "./Fabric-
|
|
2
|
-
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
1
|
+
import { N as __name, b as FileManager, h as Context } from "./Fabric-yRxItrhk.cjs";
|
|
2
|
+
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-CdlPBTwH.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/RootContext.d.ts
|
|
5
5
|
type RootContextProps = {
|
|
@@ -28,4 +28,4 @@ type JSDoc = {
|
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
export { RootContext as n, RootContextProps as r, JSDoc as t };
|
|
31
|
-
//# sourceMappingURL=types-
|
|
31
|
+
//# sourceMappingURL=types-DHjLDbT5.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __name } from "./chunk-Cq_TCZj9.js";
|
|
2
|
-
import { b as FileManager, h as Context } from "./Fabric-
|
|
3
|
-
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-
|
|
2
|
+
import { b as FileManager, h as Context } from "./Fabric-dUuj_QO6.js";
|
|
3
|
+
import { r as TreeNode, t as ComponentNode } from "./useNodeTree-vLaKh36n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/RootContext.d.ts
|
|
6
6
|
type RootContextProps = {
|
|
@@ -29,4 +29,4 @@ type JSDoc = {
|
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
31
|
export { RootContext as n, RootContextProps as r, JSDoc as t };
|
|
32
|
-
//# sourceMappingURL=types-
|
|
32
|
+
//# sourceMappingURL=types-_X71gVe5.d.ts.map
|
package/dist/types.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.cjs","names":[],"sources":["../src/KubbFile.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"types.cjs","names":[],"sources":["../src/KubbFile.ts"],"sourcesContent":["type ImportName =\n | string\n | Array<\n | string\n | {\n propertyName: string\n name?: string\n }\n >\n\nexport type Import = {\n /**\n * Import name to be used\n * @example [\"useState\"]\n * @example \"React\"\n */\n name: ImportName\n\n /**\n * Path for the import\n * @example '@kubb/core'\n */\n path: string\n /**\n * Add `type` prefix to the import, this will result in: `import type { Type } from './path'`.\n */\n isTypeOnly?: boolean\n\n isNameSpace?: boolean\n /**\n * When root is set it will get the path with relative getRelativePath(root, path).\n */\n root?: string\n}\n\nexport type Source = {\n name?: string\n value?: string\n isTypeOnly?: boolean\n /**\n * Has const or type 'export'\n * @default false\n */\n isExportable?: boolean\n /**\n * When set, barrel generation will add this\n * @default false\n */\n isIndexable?: boolean\n}\n\nexport type Export = {\n /**\n * Export name to be used.\n * @example [\"useState\"]\n * @example \"React\"\n */\n name?: string | Array<string>\n /**\n * Path for the import.\n * @example '@kubb/core'\n */\n path: string\n /**\n * Add `type` prefix to the export, this will result in: `export type { Type } from './path'`.\n */\n isTypeOnly?: boolean\n /**\n * Make it possible to override the name, this will result in: `export * as aliasName from './path'`.\n */\n asAlias?: boolean\n}\n\nexport type Extname = '.ts' | '.js' | '.tsx' | '.json' | `.${string}`\n\nexport type Mode = 'single' | 'split'\n\n/**\n * Name to be used to dynamicly create the baseName(based on input.path)\n * Based on UNIX basename\n * @link https://nodejs.org/api/path.html#pathbasenamepath-suffix\n */\nexport type BaseName = `${string}.${string}`\n\n/**\n * Path will be full qualified path to a specified file\n */\nexport type Path = string\n\nexport type File<TMeta extends object = object> = {\n /**\n * Name to be used to create the path\n * Based on UNIX basename, `${name}.extname`\n * @link https://nodejs.org/api/path.html#pathbasenamepath-suffix\n */\n baseName: BaseName\n /**\n * Path will be full qualified path to a specified file\n */\n path: Path\n sources: Array<Source>\n imports: Array<Import>\n exports: Array<Export>\n /**\n * Use extra meta, this is getting used to generate the barrel/index files.\n */\n meta?: TMeta\n banner?: string\n footer?: string\n}\n\nexport type ResolvedFile<TMeta extends object = object> = File<TMeta> & {\n /**\n * @default hash\n */\n id: string\n /**\n * Contains the first part of the baseName, generated based on baseName\n * @link https://nodejs.org/api/path.html#pathformatpathobject\n */\n name: string\n extname: Extname\n imports: Array<Import>\n exports: Array<Export>\n}\n"],"mappings":""}
|
package/dist/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as FabricOptions, h as Context, i as FabricContext, k as KubbFile_d_exports, m as RenderContextProps, o as FabricMode, r as FabricConfig, t as Fabric } from "./Fabric-
|
|
2
|
-
import { t as ComponentNode } from "./useNodeTree-
|
|
3
|
-
import { r as RootContextProps, t as JSDoc } from "./types-
|
|
1
|
+
import { c as FabricOptions, h as Context, i as FabricContext, k as KubbFile_d_exports, m as RenderContextProps, o as FabricMode, r as FabricConfig, t as Fabric } from "./Fabric-yRxItrhk.cjs";
|
|
2
|
+
import { t as ComponentNode } from "./useNodeTree-CdlPBTwH.cjs";
|
|
3
|
+
import { r as RootContextProps, t as JSDoc } from "./types-DHjLDbT5.cjs";
|
|
4
4
|
export { ComponentNode, Context, Fabric, FabricConfig, FabricContext, KubbFile_d_exports as FabricFile, KubbFile_d_exports as KubbFile, FabricMode, FabricOptions, JSDoc, RenderContextProps, RootContextProps };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as FabricOptions, h as Context, i as FabricContext, k as KubbFile_d_exports, m as RenderContextProps, o as FabricMode, r as FabricConfig, t as Fabric } from "./Fabric-
|
|
2
|
-
import { t as ComponentNode } from "./useNodeTree-
|
|
3
|
-
import { r as RootContextProps, t as JSDoc } from "./types-
|
|
1
|
+
import { c as FabricOptions, h as Context, i as FabricContext, k as KubbFile_d_exports, m as RenderContextProps, o as FabricMode, r as FabricConfig, t as Fabric } from "./Fabric-dUuj_QO6.js";
|
|
2
|
+
import { t as ComponentNode } from "./useNodeTree-vLaKh36n.js";
|
|
3
|
+
import { r as RootContextProps, t as JSDoc } from "./types-_X71gVe5.js";
|
|
4
4
|
export { ComponentNode, Context, Fabric, FabricConfig, FabricContext, KubbFile_d_exports as FabricFile, KubbFile_d_exports as KubbFile, FabricMode, FabricOptions, JSDoc, RenderContextProps, RootContextProps };
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../src/KubbFile.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../src/KubbFile.ts"],"sourcesContent":["type ImportName =\n | string\n | Array<\n | string\n | {\n propertyName: string\n name?: string\n }\n >\n\nexport type Import = {\n /**\n * Import name to be used\n * @example [\"useState\"]\n * @example \"React\"\n */\n name: ImportName\n\n /**\n * Path for the import\n * @example '@kubb/core'\n */\n path: string\n /**\n * Add `type` prefix to the import, this will result in: `import type { Type } from './path'`.\n */\n isTypeOnly?: boolean\n\n isNameSpace?: boolean\n /**\n * When root is set it will get the path with relative getRelativePath(root, path).\n */\n root?: string\n}\n\nexport type Source = {\n name?: string\n value?: string\n isTypeOnly?: boolean\n /**\n * Has const or type 'export'\n * @default false\n */\n isExportable?: boolean\n /**\n * When set, barrel generation will add this\n * @default false\n */\n isIndexable?: boolean\n}\n\nexport type Export = {\n /**\n * Export name to be used.\n * @example [\"useState\"]\n * @example \"React\"\n */\n name?: string | Array<string>\n /**\n * Path for the import.\n * @example '@kubb/core'\n */\n path: string\n /**\n * Add `type` prefix to the export, this will result in: `export type { Type } from './path'`.\n */\n isTypeOnly?: boolean\n /**\n * Make it possible to override the name, this will result in: `export * as aliasName from './path'`.\n */\n asAlias?: boolean\n}\n\nexport type Extname = '.ts' | '.js' | '.tsx' | '.json' | `.${string}`\n\nexport type Mode = 'single' | 'split'\n\n/**\n * Name to be used to dynamicly create the baseName(based on input.path)\n * Based on UNIX basename\n * @link https://nodejs.org/api/path.html#pathbasenamepath-suffix\n */\nexport type BaseName = `${string}.${string}`\n\n/**\n * Path will be full qualified path to a specified file\n */\nexport type Path = string\n\nexport type File<TMeta extends object = object> = {\n /**\n * Name to be used to create the path\n * Based on UNIX basename, `${name}.extname`\n * @link https://nodejs.org/api/path.html#pathbasenamepath-suffix\n */\n baseName: BaseName\n /**\n * Path will be full qualified path to a specified file\n */\n path: Path\n sources: Array<Source>\n imports: Array<Import>\n exports: Array<Export>\n /**\n * Use extra meta, this is getting used to generate the barrel/index files.\n */\n meta?: TMeta\n banner?: string\n footer?: string\n}\n\nexport type ResolvedFile<TMeta extends object = object> = File<TMeta> & {\n /**\n * @default hash\n */\n id: string\n /**\n * Contains the first part of the baseName, generated based on baseName\n * @link https://nodejs.org/api/path.html#pathformatpathobject\n */\n name: string\n extname: Extname\n imports: Array<Import>\n exports: Array<Export>\n}\n"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as File, N as __name } from "./Fabric-
|
|
1
|
+
import { D as File, N as __name } from "./Fabric-yRxItrhk.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/TreeNode.d.ts
|
|
4
4
|
type BarrelData = {
|
|
@@ -39,4 +39,4 @@ type ComponentNode = {
|
|
|
39
39
|
declare function useNodeTree(): TreeNode<ComponentNode> | null;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { useNodeTree as n, TreeNode as r, ComponentNode as t };
|
|
42
|
-
//# sourceMappingURL=useNodeTree-
|
|
42
|
+
//# sourceMappingURL=useNodeTree-CdlPBTwH.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __name } from "./chunk-Cq_TCZj9.js";
|
|
2
|
-
import { D as File } from "./Fabric-
|
|
2
|
+
import { D as File } from "./Fabric-dUuj_QO6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/TreeNode.d.ts
|
|
5
5
|
type BarrelData = {
|
|
@@ -40,4 +40,4 @@ type ComponentNode = {
|
|
|
40
40
|
declare function useNodeTree(): TreeNode<ComponentNode> | null;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { useNodeTree as n, TreeNode as r, ComponentNode as t };
|
|
43
|
-
//# sourceMappingURL=useNodeTree-
|
|
43
|
+
//# sourceMappingURL=useNodeTree-vLaKh36n.d.ts.map
|
package/package.json
CHANGED
package/src/KubbFile.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
+
type ImportName =
|
|
2
|
+
| string
|
|
3
|
+
| Array<
|
|
4
|
+
| string
|
|
5
|
+
| {
|
|
6
|
+
propertyName: string
|
|
7
|
+
name?: string
|
|
8
|
+
}
|
|
9
|
+
>
|
|
10
|
+
|
|
1
11
|
export type Import = {
|
|
2
12
|
/**
|
|
3
13
|
* Import name to be used
|
|
4
14
|
* @example ["useState"]
|
|
5
15
|
* @example "React"
|
|
6
16
|
*/
|
|
7
|
-
name:
|
|
8
|
-
|
|
9
|
-
| Array<
|
|
10
|
-
| string
|
|
11
|
-
| {
|
|
12
|
-
propertyName: string
|
|
13
|
-
name?: string
|
|
14
|
-
}
|
|
15
|
-
>
|
|
17
|
+
name: ImportName
|
|
18
|
+
|
|
16
19
|
/**
|
|
17
20
|
* Path for the import
|
|
18
21
|
* @example '@kubb/core'
|