server-ts: Convert a few classes in becca

This commit is contained in:
Elian Doran
2024-02-17 00:44:44 +02:00
parent e04bd5aaf0
commit 6dd2cd39aa
8 changed files with 182 additions and 171 deletions

View File

@@ -7,6 +7,8 @@ import NotFoundError = require('../errors/not_found_error');
* There's a similar frontend cache Froca, and share cache Shaca.
*/
class Becca {
notes!: Record<string, BNote>;
constructor() {
this.reset();
}