minor changes

This commit is contained in:
Eclypsed
2024-03-25 10:03:22 -04:00
parent 15db7f1aed
commit cd8360851f
7 changed files with 65 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
import { DB } from './db'
import { DB, type DBConnectionInfo } from './db'
import { Jellyfin } from './jellyfin'
import { YouTubeMusic } from './youtube-music'
const constructConnection = (connectionInfo: ConnectionInfo): Connection => {
const constructConnection = (connectionInfo: DBConnectionInfo): Connection => {
const { id, userId, type, serviceInfo, tokens } = connectionInfo
switch (type) {
case 'jellyfin':