mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 18:31:54 +00:00
16 lines
254 B
TypeScript
16 lines
254 B
TypeScript
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;
|
|
}
|