Ensure all classes are exported consistently

This commit is contained in:
Dev 2023-12-15 14:43:05 +00:00
parent 950d17ef1d
commit c394cd6c6c
5 changed files with 6 additions and 16 deletions

View File

@ -21,7 +21,7 @@ import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
import { Watermark } from "@spt-aki/utils/Watermark";
@injectable()
class GameCallbacks implements OnLoad
export class GameCallbacks implements OnLoad
{
constructor(
@inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil,
@ -169,5 +169,3 @@ class GameCallbacks implements OnLoad
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request));
}
}
export {GameCallbacks};

View File

@ -11,7 +11,7 @@ import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
import { Watermark } from "@spt-aki/utils/Watermark";
@injectable()
class LauncherCallbacks
export class LauncherCallbacks
{
constructor(
@inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil,
@ -99,5 +99,3 @@ class LauncherCallbacks
return this.httpResponse.noBody(this.launcherController.getServerModsProfileUsed(sessionId));
}
}
export {LauncherCallbacks};

View File

@ -11,7 +11,7 @@ import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil";
import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
@injectable()
class ModCallbacks implements OnLoad
export class ModCallbacks implements OnLoad
{
protected httpConfig: IHttpConfig;
@ -40,5 +40,3 @@ class ModCallbacks implements OnLoad
return "aki-mods";
}
}
export {ModCallbacks};

View File

@ -29,7 +29,7 @@ import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
import { JsonUtil } from "@spt-aki/utils/JsonUtil";
@injectable()
class TradeController
export class TradeController
{
protected ragfairConfig: IRagfairConfig;
protected traderConfig: ITraderConfig;
@ -283,6 +283,4 @@ class TradeController
return null;
}
}
export {TradeController};
}

View File

@ -20,7 +20,7 @@ import { ObjectId } from "@spt-aki/utils/ObjectId";
import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil";
@injectable()
class ItemHelper
export class ItemHelper
{
protected readonly defaultInvalidBaseTypes: string[] = [
BaseClasses.LOOT_CONTAINER,
@ -1159,5 +1159,3 @@ namespace ItemHelper
height: number;
}
}
export {ItemHelper};