mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
chore: Update the types for changes that Matt wanted with sdk + examples
This commit is contained in:
18
sdk/lib/Dependency.ts
Normal file
18
sdk/lib/Dependency.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Checker } from "./emverLite/mod"
|
||||
|
||||
export class Dependency {
|
||||
constructor(
|
||||
readonly data:
|
||||
| {
|
||||
type: "running"
|
||||
versionSpec: Checker
|
||||
url: string
|
||||
healthChecks: string[]
|
||||
}
|
||||
| {
|
||||
type: "exists"
|
||||
versionSpec: Checker
|
||||
url: string
|
||||
},
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user