Feature/dependency autoconfig (#2588)

* dependency autoconfig

* FE portion

---------

Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Matt Hill
2024-04-03 11:48:26 -06:00
committed by GitHub
parent cc1f14e5e9
commit 3b9298ed2b
23 changed files with 262 additions and 170 deletions

View File

@@ -6,4 +6,5 @@ export type CurrentDependencyInfo = {
icon: DataUrl;
registryUrl: string;
versionSpec: string;
configSatisfied: boolean;
} & ({ kind: "exists" } | { kind: "running"; healthChecks: string[] });

View File

@@ -1,4 +0,0 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId";
export type DependencyConfigErrors = { [key: PackageId]: string };

View File

@@ -1,9 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DependencyConfigErrors } from "./DependencyConfigErrors";
import type { MainStatus } from "./MainStatus";
export type Status = {
configured: boolean;
main: MainStatus;
dependencyConfigErrors: DependencyConfigErrors;
};
export type Status = { configured: boolean; main: MainStatus };

View File

@@ -18,7 +18,6 @@ export { CurrentDependencies } from "./CurrentDependencies";
export { CurrentDependencyInfo } from "./CurrentDependencyInfo";
export { DataUrl } from "./DataUrl";
export { Dependencies } from "./Dependencies";
export { DependencyConfigErrors } from "./DependencyConfigErrors";
export { DependencyKind } from "./DependencyKind";
export { DependencyRequirement } from "./DependencyRequirement";
export { DepInfo } from "./DepInfo";