mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 14:29:47 +00:00
chore: Remove the stupid config
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import { GenericManifest } from "../manifest/ManifestTypes"
|
||||
import { SDKManifest } from "../manifest/ManifestTypes"
|
||||
import { Dependency, PackageId } from "../types"
|
||||
|
||||
export type Dependencies<T extends GenericManifest> = {
|
||||
export type Dependencies<T extends SDKManifest> = {
|
||||
exists(id: keyof T["dependencies"]): Dependency
|
||||
running(id: keyof T["dependencies"]): Dependency
|
||||
}
|
||||
|
||||
export const dependenciesSet = <
|
||||
T extends GenericManifest,
|
||||
>(): Dependencies<T> => ({
|
||||
export const dependenciesSet = <T extends SDKManifest>(): Dependencies<T> => ({
|
||||
exists(id: keyof T["dependencies"]) {
|
||||
return {
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user