@bachman-dev/wanikani-api-types - v1.8.0
    Preparing search index...

    Interface WKUserPreferencesPayload

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

    interface WKUserPreferencesPayload {
        user: { preferences: Partial<WKUserPreferences> };
    }
    Index

    Properties

    Properties

    user: { preferences: Partial<WKUserPreferences> }

    The user object, as part of the payload.

    Type declaration

    • preferences: Partial<WKUserPreferences>

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