From ab5e892b3e4704ee31115391b5cc90e08ff4af6b Mon Sep 17 00:00:00 2001 From: AsperforMias <109743670+AsperforMias@users.noreply.github.com> Date: Tue, 21 Jul 2026 12:34:31 +0800 Subject: [PATCH] fix(sdk): expose verified open issue counts --- packages/ghfind-js/src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ghfind-js/src/types.ts b/packages/ghfind-js/src/types.ts index c37e6876..447d73d8 100644 --- a/packages/ghfind-js/src/types.ts +++ b/packages/ghfind-js/src/types.ts @@ -41,7 +41,11 @@ export interface TopRepo { name_with_owner?: string; stars: number; forks: number; + /** GitHub REST's aggregate, which includes open pull requests. */ open_issues: number; + /** Verified open GitHub Issues only; excludes pull requests and may be absent + * when bounded enrichment is unavailable. */ + open_issue_count?: number; size: number; language: string | null; description: string | null;