Creates a full-capability GitHub provider with all traits.
Returns an object that implements IScmProvider & IScmReviewer & IScmUserInfo. Consumers can narrow the type to only the traits they need.
const provider = createFullGitHubProvider('owner/repo');// Use as ReviewCapableProviderconst detail = await provider.getPullRequestDetail(42);// Use as IScmUserInfoconst user = await provider.fetchUserMetadata('octocat'); Copy
const provider = createFullGitHubProvider('owner/repo');// Use as ReviewCapableProviderconst detail = await provider.getPullRequestDetail(42);// Use as IScmUserInfoconst user = await provider.fetchUserMetadata('octocat');
Creates a full-capability GitHub provider with all traits.
Returns an object that implements IScmProvider & IScmReviewer & IScmUserInfo. Consumers can narrow the type to only the traits they need.