feat: show calendars from all logged-in accounts in Pro shell

This commit is contained in:
Linus Rath
2026-05-21 18:48:55 +02:00
parent 9fbcdf7a5f
commit 7076f1ded8
5 changed files with 437 additions and 47 deletions
+7
View File
@@ -446,6 +446,11 @@ export interface Calendar {
accountId?: string;
accountName?: string;
isShared?: boolean;
// Local account-store ID (per JMAP server connection). Populated when the
// Pro shell aggregates calendars from multiple connected accounts so we
// can route mutations to the right client. Distinct from `accountId`
// which is the JMAP server's own account UUID.
localAccountId?: string;
}
export interface CalendarRights {
@@ -467,6 +472,8 @@ export interface CalendarEvent {
accountId?: string;
accountName?: string;
isShared?: boolean;
// See `Calendar.localAccountId` — same purpose for events.
localAccountId?: string;
isDraft: boolean;
isOrigin: boolean;
utcStart: string | null;