App store metadata refactor (#2495)

* Delete api

* Fixes circular dependencies

* Revert "Delete api"

This reverts commit 174177a8331fc376b2dc7abda2c7adc56b24dd60.

* Delete _metadata.ts

* Update metadata.ts
This commit is contained in:
Omar López authored and GitHub committed 2022-04-14 20:04:21 -06:00
1 parent 94f64f9730
commit ba73960a02
30 files changed
+446 -362

No files matched your search

@@ -0,0 +1,29 @@
import { validJson } from "@calcom/lib/jsonUtils";
import type { App } from "@calcom/types/App";
import { LocationType } from "../locations";
import _package from "./package.json";
export const metadata = {
name: "Google Meet",
description: _package.description,
installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)),
slug: "google-meet",
category: "video",
type: "google_video",
title: "Google Meet",
imageSrc: "https://cdn.iconscout.com/icon/free/png-256/google-meet-2923654-2416657.png",
variant: "conferencing",
logo: "https://cdn.iconscout.com/icon/free/png-256/google-meet-2923654-2416657.png",
publisher: "Cal.com",
rating: 5,
reviews: 69,
trending: false,
url: "https://cal.com/",
verified: true,
email: "[email protected]",
locationType: LocationType.GoogleMeet,
locationLabel: "Google Meet",
} as App;
export default metadata;
+1 -28
View File
@@ -1,30 +1,3 @@
import { validJson } from "@calcom/lib/jsonUtils";
import type { App } from "@calcom/types/App";
import { LocationType } from "../locations";
import _package from "./package.json";
export const metadata = {
name: "Google Meet",
description: _package.description,
installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)),
slug: "google-meet",
category: "video",
type: "google_video",
title: "Google Meet",
imageSrc: "https://cdn.iconscout.com/icon/free/png-256/google-meet-2923654-2416657.png",
variant: "conferencing",
logo: "https://cdn.iconscout.com/icon/free/png-256/google-meet-2923654-2416657.png",
publisher: "Cal.com",
rating: 5,
reviews: 69,
trending: false,
url: "https://cal.com/",
verified: true,
email: "[email protected]",
locationType: LocationType.GoogleMeet,
locationLabel: "Google Meet",
} as App;
// export * as api from "./api";
// export * as lib from "./lib";
export { metadata } from "./_metadata";