Members
-
<static, readonly> list :Array.<Anime>
-
Description
The list of Animes
Details
-
<static> publicList
-
Description
The list of Animes mapped with their public informations
Returns
Details
-
<private, readonly> jsonObject :JsonObject
-
Description
The json object of the anime. Used to store the datas in the index.json of the anime.
Details
-
name :string
-
Description
The name of the anime
Details
-
thumbnailLink :string
-
Description
The uri of the anime poster
Details
-
<private, readonly> _path :string
-
Description
The path to the anime's folder
Details
-
episodes :Array.<Episode>
-
Description
The list of episodes
Details
-
<readonly> id :number
-
Description
The unique id of the anime
Details
-
<readonly> path
-
Description
Return the path to the anime folder
Returns
Details
Methods
-
toPublic() → {PublicAnime}
-
Description
Return the public information of the anime (= the informations to give to the client)
Returns
Details
-
getEpisodeById( episodeId ) → {Episode|null}
-
Description
Get an anime's
Episodeby its idParameters
Name Type Description episodeIdnumber Returns
Details
-
updateJson() → {Promise.<void>}
-
Description
Update the json by generating the
AnimeConfigand getting theEpisodeConfigof all its episodeReturns
Details
-
toAnimeConfig() → {AnimeConfig}
-
Description
Return the
AnimeConfigof the AnimeReturns
Details