diff --git a/packages/app-store/dailyvideo/index.ts b/packages/app-store/dailyvideo/index.ts index 42f4a69bcb..6532251e84 100644 --- a/packages/app-store/dailyvideo/index.ts +++ b/packages/app-store/dailyvideo/index.ts @@ -1,5 +1,6 @@ import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -22,7 +23,7 @@ export const metadata = { title: "Cal Video", isGlobal: true, email: "help@cal.com", - locationType: "integrations:daily", + locationType: LocationType.Daily, key: { apikey: process.env.DAILY_API_KEY }, } as App; diff --git a/packages/app-store/googlecalendar/index.ts b/packages/app-store/googlecalendar/index.ts index c36ea91fb6..3a486cc0fe 100644 --- a/packages/app-store/googlecalendar/index.ts +++ b/packages/app-store/googlecalendar/index.ts @@ -1,6 +1,7 @@ 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 = { @@ -22,6 +23,7 @@ export const metadata = { url: "https://cal.com/", verified: true, email: "help@cal.com", + locationType: LocationType.GoogleMeet, } as App; export * as api from "./api"; diff --git a/packages/app-store/googlevideo/index.ts b/packages/app-store/googlevideo/index.ts index 85f6f925a4..d99669babb 100644 --- a/packages/app-store/googlevideo/index.ts +++ b/packages/app-store/googlevideo/index.ts @@ -1,6 +1,7 @@ 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 = { @@ -22,7 +23,7 @@ export const metadata = { url: "https://cal.com/", verified: true, email: "help@cal.com", - locationType: "integrations:google:meet", + locationType: LocationType.GoogleMeet, } as App; // export * as api from "./api"; diff --git a/packages/app-store/huddle01video/index.ts b/packages/app-store/huddle01video/index.ts index c77f8ee9c7..5d34dfe547 100644 --- a/packages/app-store/huddle01video/index.ts +++ b/packages/app-store/huddle01video/index.ts @@ -1,6 +1,7 @@ import { randomString } from "@calcom/lib/random"; import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -23,7 +24,7 @@ export const metadata = { trending: true, isGlobal: true, email: "support@huddle01.com", - locationType: "integrations:huddle01", + locationType: LocationType.Huddle01, key: { apikey: randomString(12) }, } as App; diff --git a/packages/app-store/jitsivideo/index.ts b/packages/app-store/jitsivideo/index.ts index fd3a324cc9..9163596a3f 100644 --- a/packages/app-store/jitsivideo/index.ts +++ b/packages/app-store/jitsivideo/index.ts @@ -1,5 +1,6 @@ import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -10,7 +11,7 @@ export const metadata = { imageSrc: "/api/app-store/jitsivideo/icon.svg", variant: "conferencing", logo: "/api/app-store/jitsivideo/icon.svg", - locationType: "integrations:jitsi", + locationType: LocationType.Jitsi, publisher: "Cal.com", url: "https://jitsi.org/", verified: true, diff --git a/packages/app-store/office365video/index.ts b/packages/app-store/office365video/index.ts index 03884f02e6..2f8174604e 100644 --- a/packages/app-store/office365video/index.ts +++ b/packages/app-store/office365video/index.ts @@ -1,5 +1,6 @@ import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -21,7 +22,7 @@ export const metadata = { title: "MS Teams", trending: true, email: "help@cal.com", - locationType: "integrations:office365_video", + locationType: LocationType.Teams, } as App; export * as api from "./api"; diff --git a/packages/app-store/tandemvideo/index.ts b/packages/app-store/tandemvideo/index.ts index 8e9b28db61..baf42842f0 100644 --- a/packages/app-store/tandemvideo/index.ts +++ b/packages/app-store/tandemvideo/index.ts @@ -1,5 +1,6 @@ import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -22,7 +23,7 @@ export const metadata = { reviews: 0, isGlobal: false, email: "help@cal.com", - locationType: "integrations:tandem", + locationType: LocationType.Tandem, } as App; export * as api from "./api"; diff --git a/packages/app-store/zoomvideo/index.ts b/packages/app-store/zoomvideo/index.ts index 51075183e8..cfefb727c9 100644 --- a/packages/app-store/zoomvideo/index.ts +++ b/packages/app-store/zoomvideo/index.ts @@ -1,5 +1,6 @@ import type { App } from "@calcom/types/App"; +import { LocationType } from "../locations"; import _package from "./package.json"; export const metadata = { @@ -21,7 +22,7 @@ export const metadata = { title: "Zoom Video", trending: true, email: "help@cal.com", - locationType: "integrations:zoom", + locationType: LocationType.Zoom, } as App; export * as api from "./api"; diff --git a/packages/types/App.d.ts b/packages/types/App.d.ts index 0a8243af15..ffbfcdf1a1 100644 --- a/packages/types/App.d.ts +++ b/packages/types/App.d.ts @@ -51,7 +51,7 @@ export interface App { /** A contact email, mainly to ask for support */ email: string; /** Add this value as a posible location option in event types */ - locationType?: string; + locationType?: LocationType; /** Needed API Keys (usually for global apps) */ key?: Prisma.JsonValue; /** Needed API Keys (usually for global apps) */