13 lines
232 B
TypeScript
13 lines
232 B
TypeScript
import type { KomgaUser } from "./komga";
|
|
|
|
export interface AuthConfig {
|
|
serverUrl: string;
|
|
authHeader: string;
|
|
}
|
|
|
|
export interface AuthState {
|
|
isAuthenticated: boolean;
|
|
user: KomgaUser | null;
|
|
serverUrl: string | null;
|
|
}
|