2024-11-16 16:24:23 +11:00
|
|
|
model ApplicationSettings {
|
|
|
|
|
timestamp DateTime @id @default(now())
|
|
|
|
|
|
2025-06-01 16:05:05 +10:00
|
|
|
metadataProviders String[]
|
2025-04-01 21:08:57 +11:00
|
|
|
|
|
|
|
|
saveSlotCountLimit Int @default(5)
|
|
|
|
|
saveSlotSizeLimit Float @default(10) // MB
|
|
|
|
|
saveSlotHistoryLimit Int @default(3)
|
2025-07-06 13:10:57 +10:00
|
|
|
|
|
|
|
|
showGamePanelTextDecoration Boolean @default(true)
|
2026-02-06 00:43:21 +00:00
|
|
|
serverName String @default("Drop")
|
|
|
|
|
mLogoObjectId String?
|
2024-11-16 16:24:23 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enum Platform {
|
|
|
|
|
Windows @map("windows")
|
|
|
|
|
Linux @map("linux")
|
2025-03-11 19:02:53 +11:00
|
|
|
macOS @map("macos")
|
2024-11-16 16:24:23 +11:00
|
|
|
}
|
2025-06-01 16:05:05 +10:00
|
|
|
|
|
|
|
|
enum LibraryBackend {
|
|
|
|
|
Filesystem
|
2025-07-06 12:44:41 +10:00
|
|
|
FlatFilesystem
|
2025-06-01 16:05:05 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
model Library {
|
|
|
|
|
id String @id @default(uuid())
|
|
|
|
|
name String
|
|
|
|
|
|
|
|
|
|
backend LibraryBackend
|
|
|
|
|
options Json
|
|
|
|
|
|
2025-07-06 12:44:41 +10:00
|
|
|
games Game[]
|
2025-06-01 16:05:05 +10:00
|
|
|
}
|
2026-01-13 15:32:39 +11:00
|
|
|
|
|
|
|
|
model Depot {
|
|
|
|
|
id String @id @default(uuid())
|
|
|
|
|
endpoint String
|
|
|
|
|
key String @default(uuid())
|
|
|
|
|
}
|