additionInformation => additionalInformation
This commit is contained in:
1 parent
41c5ad45fd
commit
13f20dd7cf
12 files changed
+26
-26
No files matched your search
@@ -145,7 +145,7 @@ export default class GoogleCalendarService implements Calendar {
|
||||
requestBody: {
|
||||
description: getRichDescription({
|
||||
...calEventRaw,
|
||||
additionInformation: { hangoutLink: event.data.hangoutLink || "" },
|
||||
additionalInformation: { hangoutLink: event.data.hangoutLink || "" },
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@ import { v5 as uuidv5 } from "uuid";
|
||||
import { FAKE_DAILY_CREDENTIAL } from "@calcom/app-store/dailyvideo/lib/VideoApiAdapter";
|
||||
import getApps from "@calcom/app-store/utils";
|
||||
import prisma from "@calcom/prisma";
|
||||
import type { AdditionInformation, CalendarEvent } from "@calcom/types/Calendar";
|
||||
import type { AdditionalInformation, CalendarEvent } from "@calcom/types/Calendar";
|
||||
import type {
|
||||
CreateUpdateResult,
|
||||
EventResult,
|
||||
@@ -19,7 +19,7 @@ import { createEvent, updateEvent } from "./CalendarManager";
|
||||
import { LocationType } from "./location";
|
||||
import { createMeeting, updateMeeting } from "./videoClient";
|
||||
|
||||
export type Event = AdditionInformation & VideoCallData;
|
||||
export type Event = AdditionalInformation & VideoCallData;
|
||||
|
||||
export const isZoom = (location: string): boolean => {
|
||||
return location === "integrations:zoom";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { DestinationCalendar } from "@prisma/client";
|
||||
|
||||
import { AdditionInformation, CalendarEvent, ConferenceData, Person } from "@calcom/types/Calendar";
|
||||
import { AdditionalInformation, CalendarEvent, ConferenceData, Person } from "@calcom/types/Calendar";
|
||||
|
||||
class CalendarEventClass implements CalendarEvent {
|
||||
type!: string;
|
||||
@@ -13,7 +13,7 @@ class CalendarEventClass implements CalendarEvent {
|
||||
team?: { name: string; members: string[] };
|
||||
location?: string | null;
|
||||
conferenceData?: ConferenceData;
|
||||
additionInformation?: AdditionInformation;
|
||||
additionalInformation?: AdditionalInformation;
|
||||
uid?: string | null;
|
||||
videoCallData?: any;
|
||||
paymentInfo?: any;
|
||||
|
||||
@@ -74,8 +74,8 @@ export function LocationInfo(props: { calEvent: CalendarEvent }) {
|
||||
);
|
||||
}
|
||||
|
||||
if (props.calEvent.additionInformation?.hangoutLink) {
|
||||
const hangoutLink: string = props.calEvent.additionInformation.hangoutLink;
|
||||
if (props.calEvent.additionalInformation?.hangoutLink) {
|
||||
const hangoutLink: string = props.calEvent.additionalInformation.hangoutLink;
|
||||
|
||||
return (
|
||||
<Info
|
||||
|
||||
@@ -94,8 +94,8 @@ export const getLocation = (calEvent: CalendarEvent) => {
|
||||
return calEvent.videoCallData.url;
|
||||
}
|
||||
|
||||
if (calEvent.additionInformation?.hangoutLink) {
|
||||
return calEvent.additionInformation.hangoutLink;
|
||||
if (calEvent.additionalInformation?.hangoutLink) {
|
||||
return calEvent.additionalInformation.hangoutLink;
|
||||
}
|
||||
|
||||
return providerName || calEvent.location || "";
|
||||
|
||||
Vendored
+3
-3
@@ -79,7 +79,7 @@ export interface ConferenceData {
|
||||
createRequest?: calendar_v3.Schema$CreateConferenceRequest;
|
||||
}
|
||||
|
||||
export interface AdditionInformation {
|
||||
export interface AdditionalInformation {
|
||||
conferenceData?: ConferenceData;
|
||||
entryPoints?: EntryPoint[];
|
||||
hangoutLink?: string;
|
||||
@@ -111,7 +111,7 @@ export interface CalendarEvent {
|
||||
};
|
||||
location?: string | null;
|
||||
conferenceData?: ConferenceData;
|
||||
additionInformation?: AdditionInformation;
|
||||
additionalInformation?: AdditionalInformation;
|
||||
uid?: string | null;
|
||||
videoCallData?: VideoCallData;
|
||||
paymentInfo?: PaymentInfo | null;
|
||||
@@ -133,7 +133,7 @@ export interface EntryPoint {
|
||||
password?: string;
|
||||
}
|
||||
|
||||
export interface AdditionInformation {
|
||||
export interface AdditionalInformation {
|
||||
conferenceData?: ConferenceData;
|
||||
entryPoints?: EntryPoint[];
|
||||
hangoutLink?: string;
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { PartialReference } from "./EventManager";
|
||||
import type { VideoCallData } from "./VideoApiAdapter";
|
||||
|
||||
export type Event = AdditionInformation & VideoCallData;
|
||||
export type Event = AdditionalInformation & VideoCallData;
|
||||
Reference in new issue
Block a user