Changed the DB schema AGAIN

This commit is contained in:
Eclypsed
2024-02-01 18:10:15 -05:00
parent dda5b7f6d2
commit 044b3616f9
9 changed files with 133 additions and 182 deletions

15
src/app.d.ts vendored
View File

@@ -29,6 +29,21 @@ declare global {
type ServiceType = 'jellyfin' | 'youtube-music'
interface Service {
type: ServiceType
userId: string
urlOrigin: string
username?: string
serverName?: string
}
interface Connection {
id: string
user: User
service: Service
accessToken: string
}
interface MediaItem {
connectionId: string
serviceType: string