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.
RTL/src/app/shared/models/RTLconfig.ts

48 lines
1012 B
TypeScript

export class SSO {
constructor(
public rtlSSO: number,
public logoutRedirectLink: string
) { }
}
export class Settings {
constructor(
public flgSidenavOpened: boolean,
public flgSidenavPinned: boolean,
public menu: string,
public menuType: string,
public theme: string,
public satsToBTC: boolean,
public bitcoindConfigPath?: string,
public enableLogging?: boolean,
public lndServerUrl?: string,
public channelBackupPath?: string
) { }
}
export class Authentication {
constructor(
public nodeAuthType?: string,
public lndConfigPath?: string,
public bitcoindConfigPath?: string
) { }
}
export class Node {
constructor(
public settings: Settings,
public authentication: Authentication,
public index?: string,
public lnNode?: string,
public lnImplementation?: string
) { }
}
export class RTLConfiguration {
constructor(
public selectedNodeIndex: number,
public sso: SSO,
public nodes: Node[]
) { }
}