Skip to content

Commit

Permalink
fix: add missing frontend types
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsc committed Nov 19, 2024
1 parent e1cbedc commit 60fb174
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/types/api/mobile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export interface MobileWidgetData {
}
export type InternalGetValidatorDashboardMobileWidgetResponse = ApiDataResponse<MobileWidgetData>;
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 */;
Expand All @@ -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;
}
Expand Down

0 comments on commit 60fb174

Please sign in to comment.