feat(interfaces): add IUserUpdate interface

This commit introduces a new interface named IUserUpdate. This interface consists of optional properties like id, username, firstname, lastname, dob and gdpr. These properties are used for validating user's data during update operation.

Issue: #18
Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
Mathis H (Avnyr) 2024-04-30 16:14:47 +02:00
parent 2fb6cd6e83
commit 3d5ea6ac30
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -0,0 +1,8 @@
export interface IUserUpdate {
id?: string;
username?: string;
firstname?: string;
lastname?: string;
dob?: Date;
gdpr?: Date;
}