mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
chore: Update the lite types to include the union and enum (#1542)
This commit is contained in:
20
libs/artifacts/types.d.ts
vendored
20
libs/artifacts/types.d.ts
vendored
@@ -244,21 +244,25 @@ export type ValueSpecList =
|
||||
"enum",
|
||||
WithDescription<
|
||||
WithDefault<
|
||||
{
|
||||
values: string[];
|
||||
"value-names": {
|
||||
[key: string]: string;
|
||||
};
|
||||
},
|
||||
ListSpec<
|
||||
ValueSpecEnum
|
||||
>,
|
||||
string[]
|
||||
>
|
||||
>
|
||||
>
|
||||
| Subtype<
|
||||
"object",
|
||||
WithDescription<WithDefault<ListSpec<Tag<"object", WithDescription<WithDefault<ValueSpecObject, Config>>>>, {}[]>>
|
||||
WithDescription<WithDefault<ListSpec<ValueSpecObject>, {}[]>>
|
||||
>
|
||||
| Subtype<
|
||||
"union",
|
||||
WithDescription<WithDefault<ListSpec<ValueSpecUnion>, string[]>>
|
||||
>;
|
||||
|
||||
export type ValueSpecEnum = {
|
||||
values: string[],
|
||||
"value-names": { [key: string]: string };
|
||||
}
|
||||
|
||||
export type SetResult = {
|
||||
/** These are the unix process signals */
|
||||
|
||||
Reference in New Issue
Block a user