2021-12-29 23:08:41 +00:00
|
|
|
export class CommonSelectedNode {
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
public options?: any,
|
|
|
|
public ln_server_url?: string,
|
|
|
|
public macaroon_path?: string,
|
2023-12-06 04:32:05 +00:00
|
|
|
public macaroon_value?: string,
|
|
|
|
public rune_path?: string,
|
|
|
|
public rune_value?: string,
|
2021-12-29 23:08:41 +00:00
|
|
|
public ln_api_password?: string,
|
|
|
|
public swap_server_url?: string,
|
|
|
|
public boltz_server_url?: string,
|
|
|
|
public config_path?: string,
|
|
|
|
public rtl_conf_file_path?: string,
|
|
|
|
public swap_macaroon_path?: string,
|
|
|
|
public boltz_macaroon_path?: string,
|
|
|
|
public bitcoind_config_path?: string,
|
|
|
|
public channel_backup_path?: string,
|
|
|
|
public log_level?: string,
|
|
|
|
public log_file?: string,
|
|
|
|
public index?: string,
|
|
|
|
public ln_node?: string,
|
|
|
|
public ln_implementation?: string,
|
|
|
|
public user_persona?: string,
|
|
|
|
public theme_mode?: string,
|
|
|
|
public theme_color?: string,
|
2022-11-16 03:17:23 +00:00
|
|
|
public unannounced_channels?: boolean,
|
2021-12-29 23:08:41 +00:00
|
|
|
public fiat_conversion?: boolean,
|
|
|
|
public currency_unit?: string,
|
|
|
|
public ln_version?: string,
|
|
|
|
public api_version?: string,
|
2022-08-24 07:58:18 +00:00
|
|
|
public enable_offers?: boolean,
|
|
|
|
public enable_peerswap?: boolean
|
2021-12-29 23:08:41 +00:00
|
|
|
) { }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export class AuthenticationConfiguration {
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
public configPath?: string,
|
|
|
|
public swapMacaroonPath?: string,
|
|
|
|
public boltzMacaroonPath?: string
|
|
|
|
) { }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export class NodeSettingsConfiguration {
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
public userPersona?: string,
|
|
|
|
public themeMode?: string,
|
|
|
|
public themeColor?: string,
|
2022-11-16 03:17:23 +00:00
|
|
|
public unannouncedChannels?: boolean,
|
2021-12-29 23:08:41 +00:00
|
|
|
public fiatConversion?: boolean,
|
|
|
|
public currencyUnit?: string,
|
|
|
|
public bitcoindConfigPath?: string,
|
|
|
|
public logLevel?: string,
|
|
|
|
public lnServerUrl?: string,
|
|
|
|
public swapServerUrl?: string,
|
|
|
|
public boltzServerUrl?: string,
|
|
|
|
public channelBackupPath?: string,
|
2022-08-24 07:58:18 +00:00
|
|
|
public enableOffers?: boolean,
|
|
|
|
public enablePeerswap?: boolean
|
2021-12-29 23:08:41 +00:00
|
|
|
) { }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export class LogJSONObj {
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
public level?: string,
|
|
|
|
public msg?: string,
|
|
|
|
public data?: string | any | any[],
|
|
|
|
public error?: string | any,
|
|
|
|
public fileName?: string,
|
|
|
|
public selectedNode?: CommonSelectedNode
|
|
|
|
) { }
|
|
|
|
|
|
|
|
}
|