Update JSDOC
parent
0c01722c96
commit
f611482a06
|
@ -77,6 +77,9 @@ export default class LatestSearchQuery implements IQuery {
|
||||||
return await fetchGETResponse(decoded);
|
return await fetchGETResponse(decoded);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value (in days) acceptable in the query starting from a generic date.
|
||||||
|
*/
|
||||||
public findNearestDate(d: Date): TDate {
|
public findNearestDate(d: Date): TDate {
|
||||||
// Find the difference between today and the passed date
|
// Find the difference between today and the passed date
|
||||||
const diff = this.dateDiffInDays(new Date(), d);
|
const diff = this.dateDiffInDays(new Date(), d);
|
||||||
|
|
|
@ -13,6 +13,7 @@ import ThreadSearchQuery from "../classes/query/thread-search-query.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the URLs of the handiwork' threads that match the passed parameters.
|
* Gets the URLs of the handiwork' threads that match the passed parameters.
|
||||||
|
*
|
||||||
* You *must* be logged.
|
* You *must* be logged.
|
||||||
* @param {ThreadSearchQuery} query
|
* @param {ThreadSearchQuery} query
|
||||||
* Query used for the search
|
* Query used for the search
|
||||||
|
|
Loading…
Reference in New Issue