Ensure all classes are exported consistently
This commit is contained in:
parent
950d17ef1d
commit
c394cd6c6c
@ -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};
|
||||
|
@ -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};
|
||||
|
@ -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};
|
||||
|
@ -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};
|
||||
}
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user