/
arseniy985
/
QuantaAI
Обзор
Документация
Войти
/
arseniy985
/
QuantaAI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
src/internal/modules/github/index.ts
27 строк
2 KB
Arseniy
Add studio settings + integrations and migrate forms to shadcn
29 янв 2026, 23:48
29 янв 2026, 23:48
0653130
Код
Авторство
О чём код?
import { ContainerModule } from 'inversify'; import { GitHubTypes } from './types'; import { ProjectGitHubRepository } from './repositories/project-github.repository'; import { GitHubAccountRepository } from './repositories/github-account.repository'; import { GitHubRepoService } from './services/github-repo.service'; import { GitWorkspaceService } from './services/git-workspace.service'; import { GitIntegrationService } from './services/git-integration.service'; import { GitHubAccountService } from './services/github-account.service'; const GitHubModule = new ContainerModule((options) => { options.bind<ProjectGitHubRepository>(GitHubTypes.ProjectGitHubRepository).to(ProjectGitHubRepository).inSingletonScope(); options.bind<GitHubAccountRepository>(GitHubTypes.GitHubAccountRepository).to(GitHubAccountRepository).inSingletonScope(); options.bind<GitHubAccountService>(GitHubTypes.GitHubAccountService).to(GitHubAccountService).inSingletonScope(); options.bind<GitHubRepoService>(GitHubTypes.GitHubRepoService).to(GitHubRepoService).inSingletonScope(); options.bind<GitWorkspaceService>(GitHubTypes.GitWorkspaceService).to(GitWorkspaceService).inSingletonScope(); options.bind<GitIntegrationService>(GitHubTypes.GitIntegrationService).to(GitIntegrationService).inSingletonScope(); }); export default GitHubModule; export * from './services/github-repo.service'; export * from './services/git-workspace.service'; export * from './services/git-integration.service'; export * from './services/github-account.service'; export * from './repositories/project-github.repository'; export * from './repositories/github-account.repository'; export { GitHubTypes } from './types';