@kubb/plugin-redoc 4.14.0 → 4.15.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 CHANGED
@@ -342,6 +342,13 @@ type Config<TInput = Input> = {
342
342
  * @default 'simple'
343
343
  */
344
344
  defaultBanner?: 'simple' | 'full' | false;
345
+ /**
346
+ * Whether to override existing external files if they already exist.
347
+ * When setting the option in the global configuration, all plugins inherit the same behavior by default.
348
+ * However, all plugins also have an `output.override` option, which can be used to override the behavior for a specific plugin.
349
+ * @default false
350
+ */
351
+ override?: boolean;
345
352
  };
346
353
  /**
347
354
  * An array of Kubb plugins that will be used in the generation.
@@ -529,6 +536,11 @@ type Output<TOptions> = {
529
536
  * Add a footer text in the beginning of every file
530
537
  */
531
538
  footer?: string | ((options: TOptions) => string);
539
+ /**
540
+ * Whether to override existing external files if they already exist.
541
+ * @default false
542
+ */
543
+ override?: boolean;
532
544
  };
533
545
  //#endregion
534
546
  //#region ../core/src/PluginManager.d.ts
package/dist/index.d.ts CHANGED
@@ -342,6 +342,13 @@ type Config<TInput = Input> = {
342
342
  * @default 'simple'
343
343
  */
344
344
  defaultBanner?: 'simple' | 'full' | false;
345
+ /**
346
+ * Whether to override existing external files if they already exist.
347
+ * When setting the option in the global configuration, all plugins inherit the same behavior by default.
348
+ * However, all plugins also have an `output.override` option, which can be used to override the behavior for a specific plugin.
349
+ * @default false
350
+ */
351
+ override?: boolean;
345
352
  };
346
353
  /**
347
354
  * An array of Kubb plugins that will be used in the generation.
@@ -529,6 +536,11 @@ type Output<TOptions> = {
529
536
  * Add a footer text in the beginning of every file
530
537
  */
531
538
  footer?: string | ((options: TOptions) => string);
539
+ /**
540
+ * Whether to override existing external files if they already exist.
541
+ * @default false
542
+ */
543
+ override?: boolean;
532
544
  };
533
545
  //#endregion
534
546
  //#region ../core/src/PluginManager.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-redoc",
3
- "version": "4.14.0",
3
+ "version": "4.15.0",
4
4
  "description": "Beautiful docs with Redoc",
5
5
  "keywords": [
6
6
  "typescript",
@@ -48,9 +48,9 @@
48
48
  "dependencies": {
49
49
  "@kubb/react-fabric": "0.9.2",
50
50
  "handlebars": "^4.7.8",
51
- "@kubb/oas": "4.14.0",
52
- "@kubb/core": "4.14.0",
53
- "@kubb/plugin-oas": "4.14.0"
51
+ "@kubb/core": "4.15.0",
52
+ "@kubb/oas": "4.15.0",
53
+ "@kubb/plugin-oas": "4.15.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@kubb/react-fabric": "0.9.2"