Fixes/locations (#2383)
* Moves locations to App Store and Core * LocationType fixes * Update App.d.ts * Re-add Google Meet * Moves location labels to the app store * Renames labels to locationLabels * Update utils.ts Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
4d58281d6f
commit
f8b7e17fda
23 files changed
+78
-53
No files matched your search
Vendored
+6
-3
@@ -1,4 +1,6 @@
|
||||
import { Prisma } from "@prisma/client";
|
||||
import type { Prisma } from "@prisma/client";
|
||||
|
||||
import type { LocationType } from "@calcom/app-store/locations";
|
||||
|
||||
/**
|
||||
* This is the definition for an app store's app metadata.
|
||||
@@ -22,7 +24,6 @@ export interface App {
|
||||
imageSrc: string;
|
||||
/** TODO determine if we should use this instead of category */
|
||||
variant: "calendar" | "payment" | "conferencing";
|
||||
label: string;
|
||||
/** The slug for the app store public page inside `/apps/[slug] */
|
||||
slug: string;
|
||||
/** The category to which this app belongs, currently we have `calendar`, `payment` or `video` */
|
||||
@@ -51,7 +52,9 @@ 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;
|
||||
/** If the app adds a location, how should it be displayed? */
|
||||
locationLabel?: string;
|
||||
/** Needed API Keys (usually for global apps) */
|
||||
key?: Prisma.JsonValue;
|
||||
/** Needed API Keys (usually for global apps) */
|
||||
|
||||
Reference in new issue
Block a user