@activepieces/shared
Advanced tools
Comparing version 0.3.40 to 0.3.41
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.40", | ||
"version": "0.3.41", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
import { ActionType } from '../../flows/actions/action'; | ||
import { ExecutionState } from './execution-state'; | ||
import { StopResponse } from './step-output'; | ||
export declare enum ExecutionOutputStatus { | ||
@@ -53,5 +54,5 @@ FAILED = "FAILED", | ||
export declare type StopExecutionOutput = BaseExecutionOutput<ExecutionOutputStatus.STOPPED> & { | ||
stopResponse?: unknown; | ||
stopResponse?: StopResponse; | ||
}; | ||
export declare type ExecutionOutput = FinishExecutionOutput | PauseExecutionOutput | StopExecutionOutput; | ||
export {}; |
@@ -10,2 +10,7 @@ import { ActionType } from "../../flows/actions/action"; | ||
} | ||
export declare type StopResponse = { | ||
status?: number; | ||
body?: unknown; | ||
headers?: Record<string, string>; | ||
}; | ||
export declare type StepOutput<T extends ActionType = ActionType, O = any> = { | ||
@@ -20,3 +25,3 @@ type: T; | ||
pauseMetadata?: PauseMetadata; | ||
stopResponse?: unknown; | ||
stopResponse?: StopResponse; | ||
}; | ||
@@ -23,0 +28,0 @@ declare type LoopOnItemsOutput = { |
Sorry, the diff of this file is not supported yet
273165
3863