mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-06 00:07:28 +00:00
35 lines
948 B
TypeScript
35 lines
948 B
TypeScript
import type { EmailAddress } from '../api/types';
|
|
|
|
export type RootStackParamList = {
|
|
MainTabs: undefined;
|
|
EmailThread: { emailId: string; threadId: string; subject?: string };
|
|
EmailSource: { emailId: string; blobId: string; subject?: string };
|
|
Compose:
|
|
| {
|
|
mode?: 'reply' | 'replyAll' | 'forward';
|
|
replyTo?: {
|
|
from: EmailAddress;
|
|
to?: EmailAddress[];
|
|
cc?: EmailAddress[];
|
|
subject: string;
|
|
body?: string;
|
|
inReplyTo?: string;
|
|
references?: string;
|
|
};
|
|
prefillTo?: EmailAddress[];
|
|
}
|
|
| undefined;
|
|
ContactDetail: { contactId: string };
|
|
ContactForm: { contactId?: string; addressBookId?: string; asGroup?: boolean };
|
|
GroupDetail: { groupId: string };
|
|
AddAccount: undefined;
|
|
};
|
|
|
|
export type MainTabsParamList = {
|
|
Mail: undefined;
|
|
Calendar: undefined;
|
|
Contacts: undefined;
|
|
Files: undefined;
|
|
Settings: undefined;
|
|
};
|