severity enum

This commit is contained in:
Drew Ansbacher
2021-11-26 10:52:07 -07:00
committed by Aiden McClelland
parent 5bda871e00
commit 557c81f41c
5 changed files with 31 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
import { DependencyErrorType, DockerIoFormat, Manifest, PackageDataEntry, PackageMainStatus, PackageState } from 'src/app/services/patch-db/data-model'
import { DependencyErrorType, DependencySeverity, DockerIoFormat, Manifest, PackageDataEntry, PackageMainStatus, PackageState } from 'src/app/services/patch-db/data-model'
import { Log, MarketplacePkg, Metric, NotificationLevel, RR, ServerNotifications } from './api.types'
import { Operation } from 'fast-json-patch'
@@ -458,7 +458,7 @@ export module Mock {
'how': 'You can use an external node from your Embassy if you prefer.',
},
'config': null,
'critical': true,
'severity': DependencySeverity.Critical,
},
'btc-rpc-proxy': {
'version': '>=0.2.2',
@@ -468,7 +468,7 @@ export module Mock {
'how': 'To use Proxy\'s user management system, go to LND config and select Bitcoin Proxy under Bitcoin config.',
},
'config': null,
'critical': true,
'severity': DependencySeverity.Critical,
},
},
}
@@ -561,7 +561,7 @@ export module Mock {
requirement: {
type: 'required',
},
critical: false,
severity: DependencySeverity.Warning,
config: {
check: {
type: 'docker',