aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
blob: 2f6c00a65dcc3560cd9d89a476341520faeccd8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export interface Identity {
  id?: string;
  email?: string;
  name?: string;
}

export interface ComposeDetails {
  subject?: string;
  to?: string[];
  cc?: string[];
  bcc?: string[];
  bodyPlain?: string;
  bodyHTML?: string;
  identityId?: string;
  isHtml?: boolean;
}

export interface ComposeContext {
  account: Identity;
  compose: ComposeDetails;
}