Merged v0.5.1 develop into main.
This commit is contained in:
commit
150479e755
256 changed files with 6898 additions and 1833 deletions
7
UI/Web/src/app/_models/events/cover-update-event.ts
Normal file
7
UI/Web/src/app/_models/events/cover-update-event.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* Represents a generic cover update event. Id is used based on entityType
|
||||
*/
|
||||
export interface CoverUpdateEvent {
|
||||
id: number;
|
||||
entityType: 'series' | 'chapter' | 'volume' | 'collectionTag';
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
export interface InProgressChapter {
|
||||
id: number;
|
||||
range: string;
|
||||
number: string;
|
||||
pages: number;
|
||||
volumeId: number;
|
||||
pagesRead: number;
|
||||
seriesId: number;
|
||||
seriesName: string;
|
||||
coverImage: string;
|
||||
libraryId: number;
|
||||
libraryName: string;
|
||||
}
|
||||
|
|
@ -1,10 +1,12 @@
|
|||
import { Library } from './library';
|
||||
|
||||
export interface Member {
|
||||
id: number;
|
||||
username: string;
|
||||
email: string;
|
||||
lastActive: string; // datetime
|
||||
created: string; // datetime
|
||||
isAdmin: boolean;
|
||||
//isAdmin: boolean;
|
||||
roles: string[];
|
||||
libraries: Library[];
|
||||
}
|
||||
13
UI/Web/src/app/_models/recently-added-item.ts
Normal file
13
UI/Web/src/app/_models/recently-added-item.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { LibraryType } from "./library";
|
||||
|
||||
export interface RecentlyAddedItem {
|
||||
seriesId: number;
|
||||
seriesName: string;
|
||||
created: string;
|
||||
title: string;
|
||||
libraryId: number;
|
||||
libraryType: LibraryType;
|
||||
volumeId: number;
|
||||
chapterId: number;
|
||||
id: number; // This is UI only, sent from backend but has no relation to any entity
|
||||
}
|
||||
23
UI/Web/src/app/_models/search/search-result-group.ts
Normal file
23
UI/Web/src/app/_models/search/search-result-group.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { Library } from "../library";
|
||||
import { SearchResult } from "../search-result";
|
||||
import { Tag } from "../tag";
|
||||
|
||||
export class SearchResultGroup {
|
||||
libraries: Array<Library> = [];
|
||||
series: Array<SearchResult> = [];
|
||||
collections: Array<Tag> = [];
|
||||
readingLists: Array<Tag> = [];
|
||||
persons: Array<Tag> = [];
|
||||
genres: Array<Tag> = [];
|
||||
tags: Array<Tag> = [];
|
||||
|
||||
reset() {
|
||||
this.libraries = [];
|
||||
this.series = [];
|
||||
this.collections = [];
|
||||
this.readingLists = [];
|
||||
this.persons = [];
|
||||
this.genres = [];
|
||||
this.tags = [];
|
||||
}
|
||||
}
|
||||
|
|
@ -12,6 +12,7 @@ export interface SeriesFilter {
|
|||
readStatus: ReadStatus;
|
||||
genres: Array<number>;
|
||||
writers: Array<number>;
|
||||
artists: Array<number>;
|
||||
penciller: Array<number>;
|
||||
inker: Array<number>;
|
||||
colorist: Array<number>;
|
||||
|
|
@ -68,4 +69,10 @@ export const mangaFormatFilters = [
|
|||
value: MangaFormat.ARCHIVE,
|
||||
selected: false
|
||||
}
|
||||
];
|
||||
];
|
||||
|
||||
export interface FilterEvent {
|
||||
filter: SeriesFilter;
|
||||
isFirst: boolean;
|
||||
}
|
||||
|
||||
|
|
|
|||
14
UI/Web/src/app/_models/series-group.ts
Normal file
14
UI/Web/src/app/_models/series-group.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { LibraryType } from "./library";
|
||||
|
||||
export interface SeriesGroup {
|
||||
seriesId: number;
|
||||
seriesName: string;
|
||||
created: string;
|
||||
title: string;
|
||||
libraryId: number;
|
||||
libraryType: LibraryType;
|
||||
volumeId: number;
|
||||
chapterId: number;
|
||||
id: number; // This is UI only, sent from backend but has no relation to any entity
|
||||
count: number;
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@ import { Preferences } from './preferences/preferences';
|
|||
export interface User {
|
||||
username: string;
|
||||
token: string;
|
||||
refreshToken: string;
|
||||
roles: string[];
|
||||
preferences: Preferences;
|
||||
apiKey: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue