modify location of icon and title for dependencies

This commit is contained in:
Matt Hill
2021-08-09 17:15:21 -06:00
committed by Aiden McClelland
parent dc3634ad31
commit 708d035455
4 changed files with 30 additions and 7 deletions

View File

@@ -619,6 +619,16 @@ export module Mock {
'health-checks': [],
},
},
'dependency-info': {
'lnd': {
title: Mock.MockManifestLnd.title,
icon: 'assets/img/service-icons/lnd.png',
},
'bitcoind': {
title: Mock.MockManifestBitcoind.title,
icon: 'assets/img/service-icons/bitcoind.png',
},
},
},
'install-progress': undefined,
}
@@ -1451,8 +1461,6 @@ export module Mock {
'dependency-errors': {
'bitcoin-proxy': {
type: DependencyErrorType.NotInstalled,
title: Mock.MockManifestBitcoinProxy.title,
icon: 'assets/img/service-icons/bitcoin-proxy.png',
},
},
},
@@ -1479,6 +1487,16 @@ export module Mock {
'health-checks': [],
},
},
'dependency-info': {
'bitcoind': {
title: Mock.MockManifestBitcoind.title,
icon: 'assets/img/service-icons/bitcoind.png',
},
'bitcoin-proxy': {
title: Mock.MockManifestBitcoinProxy.title,
icon: 'assets/img/service-icons/bitcoin-proxy.png',
},
},
},
'install-progress': undefined,
}

View File

@@ -72,6 +72,12 @@ export interface InstalledPackageDataEntry {
'system-pointers': any[]
'current-dependents': { [id: string]: CurrentDependencyInfo }
'current-dependencies': { [id: string]: CurrentDependencyInfo }
'dependency-info': {
[id: string]: {
title: string
icon: URL
}
}
'interface-addresses': {
[id: string]: { 'tor-address': string, 'lan-address': string }
}
@@ -80,8 +86,6 @@ export interface InstalledPackageDataEntry {
export interface CurrentDependencyInfo {
pointers: any[]
'health-checks': string[] // array of health check IDs
title: string
icon: URL
}
export enum PackageState {