<commit_before>import { DENSITY } from '../constants';

export interface UserSettings {
    Email: {
        Value: string;
        Status: number;
        Notify: number;
        Reset: number;
    };
    Phone: {
        Value: string;
        Status: number;
        Notify: number;
        Reset: number;
    };
    Password: {
        Mode: number;
        ExpirationTime: number; // If set, after this time force password change
    };
    '2FA': {
        Enabled: number; // 0 for disabled, 1 for OTP, 2 for U2F, 3 for both
        Allowed: number; // 0 for disabled, 1 for OTP, 2 for U2F, 3 for both
        ExpirationTime: number; // If set, after this time force add 2FA
        U2FKeys: [
            {
                Label: string;
                KeyHandle: string;
                Compromised: number;
            }
        ];
    };
    News: number;
    Locale: string;
    LogAuth: number;
    InvoiceText: number;
    Density: DENSITY;
}
<commit_msg>Update interface UserSettings and add Theme, ThemeType<commit_after>import { DENSITY } from '../constants';

export interface UserSettings {
    Email: {
        Value: string;
        Status: number;
        Notify: number;
        Reset: number;
    };
    Phone: {
        Value: string;
        Status: number;
        Notify: number;
        Reset: number;
    };
    Password: {
        Mode: number;
        ExpirationTime: number; // If set, after this time force password change
    };
    '2FA': {
        Enabled: number; // 0 for disabled, 1 for OTP, 2 for U2F, 3 for both
        Allowed: number; // 0 for disabled, 1 for OTP, 2 for U2F, 3 for both
        ExpirationTime: number; // If set, after this time force add 2FA
        U2FKeys: [
            {
                Label: string;
                KeyHandle: string;
                Compromised: number;
            }
        ];
    };
    News: number;
    Locale: string;
    LogAuth: number;
    InvoiceText: number;
    Density: DENSITY;
    Theme: string;
    ThemeType: number;
}

{'fraction_non_alphanumeric': 0.09639149777558081, 'fraction_numerical': 0.012852199703410776, 'mean_word_length': 1.6666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '666740', 'n_tokens_mistral': 613, 'n_tokens_neox': 580, 'n_words': 198}