mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
add nullable to union
This commit is contained in:
@@ -67,6 +67,7 @@ export interface ValueSpecBoolean extends WithStandalone {
|
|||||||
export interface ValueSpecUnion extends WithStandalone {
|
export interface ValueSpecUnion extends WithStandalone {
|
||||||
type: "union";
|
type: "union";
|
||||||
nullable: boolean;
|
nullable: boolean;
|
||||||
|
default: null | string
|
||||||
variants: Record<string, { name: string; spec: InputSpec }>;
|
variants: Record<string, { name: string; spec: InputSpec }>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user