use hard coded select key

This commit is contained in:
Matt Hill
2023-03-28 09:15:35 -06:00
parent b375e3c659
commit a927287c3a
3 changed files with 2 additions and 6 deletions

View File

@@ -66,7 +66,6 @@ export interface ValueSpecBoolean extends WithStandalone {
export interface ValueSpecUnion extends WithStandalone {
type: "union";
selectKey: string;
nullable: boolean;
variants: Record<string, { name: string; spec: InputSpec }>;
}
@@ -161,3 +160,5 @@ export type UniqueBy =
| { all: readonly UniqueBy[] | UniqueBy[] };
export type DefaultString = string | { charset: string; len: number };
export const unionSelectKey = 'unionSelectKey' as const