@kubb/plugin-redoc 4.5.13 → 4.5.14
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 +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -310,7 +310,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
310
310
|
fabric: Fabric;
|
|
311
311
|
config: Config;
|
|
312
312
|
pluginManager: PluginManager;
|
|
313
|
+
/**
|
|
314
|
+
* Only add when the file does not exist yet
|
|
315
|
+
*/
|
|
313
316
|
addFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
317
|
+
/**
|
|
318
|
+
* merging multiple sources into the same output file
|
|
319
|
+
*/
|
|
320
|
+
upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
314
321
|
logger: Logger;
|
|
315
322
|
mode: KubbFile.Mode;
|
|
316
323
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -310,7 +310,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
310
310
|
fabric: Fabric;
|
|
311
311
|
config: Config;
|
|
312
312
|
pluginManager: PluginManager;
|
|
313
|
+
/**
|
|
314
|
+
* Only add when the file does not exist yet
|
|
315
|
+
*/
|
|
313
316
|
addFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
317
|
+
/**
|
|
318
|
+
* merging multiple sources into the same output file
|
|
319
|
+
*/
|
|
320
|
+
upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
314
321
|
logger: Logger;
|
|
315
322
|
mode: KubbFile.Mode;
|
|
316
323
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-redoc",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.14",
|
|
4
4
|
"description": "Beautiful docs with Redoc",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@kubb/react-fabric": "0.5.
|
|
49
|
+
"@kubb/react-fabric": "0.5.2",
|
|
50
50
|
"handlebars": "^4.7.8",
|
|
51
|
-
"@kubb/core": "4.5.
|
|
52
|
-
"@kubb/oas": "4.5.
|
|
53
|
-
"@kubb/plugin-oas": "4.5.
|
|
51
|
+
"@kubb/core": "4.5.14",
|
|
52
|
+
"@kubb/oas": "4.5.14",
|
|
53
|
+
"@kubb/plugin-oas": "4.5.14"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@kubb/react-fabric": "0.5.
|
|
56
|
+
"@kubb/react-fabric": "0.5.2"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=20"
|