feat(import): overhauled version importing

This commit is contained in:
DecDuck
2024-12-31 00:04:50 +11:00
parent 02d6346b01
commit 39d7ce7d1b
9 changed files with 631 additions and 181 deletions

View File

@ -15,15 +15,6 @@ export default defineClientEventHandler(async (h3, {}) => {
where: {
gameId: id,
},
select: {
versionIndex: true,
versionName: true,
platform: true,
setupCommand: true,
launchCommand: true,
delta: true,
dropletManifest: true,
},
orderBy: {
versionIndex: "desc", // Latest one first
},