feat: introduce database as a persistent storage for settings and history

refactor: arrange persistence layer as a port-adapter schema
This commit is contained in:
mmacierzanka committed 2026-09-30 17:42:09 +02:00
1 parent d9565f6eae
commit 6f50fce3f9
38 files changed
+539 -269

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ async function replay(entry: HistoryTrack) {
const pendingId = addPendingTrack(props.status.active_voice_channel.guild_id, entry.title)
try {
if (entry.is_local) {
const path = entry.filepath ?? entry.url ?? entry.title
const path = entry.url ?? entry.title
await enqueue(path.split(/[\\/]/).pop() ?? path)
return
}
-1
View File
@@ -41,7 +41,6 @@ export interface HistoryTrack {
url: string | null
duration: number | null
is_local: boolean
filepath: string | null
}
export interface UploadedFile {