refactor, added slate, added editor, added book

This commit is contained in:
lnn0q 2025-05-28 23:25:46 +03:00
parent bc250e73bb
commit 029b7e9353
33 changed files with 714 additions and 496 deletions

View file

@ -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
}
`;