mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
aa72161990
Styling and bugfixing next
13 lines
558 B
TypeScript
13 lines
558 B
TypeScript
import {PathToSlugDto} from "../models/dtos/PathToSlugDto";
|
|
import {Observable} from "rxjs";
|
|
import {DetectedGameDto} from "../models/dtos/DetectedGameDto";
|
|
import {UnmappedFileDto} from "../models/dtos/UnmappedFileDto";
|
|
|
|
export interface LibraryManagementApi {
|
|
mapGame(pathToSlugDto: PathToSlugDto): Observable<DetectedGameDto>;
|
|
getUnmappedFiles(): Observable<UnmappedFileDto[]>;
|
|
confirmGameMapping(slug: string): Observable<DetectedGameDto>;
|
|
deleteGame(slug: string): Observable<Response>;
|
|
deleteUnmappedFile(id: number): Observable<Response>;
|
|
}
|