pipedream app (#5119)

This commit is contained in:
Peer Richelsen 2022-10-21 10:49:49 +01:00 committed by GitHub
parent e044f963f8
commit 34c13db872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 94 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import { metadata as n8n_meta } from "./n8n/_metadata";
import { metadata as office365calendar_meta } from "./office365calendar/_metadata";
import { metadata as office365video_meta } from "./office365video/_metadata";
import { metadata as ping_meta } from "./ping/_metadata";
import { metadata as pipedream_meta } from "./pipedream/_metadata";
import { metadata as qr_code_meta } from "./qr_code/_metadata";
import { metadata as rainbow_meta } from "./rainbow/_metadata";
import { metadata as raycast_meta } from "./raycast/_metadata";
@ -62,6 +63,7 @@ export const appStoreMetadata = {
office365calendar: office365calendar_meta,
office365video: office365video_meta,
ping: ping_meta,
pipedream: pipedream_meta,
qr_code: qr_code_meta,
rainbow: rainbow_meta,
raycast: raycast_meta,

View File

@ -23,6 +23,7 @@ export const apiHandlers = {
office365calendar: import("./office365calendar/api"),
office365video: import("./office365video/api"),
ping: import("./ping/api"),
pipedream: import("./pipedream/api"),
qr_code: import("./qr_code/api"),
rainbow: import("./rainbow/api"),
raycast: import("./raycast/api"),

View File

@ -0,0 +1,20 @@
---
description: Connect APIs, remarkably fast. Stop writing boilerplate code, struggling with authentication and managing infrastructure. Start connecting APIs with code-level control when you need it — and no code when you don't
items:
- /api/app-store/pipedream/1.png
- /api/app-store/pipedream/2.png
- /api/app-store/pipedream/3.png
- /api/app-store/pipedream/4.png
- /api/app-store/pipedream/5.png
---
<Slider items={items} />
{description}
<br/>
<br/>
<iframe class="w-full aspect-video" width="560" height="315" src="https://www.youtube.com/embed/pRHsQyyfYl0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

View File

@ -0,0 +1,10 @@
import type { AppMeta } from "@calcom/types/App";
import config from "./config.json";
export const metadata = {
category: "other",
...config,
} as AppMeta;
export default metadata;

View File

@ -0,0 +1,18 @@
import { AppDeclarativeHandler } from "@calcom/types/AppHandler";
import { createDefaultInstallation } from "../../_utils/installation";
import appConfig from "../config.json";
const handler: AppDeclarativeHandler = {
// Instead of passing appType and slug from here, api/integrations/[..args] should be able to derive and pass these directly to createCredential
appType: appConfig.type,
variant: appConfig.variant,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
redirectUrl: "https://pipedream.com/apps/cal-com",
createCredential: ({ appType, user, slug }) =>
createDefaultInstallation({ appType, userId: user.id, slug, key: {} }),
};
export default handler;

View File

@ -0,0 +1 @@
export { default as add } from "./add";

View File

@ -0,0 +1,16 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Pipedream",
"slug": "pipedream",
"type": "pipedream_automation",
"imageSrc": "/api/app-store/pipedream/icon.svg",
"logo": "/api/app-store/pipedream/icon.svg",
"url": "https://pipedream.com/apps/cal-com",
"variant": "automation",
"categories": ["automation"],
"publisher": "Pipedream, Inc.",
"email": "support@pipedream.com",
"description": "Connect APIs, remarkably fast. Stop writing boilerplate code, struggling with authentication and managing infrastructure. Start connecting APIs with code-level control when you need it — and no code when you don't",
"extendsFeature": "User",
"__createdUsingCli": true
}

View File

@ -0,0 +1,2 @@
export * as api from "./api";
export { metadata } from "./_metadata";

View File

@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"name": "@calcom/pipedream",
"version": "0.0.0",
"main": "./index.ts",
"description": "Connect APIs, remarkably fast. Stop writing boilerplate code, struggling with authentication and managing infrastructure. Start connecting APIs with code-level control when you need it — and no code when you don't",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,4 @@
<svg width="600" height="600" viewBox="0 0 600 600" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="600" height="600" rx="33" fill="#34D28B"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M456.472 259.345C456.472 289.043 453.307 314.868 447.002 336.768C440.672 358.668 431.86 376.872 420.542 391.354C409.223 405.836 395.474 416.596 379.319 423.66C363.164 430.724 345.237 434.243 325.562 434.243C311.169 434.353 296.828 432.479 282.947 428.673C269.78 424.951 257.778 417.71 247.016 406.95L245.345 407.507L246.459 452.624V514.451H159V93.3588L219.72 89.4598L236.432 118.981C248.478 108.113 262.462 99.6101 277.655 93.9158C293.679 87.8979 310.674 84.877 327.79 85.0038C348.579 85.0038 366.962 88.0673 382.94 94.1943C398.892 100.321 412.363 110.145 423.327 123.715C434.291 137.261 442.546 155.186 448.116 177.466C453.687 199.746 456.472 227.039 456.472 259.345ZM366.785 258.788C366.785 239.47 365.57 223.52 363.164 210.886C360.759 198.252 357.036 188.327 352.023 181.086C347.328 174.09 340.485 168.812 332.526 166.047C323.447 163.094 313.939 161.682 304.394 161.87C292.751 161.651 281.216 164.129 270.691 169.111C260.841 173.921 252.764 180.631 246.459 189.163V333.983C251.65 342.161 258.892 349.022 268.185 354.592C277.477 360.162 288.973 362.947 302.723 362.947C311.625 363.069 320.482 361.656 328.905 358.769C336.704 355.984 343.388 350.794 348.959 343.173C354.53 335.578 358.885 324.97 362.05 311.424C365.215 297.879 366.785 280.334 366.785 258.788Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -83,5 +83,11 @@
"categories": ["analytics"],
"slug": "fathom",
"type": "fathom_analytics"
},
{
"dirName": "pipedream",
"categories": ["automation"],
"slug": "pipedream",
"type": "pipedream_automation"
}
]