From 7af6094ff875d2a5482feaac0cf1309d2e86a3a1 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 13 May 2024 16:57:29 +0000 Subject: [PATCH] types related to the user informations queries --- src/utils/requests/Types.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/utils/requests/Types.ts b/src/utils/requests/Types.ts index 26be5a4..db015d9 100644 --- a/src/utils/requests/Types.ts +++ b/src/utils/requests/Types.ts @@ -12,4 +12,24 @@ export interface IpaginatedResponse { next : string | null, previous : string | null, results : T -} \ No newline at end of file +} + + +export interface ImerchandInformations { + marchandId: string; + nom: string; + code: string; + adresse: string; + urlSuccess: string; + urlEchec: string; + entreprise: number; + user: number; +} + +export interface IuserInformations { + username: string; + email: string; + firstName: string; + lastName: string; + marchand: ImerchandInformations; +} -- libgit2 0.27.1