mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Adding some css, fix message on log in failure
This commit is contained in:
@@ -22,10 +22,6 @@ export type AuthFailure = {
|
||||
message: string;
|
||||
};
|
||||
|
||||
export interface MusicService {
|
||||
generateToken(credentials: Credentials): Promise<AuthSuccess | AuthFailure>;
|
||||
login(authToken: string): Promise<MusicLibrary>;
|
||||
}
|
||||
|
||||
export type Artist = {
|
||||
id: string;
|
||||
@@ -64,6 +60,10 @@ export type ArtistQuery = Paging
|
||||
export type AlbumQuery = Paging & {
|
||||
artistId?: string
|
||||
}
|
||||
export interface MusicService {
|
||||
generateToken(credentials: Credentials): Promise<AuthSuccess | AuthFailure>;
|
||||
login(authToken: string): Promise<MusicLibrary>;
|
||||
}
|
||||
|
||||
export interface MusicLibrary {
|
||||
artists(q: ArtistQuery): Promise<Result<Artist>>;
|
||||
|
||||
Reference in New Issue
Block a user