Add an option to adjust the size of book covers in the grid view

This commit is contained in:
aditya.chandel
2025-06-02 22:45:16 -06:00
committed by Aditya Chandel
parent bbf922b525
commit fb37b578f3
6 changed files with 98 additions and 19 deletions
@@ -16,6 +16,7 @@ export interface EntityViewPreference {
sortKey: string;
sortDir: 'ASC' | 'DESC';
view: 'GRID' | 'TABLE';
coverSize: number
}
export interface EntityViewPreferenceOverride {
@@ -116,6 +117,10 @@ export class UserService {
});
}
getCurrentUser(): User | null {
return this.userStateSubject.getValue();
}
getMyself(): Observable<User> {
return this.http.get<User>(`${this.userUrl}/me`);
}