@kubb/plugin-msw 4.16.0 → 4.17.0

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.
@@ -1,4 +1,4 @@
1
- import { h as Operation } from "./index-BKi86a7m.cjs";
1
+ import { h as Operation } from "./index-CCKNTbGB.cjs";
2
2
  import { KubbNode } from "@kubb/react-fabric/types";
3
3
 
4
4
  //#region src/components/Handlers.d.ts
@@ -1,4 +1,4 @@
1
- import { h as Operation } from "./index-DsObfYme.js";
1
+ import { h as Operation } from "./index-BF-m6pzh.js";
2
2
  import { KubbNode } from "@kubb/react-fabric/types";
3
3
 
4
4
  //#region src/components/Handlers.d.ts
@@ -1,5 +1,5 @@
1
- import "./index-BKi86a7m.cjs";
2
- import { n as PluginMsw, r as ReactGenerator } from "./types-C-42E1Jz.cjs";
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>;
@@ -1,5 +1,5 @@
1
- import "./index-DsObfYme.js";
2
- import { n as PluginMsw, r as ReactGenerator } from "./types-DjFMooWJ.js";
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-BKi86a7m.d.cts.map
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-DsObfYme.d.ts.map
727
+ //# sourceMappingURL=index-CCKNTbGB.d.cts.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { l as UserPluginWithLifeCycle } from "./index-BKi86a7m.cjs";
2
- import { n as PluginMsw, t as Options } from "./types-C-42E1Jz.cjs";
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-DsObfYme.js";
2
- import { n as PluginMsw, t as Options } from "./types-DjFMooWJ.js";
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-DsObfYme.js";
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-DjFMooWJ.d.ts.map
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-BKi86a7m.cjs";
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-C-42E1Jz.d.cts.map
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.16.0",
3
+ "version": "4.17.0",
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.9.5",
77
- "@kubb/core": "4.16.0",
78
- "@kubb/oas": "4.16.0",
79
- "@kubb/plugin-faker": "4.16.0",
80
- "@kubb/plugin-oas": "4.16.0",
81
- "@kubb/plugin-ts": "4.16.0"
76
+ "@kubb/react-fabric": "0.10.0",
77
+ "@kubb/core": "4.17.0",
78
+ "@kubb/oas": "4.17.0",
79
+ "@kubb/plugin-faker": "4.17.0",
80
+ "@kubb/plugin-oas": "4.17.0",
81
+ "@kubb/plugin-ts": "4.17.0"
82
82
  },
83
83
  "devDependencies": {},
84
84
  "engines": {