Skip to content

Commit

Permalink
Merge branch 'main' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Sep 30, 2024
2 parents 837122d + 6e3c30e commit 4cbe500
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion hasura/metadata/query_collections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,9 +1122,49 @@
query: |
query manga ($contest_id: Int!, $id: Int!, $limit: Int = 100, $offset: Int = 0) {
manga(where: {contest_id:{_eq:$contest_id},manga_creators:{creator_id:{_eq:$id}}}, limit: $limit, offset: $offset) {
banner
id
slug
latest_published
manga_total_views {
views
}
manga_total_likes {
likes
}
manga_creators {
creator {
id
slug
name
pen_name
isActive
}
}
status
chapters(limit: 1, order_by: {chapter_number:desc}, where: {status:{_eq:"Published"}}) {
id
chapter_number
pushlish_date
status
updated_at
}
manga_tags(limit: 5) {
tag {
id
tag_languages {
language_id
tag_id
value
}
}
}
manga_languages {
title
description
is_main_language
language_id
}
banner
poster
}
manga_aggregate(where: {contest_id:{_eq:$contest_id},manga_creators:{creator_id:{_eq:$id}}}, limit: $limit, offset: $offset) {
Expand Down

0 comments on commit 4cbe500

Please sign in to comment.