Skip to content

Commit

Permalink
Merge pull request #91 from shaheer-deriv/migrate_svg_to_bvi_dvl
Browse files Browse the repository at this point in the history
fix: build fail
  • Loading branch information
shaheer-deriv committed Oct 30, 2023
2 parents 4302f74 + 7a8bf8d commit 3f93c3e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/stores/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ type TCtraderAccountsList = DetailsOfEachMT5Loginid & {
platform?: string;
};

type ExtendedMt5LoginList = DetailsOfEachMT5Loginid & {
eligible_to_migrate?: Record<string, string>;
};

type TAccountsList = {
account?: {
balance?: string | number;
Expand All @@ -203,7 +199,7 @@ type TAccountsList = {
is_virtual?: boolean | number;
loginid?: string;
trader_accounts_list?: DetailsOfEachMT5Loginid[];
mt5_login_list?: ExtendedMt5LoginList[];
mt5_login_list?: DetailsOfEachMT5Loginid[];
title?: string;
}[];

Expand Down Expand Up @@ -411,7 +407,11 @@ type TClientStore = {
loginid?: string;
pre_switch_broadcast: boolean;
residence: string;
responseMt5LoginList: ({ mt5_login_list }: { mt5_login_list: ExtendedMt5LoginList[] }) => ExtendedMt5LoginList[]; // we can remove this after BE types is updated
responseMt5LoginList: ({
mt5_login_list,
}: {
mt5_login_list: DetailsOfEachMT5Loginid[];
}) => DetailsOfEachMT5Loginid[];
responseTradingPlatformAccountsList: ({
trading_platform_accounts,
}: {
Expand Down Expand Up @@ -449,7 +449,7 @@ type TClientStore = {
updateAccountStatus: () => Promise<void>;
is_authentication_needed: boolean;
authentication_status: TAuthenticationStatus;
mt5_login_list: ExtendedMt5LoginList[];
mt5_login_list: DetailsOfEachMT5Loginid[];
logout: () => Promise<LogOutResponse>;
should_allow_authentication: boolean;
isEligibleForMoreDemoMt5Svg: (market_type: 'synthetic' | 'financial' | 'gaming' | 'all') => boolean;
Expand Down

0 comments on commit 3f93c3e

Please sign in to comment.