b42d1d73679928412690780047914b6124c1f0ee

This commit is contained in:
GitHub Actions
2024-04-11 19:12:27 +00:00
commit 3d78a852b5
146 changed files with 37727 additions and 0 deletions

27
src/main/repository.ts Normal file
View File

@@ -0,0 +1,27 @@
import { dataSource } from "./data-source";
import {
Game,
GameShopCache,
ImageCache,
Repack,
RepackerFriendlyName,
UserPreferences,
MigrationScript,
} from "@main/entity";
export const gameRepository = dataSource.getRepository(Game);
export const imageCacheRepository = dataSource.getRepository(ImageCache);
export const repackRepository = dataSource.getRepository(Repack);
export const repackerFriendlyNameRepository =
dataSource.getRepository(RepackerFriendlyName);
export const userPreferencesRepository =
dataSource.getRepository(UserPreferences);
export const gameShopCacheRepository = dataSource.getRepository(GameShopCache);
export const migrationScriptRepository =
dataSource.getRepository(MigrationScript);