-
Notifications
You must be signed in to change notification settings - Fork 6
/
types.ts
53 lines (46 loc) · 1 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
export * from './src/schema/generated-schema-types';
export { ActionType, ActionResultType } from './src/batch-client/types';
export enum MailFolderView {
conversation = 'conversation',
message = 'message'
}
export enum MessageFlags {
unread = 'u',
flagged = 'f',
hasAttachment = 'a',
replied = 'r',
sentByMe = 's',
forwarded = 'w',
calendarInvite = 'v',
draft = 'd',
imapDeleted = 'x',
notificationSent = 'n',
urgent = '!',
lowPriority = '?',
priority = '+'
}
export enum ActionOps {
update = 'update',
delete = 'delete',
read = 'read',
unread = '!read',
flag = 'flag',
unflag = '!flag',
tag = 'tag',
untag = '!tag',
move = 'move',
spam = 'spam',
unspam = '!spam',
trash = 'trash',
copy = 'copy',
recover = 'recover',
rename = 'rename'
}
export enum _MessageActionOps {
update = 'update'
}
export type MessageActionOps = ActionOps | _MessageActionOps;
export enum _ConversationActionOps {
priority = 'priority'
}
export type ConversationActionOps = ActionOps | _ConversationActionOps;