simplifications and refactorings
This commit is contained in:
@@ -78,38 +78,6 @@ export interface UserMessageQueueStatus {
|
||||
failed_count: number;
|
||||
}
|
||||
|
||||
export interface SmtpTestAttempt {
|
||||
label: string;
|
||||
smtp_host: string;
|
||||
smtp_port: number;
|
||||
use_tls: boolean;
|
||||
use_ssl: boolean;
|
||||
status: "ok" | "failed";
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export interface SmtpTestSelectedMode {
|
||||
label: string;
|
||||
smtp_host: string;
|
||||
smtp_port: number;
|
||||
use_tls: boolean;
|
||||
use_ssl: boolean;
|
||||
}
|
||||
|
||||
export interface SmtpTestResponse {
|
||||
status: "ok" | "error";
|
||||
message: string;
|
||||
from_address: string;
|
||||
from_name: string;
|
||||
smtp_host: string;
|
||||
smtp_port: number;
|
||||
use_tls: boolean;
|
||||
use_ssl: boolean;
|
||||
authenticated: boolean;
|
||||
selected_mode: SmtpTestSelectedMode | null;
|
||||
attempts: SmtpTestAttempt[];
|
||||
}
|
||||
|
||||
export interface NowPlayingSession {
|
||||
user: string;
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user