@hiveio/wax / BlogPostOperation
Class: BlogPostOperation
Same as the comment base, but requires user to set the category (parent permlink) on the comment
Extends
CommentOperation
Constructors
new BlogPostOperation()
new BlogPostOperation(
data
):BlogPostOperation
Parameters
data
Returns
Overrides
CommentOperation.constructor
Defined in
wasm/lib/detailed/complex_operations/comment.ts:334
Properties
comment
protected
readonly
comment:comment
Inherited from
CommentOperation.comment
Defined in
wasm/lib/detailed/complex_operations/comment.ts:136
jsonMetadata
protected
jsonMetadata:Record
<string
,any
>
Inherited from
CommentOperation.jsonMetadata
Defined in
wasm/lib/detailed/complex_operations/comment.ts:139
Methods
finalize()
finalize(
sink
):Iterable
<operation
,any
,any
>
Internal
Parameters
sink
Returns
Iterable
<operation
, any
, any
>
Inherited from
CommentOperation.finalize
Defined in
wasm/lib/detailed/complex_operations/comment.ts:148
pushMetadataProperty()
pushMetadataProperty(
keyOrObject
,value
?):this
Assigns given object or sets given value on key in comment meta values
Parameters
keyOrObject
key to set the value on or the entire object of key-value pairs to assign to the json metadata object
string
| object
value?
any
value to be set (optional when passing the entire object)
Returns
this
itself
Throws
if key already exists on the jsonmetadata object
Inherited from
CommentOperation.pushMetadataProperty