@kubb/plugin-msw 4.16.0 → 4.17.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/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-BKi86a7m.d.cts → index-BF-m6pzh.d.ts} +3 -3
- package/dist/{index-DsObfYme.d.ts → index-CCKNTbGB.d.cts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-DjFMooWJ.d.ts → types-BVHpzifU.d.ts} +2 -2
- package/dist/{types-C-42E1Jz.d.cts → types-CpHWBi5i.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-CCKNTbGB.cjs";
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-CpHWBi5i.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-BF-m6pzh.js";
|
|
2
|
+
import { n as PluginMsw, r as ReactGenerator } from "./types-BVHpzifU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/handlersGenerator.d.ts
|
|
5
5
|
declare const handlersGenerator: ReactGenerator<PluginMsw>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
1
2
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
2
3
|
import BaseOas from "oas";
|
|
3
4
|
import { Operation } from "oas/operation";
|
|
4
5
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
5
6
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
|
|
8
8
|
//#region ../oas/src/types.d.ts
|
|
9
9
|
type contentType = 'application/json' | (string & {});
|
|
@@ -360,7 +360,7 @@ type Config<TInput = Input> = {
|
|
|
360
360
|
* - 'biome': Uses Biome for code formatting.
|
|
361
361
|
*
|
|
362
362
|
*/
|
|
363
|
-
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
363
|
+
format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
|
|
364
364
|
/**
|
|
365
365
|
* Specifies the linter that should be used to analyze the code.
|
|
366
366
|
* The accepted values indicate different linting tools.
|
|
@@ -724,4 +724,4 @@ type FileMetaBase = {
|
|
|
724
724
|
};
|
|
725
725
|
//#endregion
|
|
726
726
|
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 };
|
|
727
|
-
//# sourceMappingURL=index-
|
|
727
|
+
//# sourceMappingURL=index-BF-m6pzh.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
3
2
|
import BaseOas from "oas";
|
|
4
3
|
import { Operation } from "oas/operation";
|
|
5
4
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
6
5
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
|
|
8
8
|
//#region ../oas/src/types.d.ts
|
|
9
9
|
type contentType = 'application/json' | (string & {});
|
|
@@ -360,7 +360,7 @@ type Config<TInput = Input> = {
|
|
|
360
360
|
* - 'biome': Uses Biome for code formatting.
|
|
361
361
|
*
|
|
362
362
|
*/
|
|
363
|
-
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
363
|
+
format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
|
|
364
364
|
/**
|
|
365
365
|
* Specifies the linter that should be used to analyze the code.
|
|
366
366
|
* The accepted values indicate different linting tools.
|
|
@@ -724,4 +724,4 @@ type FileMetaBase = {
|
|
|
724
724
|
};
|
|
725
725
|
//#endregion
|
|
726
726
|
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 };
|
|
727
|
-
//# sourceMappingURL=index-
|
|
727
|
+
//# sourceMappingURL=index-CCKNTbGB.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-CCKNTbGB.cjs";
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-CpHWBi5i.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-BF-m6pzh.js";
|
|
2
|
+
import { n as PluginMsw, t as Options } from "./types-BVHpzifU.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-BF-m6pzh.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";
|
|
@@ -516,4 +516,4 @@ type ResolvedOptions = {
|
|
|
516
516
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
517
517
|
//#endregion
|
|
518
518
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
519
|
-
//# sourceMappingURL=types-
|
|
519
|
+
//# sourceMappingURL=types-BVHpzifU.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-CCKNTbGB.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";
|
|
@@ -516,4 +516,4 @@ type ResolvedOptions = {
|
|
|
516
516
|
type PluginMsw = PluginFactoryOptions<'plugin-msw', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
517
517
|
//#endregion
|
|
518
518
|
export { PluginMsw as n, ReactGenerator as r, Options as t };
|
|
519
|
-
//# sourceMappingURL=types-
|
|
519
|
+
//# sourceMappingURL=types-CpHWBi5i.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-msw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.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",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@kubb/react-fabric": "0.
|
|
77
|
-
"@kubb/core": "4.
|
|
78
|
-
"@kubb/oas": "4.
|
|
79
|
-
"@kubb/plugin-faker": "4.
|
|
80
|
-
"@kubb/plugin-oas": "4.
|
|
81
|
-
"@kubb/plugin-ts": "4.
|
|
76
|
+
"@kubb/react-fabric": "0.11.3",
|
|
77
|
+
"@kubb/core": "4.17.1",
|
|
78
|
+
"@kubb/oas": "4.17.1",
|
|
79
|
+
"@kubb/plugin-faker": "4.17.1",
|
|
80
|
+
"@kubb/plugin-oas": "4.17.1",
|
|
81
|
+
"@kubb/plugin-ts": "4.17.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {},
|
|
84
84
|
"engines": {
|