Moved App definition to types

pull/2022/head
zomars 2022-02-22 10:22:36 -07:00
parent 3522af1a16
commit c32c29a624
7 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,5 @@
import { App } from "@lib/apps/interfaces/App";
import type { App } from "@calcom/types/App";
import { useLocale } from "@lib/hooks/useLocale";
import AppCard from "./AppCard";

View File

@ -4,7 +4,8 @@ import "@glidejs/glide/dist/css/glide.theme.min.css";
import { ArrowLeftIcon, ArrowRightIcon } from "@heroicons/react/solid";
import { useEffect, useState } from "react";
import type { App } from "@lib/apps/interfaces/App";
import type { App } from "@calcom/types/App";
import { useLocale } from "@lib/hooks/useLocale";
import useMediaQuery from "@lib/hooks/useMediaQuery";

View File

@ -1,5 +1,6 @@
import type { App } from "@calcom/types/App";
import { validJson } from "../../jsonUtils";
import { App } from "../interfaces/App";
export const APPS = {
google_calendar: {

View File

@ -1,4 +1,4 @@
import { App } from "../interfaces/App";
import type { App } from "@calcom/types/App";
export const APPS = {
zoom_video: {

View File

@ -1,4 +1,4 @@
import { App } from "../interfaces/App";
import type { App } from "@calcom/types/App";
export const APPS = {
stripe_payment: {

View File

@ -1,9 +1,10 @@
import { Prisma } from "@prisma/client";
import _ from "lodash";
import type { App } from "@calcom/types/App";
import { APPS as CalendarApps } from "@lib/apps/calendar/config";
import { APPS as ConferencingApps } from "@lib/apps/conferencing/config";
import { App } from "@lib/apps/interfaces/App";
import { APPS as PaymentApps } from "@lib/apps/payment/config";
const ALL_APPS_MAP = { ...CalendarApps, ...ConferencingApps, ...PaymentApps };