@kubb/plugin-msw 4.14.0 → 4.14.1
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/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./index-DQ_gP-zu.cjs";
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-BxbkrRzL.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
1
|
import "./index-BC25ub0a.js";
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-B7KpvM6o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/handlersGenerator.d.ts
|
|
5
5
|
declare const handlersGenerator: ReactGenerator<PluginMsw>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as UserPluginWithLifeCycle } from "./index-DQ_gP-zu.cjs";
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-BxbkrRzL.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
1
|
import { l as UserPluginWithLifeCycle } from "./index-BC25ub0a.js";
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-B7KpvM6o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMswName = "plugin-msw";
|
|
@@ -118,6 +118,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
118
118
|
*/
|
|
119
119
|
plugin: Plugin<TPluginOptions>;
|
|
120
120
|
mode: KubbFile.Mode;
|
|
121
|
+
UNSTABLE_NAMING?: true;
|
|
121
122
|
};
|
|
122
123
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
123
124
|
#private;
|
|
@@ -514,4 +515,4 @@ type ResolvedOptions = {
|
|
|
514
515
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
515
516
|
//#endregion
|
|
516
517
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
517
|
-
//# sourceMappingURL=types-
|
|
518
|
+
//# sourceMappingURL=types-B7KpvM6o.d.ts.map
|
|
@@ -118,6 +118,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
118
118
|
*/
|
|
119
119
|
plugin: Plugin<TPluginOptions>;
|
|
120
120
|
mode: KubbFile.Mode;
|
|
121
|
+
UNSTABLE_NAMING?: true;
|
|
121
122
|
};
|
|
122
123
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
123
124
|
#private;
|
|
@@ -514,4 +515,4 @@ type ResolvedOptions = {
|
|
|
514
515
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
515
516
|
//#endregion
|
|
516
517
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
517
|
-
//# sourceMappingURL=types-
|
|
518
|
+
//# sourceMappingURL=types-BxbkrRzL.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-msw",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.1",
|
|
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",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@kubb/react-fabric": "0.9.2",
|
|
77
|
-
"@kubb/core": "4.14.
|
|
78
|
-
"@kubb/oas": "4.14.
|
|
79
|
-
"@kubb/plugin-faker": "4.14.
|
|
80
|
-
"@kubb/plugin-oas": "4.14.
|
|
81
|
-
"@kubb/plugin-ts": "4.14.
|
|
77
|
+
"@kubb/core": "4.14.1",
|
|
78
|
+
"@kubb/oas": "4.14.1",
|
|
79
|
+
"@kubb/plugin-faker": "4.14.1",
|
|
80
|
+
"@kubb/plugin-oas": "4.14.1",
|
|
81
|
+
"@kubb/plugin-ts": "4.14.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {},
|
|
84
84
|
"engines": {
|