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";
|
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};
|
|
||||||
|
@ -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};
|
|
||||||
|
@ -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};
|
|
||||||
|
@ -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;
|
||||||
@ -284,5 +284,3 @@ class TradeController
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export {TradeController};
|
|
||||||
|
@ -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};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user