UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

21 lines (20 loc) 719 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SearchIndex = void 0; /** * The search index 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 SearchIndex; (function (SearchIndex) { SearchIndex["Relevance"] = "relevance"; SearchIndex["Downloads"] = "downloads"; SearchIndex["Follows"] = "follows"; SearchIndex["Newest"] = "newest"; SearchIndex["Updated"] = "updated"; })(SearchIndex || (exports.SearchIndex = SearchIndex = {}));