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}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
_keysTemplate: string;
|
_keysTemplate: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The list of ? for the "VALUE" section
|
||||||
|
*/
|
||||||
|
_questionMarksFields: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The total number of fields.
|
* The total number of fields.
|
||||||
*
|
*
|
||||||
|
@ -5,7 +5,7 @@ export interface IDbUser {
|
|||||||
lastname: string;
|
lastname: string;
|
||||||
dob: Date;
|
dob: Date;
|
||||||
email: string;
|
email: string;
|
||||||
is_mail_verified: boolean;
|
is_email_verified: boolean;
|
||||||
is_admin: boolean;
|
is_admin: boolean;
|
||||||
gdpr: Date;
|
gdpr: Date;
|
||||||
hash: string;
|
hash: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
export interface IReqLogin {
|
export interface IReqLogin {
|
||||||
username: string;
|
email: string;
|
||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ export interface IReqRegister {
|
|||||||
username: string;
|
username: string;
|
||||||
firstName: string;
|
firstName: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
dob: Date;
|
/*dob: Date;*/
|
||||||
email: string;
|
email: string;
|
||||||
gdpr?: boolean;
|
gdpr?: boolean;
|
||||||
password: string;
|
password: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user