Tag is an interface representing a tag. It includes the id, name, description, category, rank, isGeneralSpoiler, isMediaSpoiler, isAdult, and userId each having their own properties.

interface Tag {
    category: string;
    description: string;
    id: number;
    isAdult: boolean;
    isGeneralSpoiler: boolean;
    isMediaSpoiler: boolean;
    name: string;
    rank: number;
    userId: number;
}

Properties

category: string

category is a string representing the category of the tag.

description: string

description is a string representing the description of the tag.

id: number

id is a number representing the id of the tag.

isAdult: boolean

isAdult is a boolean representing whether the tag is adult.

isGeneralSpoiler: boolean

isGeneralSpoiler is a boolean representing whether the tag is a general spoiler.

isMediaSpoiler: boolean

isMediaSpoiler is a boolean representing whether the tag is a media spoiler.

name: string

name is a string representing the name of the tag.

rank: number

rank is a number representing the rank of the tag.

userId: number

userId is a number representing the id of the user who created the tag.