mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +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",
|
"enum",
|
||||||
WithDescription<
|
WithDescription<
|
||||||
WithDefault<
|
WithDefault<
|
||||||
{
|
ListSpec<
|
||||||
values: string[];
|
ValueSpecEnum
|
||||||
"value-names": {
|
>,
|
||||||
[key: string]: string;
|
|
||||||
};
|
|
||||||
},
|
|
||||||
string[]
|
string[]
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
| Subtype<
|
| Subtype<
|
||||||
"object",
|
"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 = {
|
export type SetResult = {
|
||||||
/** These are the unix process signals */
|
/** These are the unix process signals */
|
||||||
|
|||||||
Reference in New Issue
Block a user