WIP: Process ePubs
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import {Routes} from '@angular/router';
|
||||
import {PdfViewerComponent} from './book/components/pdf-viewer/pdf-viewer.component';
|
||||
import {BookBrowserComponent} from './book/components/book-browser/book-browser.component';
|
||||
import {EpubViewerComponent} from './epub-viewer/component/epub-viewer.component';
|
||||
import {MainDashboardComponent} from './dashboard/components/main-dashboard/main-dashboard.component';
|
||||
import {AppLayoutComponent} from './layout/component/layout-main/app.layout.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: '', component: EpubViewerComponent,
|
||||
path: '', component: AppLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '', component: EpubViewerComponent,
|
||||
path: '', component: MainDashboardComponent,
|
||||
},
|
||||
{
|
||||
path: 'all-books', component: BookBrowserComponent,
|
||||
|
||||
@@ -59,12 +59,6 @@ export interface Category {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface BookWithNeighborsDTO {
|
||||
currentBook: Book;
|
||||
previousBookId: number | null;
|
||||
nextBookId: number | null;
|
||||
}
|
||||
|
||||
export interface BookSetting {
|
||||
pageNumber: number;
|
||||
zoom: number | string;
|
||||
|
||||
Reference in New Issue
Block a user