mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
manifest in dependency-onfo
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
<img [src]="pkg.installed['dependency-info'][dep.key].icon" />
|
||||
</ion-thumbnail>
|
||||
<ion-label class="ion-text-wrap">
|
||||
<h2 style="font-family: 'Montserrat'">{{ pkg.installed['dependency-info'][dep.key].title }}</h2>
|
||||
<h2 style="font-family: 'Montserrat'">{{ pkg.installed['dependency-info'][dep.key].manifest.title }}</h2>
|
||||
<p>{{ pkg.manifest.dependencies[dep.key].version | displayEmver }}</p>
|
||||
<p><ion-text [color]="pkg.installed.status['dependency-errors'][dep.key] ? 'warning' : 'success'">{{ pkg.installed.status['dependency-errors'][dep.key] ? pkg.installed.status['dependency-errors'][dep.key].type : 'satisfied' }}</ion-text></p>
|
||||
</ion-label>
|
||||
|
||||
@@ -164,7 +164,7 @@ export class AppShowPage {
|
||||
}
|
||||
|
||||
private async installDep (depId: string): Promise<void> {
|
||||
const title = this.pkg.installed['dependency-info'][depId].title
|
||||
const title = this.pkg.installed['dependency-info'][depId].manifest.title
|
||||
const version = this.pkg.manifest.dependencies[depId].version
|
||||
const dependentTitle = this.pkg.manifest.title
|
||||
|
||||
|
||||
@@ -621,11 +621,11 @@ export module Mock {
|
||||
},
|
||||
'dependency-info': {
|
||||
'lnd': {
|
||||
title: Mock.MockManifestLnd.title,
|
||||
manifest: Mock.MockManifestLnd,
|
||||
icon: 'assets/img/service-icons/lnd.png',
|
||||
},
|
||||
'bitcoind': {
|
||||
title: Mock.MockManifestBitcoind.title,
|
||||
manifest: Mock.MockManifestBitcoind,
|
||||
icon: 'assets/img/service-icons/bitcoind.png',
|
||||
},
|
||||
},
|
||||
@@ -1489,11 +1489,11 @@ export module Mock {
|
||||
},
|
||||
'dependency-info': {
|
||||
'bitcoind': {
|
||||
title: Mock.MockManifestBitcoind.title,
|
||||
manifest: Mock.MockManifestBitcoind,
|
||||
icon: 'assets/img/service-icons/bitcoind.png',
|
||||
},
|
||||
'bitcoin-proxy': {
|
||||
title: Mock.MockManifestBitcoinProxy.title,
|
||||
manifest: Mock.MockManifestBitcoinProxy,
|
||||
icon: 'assets/img/service-icons/bitcoin-proxy.png',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -74,7 +74,7 @@ export interface InstalledPackageDataEntry {
|
||||
'current-dependencies': { [id: string]: CurrentDependencyInfo }
|
||||
'dependency-info': {
|
||||
[id: string]: {
|
||||
title: string
|
||||
manifest: Manifest
|
||||
icon: URL
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user