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