[M] Generalize artemis import code

This commit is contained in:
Azalea
2024-03-20 04:17:35 -04:00
parent 7fd7e17d1d
commit d338809750
5 changed files with 112 additions and 102 deletions

View File

@@ -113,10 +113,3 @@ interface GenericPlaylogRepo<T: IGenericGamePlaylog> : JpaRepository<T, Long> {
}
data class ImportResult(val errors: List<String>, val warnings: List<String>, val json: String)
interface GameDataImport {
/**
* Read an artemis SQL dump file and return Aqua JSON
*/
fun importArtemisSql(sql: String): ImportResult
}