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

    Interface WKCreatedReview

    A created review returned from the WaniKani API.

    interface WKCreatedReview {
        data: WKReviewData;
        data_updated_at: WKDatableString;
        id: number;
        object: "review";
        resources_updated: {
            assignment: WKAssignment;
            review_statistic: WKReviewStatistic;
        };
        url: string;
        code?: undefined;
        error?: undefined;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Data for the created review.

    data_updated_at: WKDatableString

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

    id: number

    A unique number identifying the review.

    object: "review"

    The kind of object returned.

    resources_updated: {
        assignment: WKAssignment;
        review_statistic: WKReviewStatistic;
    }

    The resources updated alongside creating the review.

    Type declaration

    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.