Initial commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
export interface Genre {
|
||||
id: string
|
||||
name: string
|
||||
slug: string
|
||||
description: string
|
||||
icon: string
|
||||
}
|
||||
|
||||
export interface Novel {
|
||||
id: string
|
||||
title: string
|
||||
slug: string
|
||||
author: string
|
||||
coverColor: string
|
||||
description: string
|
||||
genres: string[]
|
||||
status: "Đang ra" | "Hoàn thành" | "Tạm ngưng"
|
||||
totalChapters: number
|
||||
views: number
|
||||
rating: number
|
||||
ratingCount: number
|
||||
bookmarkCount: number
|
||||
lastUpdated: string
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export interface Chapter {
|
||||
id: string
|
||||
novelId: string
|
||||
number: number
|
||||
title: string
|
||||
content: string
|
||||
views: number
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string
|
||||
username: string
|
||||
email: string
|
||||
avatarColor: string
|
||||
avatarUrl?: string
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export interface Comment {
|
||||
id: string
|
||||
userId: string
|
||||
username: string
|
||||
avatarColor: string
|
||||
novelId: string
|
||||
chapterId?: string
|
||||
content: string
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export interface Bookmark {
|
||||
novelId: string
|
||||
lastChapterId?: string
|
||||
lastChapterNumber?: number
|
||||
addedAt: string
|
||||
}
|
||||
Reference in New Issue
Block a user