diff --git a/src/components/PaymentOption.tsx b/src/components/PaymentOption.tsx index ed3b332..c83f6b6 100644 --- a/src/components/PaymentOption.tsx +++ b/src/components/PaymentOption.tsx @@ -1,4 +1,4 @@ -import type { PaymentCode } from "@/utils/requests/Types"; +import type { PaymentCode } from "@/utils/requests/types"; import { images } from "@styles/Commons"; import { Image, TouchableOpacity } from "react-native"; import Box from "./bases/Box"; diff --git a/src/components/TransactionInformationsItem.tsx b/src/components/TransactionInformationsItem.tsx index 34af496..d6a0e43 100644 --- a/src/components/TransactionInformationsItem.tsx +++ b/src/components/TransactionInformationsItem.tsx @@ -1,4 +1,4 @@ -import type { PaymentCode } from "@/utils/requests/Types"; +import type { PaymentCode } from "@/utils/requests/types"; import moment from "moment"; import "moment/locale/fr"; import PaymentOption from "./PaymentOption"; diff --git a/src/navigations/Types.ts b/src/navigations/Types.ts index 3092510..f331d6b 100644 --- a/src/navigations/Types.ts +++ b/src/navigations/Types.ts @@ -1,4 +1,4 @@ -import type { PaymentCode } from "@/utils/requests/Types"; +import type { PaymentCode } from "@/utils/requests/types"; import type { IwaveStarterRespone } from "@/utils/requests/wavePayment"; import type { NativeStackScreenProps } from "@react-navigation/native-stack"; diff --git a/src/utils/logger.ts b/src/utils/logger.ts index 9761687..dd48f23 100644 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -1,39 +1,38 @@ -import { configLoggerType, consoleTransport, logger } from "react-native-logs"; +import { type configLoggerType, consoleTransport, logger } from "react-native-logs"; const levels = { - error: 6, - warn: 5, - info: 4, - http: 3, - verbose: 2, - debug: 1, - silly: 0 + error: 6, + warn: 5, + info: 4, + http: 3, + verbose: 2, + debug: 1, + silly: 0, }; const colors = { - error: "redBright", - warn: "yellowBright", - info: "whiteBright", - http: "blueBright", - verbose: "cyanBright", - debug: "greenBright", - silly: "magentaBright" + error: "redBright", + warn: "yellowBright", + info: "whiteBright", + http: "blueBright", + verbose: "cyanBright", + debug: "greenBright", + silly: "magentaBright", }; -const defaultConfig : configLoggerType = { - levels, - severity : "silly", - transport : consoleTransport, - transportOptions : { - colors - }, - async : true, - dateFormat : "iso", - printLevel : true, - printDate : true, - enabled : true, -} - +const defaultConfig: configLoggerType = { + levels, + severity: "silly", + transport: consoleTransport, + transportOptions: { + colors, + }, + async: true, + dateFormat: "iso", + printLevel: true, + printDate: true, + enabled: true, +}; const LOG = logger.createLogger(defaultConfig);