sfcoe-ailabs
Version:
AI-powered code review tool with static analysis integration for comprehensive code quality assessment.
15 lines (14 loc) • 605 B
TypeScript
import { GitProvider, GitProviderType } from './index.js';
export default class GitProviderFactory {
/**
* Gets a git provider instance
*
* @param type - The type of Git provider to create
* @param token - The authentication token for the provider
* @param owner - The repository owner/organization name
* @param repo - The repository name
* @returns An instance of the specified Git provider
* @throws Error when the provider type is unsupported
*/
static getInstance(type: GitProviderType, token: string, owner: string, repo: string): GitProvider;
}