@activepieces/shared
Advanced tools
Comparing version 0.10.77 to 0.10.78
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.77", | ||
"version": "0.10.78", | ||
"type": "commonjs", | ||
@@ -9,5 +9,5 @@ "dependencies": { | ||
"semver": "7.6.0", | ||
"tslib": "2.6.2" | ||
"tslib": "2.6.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -29,3 +29,2 @@ import { TriggerType } from '../../flows/triggers/trigger'; | ||
setErrorMessage(errorMessage: unknown): GenericStepOutput<T, OUTPUT>; | ||
setDuration(duration: number): GenericStepOutput<T, OUTPUT>; | ||
static create<T extends ActionType | TriggerType, OUTPUT>({ input, type, status, output }: { | ||
@@ -47,3 +46,2 @@ input: unknown; | ||
}): BranchStepOutput; | ||
setDuration(duration: number): BranchStepOutput; | ||
} | ||
@@ -66,4 +64,3 @@ export type LoopStepResult = { | ||
addIteration(): LoopStepOutput; | ||
setDuration(duration: number): LoopStepOutput; | ||
} | ||
export {}; |
@@ -32,5 +32,2 @@ "use strict"; | ||
} | ||
setDuration(duration) { | ||
return new GenericStepOutput(Object.assign(Object.assign({}, this), { duration })); | ||
} | ||
static create({ input, type, status, output }) { | ||
@@ -57,5 +54,2 @@ return new GenericStepOutput({ | ||
} | ||
setDuration(duration) { | ||
return new BranchStepOutput(Object.assign(Object.assign({}, this), { duration })); | ||
} | ||
} | ||
@@ -100,7 +94,4 @@ exports.BranchStepOutput = BranchStepOutput; | ||
} | ||
setDuration(duration) { | ||
return new LoopStepOutput(Object.assign(Object.assign({}, this), { duration })); | ||
} | ||
} | ||
exports.LoopStepOutput = LoopStepOutput; | ||
//# sourceMappingURL=step-output.js.map |
Sorry, the diff of this file is not supported yet
459390
6304
7
3
101
+ Addedtslib@2.6.1(transitive)
- Removedtslib@2.6.2(transitive)
Updatedtslib@2.6.1