Apps Status + Updates to non-traditional calendars (#5034)

* Apps Status + Updates to non-traditional calendars

* Recurring booking tweaks

* Last tweaks

* Fixing checks

* Fixing eslint

* Reverting unneeded changes, using plain text email

* More unneeded changes revert

* Update packages/features/bookings/lib/handleNewBooking.ts

Co-authored-by: Omar López <[email protected]>

* Fixing lint

* Refactored appsStatus in emails

* Update packages/emails/src/templates/OrganizerScheduledEmail.tsx

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
Leo GiovanettiandOmar López authored and GitHub committed 2022-10-19 13:11:50 -03:00
1 parent f298865d9e
commit b6be94fd14
16 files changed
+220 -38

No files matched your search

+8
View File
@@ -114,6 +114,13 @@ export interface BookingLimit {
PER_YEAR?: number | undefined;
}
export type AppsStatus = {
appName: string;
type: typeof App["type"];
success: number;
failures: number;
};
// If modifying this interface, probably should update builders/calendarEvent files
export interface CalendarEvent {
type: string;
@@ -143,6 +150,7 @@ export interface CalendarEvent {
recurrence?: string;
recurringEvent?: RecurringEvent | null;
eventTypeId?: number | null;
appsStatus?: AppsStatus[];
seatsShowAttendees?: boolean | null;
}
+1
View File
@@ -16,6 +16,7 @@ export interface PartialReference {
export interface EventResult<T> {
type: string;
appName: string;
success: boolean;
uid: string;
createdEvent?: T;