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