mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
feat: Change all the dependency errors at once (#2427)
* feat: Change all the dependency errors at once * remove deprecated dependency-errors field * set pointers to [] by default * chore: Something about fixing the build * fix migration --------- Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -120,7 +120,7 @@ export class AppShowPage {
|
||||
return {
|
||||
id: depId,
|
||||
version: pkgInstalled.manifest.dependencies[depId].version, // do we want this version range?
|
||||
title: depInfo?.manifest?.title || depId,
|
||||
title: depInfo?.title || depId,
|
||||
icon: depInfo?.icon || '',
|
||||
errorText: errorText
|
||||
? `${errorText}. ${pkgInstalled.manifest.title} will not work as expected.`
|
||||
|
||||
@@ -1958,7 +1958,7 @@ export module Mock {
|
||||
},
|
||||
'dependency-info': {
|
||||
bitcoind: {
|
||||
manifest: Mock.MockManifestBitcoind,
|
||||
title: Mock.MockManifestBitcoind.title,
|
||||
icon: 'assets/img/service-icons/bitcoind.svg',
|
||||
},
|
||||
},
|
||||
@@ -2012,11 +2012,11 @@ export module Mock {
|
||||
},
|
||||
'dependency-info': {
|
||||
bitcoind: {
|
||||
manifest: Mock.MockManifestBitcoind,
|
||||
title: Mock.MockManifestBitcoind.title,
|
||||
icon: 'assets/img/service-icons/bitcoind.svg',
|
||||
},
|
||||
'btc-rpc-proxy': {
|
||||
manifest: Mock.MockManifestBitcoinProxy,
|
||||
title: Mock.MockManifestBitcoinProxy.title,
|
||||
icon: 'assets/img/service-icons/btc-rpc-proxy.png',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -664,15 +664,11 @@ export const mockPatchData: DataModel = {
|
||||
},
|
||||
'dependency-info': {
|
||||
bitcoind: {
|
||||
manifest: {
|
||||
title: 'Bitcoin Core',
|
||||
} as Manifest,
|
||||
title: 'Bitcoin Core',
|
||||
icon: 'assets/img/service-icons/bitcoind.svg',
|
||||
},
|
||||
'btc-rpc-proxy': {
|
||||
manifest: {
|
||||
title: 'Bitcoin Proxy',
|
||||
} as Manifest,
|
||||
title: 'Bitcoin Proxy',
|
||||
icon: 'assets/img/service-icons/btc-rpc-proxy.png',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -132,7 +132,7 @@ export interface InstalledPackageDataEntry {
|
||||
'current-dependencies': { [id: string]: CurrentDependencyInfo }
|
||||
'dependency-info': {
|
||||
[id: string]: {
|
||||
manifest: Manifest
|
||||
title: string
|
||||
icon: Url
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user