mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-18 10:41:11 +10:00
* feat: start of library backends * feat: update backend routes and create initializer * feat: add legacy library creation * fix: resolve frontend type errors * fix: runtime errors * fix: lint
30 lines
519 B
Plaintext
30 lines
519 B
Plaintext
model ApplicationSettings {
|
|
timestamp DateTime @id @default(now())
|
|
|
|
metadataProviders String[]
|
|
|
|
saveSlotCountLimit Int @default(5)
|
|
saveSlotSizeLimit Float @default(10) // MB
|
|
saveSlotHistoryLimit Int @default(3)
|
|
}
|
|
|
|
enum Platform {
|
|
Windows @map("windows")
|
|
Linux @map("linux")
|
|
macOS @map("macos")
|
|
}
|
|
|
|
enum LibraryBackend {
|
|
Filesystem
|
|
}
|
|
|
|
model Library {
|
|
id String @id @default(uuid())
|
|
name String
|
|
|
|
backend LibraryBackend
|
|
options Json
|
|
|
|
games Game[]
|
|
}
|