Implement Bookdrop: Watch folder for file drops and auto-process uploads

This commit is contained in:
aditya.chandel
2025-07-19 11:05:59 -06:00
committed by Aditya Chandel
parent 5064706b8f
commit 177528e640
80 changed files with 3171 additions and 136 deletions
@@ -0,0 +1,15 @@
import {Injectable} from '@angular/core';
import {Subject} from 'rxjs';
@Injectable({ providedIn: 'root' })
export class BookMetadataHostService {
private bookSwitchRequest$ = new Subject<number>();
requestBookSwitch(bookId: number) {
this.bookSwitchRequest$.next(bookId);
}
get bookSwitches$() {
return this.bookSwitchRequest$.asObservable();
}
}