feat(interfaces): add IReqRegister interface
This interface defines the register request structure, including `username`, `displayName`, `firstName`, `lastName`, `password`, and `gdpr` status. This will ensure consistency in the form of request data throughout the application. Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
parent
a430044d95
commit
dda3eea9e1
8
src/interfaces/requests/IReqRegister.ts
Normal file
8
src/interfaces/requests/IReqRegister.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export interface IReqRegister {
|
||||
username: string;
|
||||
displayName: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
password: string;
|
||||
gdpr?: boolean;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user