Compare commits

...

2 commits

Author SHA1 Message Date
9b8f184ff1
improved some provider comments
All checks were successful
Actions / Build and Push Documentation (push) Successful in 16s
2025-02-10 05:27:52 -06:00
f5813826e4
formatting 2025-02-10 05:26:57 -06:00
3 changed files with 5 additions and 8 deletions

View file

@ -1,7 +1,4 @@
import config from "eslint-config-standard";
/** @type {import('eslint').Linter.Config[]} */
export default [
...[].concat(config),
];
export default [...[].concat(config)];

View file

@ -25,7 +25,7 @@
],
"scripts": {
"docs": "typedoc --options typedoc.json",
"format": "prettier --write '**/*.{ts,json,md}'"
"format": "bun prettier --write '**/*.{ts,json,md}'"
},
"devDependencies": {
"@getmeli/cli": "1.2.0",

View file

@ -9,7 +9,7 @@ export class UrlProvider {
* Creates a new UrlProvider instance.
* @param hash - A hash string used for identifying or verifying the resource.
* @param hashFormat - The format of the provided hash.
* @param url - A Resource instance representing the URL.
* @param url - A Resource instance representing the URL where the file can be downloaded from.
*/
constructor(
public hash: string,
@ -27,7 +27,7 @@ export class ModrinthProvider extends UrlProvider {
* Creates a new ModrinthProvider instance.
* @param hash - A hash string used for identification or verification.
* @param hashFormat - The format of the provided hash.
* @param url - A Resource instance representing the URL.
* @param url - A Resource instance representing the URL where the file can be downloaded from.
* @param modId - The identifier for the Modrinth mod.
* @param versionId - The version identifier for the mod.
*/
@ -51,7 +51,7 @@ export class GitHubProvider extends UrlProvider {
* Creates a new GitHubProvider instance.
* @param hash - A hash string used for identification or verification.
* @param hashFormat - The format of the hash.
* @param url - A Resource instance representing the URL.
* @param url - A Resource instance representing the URL where the file can be downloaded from.
* @param branch - The branch name within the GitHub repository.
* @param regex - A regular expression for matching specific patterns in the GitHub URL.
* @param slug - A URL slug used for identifying the repository.