@kubb/react-fabric 0.1.7 → 0.1.8

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.
@@ -132,6 +132,18 @@ type AppEvents = {
132
132
  'process:start': [{
133
133
  files: ResolvedFile[];
134
134
  }];
135
+ /**
136
+ * Called when FileManager is adding files to its cache
137
+ */
138
+ 'file:add': [{
139
+ files: ResolvedFile[];
140
+ }];
141
+ 'write:start': [{
142
+ files: ResolvedFile[];
143
+ }];
144
+ 'write:end': [{
145
+ files: ResolvedFile[];
146
+ }];
135
147
  /**
136
148
  * Called for each file when processing begins.
137
149
  */
@@ -185,4 +197,4 @@ interface App<TOptions extends AppOptions = AppOptions> extends Kubb.App {
185
197
  }
186
198
  //#endregion
187
199
  export { UserParser as a, Parser as i, AppOptions as n, Plugin as o, FileManager as r, UserPlugin as s, App as t };
188
- //# sourceMappingURL=App-sZvw_4U6.d.cts.map
200
+ //# sourceMappingURL=App-CbT7rbmH.d.cts.map
@@ -132,6 +132,18 @@ type AppEvents = {
132
132
  'process:start': [{
133
133
  files: ResolvedFile[];
134
134
  }];
135
+ /**
136
+ * Called when FileManager is adding files to its cache
137
+ */
138
+ 'file:add': [{
139
+ files: ResolvedFile[];
140
+ }];
141
+ 'write:start': [{
142
+ files: ResolvedFile[];
143
+ }];
144
+ 'write:end': [{
145
+ files: ResolvedFile[];
146
+ }];
135
147
  /**
136
148
  * Called for each file when processing begins.
137
149
  */
@@ -185,4 +197,4 @@ interface App<TOptions extends AppOptions = AppOptions> extends Kubb.App {
185
197
  }
186
198
  //#endregion
187
199
  export { UserParser as a, Parser as i, AppOptions as n, Plugin as o, FileManager as r, UserPlugin as s, App as t };
188
- //# sourceMappingURL=App-CFyJOzZ_.d.ts.map
200
+ //# sourceMappingURL=App-D7ehObix.d.ts.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as Import, c as Source, n as Export, o as Path, t as BaseName } from "./KubbFile-FGXV713i.cjs";
2
- import { n as AppOptions, r as FileManager, t as App$1 } from "./App-sZvw_4U6.cjs";
2
+ import { n as AppOptions, r as FileManager, t as App$1 } from "./App-CbT7rbmH.cjs";
3
3
  import { a as JSDoc, f as createFunctionParams, l as FunctionParams, o as Key, s as KubbNode } from "./types-C3p0Ljxf.cjs";
4
4
  import "./globals-BRG2DOJd.cjs";
5
5
  import * as react1 from "react";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as Import, c as Source, n as Export, o as Path, t as BaseName } from "./KubbFile-D4gyyfL-.js";
2
- import { n as AppOptions, r as FileManager, t as App$1 } from "./App-CFyJOzZ_.js";
2
+ import { n as AppOptions, r as FileManager, t as App$1 } from "./App-D7ehObix.js";
3
3
  import { a as JSDoc, f as createFunctionParams, l as FunctionParams, o as Key, s as KubbNode } from "./types-Brnyan9B.js";
4
4
  import "./globals-D_1Lfe9-.js";
5
5
  import * as react1 from "react";
@@ -1,5 +1,5 @@
1
1
  import "./KubbFile-FGXV713i.cjs";
2
- import { a as UserParser, i as Parser } from "./App-sZvw_4U6.cjs";
2
+ import { a as UserParser, i as Parser } from "./App-CbT7rbmH.cjs";
3
3
 
4
4
  //#region ../fabric-core/src/parsers/createParser.d.ts
5
5
  declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
package/dist/parsers.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./KubbFile-D4gyyfL-.js";
2
- import { a as UserParser, i as Parser } from "./App-CFyJOzZ_.js";
2
+ import { a as UserParser, i as Parser } from "./App-D7ehObix.js";
3
3
 
4
4
  //#region ../fabric-core/src/parsers/createParser.d.ts
5
5
  declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
@@ -1,5 +1,5 @@
1
1
  import { r as Extname } from "./KubbFile-FGXV713i.cjs";
2
- import { o as Plugin, s as UserPlugin } from "./App-sZvw_4U6.cjs";
2
+ import { o as Plugin, s as UserPlugin } from "./App-CbT7rbmH.cjs";
3
3
  import { ElementType } from "react";
4
4
 
5
5
  //#region ../fabric-core/src/plugins/createPlugin.d.ts
@@ -66,16 +66,17 @@ declare global {
66
66
  declare const barrelPlugin: Plugin<Options$2, ExtendOptions$1>;
67
67
  //#endregion
68
68
  //#region ../fabric-core/src/plugins/progressPlugin.d.ts
69
- type Options$1 = {};
70
- declare module '@kubb/fabric-core' {
71
- interface App {}
72
- }
73
- declare global {
74
- namespace Kubb {
75
- interface App {}
76
- }
77
- }
78
- declare const progressPlugin: Plugin<Options$1, {}>;
69
+ declare const progressPlugin: Plugin<[], {}>;
70
+ //#endregion
71
+ //#region ../fabric-core/src/plugins/graphPlugin.d.ts
72
+ type Options$1 = {
73
+ root: string;
74
+ /**
75
+ * @default false
76
+ */
77
+ open?: boolean;
78
+ };
79
+ declare const graphPlugin: Plugin<Options$1, {}>;
79
80
  //#endregion
80
81
  //#region src/plugins/reactPlugin.d.ts
81
82
  type Options = {
@@ -110,5 +111,5 @@ declare global {
110
111
  }
111
112
  declare const reactPlugin: Plugin<Options, ExtendOptions>;
112
113
  //#endregion
113
- export { barrelPlugin, createPlugin, fsPlugin, progressPlugin, reactPlugin };
114
+ export { barrelPlugin, createPlugin, fsPlugin, graphPlugin, progressPlugin, reactPlugin };
114
115
  //# sourceMappingURL=plugins.d.cts.map
package/dist/plugins.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as Extname } from "./KubbFile-D4gyyfL-.js";
2
- import { o as Plugin, s as UserPlugin } from "./App-CFyJOzZ_.js";
2
+ import { o as Plugin, s as UserPlugin } from "./App-D7ehObix.js";
3
3
  import { ElementType } from "react";
4
4
 
5
5
  //#region ../fabric-core/src/plugins/createPlugin.d.ts
@@ -66,16 +66,17 @@ declare global {
66
66
  declare const barrelPlugin: Plugin<Options$2, ExtendOptions$1>;
67
67
  //#endregion
68
68
  //#region ../fabric-core/src/plugins/progressPlugin.d.ts
69
- type Options$1 = {};
70
- declare module '@kubb/fabric-core' {
71
- interface App {}
72
- }
73
- declare global {
74
- namespace Kubb {
75
- interface App {}
76
- }
77
- }
78
- declare const progressPlugin: Plugin<Options$1, {}>;
69
+ declare const progressPlugin: Plugin<[], {}>;
70
+ //#endregion
71
+ //#region ../fabric-core/src/plugins/graphPlugin.d.ts
72
+ type Options$1 = {
73
+ root: string;
74
+ /**
75
+ * @default false
76
+ */
77
+ open?: boolean;
78
+ };
79
+ declare const graphPlugin: Plugin<Options$1, {}>;
79
80
  //#endregion
80
81
  //#region src/plugins/reactPlugin.d.ts
81
82
  type Options = {
@@ -110,5 +111,5 @@ declare global {
110
111
  }
111
112
  declare const reactPlugin: Plugin<Options, ExtendOptions>;
112
113
  //#endregion
113
- export { barrelPlugin, createPlugin, fsPlugin, progressPlugin, reactPlugin };
114
+ export { barrelPlugin, createPlugin, fsPlugin, graphPlugin, progressPlugin, reactPlugin };
114
115
  //# sourceMappingURL=plugins.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/react-fabric",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "React integration for Kubb, providing JSX runtime support and React component generation capabilities for code generation plugins.",
5
5
  "keywords": [
6
6
  "react",
@@ -99,7 +99,7 @@
99
99
  "react-reconciler": "0.32.0",
100
100
  "signal-exit": "^4.1.0",
101
101
  "ws": "^8.18.3",
102
- "@kubb/fabric-core": "0.1.7"
102
+ "@kubb/fabric-core": "0.1.8"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@types/react": "^19.2.2",