mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +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 { getStore } from "./store/getStore"
|
||||||
import { CommandOptions, MountOptions, Overlay } from "./util/Overlay"
|
import { CommandOptions, MountOptions, Overlay } from "./util/Overlay"
|
||||||
import { splitCommand } from "./util/splitCommand"
|
import { splitCommand } from "./util/splitCommand"
|
||||||
|
import { Mounts } from "./mainFn/Mounts"
|
||||||
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
type AnyNeverCond<T extends any[], Then, Else> =
|
type AnyNeverCond<T extends any[], Then, Else> =
|
||||||
@@ -333,7 +334,11 @@ export class StartSdk<Manifest extends SDKManifest, Store> {
|
|||||||
changeOnFirstSuccess,
|
changeOnFirstSuccess,
|
||||||
successFailure,
|
successFailure,
|
||||||
},
|
},
|
||||||
|
Mounts: {
|
||||||
|
of() {
|
||||||
|
return Mounts.of<Manifest>()
|
||||||
|
},
|
||||||
|
},
|
||||||
Backups: {
|
Backups: {
|
||||||
volumes: (
|
volumes: (
|
||||||
...volumeNames: Array<Manifest["volumes"][number] & string>
|
...volumeNames: Array<Manifest["volumes"][number] & string>
|
||||||
|
|||||||
Reference in New Issue
Block a user