@activepieces/shared
Advanced tools
Comparing version 0.10.80 to 0.10.81
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.80", | ||
"version": "0.10.81", | ||
"type": "commonjs", | ||
@@ -9,5 +9,5 @@ "dependencies": { | ||
"semver": "7.6.0", | ||
"tslib": "2.6.1" | ||
"tslib": "1.14.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -10,3 +10,3 @@ import { FileId } from '../file/file'; | ||
} | ||
type ErrorParams = AuthenticationParams | AuthorizationErrorParams | ConfigNotFoundErrorParams | EmailIsNotVerifiedErrorParams | EngineOperationFailureParams | EntityNotFoundErrorParams | ExecutionTimeoutErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowOperationErrorParams | FlowRunNotFoundErrorParams | InvalidApiKeyParams | InvalidAppConnectionParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | InvalidOtpParams | InvitationOnlySignUpParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PermissionDeniedErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | QuotaExceededParams | FeatureDisabledErrorParams | SignUpDisabledParams | StepNotFoundErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TestTriggerFailedErrorParams | TriggerDisableErrorParams | TriggerEnableErrorParams | TriggerFailedErrorParams | ValidationErrorParams | InvitationOnlySignUpParams | UserIsInActiveErrorParams | DomainIsNotAllowedErrorParams | EmailAuthIsDisabledParams; | ||
type ErrorParams = AuthenticationParams | AuthorizationErrorParams | ConfigNotFoundErrorParams | EmailIsNotVerifiedErrorParams | EngineOperationFailureParams | EntityNotFoundErrorParams | ExecutionTimeoutErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowIsLockedErrorParams | FlowOperationErrorParams | FlowRunNotFoundErrorParams | InvalidApiKeyParams | InvalidAppConnectionParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | InvalidOtpParams | InvitationOnlySignUpParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PermissionDeniedErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | QuotaExceededParams | FeatureDisabledErrorParams | SignUpDisabledParams | StepNotFoundErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TestTriggerFailedErrorParams | TriggerDisableErrorParams | TriggerEnableErrorParams | TriggerFailedErrorParams | ValidationErrorParams | InvitationOnlySignUpParams | UserIsInActiveErrorParams | DomainIsNotAllowedErrorParams | EmailAuthIsDisabledParams; | ||
export type BaseErrorParams<T, V> = { | ||
@@ -97,2 +97,6 @@ code: T; | ||
export type FlowOperationErrorParams = BaseErrorParams<ErrorCode.FLOW_OPERATION_INVALID, Record<string, never>>; | ||
export type FlowIsLockedErrorParams = BaseErrorParams<ErrorCode.FLOW_IN_USE, { | ||
flowVersionId: FlowVersionId; | ||
message: string; | ||
}>; | ||
export type InvalidJwtTokenErrorParams = BaseErrorParams<ErrorCode.INVALID_OR_EXPIRED_JWT_TOKEN, { | ||
@@ -154,2 +158,3 @@ token: string; | ||
FLOW_OPERATION_INVALID = "FLOW_OPERATION_INVALID", | ||
FLOW_IN_USE = "FLOW_IN_USE", | ||
FLOW_RUN_NOT_FOUND = "FLOW_RUN_NOT_FOUND", | ||
@@ -156,0 +161,0 @@ INVALID_API_KEY = "INVALID_API_KEY", |
@@ -27,2 +27,3 @@ "use strict"; | ||
ErrorCode["FLOW_OPERATION_INVALID"] = "FLOW_OPERATION_INVALID"; | ||
ErrorCode["FLOW_IN_USE"] = "FLOW_IN_USE"; | ||
ErrorCode["FLOW_RUN_NOT_FOUND"] = "FLOW_RUN_NOT_FOUND"; | ||
@@ -29,0 +30,0 @@ ErrorCode["INVALID_API_KEY"] = "INVALID_API_KEY"; |
Sorry, the diff of this file is not supported yet
460088
6317
+ Addedtslib@1.14.1(transitive)
- Removedtslib@2.6.1(transitive)
Updatedtslib@1.14.1