mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-17 19:14:08 +08:00
[offers][refactor] Rename currency exchanger file to follow camelCase
This commit is contained in:
@ -8,7 +8,7 @@ function GenerateAnalysis() {
|
||||
return (
|
||||
<div>
|
||||
{JSON.stringify(
|
||||
analysisMutation.mutate({ profileId: 'cl9j50xzk008vutfqg6mta2ey' }),
|
||||
analysisMutation.mutate({ profileId: 'cl9jj2ks1001li9fn9np47wjr' }),
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
@ -5,7 +5,7 @@ import { trpc } from '~/utils/trpc';
|
||||
function GetAnalysis() {
|
||||
const analysis = trpc.useQuery([
|
||||
'offers.analysis.get',
|
||||
{ profileId: 'cl9j50xzk008vutfqg6mta2ey' },
|
||||
{ profileId: 'cl9jj2ks1001li9fn9np47wjr' },
|
||||
]);
|
||||
|
||||
return <div>{JSON.stringify(analysis.data)}</div>;
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
profileDtoMapper,
|
||||
} from '~/mappers/offers-mappers';
|
||||
import { baseCurrencyString } from '~/utils/offers/currency';
|
||||
import { convert } from '~/utils/offers/currency/currency-exchange';
|
||||
import { convert } from '~/utils/offers/currency/currencyExchange';
|
||||
import { createValidationRegex } from '~/utils/offers/zodRegex';
|
||||
|
||||
import { createRouter } from '../context';
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
dashboardOfferDtoMapper,
|
||||
getOffersResponseMapper,
|
||||
} from '~/mappers/offers-mappers';
|
||||
import { convertWithDate } from '~/utils/offers/currency/currency-exchange';
|
||||
import { convertWithDate } from '~/utils/offers/currency/currencyExchange';
|
||||
import { Currency } from '~/utils/offers/currency/CurrencyEnum';
|
||||
import { createValidationRegex } from '~/utils/offers/zodRegex';
|
||||
|
||||
|
Reference in New Issue
Block a user