mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Config refactor (#2128)
* prevent excessive nesting for unions, closes #2107, and genrally refactor config * a littel cleaner * working but with inefficiencies * remove warning from union list * introduce messaging for config with only pointers * feat(shared): `ElasticContainer` add new component (#2134) * feat(shared): `ElasticContainer` add new component * chore: fix imports * revert to 250 for resize * remove logs Co-authored-by: Alex Inkin <alexander@inkin.ru>
This commit is contained in:
committed by
Aiden McClelland
parent
c16404bb2d
commit
d223ac4675
@@ -291,18 +291,17 @@ export module Mock {
|
||||
},
|
||||
},
|
||||
bitcoinNode: {
|
||||
name: 'Bitcoin Node Settings',
|
||||
type: 'union',
|
||||
description: 'The node settings',
|
||||
default: 'internal',
|
||||
warning: 'Careful changing this',
|
||||
tag: {
|
||||
id: 'type',
|
||||
name: 'Type',
|
||||
'variant-names': {
|
||||
internal: 'Internal',
|
||||
external: 'External',
|
||||
},
|
||||
name: 'Bitcoin Node Settings',
|
||||
description: 'The node settings',
|
||||
warning: 'Careful changing this',
|
||||
},
|
||||
variants: {
|
||||
internal: {
|
||||
@@ -1249,12 +1248,12 @@ export module Mock {
|
||||
spec: {
|
||||
tag: {
|
||||
id: 'preference',
|
||||
name: 'Preferences',
|
||||
'variant-names': {
|
||||
summer: 'Summer',
|
||||
winter: 'Winter',
|
||||
other: 'Other',
|
||||
},
|
||||
name: 'Preference',
|
||||
},
|
||||
// this default is used to make a union selection when a new list element is first created
|
||||
default: 'summer',
|
||||
@@ -1425,18 +1424,17 @@ export module Mock {
|
||||
},
|
||||
},
|
||||
'bitcoin-node': {
|
||||
name: 'Bitcoin Node Settings',
|
||||
type: 'union',
|
||||
description: 'Options<ul><li>Item 1</li><li>Item 2</li></ul>',
|
||||
default: 'internal',
|
||||
warning: 'Careful changing this',
|
||||
tag: {
|
||||
id: 'type',
|
||||
name: 'Type',
|
||||
'variant-names': {
|
||||
internal: 'Internal',
|
||||
external: 'External',
|
||||
},
|
||||
name: 'Bitcoin Node Settings',
|
||||
description: 'Options<ul><li>Item 1</li><li>Item 2</li></ul>',
|
||||
warning: 'Careful changing this',
|
||||
},
|
||||
variants: {
|
||||
internal: {
|
||||
|
||||
Reference in New Issue
Block a user