Skip to content

Packages  ›  trotsky  ›  Trotsky  ›  searchPosts

Trotsky.searchPosts() method ​

Adds a StepSearchPosts step.

Signature:

typescript
searchPosts(queryParams: QueryParams): StepSearchPosts<this>;

Parameters ​

Parameter

Type

Description

queryParams

QueryParams

Search parameters.

Returns:

StepSearchPosts<this>

The new StepSearchPosts instance.