Skip to content

Commit

Permalink
feat(hasura): update api
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Jul 12, 2023
1 parent f0ecf7c commit 9a25300
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: authorizer_verification_requests
schema: public
1 change: 1 addition & 0 deletions hasura/metadata/databases/punkga-pg/tables/tables.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- "!include public_authorizer_users.yaml"
- "!include public_authorizer_verification_requests.yaml"
- "!include public_bookshelf.yaml"
- "!include public_chapter_languages.yaml"
- "!include public_chapters.yaml"
Expand Down
21 changes: 21 additions & 0 deletions hasura/metadata/query_collections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,9 @@
query GetSubscribeList ($user_id: String = "") {
subscribers(order_by: {created_at:desc}, where: {user_id:{_eq:$user_id}}) {
subscribers_manga {
id
banner
status
manga_languages {
is_main_language
language_id
Expand All @@ -647,6 +649,15 @@
}
}
}
manga_tags {
tag {
id
tag_languages {
language_id
value
}
}
}
}
user_id
}
Expand All @@ -657,6 +668,7 @@
manga(where: {id:{_in:$id}}) {
id
banner
status
manga_languages {
is_main_language
language_id
Expand All @@ -682,5 +694,14 @@
}
}
}
manga_tags {
tag {
id
tag_languages {
language_id
value
}
}
}
}
}

0 comments on commit 9a25300

Please sign in to comment.