@kubb/plugin-redoc 3.4.5 → 3.5.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.
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +6 -6
- package/src/types.ts +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
|
2
2
|
import { PluginFactoryOptions, Output } from '@kubb/core';
|
|
3
|
+
import { Oas } from '@kubb/oas';
|
|
3
4
|
|
|
4
5
|
type Options = {
|
|
5
6
|
output?: {
|
|
@@ -11,7 +12,7 @@ type Options = {
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
type ResolveOptions = {
|
|
14
|
-
output: Output
|
|
15
|
+
output: Output<Oas>;
|
|
15
16
|
};
|
|
16
17
|
type PluginRedoc = PluginFactoryOptions<'plugin-redoc', Options, ResolveOptions, never>;
|
|
17
18
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
|
2
2
|
import { PluginFactoryOptions, Output } from '@kubb/core';
|
|
3
|
+
import { Oas } from '@kubb/oas';
|
|
3
4
|
|
|
4
5
|
type Options = {
|
|
5
6
|
output?: {
|
|
@@ -11,7 +12,7 @@ type Options = {
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
type ResolveOptions = {
|
|
14
|
-
output: Output
|
|
15
|
+
output: Output<Oas>;
|
|
15
16
|
};
|
|
16
17
|
type PluginRedoc = PluginFactoryOptions<'plugin-redoc', Options, ResolveOptions, never>;
|
|
17
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-redoc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Beautiful docs with Redoc",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"react-dom": "^18.3.1",
|
|
48
48
|
"redoc": "^2.2.0",
|
|
49
49
|
"styled-components": "^6.1.14",
|
|
50
|
-
"@kubb/
|
|
51
|
-
"@kubb/
|
|
52
|
-
"@kubb/plugin-oas": "3.
|
|
50
|
+
"@kubb/core": "3.5.0",
|
|
51
|
+
"@kubb/oas": "3.5.0",
|
|
52
|
+
"@kubb/plugin-oas": "3.5.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^18.3.18",
|
|
56
56
|
"@types/react-dom": "^18.3.5",
|
|
57
57
|
"tsup": "^8.3.5",
|
|
58
58
|
"typescript": "^5.7.3",
|
|
59
|
-
"@kubb/config-
|
|
60
|
-
"@kubb/config-
|
|
59
|
+
"@kubb/config-ts": "3.5.0",
|
|
60
|
+
"@kubb/config-tsup": "3.5.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@kubb/react": "^3.0.0"
|
package/src/types.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Output, PluginFactoryOptions } from '@kubb/core'
|
|
2
|
+
import type { Oas } from '@kubb/oas'
|
|
2
3
|
|
|
3
4
|
export type Options = {
|
|
4
5
|
output?: {
|
|
@@ -11,7 +12,7 @@ export type Options = {
|
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
type ResolveOptions = {
|
|
14
|
-
output: Output
|
|
15
|
+
output: Output<Oas>
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export type PluginRedoc = PluginFactoryOptions<'plugin-redoc', Options, ResolveOptions, never>
|