mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
import Schema from 'async-validator';
|
|
|
|
export const SIGN_IN_REQUEST_VALIDATOR = new Schema({
|
|
username: {
|
|
required: true,
|
|
message: 'Please provide a username'
|
|
},
|
|
password: {
|
|
required: true,
|
|
message: 'Please provide a password'
|
|
}
|
|
});
|