refactor, added slate, added editor, added book
This commit is contained in:
parent
bc250e73bb
commit
029b7e9353
33 changed files with 714 additions and 496 deletions
|
|
@ -7,10 +7,34 @@ export const sessionFragment = gql`
|
|||
}
|
||||
`;
|
||||
|
||||
// refreshToken {
|
||||
// token
|
||||
// maxAge
|
||||
// secure
|
||||
// httpOnly
|
||||
// sameSite
|
||||
// }
|
||||
export const bookFragment = gql`
|
||||
fragment Book on Book {
|
||||
id
|
||||
title
|
||||
description
|
||||
author {
|
||||
id
|
||||
username
|
||||
}
|
||||
createdAt
|
||||
updatedAt
|
||||
progressStatus
|
||||
wordsTotal
|
||||
chaptersTotal
|
||||
ratingTotal
|
||||
reviewsTotal
|
||||
}
|
||||
`;
|
||||
|
||||
export const bookChapterFragment = gql`
|
||||
fragment BookChapter on BookChapter {
|
||||
id
|
||||
title
|
||||
createdAt
|
||||
updatedAt
|
||||
foreword
|
||||
footnote
|
||||
sequenceNumber
|
||||
reviewsTotal
|
||||
}
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue