Update branding
This commit is contained in:
parent
5c84de4f1a
commit
8238d80a3b
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ScopesAndTypes",
|
"name": "ScopesAndTypes",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { Processing } from "./Processing";
|
import { Processing } from "./Processing";
|
||||||
|
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
|
|
||||||
@injectable()
|
@injectable()
|
||||||
export class Processing
|
export class Processing
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer, Lifecycle } from "tsyringe";
|
import { DependencyContainer, Lifecycle } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { MyMod } from "./MyMod";
|
import { MyMod } from "./MyMod";
|
||||||
import { Processing } from "./Processing";
|
import { Processing } from "./Processing";
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "BundleLoading",
|
"name": "BundleLoading",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
|
|
||||||
class Mod implements IPostAkiLoadMod
|
class Mod implements IPostAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ClassExtensionOverride",
|
"name": "ClassExtensionOverride",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks";
|
import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks";
|
||||||
import { LauncherController } from "@spt-aki/controllers/LauncherController";
|
import { LauncherController } from "@spt/controllers/LauncherController";
|
||||||
import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData";
|
import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { SaveServer } from "@spt-aki/servers/SaveServer";
|
import { SaveServer } from "@spt/servers/SaveServer";
|
||||||
import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
|
import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil";
|
||||||
import { Watermark } from "@spt-aki/utils/Watermark";
|
import { Watermark } from "@spt/utils/Watermark";
|
||||||
|
|
||||||
// We need to declare this class as injectable, this will add the container
|
// We need to declare this class as injectable, this will add the container
|
||||||
// metadata
|
// metadata
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"
|
||||||
import { MyCustomLauncherCallbacks } from "./MyCustomLauncherCallbacks";
|
import { MyCustomLauncherCallbacks } from "./MyCustomLauncherCallbacks";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "13AddTrader",
|
"name": "13AddTrader",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Item } from "@spt-aki/models/eft/common/tables/IItem";
|
import { Item } from "@spt/models/eft/common/tables/IItem";
|
||||||
import { IBarterScheme, ITrader } from "@spt-aki/models/eft/common/tables/ITrader";
|
import { IBarterScheme, ITrader } from "@spt/models/eft/common/tables/ITrader";
|
||||||
import { Money } from "@spt-aki/models/enums/Money";
|
import { Money } from "@spt/models/enums/Money";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { HashUtil } from "@spt-aki/utils/HashUtil";
|
import { HashUtil } from "@spt/utils/HashUtil";
|
||||||
|
|
||||||
export class FluentAssortConstructor
|
export class FluentAssortConstructor
|
||||||
{
|
{
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
// SPT types
|
// SPT types
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader";
|
import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { ImageRouter } from "@spt-aki/routers/ImageRouter";
|
import { ImageRouter } from "@spt/routers/ImageRouter";
|
||||||
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
|
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||||
import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes";
|
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
|
||||||
import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig";
|
import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig";
|
||||||
import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig";
|
import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig";
|
||||||
import { JsonUtil } from "@spt-aki/utils/JsonUtil";
|
import { JsonUtil } from "@spt/utils/JsonUtil";
|
||||||
import { Money } from "@spt-aki/models/enums/Money";
|
import { Money } from "@spt/models/enums/Money";
|
||||||
import { Traders } from "@spt-aki/models/enums/Traders";
|
import { Traders } from "@spt/models/enums/Traders";
|
||||||
import { HashUtil } from "@spt-aki/utils/HashUtil";
|
import { HashUtil } from "@spt/utils/HashUtil";
|
||||||
|
|
||||||
// New trader settings
|
// New trader settings
|
||||||
import * as baseJson from "../db/base.json";
|
import * as baseJson from "../db/base.json";
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader";
|
import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader";
|
||||||
import { Item } from "@spt-aki/models/eft/common/tables/IItem";
|
import { Item } from "@spt/models/eft/common/tables/IItem";
|
||||||
import { ITraderBase, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader";
|
import { ITraderBase, ITraderAssort } from "@spt/models/eft/common/tables/ITrader";
|
||||||
import { ITraderConfig, UpdateTime } from "@spt-aki/models/spt/config/ITraderConfig";
|
import { ITraderConfig, UpdateTime } from "@spt/models/spt/config/ITraderConfig";
|
||||||
import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables";
|
import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables";
|
||||||
import { ImageRouter } from "@spt-aki/routers/ImageRouter";
|
import { ImageRouter } from "@spt/routers/ImageRouter";
|
||||||
import { JsonUtil } from "@spt-aki/utils/JsonUtil";
|
import { JsonUtil } from "@spt/utils/JsonUtil";
|
||||||
|
|
||||||
export class TraderHelper
|
export class TraderHelper
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "AfterDBLoadHook",
|
"name": "AfterDBLoadHook",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor";
|
import { LogTextColor } from "@spt/models/spt/logging/LogTextColor";
|
||||||
import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor";
|
import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor";
|
||||||
|
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod
|
class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "HttpListenerExample",
|
"name": "HttpListenerExample",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { IncomingMessage, ServerResponse } from "node:http";
|
import { IncomingMessage, ServerResponse } from "node:http";
|
||||||
|
|
||||||
import { IHttpListener } from "@spt-aki/servers/http/IHttpListener";
|
import { IHttpListener } from "@spt/servers/http/IHttpListener";
|
||||||
|
|
||||||
export class Type2HttpListener implements IHttpListener
|
export class Type2HttpListener implements IHttpListener
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { IncomingMessage, ServerResponse } from "node:http";
|
import { IncomingMessage, ServerResponse } from "node:http";
|
||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { HttpListenerModService } from "@spt-aki/services/mod/httpListener/HttpListenerModService";
|
import { HttpListenerModService } from "@spt/services/mod/httpListener/HttpListenerModService";
|
||||||
import { Type2HttpListener } from "./Type2HttpListener";
|
import { Type2HttpListener } from "./Type2HttpListener";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ImporterUtil",
|
"name": "ImporterUtil",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader";
|
import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader";
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { ImporterUtil } from "@spt-aki/utils/ImporterUtil";
|
import { ImporterUtil } from "@spt/utils/ImporterUtil";
|
||||||
import { ConfigsModelBase } from "./model/ConfigsModel";
|
import { ConfigsModelBase } from "./model/ConfigsModel";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod {
|
class Mod implements IPreAkiLoadMod {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "AsyncWithDependency1",
|
"name": "AsyncWithDependency1",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader";
|
import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader";
|
||||||
import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync";
|
import { IPreAkiLoadModAsync } from "@spt/models/external/IPreAkiLoadModAsync";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { ImporterUtil } from "@spt-aki/utils/ImporterUtil";
|
import { ImporterUtil } from "@spt/utils/ImporterUtil";
|
||||||
import { ConfigsModelBase } from "./model/ConfigsModel";
|
import { ConfigsModelBase } from "./model/ConfigsModel";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadModAsync {
|
class Mod implements IPreAkiLoadModAsync {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "AsyncWithDependency2",
|
"name": "AsyncWithDependency2",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader";
|
import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader";
|
||||||
import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync";
|
import { IPreAkiLoadModAsync } from "@spt/models/external/IPreAkiLoadModAsync";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { ImporterUtil } from "@spt-aki/utils/ImporterUtil";
|
import { ImporterUtil } from "@spt/utils/ImporterUtil";
|
||||||
import { ConfigsModelBase } from "./model/ConfigsModel";
|
import { ConfigsModelBase } from "./model/ConfigsModel";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadModAsync {
|
class Mod implements IPreAkiLoadModAsync {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CustomItemService",
|
"name": "CustomItemService",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { CustomItemService } from "@spt-aki/services/mod/CustomItemService";
|
import { CustomItemService } from "@spt/services/mod/CustomItemService";
|
||||||
import { NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails";
|
import { NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails";
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
|
|
||||||
class Mod implements IPostDBLoadMod, IPostAkiLoadMod
|
class Mod implements IPostDBLoadMod, IPostAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "UseExternalLibraries",
|
"name": "UseExternalLibraries",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { VFS } from "@spt-aki/utils/VFS";
|
import { VFS } from "@spt/utils/VFS";
|
||||||
import { jsonc } from "jsonc";
|
import { jsonc } from "jsonc";
|
||||||
|
|
||||||
// Our dynamically imported package (via pnpm) not bundled into the server
|
// Our dynamically imported package (via pnpm) not bundled into the server
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "LogToConsole",
|
"name": "LogToConsole",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor";
|
import { LogTextColor } from "@spt/models/spt/logging/LogTextColor";
|
||||||
import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor";
|
import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CustomChatBot",
|
"name": "CustomChatBot",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot";
|
import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot";
|
||||||
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
import { MemberCategory } from "@spt-aki/models/enums/MemberCategory";
|
import { MemberCategory } from "@spt/models/enums/MemberCategory";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { DialogueController } from "@spt-aki/controllers/DialogueController";
|
import { DialogueController } from "@spt/controllers/DialogueController";
|
||||||
import { CustomChatBot } from "./CustomChatBot";
|
import { CustomChatBot } from "./CustomChatBot";
|
||||||
|
|
||||||
class Mod implements IPostDBLoadMod {
|
class Mod implements IPostDBLoadMod {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CustomCommandoCommand",
|
"name": "CustomCommandoCommand",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand";
|
import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand";
|
||||||
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { CommandoDialogueChatBot } from "@spt-aki/helpers/Dialogue/CommandoDialogueChatBot";
|
import { CommandoDialogueChatBot } from "@spt/helpers/Dialogue/CommandoDialogueChatBot";
|
||||||
import { CustomCommandoCommand } from "./CustomCommandoCommand";
|
import { CustomCommandoCommand } from "./CustomCommandoCommand";
|
||||||
|
|
||||||
class Mod implements IPostDBLoadMod {
|
class Mod implements IPostDBLoadMod {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CustomAkiCommand",
|
"name": "CustomAkiCommand",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand";
|
import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand";
|
||||||
import { ItemHelper } from "@spt-aki/helpers/ItemHelper";
|
import { ItemHelper } from "@spt/helpers/ItemHelper";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { SptCommandoCommands } from "@spt-aki/helpers/Dialogue/Commando/SptCommandoCommands";
|
import { SptCommandoCommands } from "@spt/helpers/Dialogue/Commando/SptCommandoCommands";
|
||||||
import { CustomAkiCommand } from "./CustomAkiCommand";
|
import { CustomAkiCommand } from "./CustomAkiCommand";
|
||||||
|
|
||||||
class Mod implements IPostDBLoadMod {
|
class Mod implements IPostDBLoadMod {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CustomAbstractChatBot",
|
"name": "CustomAbstractChatBot",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand";
|
import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand";
|
||||||
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { inject, injectAll, injectable } from "tsyringe";
|
import { inject, injectAll, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot";
|
import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot";
|
||||||
import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand";
|
import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
import { MemberCategory } from "@spt-aki/models/enums/MemberCategory";
|
import { MemberCategory } from "@spt/models/enums/MemberCategory";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
|
|
||||||
import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand";
|
import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand";
|
||||||
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest";
|
||||||
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile";
|
||||||
import { MailSendService } from "@spt-aki/services/MailSendService";
|
import { MailSendService } from "@spt/services/MailSendService";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { DialogueController } from "@spt-aki/controllers/DialogueController";
|
import { DialogueController } from "@spt/controllers/DialogueController";
|
||||||
import { CustomSimpleChatBot } from "./CustomSimpleChatBot";
|
import { CustomSimpleChatBot } from "./CustomSimpleChatBot";
|
||||||
import { MyCoolCommand } from "./MyCoolCommand";
|
import { MyCoolCommand } from "./MyCoolCommand";
|
||||||
import { AnotherCoolCommand } from "./AnotherCoolCommand";
|
import { AnotherCoolCommand } from "./AnotherCoolCommand";
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "WebSocket",
|
"name": "WebSocket",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
import { WebSocket, RawData } from "ws";
|
import { WebSocket, RawData } from "ws";
|
||||||
|
|
||||||
import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler";
|
import { IAkiWebSocketMessageHandler } from "@spt/servers/ws/message/IAkiWebSocketMessageHandler";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -2,8 +2,8 @@ import { IncomingMessage } from "node:http";
|
|||||||
import { inject, injectable } from "tsyringe";
|
import { inject, injectable } from "tsyringe";
|
||||||
import { WebSocket } from "ws";
|
import { WebSocket } from "ws";
|
||||||
|
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler";
|
import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler";
|
||||||
|
|
||||||
// \/ dont forger this annotation here!
|
// \/ dont forger this annotation here!
|
||||||
@injectable()
|
@injectable()
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { CustomWebSocketConnectionHandler } from "./CustomWebSocketConnectionHandler";
|
import { CustomWebSocketConnectionHandler } from "./CustomWebSocketConnectionHandler";
|
||||||
import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler";
|
import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler";
|
||||||
import { CustomAkiWebSocketMessageHandler } from "./CustomAkiWebSocketMessageHandler";
|
import { CustomAkiWebSocketMessageHandler } from "./CustomAkiWebSocketMessageHandler";
|
||||||
import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler";
|
import { IAkiWebSocketMessageHandler } from "@spt/servers/ws/message/IAkiWebSocketMessageHandler";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod {
|
class Mod implements IPreAkiLoadMod {
|
||||||
public preAkiLoad(container: DependencyContainer): void {
|
public preAkiLoad(container: DependencyContainer): void {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "EditDatabase",
|
"name": "EditDatabase",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod";
|
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables";
|
import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables";
|
||||||
import { ItemHelper } from "@spt-aki/helpers/ItemHelper";
|
import { ItemHelper } from "@spt/helpers/ItemHelper";
|
||||||
import { BaseClasses } from "@spt-aki/models/enums/BaseClasses";
|
import { BaseClasses } from "@spt/models/enums/BaseClasses";
|
||||||
|
|
||||||
class Mod implements IPostDBLoadMod
|
class Mod implements IPostDBLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "GetSptConfigFile",
|
"name": "GetSptConfigFile",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
|
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||||
import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes";
|
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
|
||||||
import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig";
|
import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig";
|
||||||
|
|
||||||
class Mod implements IPostAkiLoadMod
|
class Mod implements IPostAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "UseACustomJson5OrJsonCConfigFile",
|
"name": "UseACustomJson5OrJsonCConfigFile",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { VFS } from "@spt-aki/utils/VFS";
|
import { VFS } from "@spt/utils/VFS";
|
||||||
|
|
||||||
import JSON5 from "json5";
|
import JSON5 from "json5";
|
||||||
import { jsonc } from "jsonc";
|
import { jsonc } from "jsonc";
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "UseACustomConfigFile",
|
"name": "UseACustomConfigFile",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
|
|
||||||
class Mod implements IPostAkiLoadMod
|
class Mod implements IPostAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ReplaceMethod",
|
"name": "ReplaceMethod",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { LauncherController } from "@spt-aki/controllers/LauncherController";
|
import { LauncherController } from "@spt/controllers/LauncherController";
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData";
|
import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { SaveServer } from "@spt-aki/servers/SaveServer";
|
import { SaveServer } from "@spt/servers/SaveServer";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ReferenceAnotherClass",
|
"name": "ReferenceAnotherClass",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod";
|
import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { MoreCode } from "./MoreCode";
|
import { MoreCode } from "./MoreCode";
|
||||||
|
|
||||||
class Mod implements IPostAkiLoadMod
|
class Mod implements IPostAkiLoadMod
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "OnLoadHook",
|
"name": "OnLoadHook",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { OnLoadModService } from "@spt-aki/services/mod/onLoad/OnLoadModService";
|
import { OnLoadModService } from "@spt/services/mod/onLoad/OnLoadModService";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "OnUpdateHook",
|
"name": "OnUpdateHook",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"akiVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
"incompatibilities": [],
|
"incompatibilities": [],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
|
||||||
import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod";
|
import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { OnUpdateModService } from "@spt-aki/services/mod/onUpdate/OnUpdateModService";
|
import { OnUpdateModService } from "@spt/services/mod/onUpdate/OnUpdateModService";
|
||||||
|
|
||||||
class Mod implements IPreAkiLoadMod
|
class Mod implements IPreAkiLoadMod
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "tmp",
|
"outDir": "tmp",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@spt-aki/*": ["./types/*"],
|
"@spt/*": ["./types/*"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "tmp"],
|
"exclude": ["node_modules", "dist", "tmp"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user