mirror of
https://git.lucida.su/lucida/verdana.git
synced 2026-08-19 13:55:50 +00:00
add optional limit to getByUrl signature
This commit is contained in:
parent
9147538229
commit
0b45994b50
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue