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

Add type for post result

parent 805063bf
No related branches found
No related tags found
1 merge request!483Lbudginas/#385 single post page
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