Still figuring out how typescript works with rest APIs
This commit is contained in:
10
src/app.d.ts
vendored
10
src/app.d.ts
vendored
@@ -11,6 +11,16 @@ declare global {
|
||||
// interface Platform {}
|
||||
}
|
||||
|
||||
namespace Jellyfin {
|
||||
interface AuthData {
|
||||
User: {
|
||||
Name: string
|
||||
Id: string
|
||||
}
|
||||
AccessToken: string
|
||||
}
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: string
|
||||
username: string
|
||||
|
||||
Reference in New Issue
Block a user