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
223
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.10.66 to 0.10.68

2

package.json
{
"name": "@activepieces/shared",
"version": "0.10.66",
"version": "0.10.68",
"type": "commonjs",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -20,2 +20,3 @@ import { AppConnectionValue } from '../app-connection/app-connection';

HANDSHAKE = "HANDSHAKE",
RENEW = "RENEW",
RUN = "RUN",

@@ -118,3 +119,3 @@ TEST = "TEST"

};
export type ExecuteTriggerResponse<H extends TriggerHookType> = H extends TriggerHookType.RUN ? ExecuteTestOrRunTriggerResponse : H extends TriggerHookType.HANDSHAKE ? ExecuteHandshakeTriggerResponse : H extends TriggerHookType.TEST ? ExecuteTestOrRunTriggerResponse : H extends TriggerHookType.ON_DISABLE ? Record<string, never> : ExecuteOnEnableTriggerResponse;
export type ExecuteTriggerResponse<H extends TriggerHookType> = H extends TriggerHookType.RUN ? ExecuteTestOrRunTriggerResponse : H extends TriggerHookType.HANDSHAKE ? ExecuteHandshakeTriggerResponse : H extends TriggerHookType.TEST ? ExecuteTestOrRunTriggerResponse : H extends TriggerHookType.RENEW ? Record<string, never> : H extends TriggerHookType.ON_DISABLE ? Record<string, never> : ExecuteOnEnableTriggerResponse;
export type ExecuteActionResponse = {

@@ -121,0 +122,0 @@ success: boolean;

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

TriggerHookType["HANDSHAKE"] = "HANDSHAKE";
TriggerHookType["RENEW"] = "RENEW";
TriggerHookType["RUN"] = "RUN";

@@ -21,0 +22,0 @@ TriggerHookType["TEST"] = "TEST";

import { Static } from '@sinclair/typebox';
import { ApEdition } from '../../flag/flag';
import { PackageType, PieceType } from '../piece';
import { PackageType, PieceCategory, PieceType } from '../piece';
export declare const EXACT_VERSION_PATTERN: RegExp;

@@ -8,2 +8,10 @@ export declare const VERSION_PATTERN: RegExp;

export declare const VersionType: import("@sinclair/typebox").TString<string>;
export declare enum PieceSortBy {
NAME = "NAME",
DATE = "DATE"
}
export declare enum PieceOrderBy {
ASC = "ASC",
DESC = "DESC"
}
export declare const GetPieceRequestWithScopeParams: import("@sinclair/typebox").TObject<{

@@ -22,2 +30,6 @@ name: import("@sinclair/typebox").TString<string>;

edition: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof ApEdition>>;
searchQuery: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
sortBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof PieceSortBy>>;
orderBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof PieceOrderBy>>;
categories: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<typeof PieceCategory>>>;
}>;

@@ -24,0 +36,0 @@ export type ListPiecesRequestQuery = Static<typeof ListPiecesRequestQuery>;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddPieceRequestBody = exports.PieceScope = exports.PieceOptionRequest = exports.GetPieceRequestQuery = exports.ListPiecesRequestQuery = exports.GetPieceRequestParams = exports.GetPieceRequestWithScopeParams = exports.VersionType = exports.ExactVersionType = exports.VERSION_PATTERN = exports.EXACT_VERSION_PATTERN = void 0;
exports.AddPieceRequestBody = exports.PieceScope = exports.PieceOptionRequest = exports.GetPieceRequestQuery = exports.ListPiecesRequestQuery = exports.GetPieceRequestParams = exports.GetPieceRequestWithScopeParams = exports.PieceOrderBy = exports.PieceSortBy = exports.VersionType = exports.ExactVersionType = exports.VERSION_PATTERN = exports.EXACT_VERSION_PATTERN = void 0;
const typebox_1 = require("@sinclair/typebox");

@@ -11,2 +11,12 @@ const flag_1 = require("../../flag/flag");

exports.VersionType = typebox_1.Type.RegEx(exports.VERSION_PATTERN);
var PieceSortBy;
(function (PieceSortBy) {
PieceSortBy["NAME"] = "NAME";
PieceSortBy["DATE"] = "DATE";
})(PieceSortBy || (exports.PieceSortBy = PieceSortBy = {}));
var PieceOrderBy;
(function (PieceOrderBy) {
PieceOrderBy["ASC"] = "ASC";
PieceOrderBy["DESC"] = "DESC";
})(PieceOrderBy || (exports.PieceOrderBy = PieceOrderBy = {}));
exports.GetPieceRequestWithScopeParams = typebox_1.Type.Object({

@@ -23,2 +33,6 @@ name: typebox_1.Type.String(),

edition: typebox_1.Type.Optional(typebox_1.Type.Enum(flag_1.ApEdition)),
searchQuery: typebox_1.Type.Optional(typebox_1.Type.String()),
sortBy: typebox_1.Type.Optional(typebox_1.Type.Enum(PieceSortBy)),
orderBy: typebox_1.Type.Optional(typebox_1.Type.Enum(PieceOrderBy)),
categories: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Enum(piece_1.PieceCategory))),
});

