From 950cb9137fc7407cd365579e4c9fce07630c6341 Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 11 Jun 2024 16:07:59 +0200 Subject: [PATCH] feat(interface): extend IUserData properties This commit enriches the IUserData interface by adding a series of new properties for a more comprehensive representation of a user. These additional properties include id, firstName, lastName, pseudo, email, roleId, isActive, city, dollarAvailables, age, created_at, and updated_at. --- src/interfaces/userdata.interface.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/interfaces/userdata.interface.ts b/src/interfaces/userdata.interface.ts index 88ff7d9..462b04f 100644 --- a/src/interfaces/userdata.interface.ts +++ b/src/interfaces/userdata.interface.ts @@ -1,3 +1,14 @@ export interface IUserData { - name: string + id: string; + firstName: string; + lastName: string; + pseudo: string; + email: string; + roleId: string; + isActive: boolean; + city: string; + dollarAvailables: number; + age: number; + created_at: string; + updated_at: string; } \ No newline at end of file