Skip to content

Packages  ›  trotsky  ›  StepPostLike

StepPostLike class

Represents a step for liking a specific post.

Signature:

typescript
export declare class StepPostLike<P = StepPost, C extends StepPostOutput = StepPostOutput, O extends StepPostLikeOutput = StepPostLikeOutput> extends Step<P, C, O>

Extends: Step<P, C, O>

Methods

Method

Modifiers

Description

apply()

Applies the step logic to like the post provided in the context. The resulting URI and CID of the like operation are stored in the output.