A user and their status/information on WaniKani.

interface WKUser {
    data: WKUserData;
    data_updated_at: WKDatableString;
    object: "user";
    url: string;
    code?: undefined;
    error?: undefined;
    id?: undefined;
}

Hierarchy (view full)

Properties

Data for the returned user.

data_updated_at: WKDatableString

For a resource, this is the last time that particular resource was updated.

object: "user"

The kind of object returned.

url: string

The URL of the requested resource.

code?: undefined

A resource will never have a code property.

error?: undefined

A resource will never have an error property.

id?: undefined

A unique identifying number present on all Resources except a User resource, where it is present the data object.