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
18
app/client/interfaces.tsx
Normal file
18
app/client/interfaces.tsx
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue