@kubb/swagger-ts 2.0.4 → 2.0.6

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.
@@ -4,15 +4,15 @@ var chunkN6FDP2EJ_cjs = require('./chunk-N6FDP2EJ.cjs');
4
4
 
5
5
 
6
6
 
7
- Object.defineProperty(exports, 'Mutation', {
7
+ Object.defineProperty(exports, "Mutation", {
8
8
  enumerable: true,
9
9
  get: function () { return chunkN6FDP2EJ_cjs.Mutation; }
10
10
  });
11
- Object.defineProperty(exports, 'Oas', {
11
+ Object.defineProperty(exports, "Oas", {
12
12
  enumerable: true,
13
13
  get: function () { return chunkN6FDP2EJ_cjs.Oas; }
14
14
  });
15
- Object.defineProperty(exports, 'Query', {
15
+ Object.defineProperty(exports, "Query", {
16
16
  enumerable: true,
17
17
  get: function () { return chunkN6FDP2EJ_cjs.Query; }
18
18
  });
@@ -1,6 +1,6 @@
1
1
  import { OasBuilder } from '@kubb/swagger';
2
2
  import { KubbFile } from '@kubb/core';
3
- import { P as PluginOptions } from './types-IAThMYCO.cjs';
3
+ import { P as PluginOptions } from './types-v3wZ6qbm.cjs';
4
4
  import { ReactNode } from 'react';
5
5
  import { OasTypes } from '@kubb/swagger/oas';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { OasBuilder } from '@kubb/swagger';
2
2
  import { KubbFile } from '@kubb/core';
3
- import { P as PluginOptions } from './types-IAThMYCO.js';
3
+ import { P as PluginOptions } from './types-v3wZ6qbm.js';
4
4
  import { ReactNode } from 'react';
5
5
  import { OasTypes } from '@kubb/swagger/oas';
6
6
 
package/dist/index.cjs CHANGED
@@ -7,15 +7,15 @@ var chunkN6FDP2EJ_cjs = require('./chunk-N6FDP2EJ.cjs');
7
7
  // src/index.ts
8
8
  var src_default = chunkN6FDP2EJ_cjs.definePlugin;
9
9
 
10
- Object.defineProperty(exports, 'definePlugin', {
10
+ Object.defineProperty(exports, "definePlugin", {
11
11
  enumerable: true,
12
12
  get: function () { return chunkN6FDP2EJ_cjs.definePlugin; }
13
13
  });
14
- Object.defineProperty(exports, 'pluginKey', {
14
+ Object.defineProperty(exports, "pluginKey", {
15
15
  enumerable: true,
16
16
  get: function () { return chunkN6FDP2EJ_cjs.pluginKey; }
17
17
  });
18
- Object.defineProperty(exports, 'pluginName', {
18
+ Object.defineProperty(exports, "pluginName", {
19
19
  enumerable: true,
20
20
  get: function () { return chunkN6FDP2EJ_cjs.pluginName; }
21
21
  });
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _kubb_core from '@kubb/core';
2
- import { P as PluginOptions, O as Options } from './types-IAThMYCO.cjs';
3
- export { F as FileMeta } from './types-IAThMYCO.cjs';
2
+ import { P as PluginOptions, O as Options } from './types-v3wZ6qbm.cjs';
3
+ export { F as FileMeta } from './types-v3wZ6qbm.cjs';
4
4
  export { i as Oas } from './index-sycg8owy.cjs';
5
5
  import '@kubb/swagger';
6
6
  import 'hotscript';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _kubb_core from '@kubb/core';
2
- import { P as PluginOptions, O as Options } from './types-IAThMYCO.js';
3
- export { F as FileMeta } from './types-IAThMYCO.js';
2
+ import { P as PluginOptions, O as Options } from './types-v3wZ6qbm.js';
3
+ export { F as FileMeta } from './types-v3wZ6qbm.js';
4
4
  export { i as Oas } from './index-sycg8owy.js';
5
5
  import '@kubb/swagger';
6
6
  import 'hotscript';
@@ -41,15 +41,15 @@ type Options = {
41
41
  output?: string;
42
42
  };
43
43
  /**
44
- * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths.
44
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
45
45
  */
46
46
  exclude?: Array<Exclude>;
47
47
  /**
48
- * Array containing include paramaters to include tags/operations/methods/paths.
48
+ * Array containing include parameters to include tags/operations/methods/paths.
49
49
  */
50
50
  include?: Array<Include>;
51
51
  /**
52
- * Array containing override paramaters to override `options` based on tags/operations/methods/paths.
52
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
53
53
  */
54
54
  override?: Array<Override<Options>>;
55
55
  /**
@@ -41,15 +41,15 @@ type Options = {
41
41
  output?: string;
42
42
  };
43
43
  /**
44
- * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths.
44
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
45
45
  */
46
46
  exclude?: Array<Exclude>;
47
47
  /**
48
- * Array containing include paramaters to include tags/operations/methods/paths.
48
+ * Array containing include parameters to include tags/operations/methods/paths.
49
49
  */
50
50
  include?: Array<Include>;
51
51
  /**
52
- * Array containing override paramaters to override `options` based on tags/operations/methods/paths.
52
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
53
53
  */
54
54
  override?: Array<Override<Options>>;
55
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/swagger-ts",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Generator swagger-ts",
5
5
  "keywords": [
6
6
  "typescript",
@@ -49,11 +49,11 @@
49
49
  "hotscript": "^1.0.13",
50
50
  "json-schema-to-ts": "^2.9.2",
51
51
  "ts-toolbelt": "^9.6.0",
52
- "@kubb/core": "2.0.4",
53
- "@kubb/parser": "2.0.4",
54
- "@kubb/react": "2.0.4",
55
- "@kubb/swagger": "2.0.4",
56
- "@kubb/types": "2.0.4"
52
+ "@kubb/core": "2.0.6",
53
+ "@kubb/parser": "2.0.6",
54
+ "@kubb/react": "2.0.6",
55
+ "@kubb/swagger": "2.0.6",
56
+ "@kubb/types": "2.0.6"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "^18.2.45",
@@ -66,7 +66,7 @@
66
66
  "@kubb/tsup-config": "1.1.8"
67
67
  },
68
68
  "peerDependencies": {
69
- "@kubb/react": "2.0.4"
69
+ "@kubb/react": "2.0.6"
70
70
  },
71
71
  "packageManager": "pnpm@8.3.0",
72
72
  "engines": {
package/src/types.ts CHANGED
@@ -41,15 +41,15 @@ export type Options = {
41
41
  output?: string
42
42
  }
43
43
  /**
44
- * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths.
44
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
45
45
  */
46
46
  exclude?: Array<Exclude>
47
47
  /**
48
- * Array containing include paramaters to include tags/operations/methods/paths.
48
+ * Array containing include parameters to include tags/operations/methods/paths.
49
49
  */
50
50
  include?: Array<Include>
51
51
  /**
52
- * Array containing override paramaters to override `options` based on tags/operations/methods/paths.
52
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
53
53
  */
54
54
  override?: Array<Override<Options>>
55
55
  /**