chore: Update the types to be required

This commit is contained in:
BluJ
2023-04-13 13:31:50 -06:00
parent 556b1b03f1
commit cff86718f8
8 changed files with 55 additions and 545 deletions

View File

@@ -1,3 +1,11 @@
export {
InputSpec,
UnionSelectKey,
UnionValueKey,
unionSelectKey,
unionValueKey,
} from "./configTypes";
export type InputSpecRaw = Record<string, ValueSpec>;
export type ValueType =
| "string"
@@ -33,6 +41,7 @@ export type ValueSpecOf<T extends ValueType> = T extends "string"
: T extends "union"
? ValueSpecUnion
: never;
export interface ValueSpecString extends ListValueSpecString, WithStandalone {
required: boolean;
default?: DefaultString | null;