Skip to content

Packages  ›  trotsky  ›  StepSearchPosts  ›  queryParams

StepSearchPosts.queryParams() method

Constructs the query parameters for the current pagination step.

Signature:

typescript
queryParams(cursor: StepSearchPostsQueryParamsCursor): StepSearchPostsQueryParams;

Parameters

Parameter

Type

Description

cursor

StepSearchPostsQueryParamsCursor

The cursor indicating the current position in the paginated results.

Returns:

StepSearchPostsQueryParams

The query parameters for the search.