Skip to content

Commit

Permalink
feat: add activepieces app
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed Jun 13, 2023
1 parent f0992b4 commit 68617f9
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/app-store/activepieces/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
items:
- 1.png
- 2.png
---

Activepieces is a open source businesses automation tool (Alternative to Zapier).

You can use it to make tasks happen automatically based on what you do on cal.com. Check out the link https://www.activepieces.com/docs/pieces/apps/cal-com.


If you want to see which apps it can work with, visit this link: https://www.activepieces.com/docs/pieces/overview.
20 changes: 20 additions & 0 deletions packages/app-store/activepieces/api/add.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";
import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";

import appConfig from "../config.json";

const handler: AppDeclarativeHandler = {
appType: appConfig.type,
variant: appConfig.variant,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
redirect: {
newTab: true,
url: "https://activepieces.com/",
},
createCredential: ({ appType, user, slug }) =>
createDefaultInstallation({ appType, userId: user.id, slug, key: {} }),
};

export default handler;
1 change: 1 addition & 0 deletions packages/app-store/activepieces/api/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as add } from "./add";
Empty file.
19 changes: 19 additions & 0 deletions packages/app-store/activepieces/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Activepieces",
"slug": "activepieces",
"type": "activepieces_automation",
"logo": "icon.svg",
"url": "https://activepieces.com/",
"variant": "automation",
"categories": [
"automation"
],
"publisher": "Mohammad AbuAboud",
"email": "[email protected]",
"description": "Open source business automation tool",
"isTemplate": false,
"__createdUsingCli": true,
"__template": "link-as-an-app",
"dirName": "activepieces"
}
1 change: 1 addition & 0 deletions packages/app-store/activepieces/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as api from "./api";
14 changes: 14 additions & 0 deletions packages/app-store/activepieces/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"name": "@calcom/activepieces",
"version": "0.0.0",
"main": "./index.ts",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
},
"description": "Open source business automation tool"
}
Binary file added packages/app-store/activepieces/static/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/app-store/activepieces/static/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/app-store/activepieces/static/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/app-store/apps.metadata.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This file is autogenerated using the command `yarn app-store:build --watch`.
Don't modify this file manually.
**/
import activepieces_config_json from "./activepieces/config.json";
import amie_config_json from "./amie/config.json";
import { metadata as applecalendar__metadata_ts } from "./applecalendar/_metadata";
import around_config_json from "./around/config.json";
Expand Down Expand Up @@ -67,6 +68,7 @@ import zohocrm_config_json from "./zohocrm/config.json";
import { metadata as zoomvideo__metadata_ts } from "./zoomvideo/_metadata";

export const appStoreMetadata = {
activepieces: activepieces_config_json,
amie: amie_config_json,
applecalendar: applecalendar__metadata_ts,
around: around_config_json,
Expand Down
1 change: 1 addition & 0 deletions packages/app-store/apps.server.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Don't modify this file manually.
**/
export const apiHandlers = {
activepieces: import("./activepieces/api"),
amie: import("./amie/api"),
applecalendar: import("./applecalendar/api"),
around: import("./around/api"),
Expand Down

0 comments on commit 68617f9

Please sign in to comment.