Filtering of nodes in admin panel.
This commit is contained in:
parent
26e6b53333
commit
8660553d0f
9 changed files with 176 additions and 76 deletions
shared/validation
|
@ -47,6 +47,26 @@ angular.module('ffffng').constant('Constraints', {
|
|||
optional: false
|
||||
}
|
||||
},
|
||||
nodeFilters: {
|
||||
hasKey: {
|
||||
type: 'boolean',
|
||||
optional: true
|
||||
},
|
||||
hasCoords: {
|
||||
type: 'boolean',
|
||||
optional: true
|
||||
},
|
||||
onlineState: {
|
||||
type: 'string',
|
||||
regex: /^(ONLINE|OFFLINE)$/,
|
||||
optional: true
|
||||
},
|
||||
monitoringState: {
|
||||
type: 'string',
|
||||
regex: /^(disabled|active|pending)$/,
|
||||
optional: true
|
||||
}
|
||||
},
|
||||
rest: {
|
||||
list: {
|
||||
_page: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue