19 lines
491 B
TypeScript
19 lines
491 B
TypeScript
import type KV from "../../persistence/kv.ts";
|
|
import { type ServerBase } from "../../server.ts";
|
|
import type Profile from "../profile.ts";
|
|
|
|
class ProfileContentManager {
|
|
|
|
protected profile: Profile;
|
|
protected kv: KV;
|
|
protected server: ServerBase
|
|
constructor(server: ServerBase, profile: Profile, kv: KV) {
|
|
this.profile = profile;
|
|
this.kv = kv;
|
|
this.server = server;
|
|
profile.managers.push(this);
|
|
}
|
|
|
|
}
|
|
|
|
export default ProfileContentManager; |