This repository has been archived on 2026-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galvanic-corrosion/src/socket/targets/targetbase.ts
zombieb 639e809a20 Further login process
* APIUtils addition: query validation
* Coach and Server accounts are now properly created if they do not exist
* Profiles now cannot be IDs 1 or 2 (reservedIds)
* Fixed profile username exists bug
* Added relationship manager
* Started relationship management
* DeviceClass and VRMovementMode enum defaults for reserved profiles
* Presence update simplification
* Progression fixes
* Relationship query and object fixes
* Base configuration is now rate limited
* Progression route no longer requires authentication, instead is rate limited
* Base relationships with reserved profiles (Coach and Server)
* DeviceClass required for login
* Get presence route
* Socket route no longer logs
* Socket target base finished
2025-03-30 19:29:57 -04:00

20 lines
424 B
TypeScript

export class SocketTarget {
profileNotSetError = new Error("The profile on this target is not set.");
profileId: number | null = null;
setProfile(id: number) {
this.profileId = id;
}
profileIsSet() {
return this.profileId !== null;
}
// deno-lint-ignore require-await
async exec(_args: unknown) {
throw new Error("Execution for this target is not set.");
}
}