mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
include sdk.Mounts
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user