@activepieces/shared
Advanced tools
Comparing version 0.10.93 to 0.10.94
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.93", | ||
"version": "0.10.94", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -6,5 +6,7 @@ "use strict"; | ||
const utils_1 = require("./utils"); | ||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type | ||
function deleteProperties(obj, props) { | ||
const copy = Object.assign({}, obj); | ||
for (const prop of props) { | ||
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete | ||
delete copy[prop]; | ||
@@ -27,2 +29,3 @@ } | ||
for (const p of prop) { | ||
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete | ||
delete newObj[p]; | ||
@@ -29,0 +32,0 @@ } |
@@ -41,3 +41,2 @@ import { TriggerType } from '../../flows/triggers/trigger'; | ||
export declare class BranchStepOutput extends GenericStepOutput<ActionType.BRANCH, BranchStepResult> { | ||
constructor(step: BaseStepOutputParams<ActionType.BRANCH, BranchStepResult>); | ||
static init({ input }: { | ||
@@ -44,0 +43,0 @@ input: unknown; |
@@ -43,5 +43,2 @@ "use strict"; | ||
class BranchStepOutput extends GenericStepOutput { | ||
constructor(step) { | ||
super(step); | ||
} | ||
static init({ input }) { | ||
@@ -48,0 +45,0 @@ return new BranchStepOutput({ |
@@ -5,4 +5,7 @@ import { Static } from '@sinclair/typebox'; | ||
stepName: import("@sinclair/typebox").TString<string>; | ||
id: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export type CreateStepRunRequestBody = Static<typeof CreateStepRunRequestBody>; | ||
export declare const StepRunResponse: import("@sinclair/typebox").TObject<{ | ||
id: import("@sinclair/typebox").TString<string>; | ||
success: import("@sinclair/typebox").TBoolean; | ||
@@ -9,0 +12,0 @@ output: import("@sinclair/typebox").TUnknown; |
@@ -8,4 +8,6 @@ "use strict"; | ||
stepName: typebox_1.Type.String(), | ||
id: typebox_1.Type.String(), | ||
}); | ||
exports.StepRunResponse = typebox_1.Type.Object({ | ||
id: typebox_1.Type.String(), | ||
success: typebox_1.Type.Boolean(), | ||
@@ -12,0 +14,0 @@ output: typebox_1.Type.Unknown(), |
@@ -15,3 +15,4 @@ import { Static } from '@sinclair/typebox'; | ||
NAME = "NAME", | ||
DATE = "DATE" | ||
UPDATED = "UPDATED", | ||
CREATED = "CREATED" | ||
} | ||
@@ -18,0 +19,0 @@ export declare enum PieceOrderBy { |
@@ -20,3 +20,4 @@ "use strict"; | ||
PieceSortBy["NAME"] = "NAME"; | ||
PieceSortBy["DATE"] = "DATE"; | ||
PieceSortBy["UPDATED"] = "UPDATED"; | ||
PieceSortBy["CREATED"] = "CREATED"; | ||
})(PieceSortBy || (exports.PieceSortBy = PieceSortBy = {})); | ||
@@ -23,0 +24,0 @@ var PieceOrderBy; |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
482229
6579