@kubb/plugin-msw 4.12.7 → 4.12.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.
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +2 -2
- package/dist/generators.d.ts +2 -2
- package/dist/{index-AR1cnPb-.d.ts → index-BWyzNpCR.d.ts} +10 -10
- package/dist/{index-CD-P877N.d.cts → index-Iinm2e3N.d.cts} +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-DvsA1uW0.d.ts → types-CB7ZNe6F.d.ts} +2 -2
- package/dist/{types-BKLGq6H-.d.cts → types-DUdQm-n4.d.cts} +2 -2
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
1
|
+
import "./index-Iinm2e3N.cjs";
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-DUdQm-n4.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/handlersGenerator.d.ts
|
|
5
5
|
declare const handlersGenerator: ReactGenerator<PluginMsw>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
1
|
+
import "./index-BWyzNpCR.js";
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-CB7ZNe6F.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/handlersGenerator.d.ts
|
|
5
5
|
declare const handlersGenerator: ReactGenerator<PluginMsw>;
|
|
@@ -168,21 +168,21 @@ interface KubbEvents {
|
|
|
168
168
|
*/
|
|
169
169
|
'hooks:end': [];
|
|
170
170
|
/**
|
|
171
|
-
* Emitted when a single hook execution starts.
|
|
172
|
-
*/
|
|
173
|
-
'hook:start': [command: string];
|
|
174
|
-
/**
|
|
175
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
171
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
176
172
|
* The callback should be invoked when the command completes.
|
|
177
173
|
*/
|
|
178
|
-
'hook:
|
|
179
|
-
|
|
174
|
+
'hook:start': [{
|
|
175
|
+
id?: string;
|
|
176
|
+
command: string;
|
|
180
177
|
args?: readonly string[];
|
|
181
|
-
}
|
|
178
|
+
}];
|
|
182
179
|
/**
|
|
183
180
|
* Emitted when a single hook execution completes.
|
|
184
181
|
*/
|
|
185
|
-
'hook:end': [
|
|
182
|
+
'hook:end': [{
|
|
183
|
+
id?: string;
|
|
184
|
+
command: string;
|
|
185
|
+
}];
|
|
186
186
|
/**
|
|
187
187
|
* Emitted when a new version of Kubb is available.
|
|
188
188
|
*/
|
|
@@ -710,4 +710,4 @@ type FileMetaBase = {
|
|
|
710
710
|
};
|
|
711
711
|
//#endregion
|
|
712
712
|
export { contentType as _, Output as a, ResolveNameParams as c, KubbEvents as d, BaseGenerator as f, SchemaObject$1 as g, Operation$1 as h, Group as i, UserPluginWithLifeCycle as l, HttpMethod as m, PluginManager as n, Plugin as o, Oas as p, Config as r, PluginFactoryOptions as s, FileMetaBase as t, AsyncEventEmitter as u };
|
|
713
|
-
//# sourceMappingURL=index-
|
|
713
|
+
//# sourceMappingURL=index-BWyzNpCR.d.ts.map
|
|
@@ -168,21 +168,21 @@ interface KubbEvents {
|
|
|
168
168
|
*/
|
|
169
169
|
'hooks:end': [];
|
|
170
170
|
/**
|
|
171
|
-
* Emitted when a single hook execution starts.
|
|
172
|
-
*/
|
|
173
|
-
'hook:start': [command: string];
|
|
174
|
-
/**
|
|
175
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
171
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
176
172
|
* The callback should be invoked when the command completes.
|
|
177
173
|
*/
|
|
178
|
-
'hook:
|
|
179
|
-
|
|
174
|
+
'hook:start': [{
|
|
175
|
+
id?: string;
|
|
176
|
+
command: string;
|
|
180
177
|
args?: readonly string[];
|
|
181
|
-
}
|
|
178
|
+
}];
|
|
182
179
|
/**
|
|
183
180
|
* Emitted when a single hook execution completes.
|
|
184
181
|
*/
|
|
185
|
-
'hook:end': [
|
|
182
|
+
'hook:end': [{
|
|
183
|
+
id?: string;
|
|
184
|
+
command: string;
|
|
185
|
+
}];
|
|
186
186
|
/**
|
|
187
187
|
* Emitted when a new version of Kubb is available.
|
|
188
188
|
*/
|
|
@@ -710,4 +710,4 @@ type FileMetaBase = {
|
|
|
710
710
|
};
|
|
711
711
|
//#endregion
|
|
712
712
|
export { contentType as _, Output as a, ResolveNameParams as c, KubbEvents as d, BaseGenerator as f, SchemaObject$1 as g, Operation$1 as h, Group as i, UserPluginWithLifeCycle as l, HttpMethod as m, PluginManager as n, Plugin as o, Oas as p, Config as r, PluginFactoryOptions as s, FileMetaBase as t, AsyncEventEmitter as u };
|
|
713
|
-
//# sourceMappingURL=index-
|
|
713
|
+
//# sourceMappingURL=index-Iinm2e3N.d.cts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
1
|
+
import { l as UserPluginWithLifeCycle } from "./index-Iinm2e3N.cjs";
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-DUdQm-n4.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMswName = "plugin-msw";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
1
|
+
import { l as UserPluginWithLifeCycle } from "./index-BWyzNpCR.js";
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-CB7ZNe6F.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMswName = "plugin-msw";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as contentType, a as Output, c as ResolveNameParams, d as KubbEvents, f as BaseGenerator, g as SchemaObject, h as Operation, i as Group, m as HttpMethod, n as PluginManager, o as Plugin, p as Oas, r as Config, s as PluginFactoryOptions, t as FileMetaBase, u as AsyncEventEmitter } from "./index-
|
|
1
|
+
import { _ as contentType, a as Output, c as ResolveNameParams, d as KubbEvents, f as BaseGenerator, g as SchemaObject, h as Operation, i as Group, m as HttpMethod, n as PluginManager, o as Plugin, p as Oas, r as Config, s as PluginFactoryOptions, t as FileMetaBase, u as AsyncEventEmitter } from "./index-BWyzNpCR.js";
|
|
2
2
|
import { Fabric } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
@@ -513,4 +513,4 @@ type ResolvedOptions = {
|
|
|
513
513
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
514
514
|
//#endregion
|
|
515
515
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
516
|
-
//# sourceMappingURL=types-
|
|
516
|
+
//# sourceMappingURL=types-CB7ZNe6F.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as contentType, a as Output, c as ResolveNameParams, d as KubbEvents, f as BaseGenerator, g as SchemaObject, h as Operation, i as Group, m as HttpMethod, n as PluginManager, o as Plugin, p as Oas, r as Config, s as PluginFactoryOptions, t as FileMetaBase, u as AsyncEventEmitter } from "./index-
|
|
1
|
+
import { _ as contentType, a as Output, c as ResolveNameParams, d as KubbEvents, f as BaseGenerator, g as SchemaObject, h as Operation, i as Group, m as HttpMethod, n as PluginManager, o as Plugin, p as Oas, r as Config, s as PluginFactoryOptions, t as FileMetaBase, u as AsyncEventEmitter } from "./index-Iinm2e3N.cjs";
|
|
2
2
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
3
3
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
4
4
|
import { Fabric } from "@kubb/react-fabric";
|
|
@@ -513,4 +513,4 @@ type ResolvedOptions = {
|
|
|
513
513
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
514
514
|
//#endregion
|
|
515
515
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
516
|
-
//# sourceMappingURL=types-
|
|
516
|
+
//# sourceMappingURL=types-DUdQm-n4.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-msw",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.8",
|
|
4
4
|
"description": "Mock Service Worker (MSW) handlers generator plugin for Kubb, creating API mocks from OpenAPI specifications for frontend development and testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"msw",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@kubb/react-fabric": "0.7.
|
|
77
|
-
"@kubb/core": "4.12.
|
|
78
|
-
"@kubb/oas": "4.12.
|
|
79
|
-
"@kubb/plugin-faker": "4.12.
|
|
80
|
-
"@kubb/plugin-oas": "4.12.
|
|
81
|
-
"@kubb/plugin-ts": "4.12.
|
|
76
|
+
"@kubb/react-fabric": "0.7.4",
|
|
77
|
+
"@kubb/core": "4.12.8",
|
|
78
|
+
"@kubb/oas": "4.12.8",
|
|
79
|
+
"@kubb/plugin-faker": "4.12.8",
|
|
80
|
+
"@kubb/plugin-oas": "4.12.8",
|
|
81
|
+
"@kubb/plugin-ts": "4.12.8"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {},
|
|
84
84
|
"engines": {
|