aboutsummaryrefslogtreecommitdiff
path: root/utils/mal/enums.go
blob: 76d6f3d3e129fb113d2df3492e508b5abf14132d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package mal

type Type string

const (
	TypeTV      Type = "TV"
	TypeMovie   Type = "Movie"
	TypeOVA     Type = "OVA"
	TypeONA     Type = "ONA"
	TypeSpecial Type = "Special"
	TypeMusic   Type = "Music"
	TypeUnknown Type = "Unknown"
)

type Status string

const (
	StatusAiring      Status = "Currently Airing"
	StatusFinished    Status = "Finished Airing"
	StatusNotYetAired Status = "Not yet aired"
)

type Source string

const (
	SourceOriginal      Source = "Original"
	SourceManga         Source = "Manga"
	SourceLightNovel    Source = "Light novel"
	SourceVisualNovel   Source = "Visual novel"
	SourceGame          Source = "Game"
	SourceNovel         Source = "Novel"
	SourceWebManga      Source = "Web manga"
	SourceWebNovel      Source = "Web novel"
	SourceCardGame      Source = "Card game"
	SourceFourKomaManga Source = "4-koma manga"
	SourceBook          Source = "Book"
	SourcePictureBook   Source = "Picture book"
	SourceRadio         Source = "Radio"
	SourceMusic         Source = "Music"
	SourceOther         Source = "Other"
	SourceUnknown       Source = "Unknown"
)

type Rating string

const (
	RatingG    Rating = "G - All Ages"
	RatingPG   Rating = "PG - Children"
	RatingPG13 Rating = "PG-13 - Teens 13 or older"
	RatingR17  Rating = "R - 17+ (violence & profanity)"
	RatingR    Rating = "R+ - Mild Nudity"
	RatingRx   Rating = "Rx - Hentai"
)

type Season string

const (
	SeasonWinter Season = "Winter"
	SeasonSpring Season = "Spring"
	SeasonSummer Season = "Summer"
	SeasonFall   Season = "Fall"
)