Updated webservice entity

Signed-off-by: Romein van Buren <romein@vburen.nl>
This commit is contained in:
Romein van Buren 2022-07-08 16:21:56 +02:00
parent de2b8cdba8
commit aa7d4e33a3
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -21,8 +21,9 @@ module.exports = {
{ label: 'meta', { label: 'meta',
sections: [ sections: [
'id', 'id',
'state',
'name', 'name',
'state',
'public',
'tags', 'tags',
'channels', 'channels',
], ],
@ -56,7 +57,6 @@ module.exports = {
{ key: 'id', { key: 'id',
editor: 'string', editor: 'string',
validator: '', validator: '',
visible: false,
readonly: true, 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: { tags: {
label: 'tags', label: 'tags',
fields: [ fields: [
@ -355,6 +365,10 @@ module.exports = {
}, },
}, },
autotest: {
default: [],
},
visual: { visual: {
type: 'array', type: 'array',
of: [ 'string' ], of: [ 'string' ],