Updating Session Persistence with all valid persistence calls (#5085)

* Updating Session Persistence with all valid persistence calls

* Spacing fixes

---------

Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
Joseph Insalaco 2024-07-29 13:25:33 -04:00 committed by GitHub
parent ef4413633a
commit cf1f4f12a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 193 additions and 26 deletions

View file

@ -1,17 +1,19 @@
import { ServerDispatch } from 'store';
export class AdminPersistence {
static adjustMod(userName: string, shouldBeMod: boolean, shouldBeJudge: boolean) {
console.log('adjustMod');
}
static reloadConfig() {
console.log('reloadConfig');
ServerDispatch.reloadConfig();
}
static shutdownServer() {
console.log('shutdownServer');
ServerDispatch.shutdownServer();
}
static updateServerMessage() {
console.log('updateServerMessage');
ServerDispatch.updateServerMessage();
}
}