Many changes. Commit before I break down.
- Authentication middleware uses Zod - PhotonRegionId in config - DB key changes and additions - WebSocket for SignalR mock - Presence additions * Needs modification for playerIds (do not store `Profile` in a set, this will cause sync issues) - Profile settings - Profile Device Class - Zod properly checks for issuer in token - Room scene type bug - Setting key import started - Instancing changes - PlayerReporting API route - Deduplicated auth/connect/token - match/player/login begin - WebSocket hands off connection to SignalR handler
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Logging from "@proxnet/undead-logging";
|
||||
import * as fs from "node:fs";
|
||||
import { PhotonRegionCodeString } from "./data/live/types.ts";
|
||||
|
||||
const log = new Logging("Config");
|
||||
|
||||
@@ -26,6 +27,7 @@ type PublicConfiguration = {
|
||||
levelScale: number;
|
||||
maxLevels: number;
|
||||
patches: string[];
|
||||
photonRegionId: PhotonRegionCodeString;
|
||||
};
|
||||
|
||||
type LoggingConfiguration = {
|
||||
@@ -79,6 +81,7 @@ export const defaultConfig: GalvanicConfiguration = {
|
||||
levelScale: 1,
|
||||
maxLevels: 30,
|
||||
patches: [],
|
||||
photonRegionId: PhotonRegionCodeString.UnitedStates,
|
||||
},
|
||||
logging: {
|
||||
notfound: false,
|
||||
|
||||
Reference in New Issue
Block a user