1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

Change id generation algorithm, display notifications total on the main page

This commit is contained in:
Maksim Eltyshev 2019-10-10 02:51:54 +05:00
parent 9ebc82bf22
commit 3848cc194a
86 changed files with 264 additions and 159 deletions

View file

@ -7,11 +7,13 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
beforeId: {
type: 'number'
type: 'string',
regex: /^[0-9]+$/
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
projectId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
position: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
position: {

View file

@ -13,11 +13,13 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
labelId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -10,11 +10,13 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
labelId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -13,11 +13,13 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
userId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -10,11 +10,13 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
userId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -9,7 +9,8 @@ const Errors = {
module.exports = {
inputs: {
listId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
position: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -12,11 +12,13 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
listId: {
type: 'number'
type: 'string',
regex: /^[0-9]+$/
},
position: {
type: 'number'

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
text: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
text: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
boardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
name: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
name: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
boardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
position: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
position: {

View file

@ -13,11 +13,13 @@ const Errors = {
module.exports = {
inputs: {
projectId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
userId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
name: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
cardId: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
name: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
name: {

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},

View file

@ -7,7 +7,8 @@ const Errors = {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
},
isAdmin: {

View file

@ -65,7 +65,8 @@ const createReceiver = () => {
module.exports = {
inputs: {
id: {
type: 'number',
type: 'string',
regex: /^[0-9]+$/,
required: true
}
},