Add support to save chapter to databases

This commit is contained in:
2026-02-14 17:42:42 +08:00
parent d1a5b4aa3c
commit e510467197
9 changed files with 199 additions and 11 deletions

View File

@@ -12,6 +12,13 @@ export type DiscriminatedUnion<
export type QdChapterInfo = {
chapterInfo: QdTypes.ChapterInfo;
bookInfo: QdTypes.BookInfo;
bookId: number;
/**Chapter ID */
id: number;
/**Decrypted contents of the chapter. May not obtained if chapter is a free chapter */
contents?: string[];
/**Timestamp of the chapter */
time: number;
}
export type SendMessageMap = {