@kubb/plugin-msw 4.12.9 → 4.12.10
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-CfuomfBr.cjs";
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-BY4-yFqe.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-BxrZCazk.js";
|
|
2
|
-
import { n as PluginMsw, r as ReactGenerator } from "./types-
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-Cze0i6DC.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-CfuomfBr.cjs";
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-BY4-yFqe.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-BxrZCazk.js";
|
|
2
|
-
import { n as PluginMsw, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-Cze0i6DC.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMswName = "plugin-msw";
|
|
@@ -143,6 +143,7 @@ type SchemaKeywordMapper = {
|
|
|
143
143
|
[x: string]: Schema[];
|
|
144
144
|
};
|
|
145
145
|
additionalProperties: Schema[];
|
|
146
|
+
patternProperties?: Record<string, Schema[]>;
|
|
146
147
|
strict?: boolean;
|
|
147
148
|
};
|
|
148
149
|
};
|
|
@@ -513,4 +514,4 @@ type ResolvedOptions = {
|
|
|
513
514
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
514
515
|
//#endregion
|
|
515
516
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
516
|
-
//# sourceMappingURL=types-
|
|
517
|
+
//# sourceMappingURL=types-BY4-yFqe.d.cts.map
|
|
@@ -143,6 +143,7 @@ type SchemaKeywordMapper = {
|
|
|
143
143
|
[x: string]: Schema[];
|
|
144
144
|
};
|
|
145
145
|
additionalProperties: Schema[];
|
|
146
|
+
patternProperties?: Record<string, Schema[]>;
|
|
146
147
|
strict?: boolean;
|
|
147
148
|
};
|
|
148
149
|
};
|
|
@@ -513,4 +514,4 @@ type ResolvedOptions = {
|
|
|
513
514
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
514
515
|
//#endregion
|
|
515
516
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
516
|
-
//# sourceMappingURL=types-
|
|
517
|
+
//# sourceMappingURL=types-Cze0i6DC.d.ts.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.10",
|
|
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.7.4",
|
|
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.
|
|
77
|
+
"@kubb/core": "4.12.10",
|
|
78
|
+
"@kubb/oas": "4.12.10",
|
|
79
|
+
"@kubb/plugin-faker": "4.12.10",
|
|
80
|
+
"@kubb/plugin-oas": "4.12.10",
|
|
81
|
+
"@kubb/plugin-ts": "4.12.10"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {},
|
|
84
84
|
"engines": {
|