@activepieces/shared
Advanced tools
Comparing version 0.3.19 to 0.3.20
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.19", | ||
"version": "0.3.20", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -24,2 +24,3 @@ export * from "./lib/flows/actions/action"; | ||
export * from "./lib/webhook"; | ||
export * from './lib/flows/dto/count-flows-request'; | ||
export * from "./lib/workers/code-worker/code-execution-result"; | ||
@@ -52,3 +53,3 @@ export { ExecuteCodeRequest } from './lib/code/dto/code-request'; | ||
export { SampleDataSettings } from './lib/flows/sample-data'; | ||
export * from './lib/flows/dto/count-flows-request'; | ||
export * from "./lib/project/update-project-request"; | ||
export * from './lib/common/base-model'; | ||
@@ -55,0 +56,0 @@ export * from './lib/flows/flow-instances'; |
@@ -29,2 +29,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/webhook"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/dto/count-flows-request"), exports); | ||
tslib_1.__exportStar(require("./lib/workers/code-worker/code-execution-result"), exports); | ||
@@ -70,3 +71,3 @@ var code_request_1 = require("./lib/code/dto/code-request"); | ||
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-event"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/dto/count-flows-request"), exports); | ||
tslib_1.__exportStar(require("./lib/project/update-project-request"), exports); | ||
tslib_1.__exportStar(require("./lib/common/base-model"), exports); | ||
@@ -73,0 +74,0 @@ tslib_1.__exportStar(require("./lib/flows/flow-instances"), exports); |
@@ -12,3 +12,3 @@ import { AppConnectionId } from "../app-connection/app-connection"; | ||
} | ||
declare type ErrorParams = ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | FlowInstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams | EntityNotFoundErrorParams | ValidationErrorParams | ExecutionTimeoutErrorParams; | ||
declare type ErrorParams = ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | ProjectNotFoundErrorParams | FlowVersionNotFoundErrorParams | FlowInstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams | EntityNotFoundErrorParams | ValidationErrorParams | ExecutionTimeoutErrorParams; | ||
export interface BaseErrorParams<T, V> { | ||
@@ -45,2 +45,5 @@ code: T; | ||
}>; | ||
export declare type ProjectNotFoundErrorParams = BaseErrorParams<ErrorCode.PROJECT_NOT_FOUND, { | ||
id: FlowRunId; | ||
}>; | ||
export declare type FlowVersionNotFoundErrorParams = BaseErrorParams<ErrorCode.FLOW_VERSION_NOT_FOUND, { | ||
@@ -122,2 +125,3 @@ id: FlowVersionId; | ||
INVALID_CLAIM = "INVALID_CLAIM", | ||
PROJECT_NOT_FOUND = "PROJECT_NOT_FOUND", | ||
INVALID_CLOUD_CLAIM = "INVALID_CLOUD_CLAIM", | ||
@@ -124,0 +128,0 @@ INVALID_OR_EXPIRED_JWT_TOKEN = "INVALID_OR_EXPIRED_JWT_TOKEN", |
@@ -29,2 +29,3 @@ "use strict"; | ||
ErrorCode["INVALID_CLAIM"] = "INVALID_CLAIM"; | ||
ErrorCode["PROJECT_NOT_FOUND"] = "PROJECT_NOT_FOUND"; | ||
ErrorCode["INVALID_CLOUD_CLAIM"] = "INVALID_CLOUD_CLAIM"; | ||
@@ -31,0 +32,0 @@ ErrorCode["INVALID_OR_EXPIRED_JWT_TOKEN"] = "INVALID_OR_EXPIRED_JWT_TOKEN"; |
import { BaseModel } from "../common/base-model"; | ||
import { UserId } from "../user/user"; | ||
import { ApId } from "../common/id-generator"; | ||
import { NotificationStatus } from "./update-project-request"; | ||
export declare type ProjectId = ApId; | ||
@@ -8,2 +9,3 @@ export interface Project extends BaseModel<ProjectId> { | ||
displayName: string; | ||
notifications: NotificationStatus; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
200242
200
2940