forked from roshank231/optest
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.graphql
131 lines (123 loc) · 1.94 KB
/
schema.graphql
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
enum DownloadType {
MAGNET
TORRENT
PIXELDRAIN
TELEGRAM
}
type DownloadTranslation {
language_code: String!
text: String!
}
type Download {
id: String!
type: String!
uri: String!
translations: [DownloadTranslation!]!
}
type Image {
src: String!
mimeType: String!
width: Int!
}
type EpisodeTranslation {
language_code: String!
title: String!
description: String!
includes_sub: Boolean!
includes_dub: Boolean!
}
type Episode {
id: String!
part: Int!
invariant_title: String!
released_at: String!
duration: String!
resolution: String!
manga_chapters: String!
anime_episodes: String!
translations: [EpisodeTranslation!]!
images: [Image!]!
downloads: [Download!]!
}
type Arc {
id: String!
part: Int!
invariant_title: String!
released_at: String!
duration: String!
resolution: String!
manga_chapters: String!
anime_episodes: String!
translations: [EpisodeTranslation!]!
images: [Image!]!
episodes: [Episode!]!
downloads: [Download!]!
}
type Query {
arcs: [Arc!]!
episodes: [Episode!]!
}
query getArcs {
arcs {
id
part
invariant_title
released_at
duration
resolution
manga_chapters
anime_episodes
translations {
language_code
title
description
includes_sub
includes_dub
}
images {
src
mimeType
width
}
episodes {
id
part
invariant_title
released_at
duration
resolution
manga_chapters
anime_episodes
translations {
language_code
title
description
includes_sub
includes_dub
}
images {
src
mimeType
width
}
downloads {
id
type
uri
translations {
language_code
text
}
}
}
downloads {
id
type
uri
translations {
language_code
text
}
}
}
}