Files
drop/server/prisma/models/app.prisma
T
Paco af08472e45 Make application and logo configurable (#336)
* 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
2026-02-06 11:43:21 +11:00

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())
}