implemented ratings, fixes
This commit is contained in:
parent
4801cf3a13
commit
d1da980501
31 changed files with 775 additions and 236 deletions
|
|
@ -38,3 +38,16 @@ export const bookChapterFragment = gql`
|
|||
reviewsTotal
|
||||
}
|
||||
`;
|
||||
|
||||
export const reviewFragment = gql`
|
||||
fragment Review on Review {
|
||||
id
|
||||
author {
|
||||
id
|
||||
username
|
||||
}
|
||||
text
|
||||
ratingTotal
|
||||
createdAt
|
||||
}
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue