Fixes hubspot metadata

pull/2556/head^2
zomars 2022-04-20 14:20:02 -06:00
parent 702f31c935
commit 9f63299a1a
3 changed files with 29 additions and 25 deletions

View File

@ -0,0 +1,26 @@
import type { App } from "@calcom/types/App";
import _package from "./package.json";
export const metadata = {
name: "HubSpot CRM",
description: _package.description,
installed: !!(process.env.HUBSPOT_CLIENT_ID && process.env.HUBSPOT_CLIENT_SECRET),
type: "hubspot_other_calendar",
imageSrc: "/api/app-store/hubspotothercalendar/icon.svg",
variant: "other_calendar",
logo: "/api/app-store/hubspotothercalendar/icon.svg",
publisher: "Cal.com",
url: "https://hubspot.com/",
verified: true,
rating: 4.3, // TODO: placeholder for now, pull this from TrustPilot or G2
reviews: 69, // TODO: placeholder for now, pull this from TrustPilot or G2
category: "other",
label: "HubSpot CRM",
slug: "hubspot",
title: "HubSpot CRM",
trending: true,
email: "help@cal.com",
} as App;
export default metadata;

View File

@ -1,27 +1,3 @@
import type { App } from "@calcom/types/App";
import _package from "./package.json";
export const metadata = {
name: "HubSpot CRM",
description: _package.description,
installed: !!(process.env.HUBSPOT_CLIENT_ID && process.env.HUBSPOT_CLIENT_SECRET),
type: "hubspot_other_calendar",
imageSrc: "/api/app-store/hubspotothercalendar/icon.svg",
variant: "other_calendar",
logo: "/api/app-store/hubspotothercalendar/icon.svg",
publisher: "Cal.com",
url: "https://hubspot.com/",
verified: true,
rating: 4.3, // TODO: placeholder for now, pull this from TrustPilot or G2
reviews: 69, // TODO: placeholder for now, pull this from TrustPilot or G2
category: "other",
label: "HubSpot CRM",
slug: "hubspot",
title: "HubSpot CRM",
trending: true,
email: "help@cal.com",
} as App;
export * as api from "./api";
export * as lib from "./lib";
export { metadata } from "./_metadata";

View File

@ -3,6 +3,7 @@ import { metadata as caldavcalendar } from "./caldavcalendar/_metadata";
import { metadata as dailyvideo } from "./dailyvideo/_metadata";
import { metadata as googlecalendar } from "./googlecalendar/_metadata";
import { metadata as googlevideo } from "./googlevideo/_metadata";
import { metadata as hubspotothercalendar } from "./hubspotothercalendar/_metadata";
import { metadata as huddle01video } from "./huddle01video/_metadata";
import { metadata as jitsivideo } from "./jitsivideo/_metadata";
import { metadata as office365calendar } from "./office365calendar/_metadata";
@ -19,6 +20,7 @@ export const appStoreMetadata = {
dailyvideo,
googlecalendar,
googlevideo,
hubspotothercalendar,
huddle01video,
jitsivideo,
office365calendar,