mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-12 14:47:24 -05:00
add optional limit to getByUrl signature
This commit is contained in:
@@ -84,7 +84,7 @@ export interface AlbumGetByUrlResponse {
|
||||
export interface Streamer {
|
||||
hostnames: string[]
|
||||
search(query: string, limit: number): Promise<SearchResults>
|
||||
getTypeFromUrl(url: string): ItemType
|
||||
getTypeFromUrl: ((url: string) => ItemType) | ((url: string, limit?: number) => ItemType)
|
||||
getByUrl(url: string): Promise<GetByUrlResponse>
|
||||
disconnect?(): Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user