include sdk.Mounts

This commit is contained in:
Aiden McClelland
2024-03-19 11:55:38 -06:00
parent 417befb2be
commit 3ac71e2f7f

View File

@@ -71,6 +71,7 @@ import { getServiceInterfaces } from "./util/getServiceInterfaces"
import { getStore } from "./store/getStore"
import { CommandOptions, MountOptions, Overlay } from "./util/Overlay"
import { splitCommand } from "./util/splitCommand"
import { Mounts } from "./mainFn/Mounts"
// prettier-ignore
type AnyNeverCond<T extends any[], Then, Else> =
@@ -333,7 +334,11 @@ export class StartSdk<Manifest extends SDKManifest, Store> {
changeOnFirstSuccess,
successFailure,
},
Mounts: {
of() {
return Mounts.of<Manifest>()
},
},
Backups: {
volumes: (
...volumeNames: Array<Manifest["volumes"][number] & string>