Interface: GenreData
Defined in: src/nakanimendo/nakanime.ts:24
The GenreData
interface defines the structure for genre data within the Mika Scraper library. It is used to represent individual genres by encapsulating essential properties that identify and describe them.
Properties
id
id:
number
The unique identifier for the genre. This property is crucial for distinguishing between different genres within the application.
name
name:
string
The human-readable name of the genre. This property is typically displayed in user interfaces or logs to convey the genreβs identity.
slug
slug:
string
A URL-friendly version of the genre name, typically used in routing or as part of API endpoints. This property enables easier integration with web frameworks and improves the readability of URLs.
Last updated on