mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-22 11:35:56 +00:00
feat: add Jellyfin profile authentication
This commit is contained in:
1 parent
2095730eee
commit
0d86c6e91c
8 files changed
+771
-157
No files matched your search
@@ -67,6 +67,7 @@ export interface AppConfig {
|
||||
export interface SelectOption {
|
||||
id: string;
|
||||
label: string;
|
||||
imageUrl?: string;
|
||||
}
|
||||
|
||||
export interface ServiceOptionsResponse {
|
||||
@@ -313,12 +314,18 @@ export interface HubPageResponse {
|
||||
export interface SessionResponse {
|
||||
needsSetup: boolean;
|
||||
authenticated: boolean;
|
||||
role?: 'admin' | 'user';
|
||||
userId?: string;
|
||||
}
|
||||
|
||||
export interface AuthPayload {
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface JellyfinLoginPayload extends AuthPayload {
|
||||
userId: string;
|
||||
}
|
||||
|
||||
export interface AuthResponse {
|
||||
ok: boolean;
|
||||
needsSetup: boolean;
|
||||
|
||||
Reference in new issue
Block a user