feat: v1 api connected-calendars endpoint (#14176)
* feat: v1 api connected-calendars endpoint * refactor: flatten return data * refactor: shorten code * refactor: document userId for admins
This commit is contained in:
1 parent
af8d38e3a6
commit
a8d95d54e7
4 files changed
+174
-1
No files matched your search
@@ -4,7 +4,7 @@ import type { DestinationCalendar, SelectedCalendar, User } from "@calcom/prisma
|
||||
import { AppCategories } from "@calcom/prisma/enums";
|
||||
import { credentialForCalendarServiceSelect } from "@calcom/prisma/selects/credential";
|
||||
|
||||
type UserWithCalendars = Pick<User, "id"> & {
|
||||
export type UserWithCalendars = Pick<User, "id"> & {
|
||||
selectedCalendars: Pick<SelectedCalendar, "externalId" | "integration">[];
|
||||
destinationCalendar: DestinationCalendar | null;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user