wip: Construct API

This commit is contained in:
ForestOfLight
2026-05-29 23:27:11 +02:00
Unverified
parent f750710732
commit 2b90020e37
25 changed files with 454 additions and 29 deletions
@@ -0,0 +1,13 @@
export class APIController {
#endpoints;
constructor(endpoints) {
if (this.constructor === APIController)
throw new Error("Cannot instantiate abstract class 'APIController'");
this.#endpoints = endpoints;
}
get endpoints() {
return this.#endpoints;
}
}