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 | The cursor indicating the current position in the paginated results. |
Returns:
The query parameters for the search.