LocationType fixes
parent
903f7eb7ac
commit
14d99c26a0
|
@ -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;
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue