mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-06-22 04:11:32 +10:00
965cbff8ff
* Adds settings for server name and logo * Implements ApplicationLogo and replaces site name based on settings * Refactors component for changing the company logo * Removes unused variable * Uses message instead of statusMessage * Replaces favicon with logo if set
41 lines
771 B
Plaintext
41 lines
771 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)
|
|
serverName String @default("Drop")
|
|
mLogoObjectId String?
|
|
}
|
|
|
|
enum Platform {
|
|
Windows @map("windows")
|
|
Linux @map("linux")
|
|
macOS @map("macos")
|
|
}
|
|
|
|
enum LibraryBackend {
|
|
Filesystem
|
|
FlatFilesystem
|
|
}
|
|
|
|
model Library {
|
|
id String @id @default(uuid())
|
|
name String
|
|
|
|
backend LibraryBackend
|
|
options Json
|
|
|
|
games Game[]
|
|
}
|
|
|
|
model Depot {
|
|
id String @id @default(uuid())
|
|
endpoint String
|
|
key String @default(uuid())
|
|
}
|