@activepieces/shared
Advanced tools
Comparing version 0.3.39 to 0.3.40
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.39", | ||
"version": "0.3.40", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -12,3 +12,3 @@ import { AppConnectionId } from "../app-connection/app-connection"; | ||
} | ||
declare type ErrorParams = AppConnectionNotFoundErrorParams | ConfigNotFoundErrorParams | EntityNotFoundErrorParams | ExecutionTimeoutErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowInstanceNotFoundErrorParams | FlowNotFoundErrorParams | FlowOperationErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | ProjectNotFoundErrorParams | StepNotFoundErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TaskQuotaExceededErrorParams | TestTriggerFailedErrorParams | TriggerDisableErrorParams | TriggerEnableErrorParams | TriggerFailedErrorParams | ValidationErrorParams; | ||
declare type ErrorParams = AppConnectionNotFoundErrorParams | ConfigNotFoundErrorParams | EntityNotFoundErrorParams | ExecutionTimeoutErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowInstanceNotFoundErrorParams | FlowNotFoundErrorParams | FlowOperationErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | InvalidApiKeyParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | ProjectNotFoundErrorParams | StepNotFoundErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TaskQuotaExceededErrorParams | TestTriggerFailedErrorParams | TriggerDisableErrorParams | TriggerEnableErrorParams | TriggerFailedErrorParams | ValidationErrorParams; | ||
export interface BaseErrorParams<T, V> { | ||
@@ -114,2 +114,3 @@ code: T; | ||
export declare type PauseMetadataMissingErrorParams = BaseErrorParams<ErrorCode.PAUSE_METADATA_MISSING, Record<string, never>>; | ||
export declare type InvalidApiKeyParams = BaseErrorParams<ErrorCode.INVALID_API_KEY, Record<string, never>>; | ||
export declare enum ErrorCode { | ||
@@ -146,4 +147,5 @@ CONFIG_NOT_FOUND = "CONFIG_NOT_FOUND", | ||
TRIGGER_DISABLE = "TRIGGER_DISABLE", | ||
PAUSE_METADATA_MISSING = "PAUSE_METADATA_MISSING" | ||
PAUSE_METADATA_MISSING = "PAUSE_METADATA_MISSING", | ||
INVALID_API_KEY = "INVALID_API_KEY" | ||
} | ||
export {}; |
@@ -44,3 +44,4 @@ "use strict"; | ||
ErrorCode["PAUSE_METADATA_MISSING"] = "PAUSE_METADATA_MISSING"; | ||
ErrorCode["INVALID_API_KEY"] = "INVALID_API_KEY"; | ||
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {})); | ||
//# sourceMappingURL=activepieces-error.js.map |
@@ -5,2 +5,3 @@ import { Static } from "@sinclair/typebox"; | ||
description: import("@sinclair/typebox").TString<string>; | ||
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>; | ||
pieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>; | ||
@@ -7,0 +8,0 @@ template: import("@sinclair/typebox").TUnknown; |
@@ -8,2 +8,3 @@ "use strict"; | ||
description: typebox_1.Type.String(), | ||
tags: typebox_1.Type.Array(typebox_1.Type.String()), | ||
pieces: typebox_1.Type.Array(typebox_1.Type.String()), | ||
@@ -10,0 +11,0 @@ template: typebox_1.Type.Unknown(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
272990
3857
4
34576
222
9