chore(server): core IoC 16 - getSpecificBranchCommitsFactory

This commit is contained in:
Kristaps Fabians Geikins
2024-09-27 14:32:13 +03:00
parent d85d5bdefd
commit f42dea7331
12 changed files with 61 additions and 58 deletions
@@ -21,7 +21,7 @@ import {
} from '@/modules/core/services/commit/viewerResources'
import {
getAllBranchCommits,
getSpecificBranchCommits
getSpecificBranchCommitsFactory
} from '@/modules/core/repositories/commits'
import {
getCommentFactory,
@@ -90,7 +90,7 @@ const command: CommandModule<
getStreamObjects,
getBranchLatestCommits,
getStreamBranchesByName: getStreamBranchesByNameFactory({ db }),
getSpecificBranchCommits,
getSpecificBranchCommits: getSpecificBranchCommitsFactory({ db }),
getAllBranchCommits
})
})
@@ -26,7 +26,7 @@ import {
} from '@/modules/activitystream/services/commentActivity'
import {
getAllBranchCommits,
getSpecificBranchCommits
getSpecificBranchCommitsFactory
} from '@/modules/core/repositories/commits'
import {
getViewerResourceGroupsFactory,
@@ -87,7 +87,7 @@ const command: CommandModule<
getStreamObjects,
getBranchLatestCommits: getBranchLatestCommitsFactory({ db }),
getStreamBranchesByName: getStreamBranchesByNameFactory({ db }),
getSpecificBranchCommits,
getSpecificBranchCommits: getSpecificBranchCommitsFactory({ db }),
getAllBranchCommits
})
})