Typescript migration:

* utils/resources.js
* validation/constraints.js (only server side)
This commit is contained in:
baldo 2020-04-09 01:41:45 +02:00
parent d97635d32a
commit b1755047af
7 changed files with 459 additions and 234 deletions
shared/validation

View file

@ -1,5 +1,8 @@
'use strict';
// ATTENTION: Those constraints are no longer the same file as for the server.
// Make sure changes are also reflected in /server/validation/constraints.ts.
(function () {
var constraints = {
id:{