mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
update types and format bindings
This commit is contained in:
@@ -3,4 +3,9 @@ import type { InstalledState } from "./InstalledState";
|
||||
import type { InstallingState } from "./InstallingState";
|
||||
import type { UpdatingState } from "./UpdatingState";
|
||||
|
||||
export type PackageState = { "state": "installing" } & InstallingState | { "state": "restoring" } & InstallingState | { "state": "updating" } & UpdatingState | { "state": "installed" } & InstalledState | { "state": "removing" } & InstalledState;
|
||||
export type PackageState =
|
||||
| ({ state: "installing" } & InstallingState)
|
||||
| ({ state: "restoring" } & InstallingState)
|
||||
| ({ state: "updating" } & UpdatingState)
|
||||
| ({ state: "installed" } & InstalledState)
|
||||
| ({ state: "removing" } & InstalledState);
|
||||
|
||||
Reference in New Issue
Block a user