Skip to content

Commit

Permalink
feat: Add app store entry for Clic (CheckIn application) (#14754)
Browse files Browse the repository at this point in the history
* feat: create app

* feat: create app

* feat: initial commit
  • Loading branch information
chrisdadev13 committed Apr 29, 2024
1 parent 4a8f251 commit 93bb377
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app-store/apps.metadata.generated.ts
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions packages/app-store/apps.server.generated.ts
Expand Up @@ -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"),
Expand Down
9 changes: 9 additions & 0 deletions packages/app-store/clic/DESCRIPTION.md
@@ -0,0 +1,9 @@
---
items:
- preview.png
- previewcheckins.png
- previewcontacts.png
- previewcreation.png
---

{DESCRIPTION}
20 changes: 20 additions & 0 deletions 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;
1 change: 1 addition & 0 deletions packages/app-store/clic/api/index.ts
@@ -0,0 +1 @@
export { default as add } from "./add";
16 changes: 16 additions & 0 deletions 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"
}
1 change: 1 addition & 0 deletions packages/app-store/clic/index.ts
@@ -0,0 +1 @@
export * as api from "./api";
14 changes: 14 additions & 0 deletions 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."
}
Binary file added packages/app-store/clic/preview.png
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/clic/previewcheckins.png
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/clic/previewcontacts.png
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/clic/previewcreation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93bb377

Please sign in to comment.