mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
feat: Commit action
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { Config, ExtractConfigType } from "../config/builder/config"
|
import { Config, ExtractConfigType } from "../config/builder/config"
|
||||||
import { ActionMetadata, ActionResult, Effects, ExportedAction } from "../types"
|
import { ActionMetadata, ActionResult, Effects, ExportedAction } from "../types"
|
||||||
import { createUtils } from "../util"
|
import { createUtils } from "../util"
|
||||||
import { Utils, utils } from "../util/utils"
|
import { Utils } from "../util/utils"
|
||||||
|
|
||||||
export class CreatedAction<
|
export class CreatedAction<
|
||||||
Store,
|
Store,
|
||||||
|
|||||||
@@ -234,6 +234,11 @@ export type Effects = {
|
|||||||
/** Uses the chmod on the system */
|
/** Uses the chmod on the system */
|
||||||
chmod(input: { volumeId: string; path: string; mode: string }): Promise<null>
|
chmod(input: { volumeId: string; path: string; mode: string }): Promise<null>
|
||||||
|
|
||||||
|
executeAction<Input>(opts: {
|
||||||
|
serviceId?: string
|
||||||
|
input: Input
|
||||||
|
}): Promise<unknown>
|
||||||
|
|
||||||
/** Sandbox mode lets us read but not write */
|
/** Sandbox mode lets us read but not write */
|
||||||
is_sandboxed(): boolean
|
is_sandboxed(): boolean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user