From aa7d4e33a3d25126284a50f9a2de5c47acbaa739 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Fri, 8 Jul 2022 16:21:56 +0200 Subject: [PATCH] Updated webservice entity Signed-off-by: Romein van Buren --- entities/webservice.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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' ],