initiation librodrome
This commit is contained in:
24
app/types/book.ts
Normal file
24
app/types/book.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface ChapterMeta {
|
||||
slug: string
|
||||
title: string
|
||||
description?: string
|
||||
order: number
|
||||
readingTime?: string
|
||||
}
|
||||
|
||||
export interface ChapterSongLink {
|
||||
chapterSlug: string
|
||||
songId: string
|
||||
primary: boolean
|
||||
}
|
||||
|
||||
export interface BookConfig {
|
||||
title: string
|
||||
author: string
|
||||
description: string
|
||||
coverImage?: string
|
||||
chapters: ChapterMeta[]
|
||||
songs: import('./song').Song[]
|
||||
chapterSongs: ChapterSongLink[]
|
||||
defaultPlaylistOrder: string[]
|
||||
}
|
||||
Reference in New Issue
Block a user