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

Add type for post result

parent 4814b850
Branches
No related tags found
No related merge requests found
This commit is part of merge request !483. Comments created here will be created in the context of that merge request.
......@@ -251,6 +251,53 @@ namespace Hive {
virtual_scheduled_time!: string;
votes!: string;
}
export class Content {
id!: number;
author!: string;
permlink!: string;
category!: string;
parent_author!: string;
parent_permlink!: string;
title!: string;
body!: string;
json_metadata!: string;
last_update!: string;
created!: string;
active!: string;
last_payout!: string;
depth!: number;
children!: number;
net_rshares!: number;
abs_rshares!: number;
vote_rshares!: number;
children_abs_rshares!: number;
cashout_time!: string;
max_cashout_time!: string;
total_vote_weight!: number;
reward_weight!: number;
total_payout_value!: string;
curator_payout_value!: string;
author_rewards!: number;
net_votes!: number;
root_author!: string;
root_permlink!: string;
max_accepted_payout!: string;
percent_hbd!: number;
allow_replies!: boolean;
allow_votes!: boolean;
allow_curation_rewards!: boolean;
beneficiaries!: string[] | number[];
url!: string;
root_title!: string;
pending_payout_value!: string;
total_pending_payout_value!: string;
active_votes!: string[] | number[];
replies!: string[] | number[];
author_reputation!: number;
promoted!: string;
body_length!: number;
reblogged_by!: string[] | number[];
}
export class GetVotersParams {
accountName!: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment