Skip to content
Snippets Groups Projects
Commit 97a29920 authored by Lukas's avatar Lukas Committed by mcfarhat
Browse files

Add post page vote details types

parent 6421508a
No related branches found
No related tags found
1 merge request!505Lbudginas/#404 part2 create vote details table
...@@ -291,7 +291,7 @@ namespace Hive { ...@@ -291,7 +291,7 @@ namespace Hive {
root_title!: string; root_title!: string;
pending_payout_value!: string; pending_payout_value!: string;
total_pending_payout_value!: string; total_pending_payout_value!: string;
active_votes!: string[] | number[]; active_votes!: PostPageVoteDetails[];
replies!: string[] | number[]; replies!: string[] | number[];
author_reputation!: number; author_reputation!: number;
promoted!: string; promoted!: string;
...@@ -299,6 +299,15 @@ namespace Hive { ...@@ -299,6 +299,15 @@ namespace Hive {
reblogged_by!: string[] | number[]; reblogged_by!: string[] | number[];
} }
export class PostPageVoteDetails {
percent!: number;
reputation!: number;
rshares!: number;
time!: Date;
voter!: string;
weight!: number;
}
export class GetVotersParams { export class GetVotersParams {
accountName!: string; accountName!: string;
sort?: string; sort?: string;
...@@ -760,12 +769,12 @@ namespace Hive { ...@@ -760,12 +769,12 @@ namespace Hive {
op_type_id!: number; op_type_id!: number;
balance!: number; balance!: number;
prev_balance!: number; prev_balance!: number;
balance_change!:number; balance_change!: number;
timestamp!: string; timestamp!: string;
} }
export class GetAccountBalanceHistoryParams { export class GetAccountBalanceHistoryParams {
"accountName": string; "accountName": string;
"coin-type": string ; "coin-type": string;
direction?: Hive.Direction; direction?: Hive.Direction;
"page"!: number | undefined; "page"!: number | undefined;
"page-size"!: number | undefined; "page-size"!: number | undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment