mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 08:41:15 +10:00
feat(store): new endpoints, ui and beginnings of main store page
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
enum MetadataSource {
|
||||
Custom
|
||||
GiantBomb
|
||||
Custom
|
||||
GiantBomb
|
||||
}
|
||||
|
||||
model Game {
|
||||
@ -8,6 +8,7 @@ model Game {
|
||||
|
||||
metadataSource MetadataSource
|
||||
metadataId String
|
||||
created DateTime @default(now())
|
||||
|
||||
// Any field prefixed with m is filled in from metadata
|
||||
// Acts as a cache so we can search and filter it
|
||||
@ -34,8 +35,10 @@ model Game {
|
||||
// A particular set of files that relate to the version
|
||||
model GameVersion {
|
||||
gameId String
|
||||
game Game @relation(fields: [gameId], references: [id])
|
||||
game Game @relation(fields: [gameId], references: [id])
|
||||
versionName String // Sub directory for the game files
|
||||
|
||||
created DateTime @default(now())
|
||||
|
||||
platform Platform
|
||||
launchCommand String // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
|
||||
|
||||
Reference in New Issue
Block a user