@activepieces/shared
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -51,1 +51,4 @@ export * from "./lib/flows/actions/action"; | ||
export { apId, ApId } from './lib/common/id-generator'; | ||
export * from "./lib/flows/trigger-events/trigger-events-dto"; | ||
export * from "./lib/flows/trigger-events/trigger-event"; | ||
export { SampleDataSettings } from './lib/flows/sample-data'; |
@@ -79,2 +79,4 @@ "use strict"; | ||
Object.defineProperty(exports, "ApId", { enumerable: true, get: function () { return id_generator_1.ApId; } }); | ||
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-events-dto"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-event"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -13,3 +13,4 @@ import { CollectionId } from "../collections/collection"; | ||
ON_DISABLE = "ON_DISABLE", | ||
RUN = "RUN" | ||
RUN = "RUN", | ||
TEST = "TEST" | ||
} | ||
@@ -50,2 +51,3 @@ export declare type EngineOperation = ExecuteFlowOperation | ExecutePropsOptions | ExecuteTriggerOperation | ExecuteEventParserOperation; | ||
edition?: string; | ||
appWebhookUrl?: string; | ||
webhookSecret?: string; | ||
@@ -52,0 +54,0 @@ } |
@@ -16,4 +16,5 @@ "use strict"; | ||
TriggerHookType["RUN"] = "RUN"; | ||
TriggerHookType["TEST"] = "TEST"; | ||
})(TriggerHookType = exports.TriggerHookType || (exports.TriggerHookType = {})); | ||
; | ||
//# sourceMappingURL=engine-operation.js.map |
@@ -165,3 +165,7 @@ import { Static } from "@sinclair/typebox"; | ||
type: import("@sinclair/typebox").TLiteral<import("./triggers/trigger").TriggerType.WEBHOOK>; | ||
settings: import("@sinclair/typebox").TObject<{}>; | ||
settings: import("@sinclair/typebox").TObject<{ | ||
inputUiInfo: import("@sinclair/typebox").TObject<{ | ||
currentSelectedData: import("@sinclair/typebox").TUnknown; | ||
}>; | ||
}>; | ||
name: import("@sinclair/typebox").TString<string>; | ||
@@ -317,3 +321,7 @@ valid: import("@sinclair/typebox").TBoolean; | ||
type: import("@sinclair/typebox").TLiteral<import("./triggers/trigger").TriggerType.WEBHOOK>; | ||
settings: import("@sinclair/typebox").TObject<{}>; | ||
settings: import("@sinclair/typebox").TObject<{ | ||
inputUiInfo: import("@sinclair/typebox").TObject<{ | ||
currentSelectedData: import("@sinclair/typebox").TUnknown; | ||
}>; | ||
}>; | ||
name: import("@sinclair/typebox").TString<string>; | ||
@@ -320,0 +328,0 @@ valid: import("@sinclair/typebox").TBoolean; |
@@ -24,3 +24,7 @@ import { Static } from '@sinclair/typebox'; | ||
type: import("@sinclair/typebox").TLiteral<TriggerType.WEBHOOK>; | ||
settings: import("@sinclair/typebox").TObject<{}>; | ||
settings: import("@sinclair/typebox").TObject<{ | ||
inputUiInfo: import("@sinclair/typebox").TObject<{ | ||
currentSelectedData: import("@sinclair/typebox").TUnknown; | ||
}>; | ||
}>; | ||
name: import("@sinclair/typebox").TString<string>; | ||
@@ -70,3 +74,7 @@ valid: import("@sinclair/typebox").TBoolean; | ||
type: import("@sinclair/typebox").TLiteral<TriggerType.WEBHOOK>; | ||
settings: import("@sinclair/typebox").TObject<{}>; | ||
settings: import("@sinclair/typebox").TObject<{ | ||
inputUiInfo: import("@sinclair/typebox").TObject<{ | ||
currentSelectedData: import("@sinclair/typebox").TUnknown; | ||
}>; | ||
}>; | ||
name: import("@sinclair/typebox").TString<string>; | ||
@@ -73,0 +81,0 @@ valid: import("@sinclair/typebox").TBoolean; |
@@ -8,2 +8,3 @@ "use strict"; | ||
const pieces_1 = require("../../pieces"); | ||
const sample_data_1 = require("../sample-data"); | ||
var TriggerStrategy; | ||
@@ -29,3 +30,5 @@ (function (TriggerStrategy) { | ||
exports.EmptyTrigger = typebox_1.Type.Object(Object.assign(Object.assign({}, commonProps), { type: typebox_1.Type.Literal(TriggerType.EMPTY), settings: typebox_1.Type.Object({}) })); | ||
exports.WebhookTrigger = typebox_1.Type.Object(Object.assign(Object.assign({}, commonProps), { type: typebox_1.Type.Literal(TriggerType.WEBHOOK), settings: typebox_1.Type.Object({}) })); | ||
exports.WebhookTrigger = typebox_1.Type.Object(Object.assign(Object.assign({}, commonProps), { type: typebox_1.Type.Literal(TriggerType.WEBHOOK), settings: typebox_1.Type.Object({ | ||
inputUiInfo: sample_data_1.SampleDataSettingsObject | ||
}) })); | ||
// Schedule | ||
@@ -32,0 +35,0 @@ format_1.Format.Set('cronexpression', (value) => (0, cron_validator_1.isValidCron)(value, { seconds: false })); |
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
174988
176
2630