From 60fb17487327ee77861ecc94e563b2d2ef7c6628 Mon Sep 17 00:00:00 2001 From: Manuel <5877862+manuelsc@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:17:26 +0100 Subject: [PATCH] fix: add missing frontend types --- frontend/types/api/mobile.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/types/api/mobile.ts b/frontend/types/api/mobile.ts index 2166ba1dd..3b7bfc484 100644 --- a/frontend/types/api/mobile.ts +++ b/frontend/types/api/mobile.ts @@ -22,11 +22,11 @@ export interface MobileWidgetData { } export type InternalGetValidatorDashboardMobileWidgetResponse = ApiDataResponse; export interface MobileValidatorDashboardValidatorsRocketPool { - deposit_Amount: string /* decimal.Decimal */; + deposit_amount: string /* decimal.Decimal */; commission: number /* float64 */; // percentage, 0-1 status: 'Staking' | 'Dissolved' | 'Prelaunch' | 'Initialized' | 'Withdrawable'; penalty_count: number /* uint64 */; - is_in_smokaothing_pool: boolean; + is_in_smoothing_pool: boolean; } export interface MobileValidatorDashboardValidatorsTableRow { index: number /* uint64 */; @@ -40,6 +40,7 @@ export interface MobileValidatorDashboardValidatorsTableRow { * additional mobile fields */ is_in_sync_committee: boolean; + is_in_next_sync_committee: boolean; efficiency: number /* float64 */; rocket_pool?: MobileValidatorDashboardValidatorsRocketPool; }