18 lines
491 B
TypeScript
18 lines
491 B
TypeScript
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;
|
|
}
|