bulk import creation

This commit is contained in:
Vyacheslav.Sviridov
2022-06-26 21:09:48 +06:00
parent 91b643463f
commit bcc0a42f73
25 changed files with 813 additions and 86 deletions

View File

@@ -53,6 +53,14 @@ const isValidNodeName = (input) => {
}
const isXMas = () => {
const date = new Date()
if (date.getMonth() === 11 || date.getMonth() === 0) {
return true
}
}
module.exports = {
isEmpty,
isValidHardwareId,
@@ -60,4 +68,5 @@ module.exports = {
isValidString,
checkValueRangeConstraints,
isValidNodeName,
isXMas,
}