@kubb/core 1.14.0-canary.20231018T192916 → 1.14.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.cjs.map +1 -1
- package/dist/index.d.cts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -481,7 +481,7 @@ type KubbUserConfig = Omit<KubbConfig, 'root' | 'plugins'> & {
|
|
|
481
481
|
plugins?: Array<KubbPlugin> | Array<KubbJSONPlugins> | KubbObjectPlugins;
|
|
482
482
|
};
|
|
483
483
|
/**
|
|
484
|
-
*
|
|
484
|
+
* @private
|
|
485
485
|
*/
|
|
486
486
|
type KubbConfig = {
|
|
487
487
|
/**
|
|
@@ -492,27 +492,28 @@ type KubbConfig = {
|
|
|
492
492
|
root: string;
|
|
493
493
|
input: {
|
|
494
494
|
/**
|
|
495
|
-
* Path to be used as the input.
|
|
496
|
-
* the defined root option.
|
|
495
|
+
* Path to be used as the input. This can be an absolute path or a path relative to the `root`.
|
|
497
496
|
*/
|
|
498
497
|
path: string;
|
|
499
498
|
} | {
|
|
500
499
|
/**
|
|
501
|
-
*
|
|
500
|
+
* `string` or `object` containing the data.
|
|
502
501
|
*/
|
|
503
502
|
data: string | unknown;
|
|
504
503
|
};
|
|
505
504
|
output: {
|
|
506
505
|
/**
|
|
507
|
-
* Path to be used to export all generated files.
|
|
506
|
+
* Path to be used to export all generated files.
|
|
507
|
+
* This can be an absolute path, or a path relative based of the defined `root` option.
|
|
508
508
|
*/
|
|
509
509
|
path: string;
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* Clean output directory before each build.
|
|
512
512
|
*/
|
|
513
513
|
clean?: boolean;
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* Write files to the fileSystem
|
|
516
|
+
* This is being used for the playground.
|
|
516
517
|
* @default true
|
|
517
518
|
*/
|
|
518
519
|
write?: boolean;
|
|
@@ -528,8 +529,8 @@ type KubbConfig = {
|
|
|
528
529
|
*/
|
|
529
530
|
hooks?: {
|
|
530
531
|
/**
|
|
531
|
-
* Hook that will be
|
|
532
|
-
* Useful for running Prettier or ESLint to
|
|
532
|
+
* Hook that will be triggered at the end of all executions.
|
|
533
|
+
* Useful for running Prettier or ESLint to format/lint your code.
|
|
533
534
|
*/
|
|
534
535
|
done?: string | Array<string>;
|
|
535
536
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -481,7 +481,7 @@ type KubbUserConfig = Omit<KubbConfig, 'root' | 'plugins'> & {
|
|
|
481
481
|
plugins?: Array<KubbPlugin> | Array<KubbJSONPlugins> | KubbObjectPlugins;
|
|
482
482
|
};
|
|
483
483
|
/**
|
|
484
|
-
*
|
|
484
|
+
* @private
|
|
485
485
|
*/
|
|
486
486
|
type KubbConfig = {
|
|
487
487
|
/**
|
|
@@ -492,27 +492,28 @@ type KubbConfig = {
|
|
|
492
492
|
root: string;
|
|
493
493
|
input: {
|
|
494
494
|
/**
|
|
495
|
-
* Path to be used as the input.
|
|
496
|
-
* the defined root option.
|
|
495
|
+
* Path to be used as the input. This can be an absolute path or a path relative to the `root`.
|
|
497
496
|
*/
|
|
498
497
|
path: string;
|
|
499
498
|
} | {
|
|
500
499
|
/**
|
|
501
|
-
*
|
|
500
|
+
* `string` or `object` containing the data.
|
|
502
501
|
*/
|
|
503
502
|
data: string | unknown;
|
|
504
503
|
};
|
|
505
504
|
output: {
|
|
506
505
|
/**
|
|
507
|
-
* Path to be used to export all generated files.
|
|
506
|
+
* Path to be used to export all generated files.
|
|
507
|
+
* This can be an absolute path, or a path relative based of the defined `root` option.
|
|
508
508
|
*/
|
|
509
509
|
path: string;
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* Clean output directory before each build.
|
|
512
512
|
*/
|
|
513
513
|
clean?: boolean;
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* Write files to the fileSystem
|
|
516
|
+
* This is being used for the playground.
|
|
516
517
|
* @default true
|
|
517
518
|
*/
|
|
518
519
|
write?: boolean;
|
|
@@ -528,8 +529,8 @@ type KubbConfig = {
|
|
|
528
529
|
*/
|
|
529
530
|
hooks?: {
|
|
530
531
|
/**
|
|
531
|
-
* Hook that will be
|
|
532
|
-
* Useful for running Prettier or ESLint to
|
|
532
|
+
* Hook that will be triggered at the end of all executions.
|
|
533
|
+
* Useful for running Prettier or ESLint to format/lint your code.
|
|
533
534
|
*/
|
|
534
535
|
done?: string | Array<string>;
|
|
535
536
|
};
|