@activepieces/shared 0.10.69 → 0.10.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/lib/flows/index.d.ts
CHANGED
package/src/lib/flows/index.js
CHANGED
|
@@ -4,4 +4,5 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./step-file/step-file"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./step-run"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./flow"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./test-trigger"), exports);
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flows/index.ts"],"names":[],"mappings":";;;AAAA,gEAAqC;AACrC,qDAA0B;AAC1B,iDAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flows/index.ts"],"names":[],"mappings":";;;AAAA,gEAAqC;AACrC,qDAA0B;AAC1B,iDAAsB;AACtB,yDAA8B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Static } from '@sinclair/typebox';
|
|
2
|
+
export declare enum TriggerTestStrategy {
|
|
3
|
+
SIMULATION = "SIMULATION",
|
|
4
|
+
TEST_FUNCTION = "TEST_FUNCTION"
|
|
5
|
+
}
|
|
6
|
+
export declare const TestTriggerRequestBody: import("@sinclair/typebox").TObject<{
|
|
7
|
+
flowId: import("@sinclair/typebox").TString<string>;
|
|
8
|
+
flowVersionId: import("@sinclair/typebox").TString<string>;
|
|
9
|
+
testStrategy: import("@sinclair/typebox").TEnum<typeof TriggerTestStrategy>;
|
|
10
|
+
}>;
|
|
11
|
+
export type TestTriggerRequestBody = Static<typeof TestTriggerRequestBody>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TestTriggerRequestBody = exports.TriggerTestStrategy = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
const id_generator_1 = require("../common/id-generator");
|
|
6
|
+
var TriggerTestStrategy;
|
|
7
|
+
(function (TriggerTestStrategy) {
|
|
8
|
+
TriggerTestStrategy["SIMULATION"] = "SIMULATION";
|
|
9
|
+
TriggerTestStrategy["TEST_FUNCTION"] = "TEST_FUNCTION";
|
|
10
|
+
})(TriggerTestStrategy || (exports.TriggerTestStrategy = TriggerTestStrategy = {}));
|
|
11
|
+
exports.TestTriggerRequestBody = typebox_1.Type.Object({
|
|
12
|
+
flowId: id_generator_1.ApId,
|
|
13
|
+
flowVersionId: id_generator_1.ApId,
|
|
14
|
+
testStrategy: typebox_1.Type.Enum(TriggerTestStrategy),
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=test-trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-trigger.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flows/test-trigger.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,yDAA6C;AAE7C,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,gDAAyB,CAAA;IACzB,sDAA+B,CAAA;AACnC,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAEY,QAAA,sBAAsB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,mBAAI;IACZ,aAAa,EAAE,mBAAI;IACnB,YAAY,EAAE,cAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC;CAC/C,CAAC,CAAA"}
|