mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
chore: Update the start-sdk to use dependencies
This commit is contained in:
15
lib/config/dependencies.ts
Normal file
15
lib/config/dependencies.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Dependency, PackageId } from "../types";
|
||||
|
||||
export function exists(id: PackageId) {
|
||||
return {
|
||||
id,
|
||||
kind: "exists",
|
||||
} as Dependency;
|
||||
}
|
||||
|
||||
export function running(id: PackageId) {
|
||||
return {
|
||||
id,
|
||||
kind: "running",
|
||||
} as Dependency;
|
||||
}
|
||||
Reference in New Issue
Block a user