@hey-api/openapi-ts 0.90.10 → 0.91.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/clients/angular/client.ts +23 -49
- package/dist/clients/angular/types.ts +11 -34
- package/dist/clients/angular/utils.ts +6 -22
- package/dist/clients/axios/client.ts +16 -27
- package/dist/clients/axios/types.ts +17 -54
- package/dist/clients/axios/utils.ts +3 -8
- package/dist/clients/core/auth.ts +1 -2
- package/dist/clients/core/bodySerializer.ts +5 -21
- package/dist/clients/core/params.ts +3 -10
- package/dist/clients/core/pathSerializer.ts +4 -14
- package/dist/clients/core/queryKeySerializer.ts +6 -25
- package/dist/clients/core/serverSentEvents.ts +8 -31
- package/dist/clients/core/types.ts +4 -18
- package/dist/clients/core/utils.ts +1 -4
- package/dist/clients/fetch/client.ts +25 -48
- package/dist/clients/fetch/types.ts +12 -40
- package/dist/clients/fetch/utils.ts +6 -22
- package/dist/clients/ky/client.ts +27 -58
- package/dist/clients/ky/types.ts +19 -47
- package/dist/clients/ky/utils.ts +6 -22
- package/dist/clients/next/client.ts +30 -47
- package/dist/clients/next/types.ts +13 -47
- package/dist/clients/next/utils.ts +8 -31
- package/dist/clients/nuxt/client.ts +18 -37
- package/dist/clients/nuxt/types.ts +12 -31
- package/dist/clients/nuxt/utils.ts +5 -17
- package/dist/clients/ofetch/client.ts +34 -60
- package/dist/clients/ofetch/types.ts +13 -44
- package/dist/clients/ofetch/utils.ts +20 -58
- package/dist/index.d.mts +8731 -54
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -3
- package/dist/{openApi-Gs-XGatv.mjs → init-CvGgSlz8.mjs} +134 -8346
- package/dist/init-CvGgSlz8.mjs.map +1 -0
- package/dist/internal.d.mts +2 -68
- package/dist/internal.d.mts.map +1 -0
- package/dist/internal.mjs +2 -2
- package/dist/run.d.mts +0 -1
- package/dist/run.mjs +5 -7
- package/dist/run.mjs.map +1 -1
- package/dist/src-Dgh53q8K.mjs +228 -0
- package/dist/src-Dgh53q8K.mjs.map +1 -0
- package/dist/types-Ba27ofyy.d.mts +157 -0
- package/dist/types-Ba27ofyy.d.mts.map +1 -0
- package/package.json +39 -58
- package/dist/index.cjs +0 -30
- package/dist/index.d.cts +0 -990
- package/dist/internal.cjs +0 -6
- package/dist/internal.d.cts +0 -99
- package/dist/openApi-Dy5wknYZ.cjs +0 -22032
- package/dist/openApi-Dy5wknYZ.cjs.map +0 -1
- package/dist/openApi-Gs-XGatv.mjs.map +0 -1
- package/dist/run.cjs +0 -61
- package/dist/run.cjs.map +0 -1
- package/dist/run.d.cts +0 -2
- package/dist/src-DMQOp4DI.cjs +0 -476
- package/dist/src-DMQOp4DI.cjs.map +0 -1
- package/dist/src-YIQMkx2V.mjs +0 -455
- package/dist/src-YIQMkx2V.mjs.map +0 -1
- package/dist/types-BcLsQaJ_.d.cts +0 -15600
- package/dist/types-CLcjoomL.d.mts +0 -16472
package/package.json
CHANGED
|
@@ -1,22 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hey-api/openapi-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.1",
|
|
4
4
|
"description": "🌀 OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.",
|
|
5
|
-
"homepage": "https://heyapi.dev/",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/hey-api/openapi-ts.git"
|
|
9
|
-
},
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/hey-api/openapi-ts/issues"
|
|
12
|
-
},
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"author": {
|
|
15
|
-
"email": "lubos@heyapi.dev",
|
|
16
|
-
"name": "Hey API",
|
|
17
|
-
"url": "https://heyapi.dev"
|
|
18
|
-
},
|
|
19
|
-
"funding": "https://github.com/sponsors/hey-api",
|
|
20
5
|
"keywords": [
|
|
21
6
|
"angular",
|
|
22
7
|
"axios",
|
|
@@ -38,33 +23,21 @@
|
|
|
38
23
|
"xhr",
|
|
39
24
|
"yaml"
|
|
40
25
|
],
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"./internal": {
|
|
57
|
-
"import": {
|
|
58
|
-
"types": "./dist/internal.d.mts",
|
|
59
|
-
"default": "./dist/internal.mjs"
|
|
60
|
-
},
|
|
61
|
-
"require": {
|
|
62
|
-
"types": "./dist/internal.d.cts",
|
|
63
|
-
"default": "./dist/internal.cjs"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"./package.json": "./package.json"
|
|
26
|
+
"homepage": "https://heyapi.dev/",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/hey-api/openapi-ts/issues"
|
|
29
|
+
},
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"author": {
|
|
32
|
+
"name": "Hey API",
|
|
33
|
+
"email": "lubos@heyapi.dev",
|
|
34
|
+
"url": "https://heyapi.dev"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/hey-api/openapi-ts.git"
|
|
67
39
|
},
|
|
40
|
+
"funding": "https://github.com/sponsors/hey-api",
|
|
68
41
|
"bin": {
|
|
69
42
|
"openapi-ts": "./bin/run.js"
|
|
70
43
|
},
|
|
@@ -74,21 +47,28 @@
|
|
|
74
47
|
"LICENSE.md",
|
|
75
48
|
"README.md"
|
|
76
49
|
],
|
|
77
|
-
"
|
|
78
|
-
|
|
50
|
+
"type": "module",
|
|
51
|
+
"main": "./dist/index.mjs",
|
|
52
|
+
"types": "./dist/index.d.mts",
|
|
53
|
+
"exports": {
|
|
54
|
+
".": {
|
|
55
|
+
"types": "./dist/index.d.mts",
|
|
56
|
+
"import": "./dist/index.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./internal": {
|
|
59
|
+
"types": "./dist/internal.d.mts",
|
|
60
|
+
"import": "./dist/internal.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./package.json": "./package.json"
|
|
79
63
|
},
|
|
80
64
|
"dependencies": {
|
|
81
|
-
"@hey-api/
|
|
82
|
-
"@hey-api/json-schema-ref-parser": "1.2.2",
|
|
65
|
+
"@hey-api/json-schema-ref-parser": "1.2.3",
|
|
83
66
|
"ansi-colors": "4.1.3",
|
|
84
67
|
"color-support": "1.1.3",
|
|
85
68
|
"commander": "14.0.2",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"@hey-api/types": "0.1.
|
|
89
|
-
},
|
|
90
|
-
"peerDependencies": {
|
|
91
|
-
"typescript": ">=5.5.3"
|
|
69
|
+
"@hey-api/codegen-core": "0.6.1",
|
|
70
|
+
"@hey-api/shared": "0.1.1",
|
|
71
|
+
"@hey-api/types": "0.1.3"
|
|
92
72
|
},
|
|
93
73
|
"devDependencies": {
|
|
94
74
|
"@angular/common": "19.2.17",
|
|
@@ -98,16 +78,11 @@
|
|
|
98
78
|
"@angular/platform-browser": "19.2.17",
|
|
99
79
|
"@angular/platform-browser-dynamic": "19.2.17",
|
|
100
80
|
"@angular/router": "19.2.17",
|
|
101
|
-
"@types/bun": "1.3.5",
|
|
102
|
-
"@types/cross-spawn": "6.0.6",
|
|
103
|
-
"@types/semver": "7.7.1",
|
|
104
81
|
"axios": "1.13.2",
|
|
105
|
-
"cross-spawn": "7.0.6",
|
|
106
82
|
"eslint": "9.39.1",
|
|
107
83
|
"ky": "1.14.2",
|
|
108
84
|
"nuxt": "3.14.1592",
|
|
109
85
|
"ofetch": "1.5.1",
|
|
110
|
-
"prettier": "3.4.2",
|
|
111
86
|
"rxjs": "7.8.2",
|
|
112
87
|
"typescript": "5.9.3",
|
|
113
88
|
"vue": "3.5.25",
|
|
@@ -115,9 +90,15 @@
|
|
|
115
90
|
"zone.js": "0.16.0",
|
|
116
91
|
"@config/vite-base": "0.0.1"
|
|
117
92
|
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"typescript": ">=5.5.3"
|
|
95
|
+
},
|
|
96
|
+
"engines": {
|
|
97
|
+
"node": ">=20.19.0"
|
|
98
|
+
},
|
|
118
99
|
"scripts": {
|
|
119
100
|
"build": "tsdown && pnpm check-exports",
|
|
120
|
-
"check-exports": "attw --pack . --profile
|
|
101
|
+
"check-exports": "attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm",
|
|
121
102
|
"dev": "tsdown --watch",
|
|
122
103
|
"test:coverage": "vitest run --coverage",
|
|
123
104
|
"test:update": "vitest watch --update",
|
package/dist/index.cjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const require_openApi = require('./openApi-Dy5wknYZ.cjs');
|
|
3
|
-
const require_src = require('./src-DMQOp4DI.cjs');
|
|
4
|
-
let _hey_api_codegen_core = require("@hey-api/codegen-core");
|
|
5
|
-
|
|
6
|
-
exports.$ = require_openApi.$;
|
|
7
|
-
Object.defineProperty(exports, 'Logger', {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _hey_api_codegen_core.Logger;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
exports.OperationPath = require_openApi.OperationPath;
|
|
14
|
-
exports.OperationStrategy = require_openApi.OperationStrategy;
|
|
15
|
-
exports.TsDsl = require_openApi.TsDsl;
|
|
16
|
-
exports.TsDslContext = require_openApi.TsDslContext;
|
|
17
|
-
exports.TypeScriptRenderer = require_openApi.TypeScriptRenderer;
|
|
18
|
-
exports.clientDefaultConfig = require_openApi.clientDefaultConfig;
|
|
19
|
-
exports.clientDefaultMeta = require_openApi.clientDefaultMeta;
|
|
20
|
-
exports.clientPluginHandler = require_openApi.clientPluginHandler;
|
|
21
|
-
exports.createClient = require_src.createClient;
|
|
22
|
-
exports.ctx = require_openApi.ctx;
|
|
23
|
-
exports.defaultPaginationKeywords = require_openApi.defaultPaginationKeywords;
|
|
24
|
-
exports.defaultPlugins = require_openApi.defaultPlugins;
|
|
25
|
-
exports.defineConfig = require_src.defineConfig;
|
|
26
|
-
exports.definePluginConfig = require_openApi.definePluginConfig;
|
|
27
|
-
exports.keywords = require_openApi.keywords;
|
|
28
|
-
exports.regexp = require_openApi.regexp;
|
|
29
|
-
exports.reserved = require_openApi.reserved;
|
|
30
|
-
exports.utils = require_src.utils;
|