| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
# Copyright 2026 Mike Fährmann |
| 4 |
# |
| 5 |
# This program is free software; you can redistribute it and/or modify |
| 6 |
# it under the terms of the GNU General Public License version 2 as |
| 7 |
# published by the Free Software Foundation. |
| 8 |
|
| 9 |
|
| 10 |
Get_comicChapterList = """ |
| 11 |
query Get_comicChapterList($comicId: ID!) { |
| 12 |
get_comicChapterList(comicId: $comicId) { |
| 13 |
data { |
| 14 |
id |
| 15 |
dname |
| 16 |
title |
| 17 |
lang |
| 18 |
urlPath |
| 19 |
srcTitle |
| 20 |
sourceId |
| 21 |
dateCreate |
| 22 |
} |
| 23 |
} |
| 24 |
} |
| 25 |
""" |
| 26 |
|
| 27 |
Get_chapterNode = """ |
| 28 |
query Get_chapterNode($getChapterNodeId: ID!) { |
| 29 |
get_chapterNode(id: $getChapterNodeId) { |
| 30 |
data { |
| 31 |
id |
| 32 |
dname |
| 33 |
lang |
| 34 |
sourceId |
| 35 |
srcTitle |
| 36 |
dateCreate |
| 37 |
comicNode{ |
| 38 |
id |
| 39 |
} |
| 40 |
imageFile { |
| 41 |
urlList |
| 42 |
} |
| 43 |
} |
| 44 |
} |
| 45 |
} |
| 46 |
""" |
| 47 |
|
| 48 |
Get_comicNode = """ |
| 49 |
query Get_comicNode($getComicNodeId: ID!) { |
| 50 |
get_comicNode(id: $getComicNodeId) { |
| 51 |
data { |
| 52 |
id |
| 53 |
name |
| 54 |
artists |
| 55 |
authors |
| 56 |
genres |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
""" |
| 61 |
|
| 62 |
get_content_source_chapterList = """ |
| 63 |
query get_content_source_chapterList($sourceId: Int!) { |
| 64 |
get_content_source_chapterList( |
| 65 |
sourceId: $sourceId |
| 66 |
) { |
| 67 |
|
| 68 |
id |
| 69 |
data { |
| 70 |
|
| 71 |
|
| 72 |
id |
| 73 |
sourceId |
| 74 |
|
| 75 |
dbStatus |
| 76 |
isNormal |
| 77 |
isHidden |
| 78 |
isDeleted |
| 79 |
isFinal |
| 80 |
|
| 81 |
dateCreate |
| 82 |
datePublic |
| 83 |
dateModify |
| 84 |
lang |
| 85 |
volume |
| 86 |
serial |
| 87 |
dname |
| 88 |
title |
| 89 |
urlPath |
| 90 |
|
| 91 |
srcTitle srcColor |
| 92 |
|
| 93 |
count_images |
| 94 |
|
| 95 |
stat_count_post_child |
| 96 |
stat_count_post_reply |
| 97 |
stat_count_views_login |
| 98 |
stat_count_views_guest |
| 99 |
|
| 100 |
userId |
| 101 |
userNode { |
| 102 |
|
| 103 |
id |
| 104 |
data { |
| 105 |
|
| 106 |
id |
| 107 |
name |
| 108 |
uniq |
| 109 |
avatarUrl |
| 110 |
urlPath |
| 111 |
|
| 112 |
verified |
| 113 |
deleted |
| 114 |
banned |
| 115 |
|
| 116 |
dateCreate |
| 117 |
dateOnline |
| 118 |
|
| 119 |
stat_count_chapters_normal |
| 120 |
stat_count_chapters_others |
| 121 |
|
| 122 |
is_adm is_mod is_vip is_upr |
| 123 |
|
| 124 |
} |
| 125 |
|
| 126 |
} |
| 127 |
|
| 128 |
disqusId |
| 129 |
|
| 130 |
|
| 131 |
} |
| 132 |
|
| 133 |
} |
| 134 |
} |
| 135 |
""" |
| 136 |
|
| 137 |
get_content_comic_sources = """ |
| 138 |
query get_content_comic_sources($comicId: Int!, $dbStatuss: [String] = [], $userId: Int, $haveChapter: Boolean, $sortFor: String) { |
| 139 |
get_content_comic_sources( |
| 140 |
comicId: $comicId |
| 141 |
dbStatuss: $dbStatuss |
| 142 |
userId: $userId |
| 143 |
haveChapter: $haveChapter |
| 144 |
sortFor: $sortFor |
| 145 |
) { |
| 146 |
|
| 147 |
id |
| 148 |
data{ |
| 149 |
|
| 150 |
id |
| 151 |
|
| 152 |
dbStatus |
| 153 |
isNormal |
| 154 |
isHidden |
| 155 |
isDeleted |
| 156 |
|
| 157 |
lang name altNames authors artists |
| 158 |
|
| 159 |
release |
| 160 |
genres summary{code} extraInfo{code} |
| 161 |
|
| 162 |
urlCover600 |
| 163 |
urlCover300 |
| 164 |
urlCoverOri |
| 165 |
|
| 166 |
srcTitle srcColor |
| 167 |
|
| 168 |
chapterCount |
| 169 |
chapterNode_last { |
| 170 |
id |
| 171 |
data { |
| 172 |
dateCreate datePublic dateModify |
| 173 |
volume serial |
| 174 |
dname title |
| 175 |
urlPath |
| 176 |
userNode { |
| 177 |
id data {uniq name} |
| 178 |
} |
| 179 |
} |
| 180 |
} |
| 181 |
} |
| 182 |
|
| 183 |
} |
| 184 |
} |
| 185 |
""" |