@kubb/core 1.0.2 → 1.0.3
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.ts +3 -1
- package/package.json +2 -2
- package/src/types.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -345,6 +345,8 @@ type KubbConfig = {
|
|
|
345
345
|
};
|
|
346
346
|
/**
|
|
347
347
|
* Log level to report when using the CLI
|
|
348
|
+
* Under construction, only info is implemented.
|
|
349
|
+
* @default `silent`
|
|
348
350
|
*/
|
|
349
351
|
logLevel?: LogLevel;
|
|
350
352
|
};
|
|
@@ -487,7 +489,7 @@ type TransformResult = string | null;
|
|
|
487
489
|
type Path = string;
|
|
488
490
|
type OptionalPath = Path | null | undefined;
|
|
489
491
|
type FileName = string | null | undefined;
|
|
490
|
-
type LogType = 'error' | '
|
|
492
|
+
type LogType = 'error' | 'info';
|
|
491
493
|
type LogLevel = LogType | 'silent';
|
|
492
494
|
|
|
493
495
|
type Logger = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Generator core",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"change-case": "^4.1.2",
|
|
44
44
|
"directory-tree": "^3.5.1",
|
|
45
45
|
"rimraf": "^5.0.1",
|
|
46
|
-
"@kubb/ts-codegen": "1.0.
|
|
46
|
+
"@kubb/ts-codegen": "1.0.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"tsup": "^6.7.0",
|
package/src/types.ts
CHANGED
|
@@ -80,6 +80,8 @@ export type KubbConfig = {
|
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* Log level to report when using the CLI
|
|
83
|
+
* Under construction, only info is implemented.
|
|
84
|
+
* @default `silent`
|
|
83
85
|
*/
|
|
84
86
|
logLevel?: LogLevel
|
|
85
87
|
}
|
|
@@ -241,5 +243,5 @@ export type Path = string
|
|
|
241
243
|
export type OptionalPath = Path | null | undefined
|
|
242
244
|
export type FileName = string | null | undefined
|
|
243
245
|
|
|
244
|
-
export type LogType = 'error' | '
|
|
246
|
+
export type LogType = 'error' | 'info'
|
|
245
247
|
export type LogLevel = LogType | 'silent'
|