typerinth
Version:
A TypeScript library for interacting with the Modrinth API.
21 lines (20 loc) • 707 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchSort = void 0;
/**
* The search sort defines how the search results are sorted.
*
* @property Relevance - Sort by relevance. (Default)
* @property Downloads - Sort by downloads.
* @property Follows - Sort by follows.
* @property Newest - Sort by creation date.
* @property Updated - Sort by last updated.
*/
var SearchSort;
(function (SearchSort) {
SearchSort["Relevance"] = "relevance";
SearchSort["Downloads"] = "downloads";
SearchSort["Follows"] = "follows";
SearchSort["Newest"] = "newest";
SearchSort["Updated"] = "updated";
})(SearchSort || (exports.SearchSort = SearchSort = {}));