Files
calendar/packages/app-store/googlecalendar/_metadata.ts
T
MorganandGitHub 524c0d81a7 chore: rename DWD to DelegationCredential (#19744)
* Revert "Revert "chore: rename DWD to DelegationCredential (#19703)" (#19734)"

This reverts commit 340b5ab061.

* chore: fix schema and types for now

* fix: domainWideDelegationCredentialId error type
2025-03-05 10:42:20 -03:00

30 lines
943 B
TypeScript

import { validJson } from "@calcom/lib/jsonUtils";
import type { AppMeta } from "@calcom/types/App";
import _package from "./package.json";
export const metadata = {
name: "Google Calendar",
description: _package.description,
installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)),
type: "google_calendar",
title: "Google Calendar",
variant: "calendar",
category: "calendar",
categories: ["calendar"],
logo: "icon.svg",
publisher: "Cal.com",
slug: "google-calendar",
url: "https://cal.com/",
email: "help@cal.com",
dirName: "googlecalendar",
isOAuth: true,
delegationCredential: {
// This is unused at the moment but should be used in future
// For now, we have hardcoded imports in the codebase that are supported with Google Workspace(i.e. Google Calendar and Google Meet)
workspacePlatformSlug: "google",
},
} as AppMeta;
export default metadata;