@kubb/plugin-ts 3.5.13 → 3.6.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,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkRBSBJS5T_cjs = require('./chunk-RBSBJS5T.cjs');
3
+ var chunkBORNH5HV_cjs = require('./chunk-BORNH5HV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "OasType", {
8
8
  enumerable: true,
9
- get: function () { return chunkRBSBJS5T_cjs.OasType; }
9
+ get: function () { return chunkBORNH5HV_cjs.OasType; }
10
10
  });
11
11
  Object.defineProperty(exports, "Type", {
12
12
  enumerable: true,
13
- get: function () { return chunkRBSBJS5T_cjs.Type; }
13
+ get: function () { return chunkBORNH5HV_cjs.Type; }
14
14
  });
15
15
  //# sourceMappingURL=components.cjs.map
16
16
  //# sourceMappingURL=components.cjs.map
@@ -1,3 +1,3 @@
1
- export { OasType, Type } from './chunk-PQDJZQVL.js';
1
+ export { OasType, Type } from './chunk-ULWNGDG4.js';
2
2
  //# sourceMappingURL=components.js.map
3
3
  //# sourceMappingURL=components.js.map
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkT2EDPCDF_cjs = require('./chunk-T2EDPCDF.cjs');
4
- require('./chunk-RBSBJS5T.cjs');
3
+ var chunk4SOGPJKA_cjs = require('./chunk-4SOGPJKA.cjs');
4
+ require('./chunk-BORNH5HV.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "oasGenerator", {
9
9
  enumerable: true,
10
- get: function () { return chunkT2EDPCDF_cjs.oasGenerator; }
10
+ get: function () { return chunk4SOGPJKA_cjs.oasGenerator; }
11
11
  });
12
12
  Object.defineProperty(exports, "typeGenerator", {
13
13
  enumerable: true,
14
- get: function () { return chunkT2EDPCDF_cjs.typeGenerator; }
14
+ get: function () { return chunk4SOGPJKA_cjs.typeGenerator; }
15
15
  });
16
16
  //# sourceMappingURL=generators.cjs.map
17
17
  //# sourceMappingURL=generators.cjs.map
@@ -1,4 +1,4 @@
1
- export { oasGenerator, typeGenerator } from './chunk-D2MHSJNA.js';
2
- import './chunk-PQDJZQVL.js';
1
+ export { oasGenerator, typeGenerator } from './chunk-6TOW4T6P.js';
2
+ import './chunk-ULWNGDG4.js';
3
3
  //# sourceMappingURL=generators.js.map
4
4
  //# sourceMappingURL=generators.js.map
package/dist/index.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkT2EDPCDF_cjs = require('./chunk-T2EDPCDF.cjs');
4
- require('./chunk-RBSBJS5T.cjs');
3
+ var chunk4SOGPJKA_cjs = require('./chunk-4SOGPJKA.cjs');
4
+ require('./chunk-BORNH5HV.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "pluginTs", {
9
9
  enumerable: true,
10
- get: function () { return chunkT2EDPCDF_cjs.pluginTs; }
10
+ get: function () { return chunk4SOGPJKA_cjs.pluginTs; }
11
11
  });
12
12
  Object.defineProperty(exports, "pluginTsName", {
13
13
  enumerable: true,
14
- get: function () { return chunkT2EDPCDF_cjs.pluginTsName; }
14
+ get: function () { return chunk4SOGPJKA_cjs.pluginTsName; }
15
15
  });
16
16
  //# sourceMappingURL=index.cjs.map
17
17
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { pluginTs, pluginTsName } from './chunk-D2MHSJNA.js';
2
- import './chunk-PQDJZQVL.js';
1
+ export { pluginTs, pluginTsName } from './chunk-6TOW4T6P.js';
2
+ import './chunk-ULWNGDG4.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-ts",
3
- "version": "3.5.13",
3
+ "version": "3.6.0",
4
4
  "description": "Generator plugin-ts",
5
5
  "keywords": [
6
6
  "zod",
@@ -58,20 +58,20 @@
58
58
  "!/**/__tests__/**"
59
59
  ],
60
60
  "dependencies": {
61
- "@kubb/core": "3.5.13",
62
- "@kubb/fs": "3.5.13",
63
- "@kubb/oas": "3.5.13",
64
- "@kubb/parser-ts": "3.5.13",
65
- "@kubb/plugin-oas": "3.5.13",
66
- "@kubb/react": "3.5.13"
61
+ "@kubb/core": "3.6.0",
62
+ "@kubb/fs": "3.6.0",
63
+ "@kubb/oas": "3.6.0",
64
+ "@kubb/parser-ts": "3.6.0",
65
+ "@kubb/plugin-oas": "3.6.0",
66
+ "@kubb/react": "3.6.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/react": "^18.3.18",
70
70
  "react": "^18.3.1",
71
71
  "tsup": "^8.3.6",
72
72
  "typescript": "^5.7.3",
73
- "@kubb/config-ts": "3.5.13",
74
- "@kubb/config-tsup": "3.5.13"
73
+ "@kubb/config-ts": "3.6.0",
74
+ "@kubb/config-tsup": "3.6.0"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@kubb/react": "^3.0.0"
@@ -0,0 +1,8 @@
1
+ export type FooBasetypeEnum2 = 'type-string' | 'type-number'
2
+
3
+ export type fooBase = {
4
+ /**
5
+ * @type string
6
+ */
7
+ $type: FooBasetypeEnum2
8
+ }
@@ -0,0 +1,9 @@
1
+ export type FooNumbertypeEnum2 = 'type-number'
2
+
3
+ export type fooNumber = fooBase & {
4
+ /**
5
+ * @type number
6
+ */
7
+ value: number
8
+ $type: FooNumbertypeEnum2
9
+ }