/** GitHub repository and API client contracts. @module */ import type { GitHubApiRequest, } from './github-api.ts'; import type { IncludedResponse, } from './github-response.ts'; import type { SourceLink, } from './issue-model.ts'; /** Canonical GitHub repository identity. */ export type GitHubRepository = { readonly owner: string; readonly name: string; readonly url: string; }; /** Injectable authenticated GitHub REST boundary. */ export type GitHubApiClient = ( request: GitHubApiRequest, ) => Promise; /** Destination facts needed by deterministic publication planning. */ export type PublicationPreflight = { readonly needsTriageLabel: boolean; readonly sourceLink?: SourceLink; };