refactor(frontend): rename booklore-ui to frontend
- Frontend path: - rename the tracked Angular app tree from `booklore-ui/` to `frontend/` - preserve file contents during the move so this commit stays focused on the path change itself - Frontend docs: - update the moved frontend README and contribution guide where they refer to the renamed folder - keep those edits limited to path references introduced by the directory rename
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
export interface AudiobookInfo {
|
||||
bookId: number;
|
||||
bookFileId: number;
|
||||
title?: string;
|
||||
author?: string;
|
||||
narrator?: string;
|
||||
durationMs: number;
|
||||
bitrate?: number;
|
||||
codec?: string;
|
||||
sampleRate?: number;
|
||||
channels?: number;
|
||||
folderBased: boolean;
|
||||
chapters?: AudiobookChapter[];
|
||||
tracks?: AudiobookTrack[];
|
||||
}
|
||||
|
||||
export interface AudiobookChapter {
|
||||
index: number;
|
||||
title: string;
|
||||
startTimeMs: number;
|
||||
endTimeMs: number;
|
||||
durationMs: number;
|
||||
}
|
||||
|
||||
export interface AudiobookTrack {
|
||||
index: number;
|
||||
fileName: string;
|
||||
title: string;
|
||||
durationMs: number;
|
||||
fileSizeBytes: number;
|
||||
cumulativeStartMs: number;
|
||||
}
|
||||
|
||||
export interface AudiobookProgress {
|
||||
positionMs: number;
|
||||
trackIndex?: number;
|
||||
trackPositionMs?: number;
|
||||
percentage: number;
|
||||
}
|
||||
Reference in New Issue
Block a user