feat: Reader working, some work still need to be done
This commit is contained in:
parent
33f5a5568a
commit
668702b1fb
19
assets/react/app/domain/reader.js
Normal file
19
assets/react/app/domain/reader.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export class ReaderContext {
|
||||
constructor(id, title, number, manga, navigation) {
|
||||
this.id = id;
|
||||
this.title = title;
|
||||
this.number = number;
|
||||
this.manga = manga;
|
||||
this.navigation = navigation;
|
||||
}
|
||||
}
|
||||
|
||||
export class Page {
|
||||
constructor(id, pageNumber, base64Content, mimeType, dimensions) {
|
||||
this.id = id;
|
||||
this.pageNumber = pageNumber;
|
||||
this.base64Content = base64Content;
|
||||
this.mimeType = mimeType;
|
||||
this.dimensions = dimensions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user