@bachman-dev/wanikani-api-types - v2.0.0
    Preparing search index...

    Interface UserPreferencesPayload

    The payload sent to the WaniKani API to update a user's preferences.

    interface UserPreferencesPayload {
        user: { preferences: Partial<UserPreferences> };
    }
    Index

    Properties

    Properties

    user: { preferences: Partial<UserPreferences> }

    The user object, as part of the payload.

    Type declaration

    • preferences: Partial<UserPreferences>

      The user preferences to be updated; only those specified in the object will be updated.