From d79bdd336cf312a30a8943af94c059947bd91ccd Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Sat, 18 Feb 2023 12:56:59 +0530 Subject: [PATCH] Remove _metadata.ts files for apps that have config.json --- packages/app-store/amie/_metadata.ts | 10 -------- packages/app-store/amie/index.ts | 1 - packages/app-store/around/_metadata.ts | 19 -------------- packages/app-store/around/index.ts | 1 - packages/app-store/campfire/_metadata.ts | 10 -------- packages/app-store/campfire/index.ts | 1 - packages/app-store/closecom/_metadata.ts | 19 -------------- packages/app-store/closecom/index.ts | 1 - packages/app-store/dailyvideo/index.ts | 1 - .../app-store/ee/routing-forms/_metadata.ts | 19 -------------- packages/app-store/ee/routing-forms/index.ts | 1 - .../app-store/exchangecalendar/_metadata.ts | 16 ------------ packages/app-store/exchangecalendar/index.ts | 1 - packages/app-store/fathom/_metadata.ts | 11 -------- packages/app-store/fathom/index.ts | 1 - packages/app-store/ga4/_metadata.ts | 10 -------- packages/app-store/ga4/index.ts | 1 - packages/app-store/n8n/_metadata.ts | 11 -------- packages/app-store/n8n/index.ts | 1 - .../app-store/office365video/_metadata.ts | 10 -------- packages/app-store/office365video/index.ts | 1 - packages/app-store/package.json | 1 + packages/app-store/ping/_metadata.ts | 25 ------------------- packages/app-store/ping/index.ts | 1 - packages/app-store/pipedream/_metadata.ts | 10 -------- packages/app-store/pipedream/index.ts | 1 - packages/app-store/plausible/_metadata.ts | 10 -------- packages/app-store/plausible/index.ts | 1 - packages/app-store/qr_code/_metadata.ts | 11 -------- packages/app-store/qr_code/index.ts | 1 - packages/app-store/rainbow/_metadata.ts | 10 -------- packages/app-store/rainbow/index.ts | 1 - packages/app-store/raycast/_metadata.ts | 11 -------- packages/app-store/raycast/index.ts | 1 - packages/app-store/riverside/_metadata.ts | 25 ------------------- packages/app-store/riverside/index.ts | 1 - packages/app-store/salesforce/_metadata.ts | 10 -------- packages/app-store/salesforce/index.ts | 1 - packages/app-store/sendgrid/_metadata.ts | 10 -------- packages/app-store/sendgrid/index.ts | 1 - packages/app-store/signal/_metadata.ts | 10 -------- packages/app-store/signal/index.ts | 1 - packages/app-store/sirius_video/_metadata.ts | 10 -------- packages/app-store/sirius_video/index.ts | 1 - packages/app-store/telegram/_metadata.ts | 10 -------- packages/app-store/telegram/index.ts | 1 - packages/app-store/typeform/_metadata.ts | 11 -------- packages/app-store/typeform/index.ts | 1 - packages/app-store/vimcal/_metadata.ts | 10 -------- packages/app-store/vimcal/index.ts | 1 - .../weather_in_your_calendar/_metadata.ts | 11 -------- .../weather_in_your_calendar/index.ts | 1 - packages/app-store/whatsapp/_metadata.ts | 10 -------- packages/app-store/whatsapp/index.ts | 1 - packages/app-store/whereby/_metadata.ts | 25 ------------------- packages/app-store/whereby/index.ts | 1 - packages/app-store/wordpress/_metadata.ts | 10 -------- packages/app-store/wordpress/index.ts | 1 - 58 files changed, 1 insertion(+), 393 deletions(-) delete mode 100644 packages/app-store/amie/_metadata.ts delete mode 100644 packages/app-store/around/_metadata.ts delete mode 100644 packages/app-store/campfire/_metadata.ts delete mode 100644 packages/app-store/closecom/_metadata.ts delete mode 100644 packages/app-store/ee/routing-forms/_metadata.ts delete mode 100644 packages/app-store/exchangecalendar/_metadata.ts delete mode 100644 packages/app-store/fathom/_metadata.ts delete mode 100644 packages/app-store/ga4/_metadata.ts delete mode 100644 packages/app-store/n8n/_metadata.ts delete mode 100644 packages/app-store/office365video/_metadata.ts delete mode 100644 packages/app-store/ping/_metadata.ts delete mode 100644 packages/app-store/pipedream/_metadata.ts delete mode 100644 packages/app-store/plausible/_metadata.ts delete mode 100644 packages/app-store/qr_code/_metadata.ts delete mode 100644 packages/app-store/rainbow/_metadata.ts delete mode 100644 packages/app-store/raycast/_metadata.ts delete mode 100644 packages/app-store/riverside/_metadata.ts delete mode 100644 packages/app-store/salesforce/_metadata.ts delete mode 100644 packages/app-store/sendgrid/_metadata.ts delete mode 100644 packages/app-store/signal/_metadata.ts delete mode 100644 packages/app-store/sirius_video/_metadata.ts delete mode 100644 packages/app-store/telegram/_metadata.ts delete mode 100644 packages/app-store/typeform/_metadata.ts delete mode 100644 packages/app-store/vimcal/_metadata.ts delete mode 100644 packages/app-store/weather_in_your_calendar/_metadata.ts delete mode 100644 packages/app-store/whatsapp/_metadata.ts delete mode 100644 packages/app-store/whereby/_metadata.ts delete mode 100644 packages/app-store/wordpress/_metadata.ts diff --git a/packages/app-store/amie/_metadata.ts b/packages/app-store/amie/_metadata.ts deleted file mode 100644 index 9c7f2aa320..0000000000 --- a/packages/app-store/amie/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/amie/index.ts b/packages/app-store/amie/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/amie/index.ts +++ b/packages/app-store/amie/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/around/_metadata.ts b/packages/app-store/around/_metadata.ts deleted file mode 100644 index dcbfb1053b..0000000000 --- a/packages/app-store/around/_metadata.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "around", - appData: { - location: { - linkType: "static", - type: "integrations:around_video", - label: "Around Video", - urlRegExp: "^http(s)?:\\/\\/(www\\.)?around.co\\/[a-zA-Z0-9]*", - organizerInputPlaceholder: "https://www.around.co/rick", - }, - }, - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/around/index.ts b/packages/app-store/around/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/around/index.ts +++ b/packages/app-store/around/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/campfire/_metadata.ts b/packages/app-store/campfire/_metadata.ts deleted file mode 100644 index 87e5b7ffef..0000000000 --- a/packages/app-store/campfire/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "caldavcalendar", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/campfire/index.ts b/packages/app-store/campfire/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/campfire/index.ts +++ b/packages/app-store/campfire/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/closecom/_metadata.ts b/packages/app-store/closecom/_metadata.ts deleted file mode 100644 index f38eb267f6..0000000000 --- a/packages/app-store/closecom/_metadata.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { App } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - // FIXME: Currently for an app to be shown as installed, it must have this variable set. Either hardcoded or if it depends on some env variable, that should be checked here - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - licenseRequired: true, - isProOnly: true, - dirName: "closecom", - ...config, -} as App; - -export default metadata; diff --git a/packages/app-store/closecom/index.ts b/packages/app-store/closecom/index.ts index 5373eb04ef..e2e9d7b029 100644 --- a/packages/app-store/closecom/index.ts +++ b/packages/app-store/closecom/index.ts @@ -1,3 +1,2 @@ export * as api from "./api"; export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/dailyvideo/index.ts b/packages/app-store/dailyvideo/index.ts index 374ae5ab45..0a0fcad49b 100644 --- a/packages/app-store/dailyvideo/index.ts +++ b/packages/app-store/dailyvideo/index.ts @@ -1,2 +1 @@ export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/ee/routing-forms/_metadata.ts b/packages/app-store/ee/routing-forms/_metadata.ts deleted file mode 100644 index 7dffa94a91..0000000000 --- a/packages/app-store/ee/routing-forms/_metadata.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - // FIXME: Currently for an app to be shown as installed, it must have this variable set. Either hardcoded or if it depends on some env variable, that should be checked here - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - licenseRequired: true, - isProOnly: true, - dirName: "routing-forms", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/ee/routing-forms/index.ts b/packages/app-store/ee/routing-forms/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/ee/routing-forms/index.ts +++ b/packages/app-store/ee/routing-forms/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/exchangecalendar/_metadata.ts b/packages/app-store/exchangecalendar/_metadata.ts deleted file mode 100644 index 338dedb30c..0000000000 --- a/packages/app-store/exchangecalendar/_metadata.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { App } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "calendar", - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - dirName: "exchangecalendar", - ...config, -} as App; - -export default metadata; diff --git a/packages/app-store/exchangecalendar/index.ts b/packages/app-store/exchangecalendar/index.ts index 5373eb04ef..e2e9d7b029 100644 --- a/packages/app-store/exchangecalendar/index.ts +++ b/packages/app-store/exchangecalendar/index.ts @@ -1,3 +1,2 @@ export * as api from "./api"; export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/fathom/_metadata.ts b/packages/app-store/fathom/_metadata.ts deleted file mode 100644 index 64f996cd4b..0000000000 --- a/packages/app-store/fathom/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "analytics", - dirName: "fathom", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/fathom/index.ts b/packages/app-store/fathom/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/fathom/index.ts +++ b/packages/app-store/fathom/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/ga4/_metadata.ts b/packages/app-store/ga4/_metadata.ts deleted file mode 100644 index 799f01c480..0000000000 --- a/packages/app-store/ga4/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "ga4", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/ga4/index.ts b/packages/app-store/ga4/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/ga4/index.ts +++ b/packages/app-store/ga4/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/n8n/_metadata.ts b/packages/app-store/n8n/_metadata.ts deleted file mode 100644 index 3e8fdda618..0000000000 --- a/packages/app-store/n8n/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "automation", - dirName: "n8n", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/n8n/index.ts b/packages/app-store/n8n/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/n8n/index.ts +++ b/packages/app-store/n8n/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/office365video/_metadata.ts b/packages/app-store/office365video/_metadata.ts deleted file mode 100644 index e9f43ba742..0000000000 --- a/packages/app-store/office365video/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "office365video", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/office365video/index.ts b/packages/app-store/office365video/index.ts index 5373eb04ef..e2e9d7b029 100644 --- a/packages/app-store/office365video/index.ts +++ b/packages/app-store/office365video/index.ts @@ -1,3 +1,2 @@ export * as api from "./api"; export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/package.json b/packages/app-store/package.json index f5e8cff00e..5b34186878 100644 --- a/packages/app-store/package.json +++ b/packages/app-store/package.json @@ -7,6 +7,7 @@ "components.ts" ], "scripts": { + "type-check": "tsc --pretty --noEmit", "lint": "eslint . --ext .ts,.js,.tsx,.jsx", "lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix", "lint:report": "eslint . --format json --output-file ../../lint-results/app-store.json" diff --git a/packages/app-store/ping/_metadata.ts b/packages/app-store/ping/_metadata.ts deleted file mode 100644 index 45334f190a..0000000000 --- a/packages/app-store/ping/_metadata.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - // FIXME: Currently for an app to be shown as installed, it must have this variable set. Either hardcoded or if it depends on some env variable, that should be checked here - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - appData: { - location: { - linkType: "static", - type: "integrations:ping_video", - label: "Ping.gg", - organizerInputPlaceholder: "https://www.ping.gg/call/theo", - urlRegExp: "^http(s)?:\\/\\/(www\\.)?ping.gg\\/call\\/[a-zA-Z0-9]*", - }, - }, - dirName: "ping", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/ping/index.ts b/packages/app-store/ping/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/ping/index.ts +++ b/packages/app-store/ping/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/pipedream/_metadata.ts b/packages/app-store/pipedream/_metadata.ts deleted file mode 100644 index d0a81296e2..0000000000 --- a/packages/app-store/pipedream/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "pipedream", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/pipedream/index.ts b/packages/app-store/pipedream/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/pipedream/index.ts +++ b/packages/app-store/pipedream/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/plausible/_metadata.ts b/packages/app-store/plausible/_metadata.ts deleted file mode 100644 index f8e160d47d..0000000000 --- a/packages/app-store/plausible/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "analytics", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/plausible/index.ts b/packages/app-store/plausible/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/plausible/index.ts +++ b/packages/app-store/plausible/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/qr_code/_metadata.ts b/packages/app-store/qr_code/_metadata.ts deleted file mode 100644 index 5dda41b44b..0000000000 --- a/packages/app-store/qr_code/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - dirName: "qr_code", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/qr_code/index.ts b/packages/app-store/qr_code/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/qr_code/index.ts +++ b/packages/app-store/qr_code/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/rainbow/_metadata.ts b/packages/app-store/rainbow/_metadata.ts deleted file mode 100644 index 860c91c24e..0000000000 --- a/packages/app-store/rainbow/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "rainbow", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/rainbow/index.ts b/packages/app-store/rainbow/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/rainbow/index.ts +++ b/packages/app-store/rainbow/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/raycast/_metadata.ts b/packages/app-store/raycast/_metadata.ts deleted file mode 100644 index 8b1576f514..0000000000 --- a/packages/app-store/raycast/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - dirName: "raycast", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/raycast/index.ts b/packages/app-store/raycast/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/raycast/index.ts +++ b/packages/app-store/raycast/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/riverside/_metadata.ts b/packages/app-store/riverside/_metadata.ts deleted file mode 100644 index 4d429e62f8..0000000000 --- a/packages/app-store/riverside/_metadata.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - // FIXME: Currently for an app to be shown as installed, it must have this variable set. Either hardcoded or if it depends on some env variable, that should be checked here - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - locationPlaceholder: "https://www.riverside.fm/studio/rick", - appData: { - location: { - label: "Riverside Video", - urlRegExp: "^http(s)?:\\/\\/(www\\.)?riverside.fm\\/studio\\/[a-zA-Z0-9]*", - type: "integrations:riverside_video", - linkType: "static", - }, - }, - dirName: "riverside", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/riverside/index.ts b/packages/app-store/riverside/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/riverside/index.ts +++ b/packages/app-store/riverside/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/salesforce/_metadata.ts b/packages/app-store/salesforce/_metadata.ts deleted file mode 100644 index 031ec22e3d..0000000000 --- a/packages/app-store/salesforce/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "salesforce", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/salesforce/index.ts b/packages/app-store/salesforce/index.ts index 5373eb04ef..e2e9d7b029 100644 --- a/packages/app-store/salesforce/index.ts +++ b/packages/app-store/salesforce/index.ts @@ -1,3 +1,2 @@ export * as api from "./api"; export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/sendgrid/_metadata.ts b/packages/app-store/sendgrid/_metadata.ts deleted file mode 100644 index 590bac19ae..0000000000 --- a/packages/app-store/sendgrid/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "sendgrid", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/sendgrid/index.ts b/packages/app-store/sendgrid/index.ts index 5373eb04ef..e2e9d7b029 100644 --- a/packages/app-store/sendgrid/index.ts +++ b/packages/app-store/sendgrid/index.ts @@ -1,3 +1,2 @@ export * as api from "./api"; export * as lib from "./lib"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/signal/_metadata.ts b/packages/app-store/signal/_metadata.ts deleted file mode 100644 index 72a96e122a..0000000000 --- a/packages/app-store/signal/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "signal", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/signal/index.ts b/packages/app-store/signal/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/signal/index.ts +++ b/packages/app-store/signal/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/sirius_video/_metadata.ts b/packages/app-store/sirius_video/_metadata.ts deleted file mode 100644 index dce7ba1924..0000000000 --- a/packages/app-store/sirius_video/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "sirius_video", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/sirius_video/index.ts b/packages/app-store/sirius_video/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/sirius_video/index.ts +++ b/packages/app-store/sirius_video/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/telegram/_metadata.ts b/packages/app-store/telegram/_metadata.ts deleted file mode 100644 index 06179994da..0000000000 --- a/packages/app-store/telegram/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "telegram", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/telegram/index.ts b/packages/app-store/telegram/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/telegram/index.ts +++ b/packages/app-store/telegram/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/typeform/_metadata.ts b/packages/app-store/typeform/_metadata.ts deleted file mode 100644 index b7f4a67680..0000000000 --- a/packages/app-store/typeform/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - dirName: "typeform", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/typeform/index.ts b/packages/app-store/typeform/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/typeform/index.ts +++ b/packages/app-store/typeform/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/vimcal/_metadata.ts b/packages/app-store/vimcal/_metadata.ts deleted file mode 100644 index 9c7f2aa320..0000000000 --- a/packages/app-store/vimcal/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/vimcal/index.ts b/packages/app-store/vimcal/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/vimcal/index.ts +++ b/packages/app-store/vimcal/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/weather_in_your_calendar/_metadata.ts b/packages/app-store/weather_in_your_calendar/_metadata.ts deleted file mode 100644 index 8c414ba2da..0000000000 --- a/packages/app-store/weather_in_your_calendar/_metadata.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - dirName: "weather_in_your_calendar", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/weather_in_your_calendar/index.ts b/packages/app-store/weather_in_your_calendar/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/weather_in_your_calendar/index.ts +++ b/packages/app-store/weather_in_your_calendar/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/whatsapp/_metadata.ts b/packages/app-store/whatsapp/_metadata.ts deleted file mode 100644 index 1cea62f750..0000000000 --- a/packages/app-store/whatsapp/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - dirName: "whatsapp", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/whatsapp/index.ts b/packages/app-store/whatsapp/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/whatsapp/index.ts +++ b/packages/app-store/whatsapp/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/whereby/_metadata.ts b/packages/app-store/whereby/_metadata.ts deleted file mode 100644 index 627fdb55ab..0000000000 --- a/packages/app-store/whereby/_metadata.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - // FIXME: Currently for an app to be shown as installed, it must have this variable set. Either hardcoded or if it depends on some env variable, that should be checked here - installed: true, - rating: 0, - reviews: 0, - trending: true, - verified: true, - appData: { - location: { - linkType: "static", - type: "integrations:whereby_video", - label: "Whereby Video", - organizerInputPlaceholder: "https://www.whereby.com/cal", - urlRegExp: "^http(s)?:\\/\\/(www\\.)?(team.)?whereby.com\\/[a-zA-Z0-9]*", - }, - }, - dirName: "whereby", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/whereby/index.ts b/packages/app-store/whereby/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/whereby/index.ts +++ b/packages/app-store/whereby/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata"; diff --git a/packages/app-store/wordpress/_metadata.ts b/packages/app-store/wordpress/_metadata.ts deleted file mode 100644 index 9c7f2aa320..0000000000 --- a/packages/app-store/wordpress/_metadata.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AppMeta } from "@calcom/types/App"; - -import config from "./config.json"; - -export const metadata = { - category: "other", - ...config, -} as AppMeta; - -export default metadata; diff --git a/packages/app-store/wordpress/index.ts b/packages/app-store/wordpress/index.ts index 5d372ceda3..d7f3602204 100644 --- a/packages/app-store/wordpress/index.ts +++ b/packages/app-store/wordpress/index.ts @@ -1,2 +1 @@ export * as api from "./api"; -export { metadata } from "./_metadata";