diff --git a/packages/app-store/apps.metadata.generated.ts b/packages/app-store/apps.metadata.generated.ts index 272c9ed75566e5..05469cdc489467 100644 --- a/packages/app-store/apps.metadata.generated.ts +++ b/packages/app-store/apps.metadata.generated.ts @@ -11,6 +11,7 @@ import basecamp3_config_json from "./basecamp3/config.json"; import cal_ai_config_json from "./cal-ai/config.json"; import { metadata as caldavcalendar__metadata_ts } from "./caldavcalendar/_metadata"; import campfire_config_json from "./campfire/config.json"; +import clic_config_json from "./clic/config.json"; import closecom_config_json from "./closecom/config.json"; import cron_config_json from "./cron/config.json"; import { metadata as dailyvideo__metadata_ts } from "./dailyvideo/_metadata"; @@ -97,6 +98,7 @@ export const appStoreMetadata = { "cal-ai": cal_ai_config_json, caldavcalendar: caldavcalendar__metadata_ts, campfire: campfire_config_json, + clic: clic_config_json, closecom: closecom_config_json, cron: cron_config_json, dailyvideo: dailyvideo__metadata_ts, diff --git a/packages/app-store/apps.server.generated.ts b/packages/app-store/apps.server.generated.ts index 47f33fbdb462e9..f591f59b306dac 100644 --- a/packages/app-store/apps.server.generated.ts +++ b/packages/app-store/apps.server.generated.ts @@ -12,6 +12,7 @@ export const apiHandlers = { "cal-ai": import("./cal-ai/api"), caldavcalendar: import("./caldavcalendar/api"), campfire: import("./campfire/api"), + clic: import("./clic/api"), closecom: import("./closecom/api"), cron: import("./cron/api"), deel: import("./deel/api"), diff --git a/packages/app-store/clic/DESCRIPTION.md b/packages/app-store/clic/DESCRIPTION.md new file mode 100644 index 00000000000000..d7fc419730c9f7 --- /dev/null +++ b/packages/app-store/clic/DESCRIPTION.md @@ -0,0 +1,9 @@ +--- +items: + - preview.png + - previewcheckins.png + - previewcontacts.png + - previewcreation.png +--- + +{DESCRIPTION} diff --git a/packages/app-store/clic/api/add.ts b/packages/app-store/clic/api/add.ts new file mode 100644 index 00000000000000..9132b970d4c8f3 --- /dev/null +++ b/packages/app-store/clic/api/add.ts @@ -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://clicis.vercel.app", + }, + createCredential: ({ appType, user, slug, teamId }) => + createDefaultInstallation({ appType, user: user, slug, key: {}, teamId }), +}; + +export default handler; diff --git a/packages/app-store/clic/api/index.ts b/packages/app-store/clic/api/index.ts new file mode 100644 index 00000000000000..4c0d2ead01e1f9 --- /dev/null +++ b/packages/app-store/clic/api/index.ts @@ -0,0 +1 @@ +export { default as add } from "./add"; diff --git a/packages/app-store/clic/config.json b/packages/app-store/clic/config.json new file mode 100644 index 00000000000000..800c117818a456 --- /dev/null +++ b/packages/app-store/clic/config.json @@ -0,0 +1,16 @@ +{ + "/*": "Don't modify slug - If required, do it using cli edit command", + "name": "Clic", + "slug": "clic", + "type": "check_in_automation", + "logo": "icon.svg", + "url": "https://clicis.vercel.app", + "variant": "automation", + "categories": ["automation"], + "publisher": "Chris Pacheco", + "email": "chrispacheco430@gmail.com", + "description": "Create, List and Interact with Your Cal.com links and connections easily.\r\r", + "isTemplate": false, + "__createdUsingCli": true, + "__template": "link-as-an-app" +} diff --git a/packages/app-store/clic/index.ts b/packages/app-store/clic/index.ts new file mode 100644 index 00000000000000..d7f36022040096 --- /dev/null +++ b/packages/app-store/clic/index.ts @@ -0,0 +1 @@ +export * as api from "./api"; diff --git a/packages/app-store/clic/package.json b/packages/app-store/clic/package.json new file mode 100644 index 00000000000000..6a77d9232e236b --- /dev/null +++ b/packages/app-store/clic/package.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://json.schemastore.org/package.json", + "private": true, + "name": "@calcom/clic", + "version": "0.1.0", + "main": "./index.ts", + "dependencies": { + "@calcom/lib": "*" + }, + "devDependencies": { + "@calcom/types": "*" + }, + "description": "Create, List and Interact with Your Cal.com links and connections easily." +} diff --git a/packages/app-store/clic/preview.png b/packages/app-store/clic/preview.png new file mode 100644 index 00000000000000..2645b294d3c966 Binary files /dev/null and b/packages/app-store/clic/preview.png differ diff --git a/packages/app-store/clic/previewcheckins.png b/packages/app-store/clic/previewcheckins.png new file mode 100644 index 00000000000000..ceb2b1163c985e Binary files /dev/null and b/packages/app-store/clic/previewcheckins.png differ diff --git a/packages/app-store/clic/previewcontacts.png b/packages/app-store/clic/previewcontacts.png new file mode 100644 index 00000000000000..e21f4c653253e1 Binary files /dev/null and b/packages/app-store/clic/previewcontacts.png differ diff --git a/packages/app-store/clic/previewcreation.png b/packages/app-store/clic/previewcreation.png new file mode 100644 index 00000000000000..c241c75c2addfd Binary files /dev/null and b/packages/app-store/clic/previewcreation.png differ