added animations and pageLoad and preLoader
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
const {body, validationResult} = require('express-validator')
|
||||
const v_m = require('../validation_messages')
|
||||
|
||||
const validationMessages = {
|
||||
fa: {},
|
||||
en: {}
|
||||
}
|
||||
|
||||
module.exports = [
|
||||
[
|
||||
body('method')
|
||||
.notEmpty().withMessage(),
|
||||
body('type')
|
||||
.notEmpty().withMessage(),
|
||||
body('class')
|
||||
.notEmpty().withMessage(),
|
||||
body('pointLoad')
|
||||
.notEmpty().withMessage(),
|
||||
body('distributedLoad')
|
||||
.notEmpty().withMessage(),
|
||||
body('bearingBarPitch')
|
||||
.notEmpty().withMessage(),
|
||||
body('crossBarPitCh')
|
||||
.notEmpty().withMessage(),
|
||||
body('clearSpan')
|
||||
.notEmpty().withMessage(),
|
||||
body('bearingBarThickness')
|
||||
.notEmpty().withMessage(),
|
||||
body('bearingBarHeight')
|
||||
.notEmpty().withMessage()
|
||||
],
|
||||
(req, res) => {
|
||||
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user