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