feat(interfaces): update user and request interfaces
- Renamed `is_mail_verified` to `is_email_verified` in `IDbUser` - Replaced `username` with `email` in `IReqLogin` - Commented out `dob` in `IReqRegister` - Added new field `_questionMarksFields` in `IDbFactorize` Issue: #18 Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
parent
3472c59ac2
commit
98477c5f27
@ -14,6 +14,12 @@ export interface IDbFactorizeOutput {
|
||||
* @type {string}
|
||||
*/
|
||||
_keysTemplate: string;
|
||||
|
||||
/**
|
||||
* The list of ? for the "VALUE" section
|
||||
*/
|
||||
_questionMarksFields: string;
|
||||
|
||||
/**
|
||||
* The total number of fields.
|
||||
*
|
||||
|
@ -5,7 +5,7 @@ export interface IDbUser {
|
||||
lastname: string;
|
||||
dob: Date;
|
||||
email: string;
|
||||
is_mail_verified: boolean;
|
||||
is_email_verified: boolean;
|
||||
is_admin: boolean;
|
||||
gdpr: Date;
|
||||
hash: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface IReqLogin {
|
||||
username: string;
|
||||
email: string;
|
||||
password: string;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ export interface IReqRegister {
|
||||
username: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
dob: Date;
|
||||
/*dob: Date;*/
|
||||
email: string;
|
||||
gdpr?: boolean;
|
||||
password: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user