mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 09:15:00 +03:00
Change id generation algorithm, display notifications total on the main page
This commit is contained in:
@@ -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]+$/
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
projectId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -9,7 +9,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
listId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
cardId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
text: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
text: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
boardId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
boardId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
cardId: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,8 @@ const Errors = {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
},
|
||||
isAdmin: {
|
||||
|
||||
@@ -65,7 +65,8 @@ const createReceiver = () => {
|
||||
module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'number',
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user