Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap free #8198

Merged
merged 116 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
7d7b0c2
matin/chore: update branch (#8026)
matin-deriv Mar 27, 2023
46166e6
hamza/90127/91316/sub-feat: swapfree onboarding screen addition v1.0 …
hamza-deriv Mar 27, 2023
4c100cb
Syncing Master with the Feature Brnach of Swapfree (#8056)
hamza-deriv Mar 29, 2023
8c9a2bf
feat: demo account creation and payload updated v1.0 (#8058)
hamza-deriv Apr 10, 2023
2a617ea
Feat sub 90127 syncing the master with swapfree development (#8196)
hamza-deriv Apr 10, 2023
cafd0b6
Merge branch 'master' into feat-90127-hamza/swapfree-development
matin-deriv Apr 10, 2023
0c36735
refactor: code changes
hamza-deriv Apr 11, 2023
da44af6
Merge pull request #257 from hamza-deriv/swapfree_code_refactoring
matin-deriv Apr 11, 2023
6e2d9b7
chore: Description of hook added
hamza-deriv Apr 11, 2023
f32c017
chore: Description of hook added v1.2
hamza-deriv Apr 11, 2023
f83c906
chore: Description of hook added v1.3
hamza-deriv Apr 11, 2023
41fd6e3
Merge pull request #258 from hamza-deriv/swapfree_code_refactoring
matin-deriv Apr 11, 2023
eda16b1
refactor: refactored changes v1.0
hamza-deriv Apr 11, 2023
e374d72
Merge pull request #259 from hamza-deriv/swapfree_code_refactoring
matin-deriv Apr 11, 2023
e7978dd
refactor: sub_account_type error
hamza-deriv Apr 12, 2023
a8d39d6
Merge pull request #263 from hamza-deriv/swapfree_code_refactoring
matin-deriv Apr 12, 2023
bf78da4
Merge branch 'master' into swap-free
yashim-deriv Apr 12, 2023
987234b
refactor: remove localize
hamza-deriv Apr 12, 2023
82750b0
Merge pull request #265 from hamza-deriv/swapfree_code_refactoring
matin-deriv Apr 12, 2023
9acc5df
Merge branch 'master' into swap-free
hamza-deriv Apr 12, 2023
2611871
Merge branch 'master' into swap-free
hamza-deriv Apr 12, 2023
273643d
refactor: removed the commented line
hamza-deriv Apr 12, 2023
862e885
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 12, 2023
221bf44
Merge pull request #266 from hamza-deriv/swapfree_code_refactoring
hamza-deriv Apr 12, 2023
144a994
Merge branch 'master' into swap-free
hamza-deriv Apr 12, 2023
0adfcff
Merge branch 'master' into swap-free
hamza-deriv Apr 13, 2023
9c264e4
fix: remove line error + code smells
hamza-deriv Apr 13, 2023
f66a867
Merge pull request #269 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 13, 2023
b27df62
fix: type error for primitive type
hamza-deriv Apr 13, 2023
7e9a417
Merge branch 'master' into swap-free
yashim-deriv Apr 13, 2023
3321264
Merge pull request #270 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 13, 2023
cf1ea67
Merge branch 'master' into swap-free
hamza-deriv Apr 13, 2023
054a6c7
Merge branch 'master' into swap-free
hamza-deriv Apr 17, 2023
f9cf062
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
963bede
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
56e7873
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
792adf0
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
8231bbc
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
d28ee2b
fix: conflict and eslint error
hamza-deriv Apr 18, 2023
076f30f
Merge pull request #290 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 18, 2023
7af5dc3
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
abfefda
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
9a1d68c
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
6f87889
Merge branch 'master' into swap-free
hamza-deriv Apr 18, 2023
6c9fc60
Merge branch 'master' into swap-free
hamza-deriv Apr 19, 2023
5ca9262
Merge branch 'master' into swap-free
hamza-deriv Apr 19, 2023
bbea750
refactor: change back the types to default one DetailsOfEachMT5Loginid
hamza-deriv Apr 19, 2023
54760d8
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 19, 2023
ebf75d8
Merge pull request #291 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 19, 2023
6cd5ad2
Merge branch 'master' into swap-free
hamza-deriv Apr 20, 2023
cca59f8
Merge branch 'master' into swap-free
hamza-deriv Apr 20, 2023
394d9b5
Merge branch 'master' into swap-free
hamza-deriv Apr 20, 2023
2565eb2
Merge branch 'master' into swap-free
hamza-deriv Apr 20, 2023
4b89f93
Merge branch 'master' into swap-free
hamza-deriv Apr 25, 2023
526c973
fix: circle ci store import error
hamza-deriv Apr 25, 2023
a37bec4
Merge pull request #296 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 25, 2023
8d200cb
Merge branch 'master' into swap-free
hamza-deriv Apr 25, 2023
dd64e66
fix: get more button screen getting expanded
hamza-deriv Apr 25, 2023
32f1d19
Merge pull request #298 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 25, 2023
d922d3e
Merge branch 'master' into swap-free
hamza-deriv Apr 25, 2023
a4983dc
refactor: suggestions resolved
hamza-deriv Apr 26, 2023
bd8251f
Merge pull request #299 from hamza-deriv/update_swapfree_code_refacto…
matin-deriv Apr 26, 2023
d9bded0
fix: commodities removed from jurisdiction modal
hamza-deriv Apr 26, 2023
15f4a92
Merge branch 'master' into swap-free
hamza-deriv Apr 26, 2023
cb0a384
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 26, 2023
be7c8fb
Merge pull request #300 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 26, 2023
f57af06
fix: traders hub restricted countries not shown
hamza-deriv Apr 27, 2023
fc823ce
Merge branch 'master' into swap-free
hamza-deriv Apr 27, 2023
4c5718f
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 27, 2023
131ec2f
Merge pull request #302 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 27, 2023
6a66f48
fix: traders hub restricted countries not shown autralia labuan malta
hamza-deriv Apr 27, 2023
8d56034
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 27, 2023
ec1eacb
Merge pull request #303 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 27, 2023
fd0ac70
Merge branch 'master' into swap-free
hamza-deriv Apr 27, 2023
27a9e17
fix: traders hub restricted countries not shown autralia labuan malta…
hamza-deriv Apr 27, 2023
6075285
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv Apr 27, 2023
0a1d33e
Merge pull request #304 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 27, 2023
4030cc6
Merge branch 'master' into swap-free
hamza-deriv Apr 28, 2023
35f3bde
fix: Merge conflict resolve
hamza-deriv Apr 28, 2023
c3fcc75
Merge pull request #305 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv Apr 28, 2023
cb490b7
Merge branch 'master' into swap-free
hamza-deriv Apr 28, 2023
4d1a0c1
Merge branch 'master' into swap-free
hamza-deriv Apr 28, 2023
b8584f3
fix: translation and demo label removed
hamza-deriv Apr 28, 2023
ab6857b
Merge pull request #306 from hamza-deriv/update_swapfree_code_refacto…
matin-deriv Apr 28, 2023
a322aff
Merge branch 'master' into swap-free
hamza-deriv Apr 28, 2023
7e94453
Merge branch 'master' into swap-free
hamza-deriv May 2, 2023
bfd5532
fix: merge conflicts demo text in tradig-app-card
hamza-deriv May 2, 2023
a6e1129
Merge pull request #310 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv May 2, 2023
11b7982
fix: Deriv X modal crashed
hamza-deriv May 3, 2023
0f8c0c7
Merge branch 'master' into swap-free
hamza-deriv May 3, 2023
07b3740
Merge branch 'swap-free' of https://github.com/matin-deriv/deriv-app …
hamza-deriv May 3, 2023
1218a43
Merge pull request #311 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv May 3, 2023
44363f2
Merge branch 'master' into swap-free
hamza-deriv May 3, 2023
dd97560
Merge branch 'master' into swap-free
hamza-deriv May 3, 2023
6445eda
Merge branch 'master' into swap-free
hamza-deriv May 5, 2023
0d21376
Merge branch 'master' into swap-free
hamza-deriv May 5, 2023
8668f2e
Merge branch 'master' into swap-free
hamza-deriv May 5, 2023
bb2092b
fix: synthetics added and forex addition and deletion
hamza-deriv May 5, 2023
72e8bf0
Merge pull request #316 from hamza-deriv/update_swapfree_code_refacto…
hamza-deriv May 5, 2023
1085d7f
Merge branch 'master' into swap-free
hamza-deriv May 8, 2023
4d3c4f3
Merge branch 'master' into swap-free
hamza-deriv May 8, 2023
2d02e40
Merge branch 'master' into swap-free
hamza-deriv May 9, 2023
6071c8d
Merge branch 'master' into swap-free
hamza-deriv May 9, 2023
3c5fb0b
Merge branch 'master' into swap-free
hamza-deriv May 9, 2023
72521c8
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
abf0f42
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
b760a6a
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
06fcc75
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
df9f8a5
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
3cc8b71
chore: 20696747/WALL-586 swap-free description change
hamza-deriv May 10, 2023
d3e44f9
Merge pull request #320 from hamza-deriv/update_swapfree_code_refacto…
matin-deriv May 10, 2023
b7e7ca3
Merge branch 'master' into swap-free
hamza-deriv May 10, 2023
f316c74
Merge branch 'master' into swap-free
hamza-deriv May 17, 2023
ce93d74
Merge branch 'master' into swap-free
hamza-deriv May 17, 2023
29ee242
Merge branch 'master' into swap-free
hamza-deriv May 17, 2023
3d85b2a
Merge branch 'master' into swap-free
hamza-deriv May 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/appstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@deriv/cashier": "^1.0.0",
"@deriv/components": "^1.0.0",
"@deriv/cfd": "^1.0.0",
"@deriv/hooks": "^1.0.0",
"@deriv/shared": "^1.0.0",
"@deriv/stores": "^1.0.0",
"@deriv/trader": "^3.8.0",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import Financial from 'Assets/svgs/trading-platform/branding/ic-branding-mt5-fin
import Options from 'Assets/svgs/trading-platform/ic-appstore-options.svg';
import SmartTrader from 'Assets/svgs/trading-platform/branding/ic-branding-smarttrader-dashboard.svg';
import SmartTraderBlue from 'Assets/svgs/trading-platform/ic-appstore-smarttrader-blue.svg';
import SwapFree from 'Assets/svgs/trading-platform/ic-appstore-swap-free.svg';
import { IconProps } from '../icon-types';

export const PlatformIcons = {
Expand All @@ -33,6 +34,7 @@ export const PlatformIcons = {
DropDown,
DTrader,
Financial,
SwapFree,
Options,
SmartTrader,
SmartTraderBlue,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.cfd-jurisdiction-card--synthetic,
.cfd-jurisdiction-card--financial {
.cfd-jurisdiction-card--financial,
.cfd-jurisdiction-card--all {
border: solid 1px var(--border-normal);
border-radius: 0.8rem;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,11 @@ import { observer } from 'mobx-react-lite';
import classNames from 'classnames';
import { useStores } from 'Stores/index';
import TradigPlatformIconProps from 'Assets/svgs/trading-platform';
import { TModalContent, TAccountType, TAccountCard, TTradingPlatformAvailableAccount } from './types';
import { TModalContent, TAccountCard, TTradingPlatformAvailableAccount } from './types';
import { TIconTypes } from 'Types';
import { CFD_PLATFORMS } from '@deriv/shared';

const getDerivedAccount = (): TAccountType => ({
title_and_type: localize('Derived'),
icon: 'Derived',
description: localize('Trade CFDs on MT5 with Derived indices that simulate real-world market movements.'),
});

const getFinancialAccount = (): TAccountType => ({
title_and_type: localize('Financial'),
icon: 'Financial',
description: localize('Trade CFDs on MT5 with forex, stock indices, commodities, and cryptocurrencies.'),
});
import { getDerivedAccount, getFinancialAccount, getSwapFreeAccount } from '../../../helpers/account-helper';
import { useHasSwapFreeAccount } from '@deriv/hooks';

const AccountCard = ({ selectAccountTypeCard, account_type_card, title_and_type, description, icon }: TAccountCard) => {
const cardSelection = (cardType: string) => {
Expand Down Expand Up @@ -54,6 +44,7 @@ const ModalContent = ({
selectAccountTypeCard,
is_financial_available,
is_synthetic_available,
is_swapfree_available,
}: TModalContent) => {
return (
<div className='account-type-card__wrapper'>
Expand All @@ -75,6 +66,15 @@ const ModalContent = ({
icon={getFinancialAccount().icon}
/>
)}
{is_swapfree_available && (
<AccountCard
account_type_card={account_type_card}
selectAccountTypeCard={() => selectAccountTypeCard(`${getSwapFreeAccount().title_and_type}`)}
description={getSwapFreeAccount().description}
title_and_type={getSwapFreeAccount().title_and_type}
icon={getSwapFreeAccount().icon}
/>
)}
</div>
);
};
Expand All @@ -92,19 +92,36 @@ const MT5AccountTypeModal = () => {
const { trading_platform_available_accounts } = client;
const { enableApp, disableApp } = ui;
const { setAppstorePlatform } = common;

React.useEffect(() => {
if (!is_account_type_modal_visible) {
selectAccountTypeCard('');
}
}, [is_account_type_modal_visible, selectAccountTypeCard]);

const is_financial_available = trading_platform_available_accounts.some(
(available_account: TTradingPlatformAvailableAccount) => available_account.market_type === 'financial'
);

const is_synthetic_available = trading_platform_available_accounts.some(
(available_account: TTradingPlatformAvailableAccount) => available_account.market_type === 'gaming'
);
const is_swapfree_available = useHasSwapFreeAccount();

const set_account_type = () =>
account_type_card === localize('Derived')
? setAccountType({ category: 'real', type: 'synthetic' })
: setAccountType({ category: 'real', type: 'financial' });

const set_account_type = () => {
switch (account_type_card) {
case 'Derived':
setAccountType({ category: 'real', type: 'synthetic' });
break;
case 'Swap-Free':
setAccountType({ category: 'real', type: 'all' });
break;
case 'Financial':
default:
setAccountType({ category: 'real', type: 'financial' });
break;
}
};
return (
<div>
<React.Suspense fallback={<UILoader />}>
Expand All @@ -126,6 +143,7 @@ const MT5AccountTypeModal = () => {
selectAccountTypeCard={selectAccountTypeCard}
is_financial_available={is_financial_available}
is_synthetic_available={is_synthetic_available}
is_swapfree_available={is_swapfree_available}
/>
<Modal.Footer has_separator>
<Button
Expand Down Expand Up @@ -155,6 +173,7 @@ const MT5AccountTypeModal = () => {
selectAccountTypeCard={selectAccountTypeCard}
is_financial_available={is_financial_available}
is_synthetic_available={is_synthetic_available}
is_swapfree_available={is_swapfree_available}
/>
<Modal.Footer has_separator>
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export type TModalContent = {
selectAccountTypeCard: React.Dispatch<React.SetStateAction<string>>;
is_financial_available: boolean;
is_synthetic_available: boolean;
is_swapfree_available: boolean;
};

export type TAccountType = {
Expand All @@ -20,7 +21,7 @@ export type TAccountCard = {
};

export type TTradingPlatformAvailableAccount = {
market_type: 'financial' | 'gaming';
market_type: 'financial' | 'gaming' | 'all';
name: string;
requirements: {
after_first_deposit: {
Expand Down
5 changes: 4 additions & 1 deletion packages/appstore/src/components/modals/modal-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
CFDPasswordManagerModal,
CompareAccountsModal,
} from '@deriv/cfd';
import { TTradingPlatformAvailableAccount } from './account-type-modal/types';
import MT5AccountTypeModal from './account-type-modal';
import RegulatorsCompareModal from './regulators-compare-modal';
import { useStores } from 'Stores';
Expand Down Expand Up @@ -45,6 +46,7 @@ const ModalManager = () => {
toggleMT5TradeModal,
getRealSyntheticAccountsExistingData,
getRealFinancialAccountsExistingData,
getRealSwapfreeAccountsExistingData,
current_account,
dxtrade_companies,
mt5_companies,
Expand Down Expand Up @@ -102,7 +104,7 @@ const ModalManager = () => {
enableCFDPasswordModal();
};

const existing_accounts_data = (acc_type: 'synthetic' | 'financial') => {
const existing_accounts_data = (acc_type: TTradingPlatformAvailableAccount['market_type'] | 'synthetic') => {
const current_list_keys = Object.keys(current_list);
const should_be_enabled = (list_item: TCurrentList) =>
platform === 'dxtrade' ? list_item.enabled === 1 : true;
Expand All @@ -123,6 +125,7 @@ const ModalManager = () => {

getRealSyntheticAccountsExistingData(existing_accounts_data('synthetic'));
getRealFinancialAccountsExistingData(existing_accounts_data('financial'));
getRealSwapfreeAccountsExistingData(existing_accounts_data('all'));

return (
<React.Fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const StaticCFDAccountManager = ({
/>
) : (
<TradigPlatformIconProps
icon='Derived'
icon={type === 'swap_free' ? 'SwapFree' : 'Derived'}
size={icon_size}
className={classNames('static-cfd-account-manager--cfds', {
'static-cfd-account-manager__icon--blurry': is_blurry.icon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@
}

&__body {
display: flex;
display: grid;
grid-template-columns: repeat(3, 1fr);

&--header {
margin-top: 2rem;
Expand All @@ -160,6 +161,7 @@
}

@include mobile {
display: flex;
flex-direction: column;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,25 +471,49 @@ const StaticDashboard = ({
is_eu_user={is_eu_user}
/>
)}

{!is_eu_user && !CFDs_restricted_countries && (
<StaticCFDAccountManager
type='financial'
platform='mt5'
appname={localize('Financial')}
description={localize(
'Trade CFDs on MT5 with forex, stocks, stock indices, commodities, and cryptocurrencies.'
<React.Fragment>
<StaticCFDAccountManager
type='financial'
platform='mt5'
appname={localize('Financial')}
description={localize(
'Trade CFDs on MT5 with forex, stocks, stock indices, commodities, and cryptocurrencies.'
)}
financial_amount={financial_amount}
derived_amount={derived_amount}
loginid={loginid}
currency={currency}
has_account={has_account}
is_last_step={is_last_step}
is_blurry={is_blurry}
is_onboarding_animated={is_onboarding_animated}
is_financial_last_step={is_financial_last_step}
is_eu_user={is_eu_user}
/>
{isMobile() && !has_account && <Divider />}
{!financial_restricted_countries && (
<StaticCFDAccountManager
type='swap_free'
platform='mt5'
appname={localize('Swap-Free')}
description={localize(
'Trade swap-free CFDs on MT5 with synthetics, forex, stocks, stock indices, cryptocurrencies and ETFs.'
)}
financial_amount={financial_amount}
derived_amount={derived_amount}
loginid={loginid}
currency={currency}
has_account={has_account}
is_last_step={is_last_step}
is_blurry={is_blurry}
is_onboarding_animated={is_onboarding_animated}
is_financial_last_step={is_financial_last_step}
is_eu_user={is_eu_user}
/>
)}
financial_amount={financial_amount}
derived_amount={derived_amount}
loginid={loginid}
currency={currency}
has_account={has_account}
is_last_step={is_last_step}
is_blurry={is_blurry}
is_onboarding_animated={is_onboarding_animated}
is_financial_last_step={is_financial_last_step}
is_eu_user={is_eu_user}
/>
</React.Fragment>
)}
{isDesktop() && has_account && !eu_user && (
<StaticGetMoreAccounts
Expand Down
22 changes: 22 additions & 0 deletions packages/appstore/src/helpers/account-helper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { isCryptocurrency } from '@deriv/shared';
import { localize } from '@deriv/translations';
import { TAccountType } from '../components/modals/account-type-modal/types';

type TAccountProps = {
a_currency: string;
Expand Down Expand Up @@ -35,3 +37,23 @@ export const getSortedAccountList = (account_list: TAccountProps, accounts: TAcc
return 1;
});
};

export const getDerivedAccount = (): TAccountType => ({
title_and_type: localize('Derived'),
icon: 'Derived',
description: localize('Trade CFDs on MT5 with Derived indices that simulate real-world market movements.'),
});

export const getFinancialAccount = (): TAccountType => ({
title_and_type: localize('Financial'),
icon: 'Financial',
description: localize('Trade CFDs on MT5 with forex, stock indices, commodities, and cryptocurrencies.'),
});

export const getSwapFreeAccount = (): TAccountType => ({
title_and_type: localize('Swap-Free'),
icon: 'SwapFree',
description: localize(
'Trade swap-free CFDs on MT5 with synthetics, forex, stocks, stock indices, cryptocurrencies and ETFs.'
),
});
2 changes: 1 addition & 1 deletion packages/appstore/src/types/common.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type TDetailsOfEachMT5Loginid = DetailsOfEachMT5Loginid & {
};

export type TTradingPlatformAvailableAccount = {
market_type: 'financial' | 'gaming';
market_type: 'financial' | 'gaming' | 'all';
name: string;
requirements: {
after_first_deposit: {
Expand Down
Loading