Data for study materials returned from the WaniKani API.

interface WKStudyMaterialData {
    created_at: WKDatableString;
    hidden: boolean;
    meaning_note: null | string;
    meaning_synonyms: string[];
    reading_note: null | string;
    subject_id: number;
    subject_type: WKSubjectType;
}

Hierarchy (view full)

Properties

created_at: WKDatableString

Timestamp when the study material was created.

hidden: boolean

Indicates if the associated subject has been hidden, preventing it from appearing in lessons or reviews.

meaning_note: null | string

Free form note related to the meaning(s) of the associated subject.

meaning_synonyms: string[]

Synonyms for the meaning of the subject. These are used as additional correct answers during reviews.

reading_note: null | string

Free form note related to the reading(s) of the associated subject.

subject_id: number

Unique identifier of the associated subject.

subject_type: WKSubjectType

The type of the associated subject, one of: kanji, radical, or vocabulary.