mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-16 09:41:13 +10:00
44 lines
745 B
Plaintext
44 lines
745 B
Plaintext
model ApplicationSettings {
|
|
timestamp DateTime @id @default(now())
|
|
|
|
metadataProviders String[]
|
|
|
|
saveSlotCountLimit Int @default(5)
|
|
saveSlotSizeLimit Float @default(10) // MB
|
|
saveSlotHistoryLimit Int @default(3)
|
|
|
|
showGamePanelTextDecoration Boolean @default(true)
|
|
}
|
|
|
|
enum Platform {
|
|
Windows @map("windows")
|
|
Linux @map("linux")
|
|
macOS @map("macos")
|
|
}
|
|
|
|
enum LibraryBackend {
|
|
Filesystem
|
|
FlatFilesystem
|
|
}
|
|
|
|
enum LibraryMode {
|
|
Game
|
|
Redist
|
|
DLC
|
|
Mod
|
|
}
|
|
|
|
model Library {
|
|
id String @id @default(uuid())
|
|
name String
|
|
|
|
backend LibraryBackend
|
|
options Json
|
|
mode LibraryMode @default(Game)
|
|
|
|
games Game[]
|
|
redists Redist[]
|
|
dlcs DLC[]
|
|
mods Mod[]
|
|
}
|