Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Post properities

Szymon Wolak edited this page Dec 20, 2018 · 2 revisions

Post Properities

Description of database post properities used in steemblr components.

App props

posted_by - string type, specifies which account authentication was used to send content,

isNSFW - boolean value specyfing if post is safe for work,

tags - array of tags shown unders post,

trending - boolean value specifying if posts was rated as popular, trending post goes to trending category

post_type - string type, which is specifying the post type, right now there are 6 types(text, photos, gifs, quotes, audio, video),

rating - numerical value of post trendiness,

quote - string type, quote post type body,

quoteSource - string type, source of the quote body,

video - string type, link of the video for video post type,

audio - string type, link of the audio for the audio post type,

steemblr_body - string type, post of the body in html,

is_reblogged - boolean value specifying if post is reblogged or not,

timestamp - firebase time signatures,

reblogged_post - object of whole reblogged post

Steem related props

author - string type, author of the post, also used for email users,

permlink - string type, link of the post which also is the name of the document, it is used for steem and email users for steemblr routing and other actions like voting and commenting,

children - numerical value, number of comments under the post,

active_votes - array of objects, active votes on the post with percent, voter, weight and other properities,

title - string type, main title of the post,

total_payout_value.replace, pending_payout_value.replace, total_pending_payout_value.replace, curator_payout_value.replace - string type, token value of the post,

body - string type, body of the post used for older post when steemblr_body is not present.

Clone this wiki locally