Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

425 B
Raw Blame
import { AgeRestriction } from './metadata/age-restriction';
import { Preferences } from './preferences/preferences';

// This interface is only used for login and storing/retrieving JWT from local storage
export interface User {
    username: string;
    token: string;
    refreshToken: string;
    roles: string[];
    preferences: Preferences;
    apiKey: string;
    email: string;
    ageRestriction: AgeRestriction;
}