Mail account edit dialog

This commit is contained in:
Michael Shamoon
2022-11-08 11:11:35 -08:00
parent c41d1a78a8
commit 6f25917c86
11 changed files with 180 additions and 24 deletions

View File

@@ -1,11 +1,17 @@
import { ObjectWithId } from './object-with-id'
export enum IMAPSecurity {
None = 0,
SSL = 1,
STARTTLS = 2,
None = 1,
SSL = 2,
STARTTLS = 3,
}
export const IMAPSecurityLabels: Array<{ id: number; name: string }> = [
{ id: IMAPSecurity.None, name: $localize`No encryption` },
{ id: IMAPSecurity.SSL, name: $localize`SSL` },
{ id: IMAPSecurity.STARTTLS, name: $localize`STARTTLS` },
]
export interface PaperlessMailAccount extends ObjectWithId {
name: string