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

18
app/client/interfaces.tsx Normal file
View file

@ -0,0 +1,18 @@
import { WorkingProgressStatus } from '@generated/types';
export interface BookOne {
readonly id: string;
readonly title: string;
readonly description: string;
readonly author: {
readonly id: string;
readonly username: string;
};
readonly createdAt: string;
readonly updatedAt: string;
readonly progressStatus: WorkingProgressStatus;
readonly wordsTotal: number;
readonly chaptersTotal: number;
readonly ratingTotal: number;
readonly reviewsTotal: number;
}