diff --git a/entities/webservice.js b/entities/webservice.js index 7d6ac99..425a6c7 100644 --- a/entities/webservice.js +++ b/entities/webservice.js @@ -21,8 +21,9 @@ module.exports = { { label: 'meta', sections: [ 'id', - 'state', 'name', + 'state', + 'public', 'tags', 'channels', ], @@ -56,7 +57,6 @@ module.exports = { { key: 'id', editor: 'string', validator: '', - visible: false, readonly: true, }, ], @@ -84,6 +84,16 @@ module.exports = { ], }, + public: { + label: 'is public?', + hint: 'If checked, this service will be shown on the status dashboard.', + fields: [ + { key: 'public', + editor: 'checkbox', + }, + ], + }, + tags: { label: 'tags', fields: [ @@ -355,6 +365,10 @@ module.exports = { }, }, + autotest: { + default: [], + }, + visual: { type: 'array', of: [ 'string' ],