Files
Mangarr/assets/react/app/domain/reader.js
2025-02-17 12:02:56 +01:00

19 lines
466 B
JavaScript

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;
}
}