You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
910 B
TypeScript
49 lines
910 B
TypeScript
3 years ago
|
import { ServicesEnum } from '../services/consts-enums-functions';
|
||
|
import { ConfigSettingsNode, Settings } from './RTLconfig';
|
||
|
|
||
|
export interface OpenSnackBar {
|
||
|
message: string;
|
||
|
duration?: number;
|
||
|
type?: string;
|
||
|
}
|
||
|
|
||
|
export interface SaveSettings {
|
||
|
uiMessage: string;
|
||
|
settings?: Settings;
|
||
|
defaultNodeIndex?: number;
|
||
|
}
|
||
|
|
||
|
export interface SetSelectedNode {
|
||
|
uiMessage: string;
|
||
|
prevLnNodeIndex: number;
|
||
|
currentLnNode: ConfigSettingsNode;
|
||
|
isInitialSetup: boolean;
|
||
|
}
|
||
|
|
||
|
export interface UpdateServiceSetting {
|
||
|
uiMessage: string;
|
||
|
service: ServicesEnum;
|
||
|
settings: any;
|
||
|
}
|
||
|
|
||
|
export interface ResetPassword {
|
||
|
currPassword: string;
|
||
|
newPassword: string;
|
||
|
}
|
||
|
|
||
|
export interface Login {
|
||
|
password: string;
|
||
|
defaultPassword: boolean;
|
||
|
twoFAToken?: string;
|
||
|
}
|
||
|
|
||
|
export interface VerifyTwoFA {
|
||
|
token: string;
|
||
|
authResponse: any;
|
||
|
}
|
||
|
|
||
|
export interface FetchFile {
|
||
|
channelPoint: string;
|
||
|
path?: string;
|
||
|
}
|