Frontend: Added forms to delete nodes.
This commit is contained in:
parent
a0d186da3a
commit
3a2f0799eb
13 changed files with 531 additions and 13 deletions
server/shared/validation
|
@ -3,14 +3,14 @@
|
|||
|
||||
// noinspection RegExpSimplifiable
|
||||
const CONSTRAINTS = {
|
||||
id:{
|
||||
id: {
|
||||
type: 'string',
|
||||
regex: /^[1-9][0-9]*$/,
|
||||
optional: false
|
||||
},
|
||||
token:{
|
||||
token: {
|
||||
type: 'string',
|
||||
regex: /^[0-9a-f]{16}$/i,
|
||||
regex: /^[0-9a-fA-F]{16}$/,
|
||||
optional: false
|
||||
},
|
||||
node: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue