F95API/scripts/fetch-data/fetch-handiwork.d.ts

15 lines
484 B
TypeScript
Raw Normal View History

2021-03-05 11:27:36 +00:00
import HandiworkSearchQuery from "../classes/query/handiwork-search-query";
/**
* Gets the URLs of the handiworks that match the passed parameters.
* You *must* be logged.
* @param {LatestSearchQuery} query
* Query used for the search
* @param {Number} limit
* Maximum number of items to get. Default: 30
* @returns {Promise<String[]>} URLs of the handiworks
*/
2021-03-05 12:06:09 +00:00
export default function fetchHandiworkURLs(
query: HandiworkSearchQuery,
limit?: number
): Promise<string[]>;