@activepieces/shared
Advanced tools
Comparing version 0.3.38 to 0.3.39
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.38", | ||
"version": "0.3.39", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -26,3 +26,2 @@ export * from "./lib/flows/actions/action"; | ||
export * from './lib/flows/dto/count-flows-request'; | ||
export * from "./lib/workers/code-worker/code-execution-result"; | ||
export { ExecuteCodeRequest } from './lib/code/dto/code-request'; | ||
@@ -29,0 +28,0 @@ export { AuthenticationResponse } from './lib/authentication/dto/authentication-response'; |
@@ -31,3 +31,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/flows/dto/count-flows-request"), exports); | ||
tslib_1.__exportStar(require("./lib/workers/code-worker/code-execution-result"), exports); | ||
var code_request_1 = require("./lib/code/dto/code-request"); | ||
@@ -34,0 +33,0 @@ Object.defineProperty(exports, "ExecuteCodeRequest", { enumerable: true, get: function () { return code_request_1.ExecuteCodeRequest; } }); |
@@ -8,2 +8,3 @@ import { ResumeStepMetadata } from "../flow-run/execution/execution-output"; | ||
EXECUTE_ACTION = "EXECUTE_ACTION", | ||
EXECUTE_CODE = "EXECUTE_CODE", | ||
EXECUTE_FLOW = "EXECUTE_FLOW", | ||
@@ -19,3 +20,3 @@ EXECUTE_PROPERTY = "EXECUTE_PROPERTY", | ||
} | ||
export declare type EngineOperation = ExecuteActionOperation | ExecuteFlowOperation | ExecutePropsOptions | ExecuteTriggerOperation<TriggerHookType>; | ||
export declare type EngineOperation = ExecuteActionOperation | ExecuteCodeOperation | ExecuteFlowOperation | ExecutePropsOptions | ExecuteTriggerOperation<TriggerHookType>; | ||
export declare type ExecuteActionOperation = { | ||
@@ -31,2 +32,8 @@ actionName: string; | ||
}; | ||
export declare type ExecuteCodeOperation = { | ||
codeBase64: string; | ||
testExecutionContext: Record<string, unknown>; | ||
input: Record<string, unknown>; | ||
projectId: ProjectId; | ||
}; | ||
export interface ExecutePropsOptions { | ||
@@ -33,0 +40,0 @@ pieceName: string; |
@@ -7,2 +7,3 @@ "use strict"; | ||
EngineOperationType["EXECUTE_ACTION"] = "EXECUTE_ACTION"; | ||
EngineOperationType["EXECUTE_CODE"] = "EXECUTE_CODE"; | ||
EngineOperationType["EXECUTE_FLOW"] = "EXECUTE_FLOW"; | ||
@@ -9,0 +10,0 @@ EngineOperationType["EXECUTE_PROPERTY"] = "EXECUTE_PROPERTY"; |
@@ -0,1 +1,2 @@ | ||
import { Static } from "@sinclair/typebox"; | ||
export declare const CreateStepRunRequestBody: import("@sinclair/typebox").TObject<{ | ||
@@ -5,1 +6,8 @@ flowVersionId: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare const StepRunResponse: import("@sinclair/typebox").TObject<{ | ||
success: import("@sinclair/typebox").TBoolean; | ||
output: import("@sinclair/typebox").TUnknown; | ||
standardError: import("@sinclair/typebox").TString<string>; | ||
standardOutput: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare type StepRunResponse = Static<typeof StepRunResponse>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CreateStepRunRequestBody = void 0; | ||
exports.StepRunResponse = exports.CreateStepRunRequestBody = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
@@ -9,2 +9,8 @@ exports.CreateStepRunRequestBody = typebox_1.Type.Object({ | ||
}); | ||
exports.StepRunResponse = typebox_1.Type.Object({ | ||
success: typebox_1.Type.Boolean(), | ||
output: typebox_1.Type.Unknown(), | ||
standardError: typebox_1.Type.String(), | ||
standardOutput: typebox_1.Type.String(), | ||
}); | ||
//# sourceMappingURL=test-step-request.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
272537
206
3852