Butt generation

Javascript code posted by nabijaczleweli
created at 25 Feb 14:36, updated at 01 Mar 11:00

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"use strict";

import { ValidationSchema } from "express-validator/check";

// tslint:disable:object-literal-sort-keys
export const requestSchema: ValidationSchema = {
    customerName: {
        in: 'body',
    },
    password: {
        in: 'body',
    },
    email: {
        in: 'body',
        optional: true,
    }
};
341 Bytes in 4 ms with coderay