feat: Commit action

This commit is contained in:
Blu-J
2023-05-30 17:49:43 -06:00
parent 3f5dbc6a4b
commit a98ccb4590
2 changed files with 6 additions and 1 deletions

View File

@@ -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,

View File

@@ -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