refactor: clean code
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
export interface CacheRequest {
|
||||
server: string;
|
||||
port: number;
|
||||
password?: string;
|
||||
server: string;
|
||||
port: number;
|
||||
password?: string;
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
export interface DatabaseRequest {
|
||||
server: string;
|
||||
port: number;
|
||||
database: string;
|
||||
user: string;
|
||||
ssl: boolean;
|
||||
password?: string;
|
||||
server: string;
|
||||
port: number;
|
||||
database: string;
|
||||
user: string;
|
||||
ssl: boolean;
|
||||
password?: string;
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
export interface EmailRequest {
|
||||
server: string;
|
||||
from: string;
|
||||
password: string;
|
||||
port: number;
|
||||
ssl: boolean;
|
||||
user: string;
|
||||
server: string;
|
||||
from: string;
|
||||
password: string;
|
||||
port: number;
|
||||
ssl: boolean;
|
||||
user: string;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
export interface LoggingRequest {
|
||||
enableLogToFile: boolean;
|
||||
logFileName?: string;
|
||||
logFilePath?: string;
|
||||
enableLogToFile: boolean;
|
||||
logFileName?: string;
|
||||
logFilePath?: string;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface ScheduleConfigurationRequest {
|
||||
cronUpdateSchedule?: string;
|
||||
startTerm: string;
|
||||
cronUpdateSchedule?: string;
|
||||
startTerm: string;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
export interface CreateUserRequest {
|
||||
email: string;
|
||||
username: string;
|
||||
password: string;
|
||||
email: string;
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface LoginRequest {
|
||||
username: string;
|
||||
password: string;
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
export interface ScheduleRequest {
|
||||
groups?: Array<number>;
|
||||
isEven?: boolean;
|
||||
disciplines?: Array<number>;
|
||||
professors?: Array<number>;
|
||||
lectureHalls?: Array<number>;
|
||||
groups?: Array<number>;
|
||||
isEven?: boolean;
|
||||
disciplines?: Array<number>;
|
||||
professors?: Array<number>;
|
||||
lectureHalls?: Array<number>;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {TwoFactorAuthentication} from "@model/twoFactorAuthentication";
|
||||
|
||||
export interface TwoFactorAuthRequest {
|
||||
code: string;
|
||||
method: TwoFactorAuthentication;
|
||||
code: string;
|
||||
method: TwoFactorAuthentication;
|
||||
}
|
||||
|
Reference in New Issue
Block a user