cal.pub0.org/lib/integrations.ts

17 lines
383 B
TypeScript
Raw Normal View History

2021-04-10 12:02:35 +00:00
export function getIntegrationName(name: String) {
switch(name) {
case "google_calendar":
return "Google Calendar";
default:
return "Unknown";
}
}
export function getIntegrationType(name: String) {
switch(name) {
case "google_calendar":
return "Calendar";
default:
return "Unknown";
}
}