From f1c7f69b6400d13b81332a5684f5716d65df3104 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 1 Jul 2024 09:59:49 +0000 Subject: [PATCH] renamed for convention --- src/utils/requests/Types.ts | 34 ---------------------------------- src/utils/requests/types.ts | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 src/utils/requests/Types.ts create mode 100644 src/utils/requests/types.ts diff --git a/src/utils/requests/Types.ts b/src/utils/requests/Types.ts deleted file mode 100644 index 63dff92..0000000 --- a/src/utils/requests/Types.ts +++ /dev/null @@ -1,34 +0,0 @@ -export type PaymentCode = "OM" | "FLOOZ" | "MTN" | "WAVE" | "CB"; - -export interface IpaymentType { - id: number; - code: PaymentCode; - etat: boolean; -} - -export interface IpaginatedResponse { - count: number; - next: string | null; - previous: string | null; - results: T; -} - -export interface ImerchandInformations { - // biome-ignore lint/style/useNamingConvention: - marchand_id: 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; -} diff --git a/src/utils/requests/types.ts b/src/utils/requests/types.ts new file mode 100644 index 0000000..63dff92 --- /dev/null +++ b/src/utils/requests/types.ts @@ -0,0 +1,34 @@ +export type PaymentCode = "OM" | "FLOOZ" | "MTN" | "WAVE" | "CB"; + +export interface IpaymentType { + id: number; + code: PaymentCode; + etat: boolean; +} + +export interface IpaginatedResponse { + count: number; + next: string | null; + previous: string | null; + results: T; +} + +export interface ImerchandInformations { + // biome-ignore lint/style/useNamingConvention: + marchand_id: 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