@@ -25,0 +39,0 @@ exports.GetPieceRequestQuery = typebox_1.Type.Object({

@@ -27,3 +27,17 @@ import { Static } from '@sinclair/typebox';

export declare enum PieceCategory {
CORE = "CORE"
ARTIFICIAL_INTELLIGENCE = "ARTIFICIAL_INTELLIGENCE",
COMMUNICATION = "COMMUNICATION",
COMMERCE = "COMMERCE",
CORE = "CORE",
BUSINESS_INTELLIGENCE = "BUSINESS_INTELLIGENCE",
ACCOUNTING = "ACCOUNTING",
PRODUCTIVITY = "PRODUCTIVITY",
CONTENT_AND_FILES = "CONTENT_AND_FILES",
DEVELOPER_TOOLS = "DEVELOPER_TOOLS",
CUSTOMER_SUPPORT = "CUSTOMER_SUPPORT",
FORMS_AND_SURVEYS = "FORMS_AND_SURVEYS",
HUMAN_RESOURCES = "HUMAN_RESOURCES",
PAYMENT_PROCESSING = "PAYMENT_PROCESSING",
MARKETING = "MARKETING",
SALES_AND_CRM = "SALES_AND_CRM"
}

@@ -30,4 +30,18 @@ "use strict";

(function (PieceCategory) {
PieceCategory["ARTIFICIAL_INTELLIGENCE"] = "ARTIFICIAL_INTELLIGENCE";
PieceCategory["COMMUNICATION"] = "COMMUNICATION";
PieceCategory["COMMERCE"] = "COMMERCE";
PieceCategory["CORE"] = "CORE";
PieceCategory["BUSINESS_INTELLIGENCE"] = "BUSINESS_INTELLIGENCE";
PieceCategory["ACCOUNTING"] = "ACCOUNTING";
PieceCategory["PRODUCTIVITY"] = "PRODUCTIVITY";
PieceCategory["CONTENT_AND_FILES"] = "CONTENT_AND_FILES";
PieceCategory["DEVELOPER_TOOLS"] = "DEVELOPER_TOOLS";
PieceCategory["CUSTOMER_SUPPORT"] = "CUSTOMER_SUPPORT";
PieceCategory["FORMS_AND_SURVEYS"] = "FORMS_AND_SURVEYS";
PieceCategory["HUMAN_RESOURCES"] = "HUMAN_RESOURCES";
PieceCategory["PAYMENT_PROCESSING"] = "PAYMENT_PROCESSING";
PieceCategory["MARKETING"] = "MARKETING";
PieceCategory["SALES_AND_CRM"] = "SALES_AND_CRM";
})(PieceCategory || (exports.PieceCategory = PieceCategory = {}));
//# sourceMappingURL=piece.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