Skip to content

feat(core): convert stats fetcher to TypeScript - #415

Merged
martin-mfg merged 2 commits into
stats-organization:masterfrom
marcalexiei:core-ts
Jul 29, 2026
Merged

feat(core): convert stats fetcher to TypeScript#415
martin-mfg merged 2 commits into
stats-organization:masterfrom
marcalexiei:core-ts

Conversation

@marcalexiei

Copy link
Copy Markdown

Another step of #140, continues #410.

  • stats fetcher + test ➡️ .ts, threading typed GraphQL and REST-search shapes through retryer<…>.
  • Added a src/_github-username-regex.d.ts shim (package ships no types).
  • Fixed a bug caught by the types: statsFetcher expected pat in its options object,
    but the caller passed it as a second argument, so it was ignored.
    Private-access users' token is now correctly passed to the main stats query.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@marcalexiei is attempting to deploy a commit to the martin-mfg's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread packages/core/src/fetchers/stats.ts Outdated
Comment thread packages/core/src/fetchers/stats.ts
@marcalexiei
marcalexiei requested a review from martin-mfg July 29, 2026 11:45
@martin-mfg
martin-mfg merged commit 587f458 into stats-organization:master Jul 29, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants