quicktype-core 23.1.2 → 23.1.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.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { EnumOption, Option } from "./index";
|
|
2
2
|
/**
|
|
3
3
|
* Primary options show up in the web UI in the "Language" settings tab,
|
|
4
|
-
*
|
|
4
|
+
* Secondary options in "Other".
|
|
5
|
+
* CLI is only for cli
|
|
5
6
|
*/
|
|
6
|
-
export type OptionKind = "primary" | "secondary";
|
|
7
|
+
export type OptionKind = "primary" | "secondary" | "cli";
|
|
7
8
|
export interface OptionDefinition<Name extends string = string, T = unknown> {
|
|
8
9
|
alias?: string;
|
|
9
10
|
defaultOption?: boolean;
|