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"; import { Watermark } from "@spt-aki/utils/Watermark";
@injectable() @injectable()
class GameCallbacks implements OnLoad export class GameCallbacks implements OnLoad
{ {
constructor( constructor(
@inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil, @inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil,
@ -169,5 +169,3 @@ class GameCallbacks implements OnLoad
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request)); 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"; import { Watermark } from "@spt-aki/utils/Watermark";
@injectable() @injectable()
class LauncherCallbacks export class LauncherCallbacks
{ {
constructor( constructor(
@inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil, @inject("HttpResponseUtil") protected httpResponse: HttpResponseUtil,
@ -99,5 +99,3 @@ class LauncherCallbacks
return this.httpResponse.noBody(this.launcherController.getServerModsProfileUsed(sessionId)); 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"; import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
@injectable() @injectable()
class ModCallbacks implements OnLoad export class ModCallbacks implements OnLoad
{ {
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
@ -40,5 +40,3 @@ class ModCallbacks implements OnLoad
return "aki-mods"; 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"; import { JsonUtil } from "@spt-aki/utils/JsonUtil";
@injectable() @injectable()
class TradeController export class TradeController
{ {
protected ragfairConfig: IRagfairConfig; protected ragfairConfig: IRagfairConfig;
protected traderConfig: ITraderConfig; protected traderConfig: ITraderConfig;
@ -283,6 +283,4 @@ class TradeController
return null; 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"; import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil";
@injectable() @injectable()
class ItemHelper export class ItemHelper
{ {
protected readonly defaultInvalidBaseTypes: string[] = [ protected readonly defaultInvalidBaseTypes: string[] = [
BaseClasses.LOOT_CONTAINER, BaseClasses.LOOT_CONTAINER,
@ -1159,5 +1159,3 @@ namespace ItemHelper
height: number; height: number;
} }
} }
export {ItemHelper};