chore: Update the types for autoconfig

This commit is contained in:
BluJ
2023-04-24 13:24:57 -06:00
parent 0e3bf38ed4
commit 0be8d9d5bc
6 changed files with 49 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
export * as configTypes from "./config/configTypes";
import { InputSpec } from "./config/configTypes";
import { DependenciesReceipt } from "./config/setupConfig";
import { ActionReceipt } from "./init";
export type ExportedAction = (options: {
@@ -382,7 +383,7 @@ export type Effects = {
}): Promise<void>;
/** Set the dependencies of what the service needs, usually ran during the set config as a best practice */
setDependencies(dependencies: Dependencies): Promise<void>;
setDependencies(dependencies: Dependencies): Promise<DependenciesReceipt>;
/** Exists could be useful during the runtime to know if some service exists, option dep */
exists(packageId: PackageId): Promise<boolean>;
/** Exists could be useful during the runtime to know if some service is running, option dep */