@activepieces/shared
Advanced tools
Comparing version 0.3.7 to 0.3.8
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -13,3 +13,3 @@ import { AppConnectionId } from "../app-connection/app-connection"; | ||
} | ||
declare type ErrorParams = CollectionNotFoundErrorParams | ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | InstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams; | ||
declare type ErrorParams = CollectionNotFoundErrorParams | ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | InstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams | EntityNotFoundErrorParams; | ||
export interface BaseErrorParams<T, V> { | ||
@@ -102,2 +102,5 @@ code: T; | ||
}>; | ||
export declare type EntityNotFoundErrorParams = BaseErrorParams<ErrorCode.ENTITY_NOT_FOUND, { | ||
message: string; | ||
}>; | ||
export declare enum ErrorCode { | ||
@@ -129,4 +132,5 @@ COLLECTION_NOT_FOUND = "COLLECTION_NOT_FOUND", | ||
OPENAI_FAILED = "OPENAI_FAILED", | ||
TEST_TRIGGER_FAILED = "TEST_TRIGGER_FAILED" | ||
TEST_TRIGGER_FAILED = "TEST_TRIGGER_FAILED", | ||
ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND" | ||
} | ||
export {}; |
@@ -39,3 +39,4 @@ "use strict"; | ||
ErrorCode["TEST_TRIGGER_FAILED"] = "TEST_TRIGGER_FAILED"; | ||
ErrorCode["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND"; | ||
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {})); | ||
//# sourceMappingURL=activepieces-error.js.map |
@@ -17,5 +17,1 @@ import { Static } from "@sinclair/typebox"; | ||
export declare type TestPollingTriggerRequest = Static<typeof TestPollingTriggerRequest>; | ||
export declare const SimulateTriggerRequest: import("@sinclair/typebox").TObject<{ | ||
flowId: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare type SimulateTriggerRequest = Static<typeof SimulateTriggerRequest>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SimulateTriggerRequest = exports.TestPollingTriggerRequest = exports.ListTriggerEventsRequest = void 0; | ||
exports.TestPollingTriggerRequest = exports.ListTriggerEventsRequest = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
@@ -13,5 +13,2 @@ exports.ListTriggerEventsRequest = typebox_1.Type.Object({ | ||
}); | ||
exports.SimulateTriggerRequest = typebox_1.Type.Object({ | ||
flowId: typebox_1.Type.String({}), | ||
}); | ||
//# sourceMappingURL=trigger-events-dto.js.map |
export * from "./dto"; | ||
export * from "./webhook-simulation"; |
@@ -5,2 +5,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./dto"), exports); | ||
tslib_1.__exportStar(require("./webhook-simulation"), exports); | ||
//# sourceMappingURL=index.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
192276
203
2885
222
9