Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

feat: add RelatedSearchesResult parser for extracting related search queries - #96

Merged
typicalninja merged 5 commits into
masterfrom
releated-searches
Jul 28, 2025
Merged

feat: add RelatedSearchesResult parser for extracting related search queries#96
typicalninja merged 5 commits into
masterfrom
releated-searches

Conversation

@typicalninja

Copy link
Copy Markdown
Owner

Adds a new RelatedSearchesResult parser to extract the "Related searches" suggestions that Google displays at the bottom of search results to help users find similar queries.

  • Added RelatedSearchesResultNode interface with queries: string[] property.
  • Updated ResultTypes constant with RelatedSearchesResult: "RELATED_SEARCHES".
  • Extended SearchResultNode union type to include new result type.
  • Tests for the new parser was added.

@changeset-bot

changeset-bot Bot commented Jul 28, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f944b2d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
google-sr-selectors Minor
google-sr Minor
google-that Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 28, 2025

Copy link
Copy Markdown
npm i https://pkg.pr.new/google-sr@96
npm i https://pkg.pr.new/google-sr-selectors@96
npm i https://pkg.pr.new/google-that@96

commit: f944b2d

@codecov

codecov Bot commented Jul 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.49%. Comparing base (b6d8c9e) to head (f944b2d).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   98.40%   98.49%   +0.08%     
==========================================
  Files          12       13       +1     
  Lines         502      532      +30     
  Branches      106      110       +4     
==========================================
+ Hits          494      524      +30     
  Misses          8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@typicalninja
typicalninja merged commit 51580a6 into master Jul 28, 2025
11 checks passed
@typicalninja
typicalninja deleted the releated-searches branch July 28, 2025 17:24
@github-actions github-actions Bot mentioned this pull request Jul 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant