Remove _metadata.ts files for apps that have config.json

This commit is contained in:
Hariom Balhara 2023-02-18 12:56:59 +05:30
parent fa219b6506
commit d79bdd336c
58 changed files with 1 additions and 393 deletions

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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"

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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

View File

@ -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;

View File

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