re-code the userscript
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 7s

This commit is contained in:
Lee
2024-04-25 23:39:26 +01:00
parent a8158c73c8
commit c8990f21cd
17 changed files with 1928 additions and 122 deletions

24
src/pages/page.ts Normal file
View File

@ -0,0 +1,24 @@
export default class Page {
/**
* The route of the page
* eg: /ranking
*/
private readonly _route: string;
constructor(route: string) {
this._route = route;
}
/*
* This gets called when the page is loaded
*/
public onLoad() {}
/**
* The route of the page
*/
get route(): string {
return this._route;
}
}