Scheduling infrastructure for absolutely everyone.
Fixes hubspot metadata
zomars9f63299a1a17
diff --git a/packages/app-store/hubspotothercalendar/_metadata.ts b/packages/app-store/hubspotothercalendar/_metadata.tsnew file mode 100644index 00000000000..391ee99057d--- /dev/null+++ b/packages/app-store/hubspotothercalendar/_metadata.ts@@ -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: "[email protected]",+} as App;++export default metadata;diff --git a/packages/app-store/hubspotothercalendar/index.ts b/packages/app-store/hubspotothercalendar/index.tsindex 2dc5a578d67..5373eb04efc 100644--- a/packages/app-store/hubspotothercalendar/index.ts+++ b/packages/app-store/hubspotothercalendar/index.ts@@ -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: "[email protected]",-} as App;-export * as api from "./api";export * as lib from "./lib";+export { metadata } from "./_metadata";diff --git a/packages/app-store/metadata.ts b/packages/app-store/metadata.tsindex cf09ca450ec..053bf8bef03 100644--- a/packages/app-store/metadata.ts+++ b/packages/app-store/metadata.ts@@ -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,