Skip to content

Include type definition or more extensive docs for the response of client.search.query #406

Open
@nicolaerusan

Description

@nicolaerusan

Feature Description
Unclear what the response format is of the search functions - it's typed to just return an object:
const searchResults = await client.search.query(encodedQuery);

type:
query(searchTerm: string): Promise<object>;

Example Use Case
Provide an example or context where this feature would be beneficial.

Would be helpful to have a short code sample that shows the usage of searchResults in practice, or additional type information on the response syntax.

Additional Information
Any other details or ideas related to the feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions