mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 14:29:47 +00:00
make name optional on union type
This commit is contained in:
4
types.ts
4
types.ts
@@ -318,8 +318,8 @@ export type ValueSpecUnion = {
|
|||||||
/** What tag for the specification, for tag unions */
|
/** What tag for the specification, for tag unions */
|
||||||
tag: {
|
tag: {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name?: string; // optional for backwards compatibility - removed in 0.3.4
|
||||||
description?: string;
|
description?: string; // optional for backwards compatibility - removed in 0.3.4
|
||||||
"variant-names": {
|
"variant-names": {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user