Skip to content

Packages  ›  trotsky  ›  StepActorPosts

StepActorPosts class

Represents a step for retrieving an actor's posts using the Bluesky API. Supports paginated retrieval of posts.

Signature:

typescript
export declare class StepActorPosts<P = StepActor, C extends StepActorOutput = StepActorOutput, O extends StepActorPostsOutput = StepActorPostsOutput> extends StepPosts<P, C, O>

Extends: StepPosts<P, C, O>

Methods

Method

Modifiers

Description

applyPagination()

Applies pagination to retrieve posts and sets the output. Fetches paginated results using the agent and appends them to the output.

queryParams(cursor)

Generates query parameters for retrieving posts, including the optional cursor.