Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/shared

Package Overview
Dependencies
Maintainers
3
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/shared - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

src/lib/pieces/utils.d.ts

6

package.json
{
"name": "@activepieces/shared",
"version": "0.1.3",
"version": "0.2.0",
"type": "commonjs",

@@ -8,5 +8,3 @@ "dependencies": {

"cron-validator": "1.3.1",
"nanoid": "3.3.4"
},
"peerDependencies": {
"nanoid": "3.3.4",
"tslib": "2.4.1"

@@ -13,0 +11,0 @@ },

@@ -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 | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | 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 | FlowOperationErrorParams;
export interface BaseErrorParams<T, V> {

@@ -73,2 +73,8 @@ code: T;

}>;
export declare type TriggerFailedErrorParams = BaseErrorParams<ErrorCode.TRIGGER_FAILED, {
pieceName: string;
pieceVersion: string;
triggerName: string;
error: Error;
}>;
export declare type ConfigNotFoundErrorParams = BaseErrorParams<ErrorCode.CONFIG_NOT_FOUND, {

@@ -116,4 +122,5 @@ pieceName: string;

SYSTEM_PROP_INVALID = "SYSTEM_PROP_INVALID",
TRIGGER_FAILED = "TRIGGER_FAILED",
FLOW_OPERATION_INVALID = "FLOW_OPERATION_INVALID"
}
export {};

@@ -35,4 +35,5 @@ "use strict";

ErrorCode["SYSTEM_PROP_INVALID"] = "SYSTEM_PROP_INVALID";
ErrorCode["TRIGGER_FAILED"] = "TRIGGER_FAILED";
ErrorCode["FLOW_OPERATION_INVALID"] = "FLOW_OPERATION_INVALID";
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
//# sourceMappingURL=activepieces-error.js.map

@@ -6,4 +6,4 @@ "use strict";

exports.GetPieceRequestParams = typebox_1.Type.Object({
name: typebox_1.Type.RegEx(/^[A-Za-z0-9_]+$/),
name: typebox_1.Type.RegEx(/^[A-Za-z0-9_\\-]+$/),
});
//# sourceMappingURL=get-piece-request-params.js.map

@@ -6,1 +6,2 @@ export * from './dto/get-piece-request-params';

export * from './model/property-type';
export * from './utils';

@@ -9,2 +9,3 @@ "use strict";

tslib_1.__exportStar(require("./model/property-type"), exports);
tslib_1.__exportStar(require("./utils"), 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc