This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-overlay/src/utils/utils.js

16 lines
318 B
JavaScript
Raw Normal View History

import WebsiteTypes from "../consts/WebsiteType";
export default class Utils {
2022-10-14 19:00:47 +00:00
constructor() {}
2022-10-14 19:00:47 +00:00
/**
* Returns the information for the given website type.
*
* @param {WebsiteTypes} website
* @returns The website type's information.
*/
2022-10-17 11:58:07 +00:00
static getWebsiteApi(website) {
2022-10-14 19:00:47 +00:00
return WebsiteTypes[website];
}
}