rooooms are mostly dooone, misc routes, instance management stubs, and matchmaking base

This commit is contained in:
2025-09-07 17:28:13 -04:00
parent 2aa5352350
commit eef3667618
36 changed files with 627 additions and 122 deletions

View File

@@ -7,7 +7,9 @@ import { ProfileAvatarManager } from "./content/Avatar.ts";
import ProfileContentManager from "./content/base.ts";
import { ProfileMatchmakingManager } from "./content/Matchmaking.ts";
import { ProfileMessageManager } from "./content/Messages.ts";
import { ProfileProgressionManager } from "./content/Progression.ts";
import { ProfileReputationManager } from "./content/Reputation.ts";
import { ProfileRoomsManager } from "./content/Rooms.ts";
import { ProfileSettingsManager } from "./content/Settings.ts";
import { ProfileSubscriptionsManager } from "./content/Subscriptions.ts";
import ProfileManagerBase from "./manager.ts";
@@ -32,6 +34,8 @@ class Profile {
Reputation: ProfileReputationManager;
Subscriptions: ProfileSubscriptionsManager;
Messages: ProfileMessageManager;
Rooms: ProfileRoomsManager;
Progression: ProfileProgressionManager;
constructor(acc: SelfAccount, kv: KV, server: ServerBase) {
this.#id = acc.accountId;
@@ -39,12 +43,14 @@ class Profile {
this.#kv = kv;
this.#server = server;
this.Settings = new ProfileSettingsManager(this, this.#kv);
this.Avatar = new ProfileAvatarManager(this, this.#kv);
this.Matchmaking = new ProfileMatchmakingManager(this, this.#kv);
this.Reputation = new ProfileReputationManager(this, this.#kv);
this.Subscriptions = new ProfileSubscriptionsManager(this, this.#kv);
this.Messages = new ProfileMessageManager(this, this.#kv);
this.Settings = new ProfileSettingsManager(server, this, this.#kv);
this.Avatar = new ProfileAvatarManager(server, this, this.#kv);
this.Matchmaking = new ProfileMatchmakingManager(server, this, this.#kv);
this.Reputation = new ProfileReputationManager(server, this, this.#kv);
this.Subscriptions = new ProfileSubscriptionsManager(server, this, this.#kv);
this.Messages = new ProfileMessageManager(server, this, this.#kv);
this.Rooms = new ProfileRoomsManager(server, this, this.#kv);
this.Progression = new ProfileProgressionManager(server, this, this.#kv);
}
async #saveSelfAcc() {