@kubb/plugin-msw 3.0.0-beta.3 → 3.0.0-beta.4

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,5 +1,5 @@
1
1
  import * as _kubb_plugin_oas from '@kubb/plugin-oas';
2
- import { P as PluginMsw } from './types-B3_ksuJz.cjs';
2
+ import { P as PluginMsw } from './types-BbAA5ZIy.cjs';
3
3
  import '@kubb/core';
4
4
 
5
5
  declare const mswGenerator: _kubb_plugin_oas.Generator<PluginMsw>;
@@ -1,5 +1,5 @@
1
1
  import * as _kubb_plugin_oas from '@kubb/plugin-oas';
2
- import { P as PluginMsw } from './types-B3_ksuJz.js';
2
+ import { P as PluginMsw } from './types-BbAA5ZIy.js';
3
3
  import '@kubb/core';
4
4
 
5
5
  declare const mswGenerator: _kubb_plugin_oas.Generator<PluginMsw>;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _kubb_core from '@kubb/core';
2
- import { O as Options, P as PluginMsw } from './types-B3_ksuJz.cjs';
2
+ import { O as Options, P as PluginMsw } from './types-BbAA5ZIy.cjs';
3
3
  import '@kubb/plugin-oas';
4
4
 
5
5
  declare const pluginMswName = "plugin-msw";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _kubb_core from '@kubb/core';
2
- import { O as Options, P as PluginMsw } from './types-B3_ksuJz.js';
2
+ import { O as Options, P as PluginMsw } from './types-BbAA5ZIy.js';
3
3
  import '@kubb/plugin-oas';
4
4
 
5
5
  declare const pluginMswName = "plugin-msw";
@@ -3,7 +3,8 @@ import { ResolvePathOptions, Exclude, Include, Override, Generator } from '@kubb
3
3
 
4
4
  type Options = {
5
5
  /**
6
- * @default 'mocks'
6
+ * Specify the export location for the files and define the behavior of the output
7
+ * @default { path: 'mocks', barrelType: 'named' }
7
8
  */
8
9
  output?: Output;
9
10
  /**
@@ -30,7 +31,7 @@ type Options = {
30
31
  };
31
32
  /**
32
33
  * Create `handlers.ts` file with all handlers grouped by methods.
33
- * @default `false`
34
+ * @default false
34
35
  */
35
36
  handlers?: boolean;
36
37
  /**
@@ -3,7 +3,8 @@ import { ResolvePathOptions, Exclude, Include, Override, Generator } from '@kubb
3
3
 
4
4
  type Options = {
5
5
  /**
6
- * @default 'mocks'
6
+ * Specify the export location for the files and define the behavior of the output
7
+ * @default { path: 'mocks', barrelType: 'named' }
7
8
  */
8
9
  output?: Output;
9
10
  /**
@@ -30,7 +31,7 @@ type Options = {
30
31
  };
31
32
  /**
32
33
  * Create `handlers.ts` file with all handlers grouped by methods.
33
- * @default `false`
34
+ * @default false
34
35
  */
35
36
  handlers?: boolean;
36
37
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-msw",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "Generator swagger",
5
5
  "keywords": [
6
6
  "typescript",
@@ -74,24 +74,24 @@
74
74
  "!/**/__tests__/**"
75
75
  ],
76
76
  "dependencies": {
77
- "@kubb/core": "3.0.0-beta.3",
78
- "@kubb/fs": "3.0.0-beta.3",
79
- "@kubb/oas": "3.0.0-beta.3",
80
- "@kubb/plugin-faker": "3.0.0-beta.3",
81
- "@kubb/plugin-oas": "3.0.0-beta.3",
82
- "@kubb/plugin-ts": "3.0.0-beta.3",
83
- "@kubb/react": "3.0.0-beta.3"
77
+ "@kubb/core": "3.0.0-beta.4",
78
+ "@kubb/fs": "3.0.0-beta.4",
79
+ "@kubb/oas": "3.0.0-beta.4",
80
+ "@kubb/plugin-faker": "3.0.0-beta.4",
81
+ "@kubb/plugin-oas": "3.0.0-beta.4",
82
+ "@kubb/plugin-ts": "3.0.0-beta.4",
83
+ "@kubb/react": "3.0.0-beta.4"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@types/react": "^18.3.11",
87
87
  "react": "^18.3.1",
88
88
  "tsup": "^8.3.0",
89
89
  "typescript": "^5.6.2",
90
- "@kubb/config-ts": "3.0.0-beta.3",
91
- "@kubb/config-tsup": "3.0.0-beta.3"
90
+ "@kubb/config-ts": "3.0.0-beta.4",
91
+ "@kubb/config-tsup": "3.0.0-beta.4"
92
92
  },
93
93
  "peerDependencies": {
94
- "@kubb/react": "3.0.0-beta.3"
94
+ "@kubb/react": "3.0.0-beta.4"
95
95
  },
96
96
  "engines": {
97
97
  "node": ">=20"
package/src/types.ts CHANGED
@@ -4,7 +4,8 @@ import type { Exclude, Generator, Include, Override, ResolvePathOptions } from '
4
4
 
5
5
  export type Options = {
6
6
  /**
7
- * @default 'mocks'
7
+ * Specify the export location for the files and define the behavior of the output
8
+ * @default { path: 'mocks', barrelType: 'named' }
8
9
  */
9
10
  output?: Output
10
11
  /**
@@ -31,7 +32,7 @@ export type Options = {
31
32
  }
32
33
  /**
33
34
  * Create `handlers.ts` file with all handlers grouped by methods.
34
- * @default `false`
35
+ * @default false
35
36
  */
36
37
  handlers?: boolean
37
38
  /**