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

13 lines
489 B
TypeScript
Raw Normal View History

2021-03-05 11:27:36 +00:00
import ThreadSearchQuery from "../classes/query/thread-search-query.js";
/**
* Gets the URLs of the handiwork' threads that match the passed parameters.
*
* You *must* be logged.
* @param {ThreadSearchQuery} 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:05:49 +00:00
export default function fetchThreadHandiworkURLs(query: ThreadSearchQuery, limit?: number): Promise<string[]>;