added raycast to app store (#4231)

pull/4238/head^2
Peer Richelsen 2022-09-07 17:33:27 +02:00 committed by GitHub
parent b4d1cb0988
commit 7b36df9eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 82 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import { metadata as office365calendar_meta } from "./office365calendar/_metadat
import { metadata as office365video_meta } from "./office365video/_metadata";
import { metadata as ping_meta } from "./ping/_metadata";
import { metadata as rainbow_meta } from "./rainbow/_metadata";
import { metadata as raycast_meta } from "./raycast/_metadata";
import { metadata as riverside_meta } from "./riverside/_metadata";
import { metadata as slackmessaging_meta } from "./slackmessaging/_metadata";
import { metadata as stripepayment_meta } from "./stripepayment/_metadata";
@ -56,6 +57,7 @@ export const appStoreMetadata = {
office365video: office365video_meta,
ping: ping_meta,
rainbow: rainbow_meta,
raycast: raycast_meta,
riverside: riverside_meta,
slackmessaging: slackmessaging_meta,
stripepayment: stripepayment_meta,

View File

@ -21,6 +21,7 @@ export const apiHandlers = {
office365video: import("./office365video/api"),
ping: import("./ping/api"),
rainbow: import("./rainbow/api"),
raycast: import("./raycast/api"),
riverside: import("./riverside/api"),
slackmessaging: import("./slackmessaging/api"),
stripepayment: import("./stripepayment/api"),

View File

@ -0,0 +1,11 @@
---
items:
- /api/app-store/raycast/1.png
- /api/app-store/raycast/2.png
- /api/app-store/raycast/3.png
- /api/app-store/raycast/4.png
---
<Slider items={items} />
Quickly share your Cal.com meeting links with Raycast. Requires Raycast.com to be installed. You can create an API token in your Developer Cal.com Settings.

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,17 @@
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,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
redirectUrl: "raycast://extensions/eluce2/cal-com-share-meeting-links?source=webstore",
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,15 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Raycast",
"slug": "raycast",
"type": "raycast_other",
"imageSrc": "/api/app-store/raycast/icon.svg",
"logo": "/api/app-store/raycast/icon.svg",
"url": "https://cal.com/apps/raycast",
"variant": "other",
"categories": ["other"],
"publisher": "eluce2",
"email": "info@restlessmindstech.com",
"description": "Quickly share your Cal.com meeting links with Raycast",
"__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/raycast",
"version": "0.0.0",
"main": "./index.ts",
"description": "Quickly share your Cal.com meeting links with Raycast",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@ -0,0 +1,3 @@
<svg width="28" height="29" viewBox="0 0 28 29" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 19.073V21.994L0 14.994L1.46 13.534L7 19.075V19.073ZM9.921 21.994H7L14 28.994L15.46 27.534L9.921 21.994V21.994ZM26.535 16.456L27.996 14.994L13.996 0.993999L12.538 2.46L18.077 7.998H14.73L10.864 4.14L9.404 5.6L11.809 8.004H10.129V18.87H20.994V17.19L23.399 19.594L24.859 18.134L20.994 14.268V10.921L26.534 16.456H26.535ZM7.73 7.27L6.265 8.732L7.833 10.298L9.294 8.838L7.73 7.27ZM20.162 19.702L18.702 21.164L20.268 22.732L21.73 21.27L20.162 19.702V19.702ZM4.596 10.404L3.134 11.866L7 15.732V12.809L4.596 10.404ZM16.192 22H13.268L17.134 25.866L18.596 24.404L16.192 22Z" fill="#FF6363"/>
</svg>

After

Width:  |  Height:  |  Size: 737 B

View File

@ -47,5 +47,11 @@
"categories": ["web3"],
"slug": "rainbow",
"type": "rainbow_web3"
},
{
"dirName": "raycast",
"categories": ["other"],
"slug": "raycast",
"type": "raycast_other"
}
]