From 8238d80a3b292f81a53652385efd6cad2cc34eb4 Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 6 Jul 2024 22:08:05 +0100 Subject: [PATCH] Update branding --- TypeScript/10ScopesAndTypes/package.json | 2 +- TypeScript/10ScopesAndTypes/src/MyMod.ts | 2 +- TypeScript/10ScopesAndTypes/src/Processing.ts | 2 +- TypeScript/10ScopesAndTypes/src/mod.ts | 4 +-- TypeScript/10ScopesAndTypes/tsconfig.json | 2 +- TypeScript/11BundleLoadingSample/package.json | 2 +- TypeScript/11BundleLoadingSample/src/mod.ts | 4 +-- .../11BundleLoadingSample/tsconfig.json | 2 +- .../12ClassExtensionOverride/package.json | 2 +- .../src/MyCustomLauncherCallbacks.ts | 14 +++++----- .../12ClassExtensionOverride/src/mod.ts | 2 +- .../12ClassExtensionOverride/tsconfig.json | 2 +- TypeScript/13AddTrader/package.json | 2 +- .../src/fluentTraderAssortCreator.ts | 10 +++---- TypeScript/13AddTrader/src/mod.ts | 28 +++++++++---------- TypeScript/13AddTrader/src/traderHelpers.ts | 14 +++++----- TypeScript/13AddTrader/tsconfig.json | 2 +- TypeScript/14AfterDBLoadHook/package.json | 2 +- TypeScript/14AfterDBLoadHook/src/mod.ts | 14 +++++----- TypeScript/14AfterDBLoadHook/tsconfig.json | 2 +- TypeScript/15HttpListenerExample/package.json | 2 +- .../src/Type2HttpListener.ts | 2 +- TypeScript/15HttpListenerExample/src/mod.ts | 4 +-- .../15HttpListenerExample/tsconfig.json | 2 +- TypeScript/16ImporterUtil/package.json | 2 +- TypeScript/16ImporterUtil/src/mod.ts | 8 +++--- TypeScript/16ImporterUtil/tsconfig.json | 2 +- .../package.json | 2 +- .../17AsyncImporterWithDependency1/src/mod.ts | 8 +++--- .../tsconfig.json | 2 +- .../package.json | 2 +- .../17AsyncImporterWithDependency2/src/mod.ts | 8 +++--- .../tsconfig.json | 2 +- TypeScript/18CustomItemService/package.json | 2 +- TypeScript/18CustomItemService/src/mod.ts | 10 +++---- TypeScript/18CustomItemService/tsconfig.json | 2 +- .../19UseExternalLibraries/package.json | 2 +- TypeScript/19UseExternalLibraries/src/mod.ts | 8 +++--- .../19UseExternalLibraries/tsconfig.json | 2 +- TypeScript/1LogToConsole/package.json | 2 +- TypeScript/1LogToConsole/src/mod.ts | 8 +++--- TypeScript/1LogToConsole/tsconfig.json | 2 +- TypeScript/20CustomChatBot/package.json | 2 +- .../20CustomChatBot/src/CustomChatBot.ts | 10 +++---- TypeScript/20CustomChatBot/src/mod.ts | 4 +-- TypeScript/20CustomChatBot/tsconfig.json | 2 +- .../21CustomCommandoCommand/package.json | 2 +- .../src/CustomCommandoCommand.ts | 10 +++---- TypeScript/21CustomCommandoCommand/src/mod.ts | 4 +-- .../21CustomCommandoCommand/tsconfig.json | 2 +- TypeScript/22CustomAkiCommand/package.json | 2 +- .../src/CustomAkiCommand.ts | 10 +++---- TypeScript/22CustomAkiCommand/src/mod.ts | 4 +-- TypeScript/22CustomAkiCommand/tsconfig.json | 2 +- .../23CustomAbstractChatBot/package.json | 2 +- .../src/AnotherCoolCommand.ts | 8 +++--- .../src/CustomSimpleChatBot.ts | 12 ++++---- .../src/MyCoolCommand.ts | 8 +++--- TypeScript/23CustomAbstractChatBot/src/mod.ts | 4 +-- .../23CustomAbstractChatBot/tsconfig.json | 2 +- TypeScript/24WebSocket/package.json | 2 +- .../src/CustomAkiWebSocketMessageHandler.ts | 4 +-- .../src/CustomWebSocketConnectionHandler.ts | 4 +-- TypeScript/24WebSocket/src/mod.ts | 6 ++-- TypeScript/24WebSocket/tsconfig.json | 2 +- TypeScript/2EditDatabase/package.json | 2 +- TypeScript/2EditDatabase/src/mod.ts | 10 +++---- TypeScript/2EditDatabase/tsconfig.json | 2 +- TypeScript/3GetSptConfigFile/package.json | 2 +- TypeScript/3GetSptConfigFile/src/mod.ts | 10 +++---- TypeScript/3GetSptConfigFile/tsconfig.json | 2 +- .../package.json | 2 +- .../src/mod.ts | 6 ++-- .../tsconfig.json | 2 +- TypeScript/4UseACustomConfigFile/package.json | 2 +- TypeScript/4UseACustomConfigFile/src/mod.ts | 4 +-- .../4UseACustomConfigFile/tsconfig.json | 2 +- TypeScript/5ReplaceMethod/package.json | 2 +- TypeScript/5ReplaceMethod/src/mod.ts | 12 ++++---- TypeScript/5ReplaceMethod/tsconfig.json | 2 +- .../6ReferenceAnotherClass/package.json | 2 +- TypeScript/6ReferenceAnotherClass/src/mod.ts | 4 +-- .../6ReferenceAnotherClass/tsconfig.json | 2 +- TypeScript/7OnLoadHook/package.json | 2 +- TypeScript/7OnLoadHook/src/mod.ts | 6 ++-- TypeScript/7OnLoadHook/tsconfig.json | 2 +- TypeScript/8OnUpdateHook/package.json | 2 +- TypeScript/8OnUpdateHook/src/mod.ts | 6 ++-- TypeScript/8OnUpdateHook/tsconfig.json | 2 +- 89 files changed, 198 insertions(+), 198 deletions(-) diff --git a/TypeScript/10ScopesAndTypes/package.json b/TypeScript/10ScopesAndTypes/package.json index 0ac1124..b82f6a5 100644 --- a/TypeScript/10ScopesAndTypes/package.json +++ b/TypeScript/10ScopesAndTypes/package.json @@ -1,7 +1,7 @@ { "name": "ScopesAndTypes", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/10ScopesAndTypes/src/MyMod.ts b/TypeScript/10ScopesAndTypes/src/MyMod.ts index 1d61892..3a96ee8 100644 --- a/TypeScript/10ScopesAndTypes/src/MyMod.ts +++ b/TypeScript/10ScopesAndTypes/src/MyMod.ts @@ -1,6 +1,6 @@ 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"; @injectable() diff --git a/TypeScript/10ScopesAndTypes/src/Processing.ts b/TypeScript/10ScopesAndTypes/src/Processing.ts index 02a761c..d42036d 100644 --- a/TypeScript/10ScopesAndTypes/src/Processing.ts +++ b/TypeScript/10ScopesAndTypes/src/Processing.ts @@ -1,6 +1,6 @@ import { inject, injectable } from "tsyringe"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; @injectable() export class Processing diff --git a/TypeScript/10ScopesAndTypes/src/mod.ts b/TypeScript/10ScopesAndTypes/src/mod.ts index 36c9954..d75636a 100644 --- a/TypeScript/10ScopesAndTypes/src/mod.ts +++ b/TypeScript/10ScopesAndTypes/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer, Lifecycle } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; import { MyMod } from "./MyMod"; import { Processing } from "./Processing"; diff --git a/TypeScript/10ScopesAndTypes/tsconfig.json b/TypeScript/10ScopesAndTypes/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/10ScopesAndTypes/tsconfig.json +++ b/TypeScript/10ScopesAndTypes/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/11BundleLoadingSample/package.json b/TypeScript/11BundleLoadingSample/package.json index 0449c5a..c06a66c 100644 --- a/TypeScript/11BundleLoadingSample/package.json +++ b/TypeScript/11BundleLoadingSample/package.json @@ -1,7 +1,7 @@ { "name": "BundleLoading", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/11BundleLoadingSample/src/mod.ts b/TypeScript/11BundleLoadingSample/src/mod.ts index 40d1f9e..3b47133 100644 --- a/TypeScript/11BundleLoadingSample/src/mod.ts +++ b/TypeScript/11BundleLoadingSample/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; class Mod implements IPostAkiLoadMod { diff --git a/TypeScript/11BundleLoadingSample/tsconfig.json b/TypeScript/11BundleLoadingSample/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/11BundleLoadingSample/tsconfig.json +++ b/TypeScript/11BundleLoadingSample/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/12ClassExtensionOverride/package.json b/TypeScript/12ClassExtensionOverride/package.json index 8328d91..8a78236 100644 --- a/TypeScript/12ClassExtensionOverride/package.json +++ b/TypeScript/12ClassExtensionOverride/package.json @@ -1,7 +1,7 @@ { "name": "ClassExtensionOverride", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts b/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts index 34fdbd5..2a54cad 100644 --- a/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts +++ b/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts @@ -1,12 +1,12 @@ import { inject, injectable } from "tsyringe"; -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; // We need to declare this class as injectable, this will add the container // metadata diff --git a/TypeScript/12ClassExtensionOverride/src/mod.ts b/TypeScript/12ClassExtensionOverride/src/mod.ts index 45aea7a..f3eb905 100644 --- a/TypeScript/12ClassExtensionOverride/src/mod.ts +++ b/TypeScript/12ClassExtensionOverride/src/mod.ts @@ -1,6 +1,6 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod" +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod" import { MyCustomLauncherCallbacks } from "./MyCustomLauncherCallbacks"; class Mod implements IPreAkiLoadMod diff --git a/TypeScript/12ClassExtensionOverride/tsconfig.json b/TypeScript/12ClassExtensionOverride/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/12ClassExtensionOverride/tsconfig.json +++ b/TypeScript/12ClassExtensionOverride/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/13AddTrader/package.json b/TypeScript/13AddTrader/package.json index 02720a1..c00a540 100644 --- a/TypeScript/13AddTrader/package.json +++ b/TypeScript/13AddTrader/package.json @@ -1,7 +1,7 @@ { "name": "13AddTrader", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts b/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts index c98fef0..1b8283b 100644 --- a/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts +++ b/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts @@ -1,8 +1,8 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme, ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Money } from "@spt-aki/models/enums/Money"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme, ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { Money } from "@spt/models/enums/Money"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; export class FluentAssortConstructor { diff --git a/TypeScript/13AddTrader/src/mod.ts b/TypeScript/13AddTrader/src/mod.ts index 279dabc..668755c 100644 --- a/TypeScript/13AddTrader/src/mod.ts +++ b/TypeScript/13AddTrader/src/mod.ts @@ -1,20 +1,20 @@ import { DependencyContainer } from "tsyringe"; // SPT types -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { Money } from "@spt-aki/models/enums/Money"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { Money } from "@spt/models/enums/Money"; +import { Traders } from "@spt/models/enums/Traders"; +import { HashUtil } from "@spt/utils/HashUtil"; // New trader settings import * as baseJson from "../db/base.json"; diff --git a/TypeScript/13AddTrader/src/traderHelpers.ts b/TypeScript/13AddTrader/src/traderHelpers.ts index 3f969f4..ccd6a3d 100644 --- a/TypeScript/13AddTrader/src/traderHelpers.ts +++ b/TypeScript/13AddTrader/src/traderHelpers.ts @@ -1,10 +1,10 @@ -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig, UpdateTime } from "@spt-aki/models/spt/config/ITraderConfig"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig, UpdateTime } from "@spt/models/spt/config/ITraderConfig"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export class TraderHelper { diff --git a/TypeScript/13AddTrader/tsconfig.json b/TypeScript/13AddTrader/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/13AddTrader/tsconfig.json +++ b/TypeScript/13AddTrader/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/14AfterDBLoadHook/package.json b/TypeScript/14AfterDBLoadHook/package.json index 8152217..54ee2cf 100644 --- a/TypeScript/14AfterDBLoadHook/package.json +++ b/TypeScript/14AfterDBLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "AfterDBLoadHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/14AfterDBLoadHook/src/mod.ts b/TypeScript/14AfterDBLoadHook/src/mod.ts index 1f4ee95..5f395ba 100644 --- a/TypeScript/14AfterDBLoadHook/src/mod.ts +++ b/TypeScript/14AfterDBLoadHook/src/mod.ts @@ -1,12 +1,12 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod diff --git a/TypeScript/14AfterDBLoadHook/tsconfig.json b/TypeScript/14AfterDBLoadHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/14AfterDBLoadHook/tsconfig.json +++ b/TypeScript/14AfterDBLoadHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/15HttpListenerExample/package.json b/TypeScript/15HttpListenerExample/package.json index 00b9272..dd250e7 100644 --- a/TypeScript/15HttpListenerExample/package.json +++ b/TypeScript/15HttpListenerExample/package.json @@ -1,7 +1,7 @@ { "name": "HttpListenerExample", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts b/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts index d87d66c..aa8d929 100644 --- a/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts +++ b/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts @@ -1,6 +1,6 @@ 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 { diff --git a/TypeScript/15HttpListenerExample/src/mod.ts b/TypeScript/15HttpListenerExample/src/mod.ts index 3158494..4febe7e 100644 --- a/TypeScript/15HttpListenerExample/src/mod.ts +++ b/TypeScript/15HttpListenerExample/src/mod.ts @@ -1,8 +1,8 @@ import { IncomingMessage, ServerResponse } from "node:http"; import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { HttpListenerModService } from "@spt-aki/services/mod/httpListener/HttpListenerModService"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { HttpListenerModService } from "@spt/services/mod/httpListener/HttpListenerModService"; import { Type2HttpListener } from "./Type2HttpListener"; class Mod implements IPreAkiLoadMod diff --git a/TypeScript/15HttpListenerExample/tsconfig.json b/TypeScript/15HttpListenerExample/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/15HttpListenerExample/tsconfig.json +++ b/TypeScript/15HttpListenerExample/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/16ImporterUtil/package.json b/TypeScript/16ImporterUtil/package.json index 97dbd0e..001d66a 100644 --- a/TypeScript/16ImporterUtil/package.json +++ b/TypeScript/16ImporterUtil/package.json @@ -1,7 +1,7 @@ { "name": "ImporterUtil", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/16ImporterUtil/src/mod.ts b/TypeScript/16ImporterUtil/src/mod.ts index 651a43b..c130ed0 100644 --- a/TypeScript/16ImporterUtil/src/mod.ts +++ b/TypeScript/16ImporterUtil/src/mod.ts @@ -1,9 +1,9 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; class Mod implements IPreAkiLoadMod { diff --git a/TypeScript/16ImporterUtil/tsconfig.json b/TypeScript/16ImporterUtil/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/16ImporterUtil/tsconfig.json +++ b/TypeScript/16ImporterUtil/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/17AsyncImporterWithDependency1/package.json b/TypeScript/17AsyncImporterWithDependency1/package.json index 99e2af1..579b4b7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/package.json +++ b/TypeScript/17AsyncImporterWithDependency1/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency1", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency1/src/mod.ts b/TypeScript/17AsyncImporterWithDependency1/src/mod.ts index a34a004..212fa09 100644 --- a/TypeScript/17AsyncImporterWithDependency1/src/mod.ts +++ b/TypeScript/17AsyncImporterWithDependency1/src/mod.ts @@ -1,9 +1,9 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader"; +import { IPreAkiLoadModAsync } from "@spt/models/external/IPreAkiLoadModAsync"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; class Mod implements IPreAkiLoadModAsync { diff --git a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/17AsyncImporterWithDependency2/package.json b/TypeScript/17AsyncImporterWithDependency2/package.json index 6614a4d..4598d13 100644 --- a/TypeScript/17AsyncImporterWithDependency2/package.json +++ b/TypeScript/17AsyncImporterWithDependency2/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency2", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency2/src/mod.ts b/TypeScript/17AsyncImporterWithDependency2/src/mod.ts index 815a944..fbe7ddb 100644 --- a/TypeScript/17AsyncImporterWithDependency2/src/mod.ts +++ b/TypeScript/17AsyncImporterWithDependency2/src/mod.ts @@ -1,9 +1,9 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreAkiModLoader } from "@spt/loaders/PreAkiModLoader"; +import { IPreAkiLoadModAsync } from "@spt/models/external/IPreAkiLoadModAsync"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; class Mod implements IPreAkiLoadModAsync { diff --git a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/18CustomItemService/package.json b/TypeScript/18CustomItemService/package.json index f9854d3..568afe5 100644 --- a/TypeScript/18CustomItemService/package.json +++ b/TypeScript/18CustomItemService/package.json @@ -1,7 +1,7 @@ { "name": "CustomItemService", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/18CustomItemService/src/mod.ts b/TypeScript/18CustomItemService/src/mod.ts index 100d342..a78033f 100644 --- a/TypeScript/18CustomItemService/src/mod.ts +++ b/TypeScript/18CustomItemService/src/mod.ts @@ -1,10 +1,10 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { CustomItemService } from "@spt-aki/services/mod/CustomItemService"; -import { NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { CustomItemService } from "@spt/services/mod/CustomItemService"; +import { NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; class Mod implements IPostDBLoadMod, IPostAkiLoadMod { diff --git a/TypeScript/18CustomItemService/tsconfig.json b/TypeScript/18CustomItemService/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/18CustomItemService/tsconfig.json +++ b/TypeScript/18CustomItemService/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/19UseExternalLibraries/package.json b/TypeScript/19UseExternalLibraries/package.json index 4b54b64..2c2ee30 100644 --- a/TypeScript/19UseExternalLibraries/package.json +++ b/TypeScript/19UseExternalLibraries/package.json @@ -1,7 +1,7 @@ { "name": "UseExternalLibraries", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/19UseExternalLibraries/src/mod.ts b/TypeScript/19UseExternalLibraries/src/mod.ts index 13bd96b..464f2be 100644 --- a/TypeScript/19UseExternalLibraries/src/mod.ts +++ b/TypeScript/19UseExternalLibraries/src/mod.ts @@ -1,10 +1,10 @@ import path from "node:path"; import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { VFS } from "@spt-aki/utils/VFS"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { VFS } from "@spt/utils/VFS"; import { jsonc } from "jsonc"; // Our dynamically imported package (via pnpm) not bundled into the server diff --git a/TypeScript/19UseExternalLibraries/tsconfig.json b/TypeScript/19UseExternalLibraries/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/19UseExternalLibraries/tsconfig.json +++ b/TypeScript/19UseExternalLibraries/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/1LogToConsole/package.json b/TypeScript/1LogToConsole/package.json index 642d0d4..7f13aff 100644 --- a/TypeScript/1LogToConsole/package.json +++ b/TypeScript/1LogToConsole/package.json @@ -1,7 +1,7 @@ { "name": "LogToConsole", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/1LogToConsole/src/mod.ts b/TypeScript/1LogToConsole/src/mod.ts index ccbb988..bfd4481 100644 --- a/TypeScript/1LogToConsole/src/mod.ts +++ b/TypeScript/1LogToConsole/src/mod.ts @@ -1,9 +1,9 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; class Mod implements IPreAkiLoadMod { diff --git a/TypeScript/1LogToConsole/tsconfig.json b/TypeScript/1LogToConsole/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/1LogToConsole/tsconfig.json +++ b/TypeScript/1LogToConsole/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/20CustomChatBot/package.json b/TypeScript/20CustomChatBot/package.json index 04cb178..5c83d54 100644 --- a/TypeScript/20CustomChatBot/package.json +++ b/TypeScript/20CustomChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomChatBot", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/20CustomChatBot/src/CustomChatBot.ts b/TypeScript/20CustomChatBot/src/CustomChatBot.ts index ff40aac..2ee599c 100644 --- a/TypeScript/20CustomChatBot/src/CustomChatBot.ts +++ b/TypeScript/20CustomChatBot/src/CustomChatBot.ts @@ -1,10 +1,10 @@ import { inject, injectable } from "tsyringe"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/20CustomChatBot/src/mod.ts b/TypeScript/20CustomChatBot/src/mod.ts index f5ad0bf..cdf3f61 100644 --- a/TypeScript/20CustomChatBot/src/mod.ts +++ b/TypeScript/20CustomChatBot/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DialogueController } from "@spt-aki/controllers/DialogueController"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DialogueController } from "@spt/controllers/DialogueController"; import { CustomChatBot } from "./CustomChatBot"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/20CustomChatBot/tsconfig.json b/TypeScript/20CustomChatBot/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/20CustomChatBot/tsconfig.json +++ b/TypeScript/20CustomChatBot/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/21CustomCommandoCommand/package.json b/TypeScript/21CustomCommandoCommand/package.json index 57abc32..d56e164 100644 --- a/TypeScript/21CustomCommandoCommand/package.json +++ b/TypeScript/21CustomCommandoCommand/package.json @@ -1,7 +1,7 @@ { "name": "CustomCommandoCommand", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts b/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts index beffa2c..56ca36f 100644 --- a/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts +++ b/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts @@ -1,10 +1,10 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/21CustomCommandoCommand/src/mod.ts b/TypeScript/21CustomCommandoCommand/src/mod.ts index 98e3edd..abb902a 100644 --- a/TypeScript/21CustomCommandoCommand/src/mod.ts +++ b/TypeScript/21CustomCommandoCommand/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { CommandoDialogueChatBot } from "@spt-aki/helpers/Dialogue/CommandoDialogueChatBot"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { CommandoDialogueChatBot } from "@spt/helpers/Dialogue/CommandoDialogueChatBot"; import { CustomCommandoCommand } from "./CustomCommandoCommand"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/21CustomCommandoCommand/tsconfig.json b/TypeScript/21CustomCommandoCommand/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/21CustomCommandoCommand/tsconfig.json +++ b/TypeScript/21CustomCommandoCommand/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/22CustomAkiCommand/package.json b/TypeScript/22CustomAkiCommand/package.json index 58dee14..bf80c82 100644 --- a/TypeScript/22CustomAkiCommand/package.json +++ b/TypeScript/22CustomAkiCommand/package.json @@ -1,7 +1,7 @@ { "name": "CustomAkiCommand", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts b/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts index 7b2fff1..4fb4c69 100644 --- a/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts +++ b/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts @@ -1,10 +1,10 @@ import { inject, injectable } from "tsyringe"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/22CustomAkiCommand/src/mod.ts b/TypeScript/22CustomAkiCommand/src/mod.ts index fa4c351..b48344a 100644 --- a/TypeScript/22CustomAkiCommand/src/mod.ts +++ b/TypeScript/22CustomAkiCommand/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { SptCommandoCommands } from "@spt-aki/helpers/Dialogue/Commando/SptCommandoCommands"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { SptCommandoCommands } from "@spt/helpers/Dialogue/Commando/SptCommandoCommands"; import { CustomAkiCommand } from "./CustomAkiCommand"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/22CustomAkiCommand/tsconfig.json b/TypeScript/22CustomAkiCommand/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/22CustomAkiCommand/tsconfig.json +++ b/TypeScript/22CustomAkiCommand/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/23CustomAbstractChatBot/package.json b/TypeScript/23CustomAbstractChatBot/package.json index 140bb8e..c27d491 100644 --- a/TypeScript/23CustomAbstractChatBot/package.json +++ b/TypeScript/23CustomAbstractChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomAbstractChatBot", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts b/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts index b598ea7..59457c5 100644 --- a/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts +++ b/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts @@ -1,9 +1,9 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts b/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts index d8fe7aa..dfc8c04 100644 --- a/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts +++ b/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts @@ -1,11 +1,11 @@ import { inject, injectAll, injectable } from "tsyringe"; -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts b/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts index 49696e2..c20b1a1 100644 --- a/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts +++ b/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts @@ -1,9 +1,9 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/IAkiProfile"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/mod.ts b/TypeScript/23CustomAbstractChatBot/src/mod.ts index cea8a8c..f13cd80 100644 --- a/TypeScript/23CustomAbstractChatBot/src/mod.ts +++ b/TypeScript/23CustomAbstractChatBot/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DialogueController } from "@spt-aki/controllers/DialogueController"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DialogueController } from "@spt/controllers/DialogueController"; import { CustomSimpleChatBot } from "./CustomSimpleChatBot"; import { MyCoolCommand } from "./MyCoolCommand"; import { AnotherCoolCommand } from "./AnotherCoolCommand"; diff --git a/TypeScript/23CustomAbstractChatBot/tsconfig.json b/TypeScript/23CustomAbstractChatBot/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/23CustomAbstractChatBot/tsconfig.json +++ b/TypeScript/23CustomAbstractChatBot/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/24WebSocket/package.json b/TypeScript/24WebSocket/package.json index ffb76e9..6bbc08a 100644 --- a/TypeScript/24WebSocket/package.json +++ b/TypeScript/24WebSocket/package.json @@ -1,7 +1,7 @@ { "name": "WebSocket", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts b/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts index a817a10..62184ee 100644 --- a/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts +++ b/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts @@ -1,8 +1,8 @@ import { inject, injectable } from "tsyringe"; import { WebSocket, RawData } from "ws"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IAkiWebSocketMessageHandler } from "@spt/servers/ws/message/IAkiWebSocketMessageHandler"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts b/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts index 9dd0ec8..10b30e8 100644 --- a/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts +++ b/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts @@ -2,8 +2,8 @@ import { IncomingMessage } from "node:http"; import { inject, injectable } from "tsyringe"; import { WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/24WebSocket/src/mod.ts b/TypeScript/24WebSocket/src/mod.ts index e1f9e1b..192f21f 100644 --- a/TypeScript/24WebSocket/src/mod.ts +++ b/TypeScript/24WebSocket/src/mod.ts @@ -1,10 +1,10 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; import { CustomWebSocketConnectionHandler } from "./CustomWebSocketConnectionHandler"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; 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 { public preAkiLoad(container: DependencyContainer): void { diff --git a/TypeScript/24WebSocket/tsconfig.json b/TypeScript/24WebSocket/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/24WebSocket/tsconfig.json +++ b/TypeScript/24WebSocket/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/2EditDatabase/package.json b/TypeScript/2EditDatabase/package.json index c044a70..e17f37d 100644 --- a/TypeScript/2EditDatabase/package.json +++ b/TypeScript/2EditDatabase/package.json @@ -1,7 +1,7 @@ { "name": "EditDatabase", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/2EditDatabase/src/mod.ts b/TypeScript/2EditDatabase/src/mod.ts index 651c628..3dc1bdf 100644 --- a/TypeScript/2EditDatabase/src/mod.ts +++ b/TypeScript/2EditDatabase/src/mod.ts @@ -1,10 +1,10 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/2EditDatabase/tsconfig.json b/TypeScript/2EditDatabase/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/2EditDatabase/tsconfig.json +++ b/TypeScript/2EditDatabase/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/3GetSptConfigFile/package.json b/TypeScript/3GetSptConfigFile/package.json index fdc26ad..25db4a1 100644 --- a/TypeScript/3GetSptConfigFile/package.json +++ b/TypeScript/3GetSptConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "GetSptConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/3GetSptConfigFile/src/mod.ts b/TypeScript/3GetSptConfigFile/src/mod.ts index a4b444b..c4b44b1 100644 --- a/TypeScript/3GetSptConfigFile/src/mod.ts +++ b/TypeScript/3GetSptConfigFile/src/mod.ts @@ -1,10 +1,10 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; class Mod implements IPostAkiLoadMod { diff --git a/TypeScript/3GetSptConfigFile/tsconfig.json b/TypeScript/3GetSptConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/3GetSptConfigFile/tsconfig.json +++ b/TypeScript/3GetSptConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json index b28fa8d..f64022f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomJson5OrJsonCConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts index 1439e17..17a8c22 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts @@ -1,9 +1,9 @@ import path from "node:path"; import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { VFS } from "@spt-aki/utils/VFS"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { VFS } from "@spt/utils/VFS"; import JSON5 from "json5"; import { jsonc } from "jsonc"; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/4UseACustomConfigFile/package.json b/TypeScript/4UseACustomConfigFile/package.json index f089d0f..974f6d6 100644 --- a/TypeScript/4UseACustomConfigFile/package.json +++ b/TypeScript/4UseACustomConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4UseACustomConfigFile/src/mod.ts b/TypeScript/4UseACustomConfigFile/src/mod.ts index c33274e..f8554ca 100644 --- a/TypeScript/4UseACustomConfigFile/src/mod.ts +++ b/TypeScript/4UseACustomConfigFile/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; class Mod implements IPostAkiLoadMod { diff --git a/TypeScript/4UseACustomConfigFile/tsconfig.json b/TypeScript/4UseACustomConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/4UseACustomConfigFile/tsconfig.json +++ b/TypeScript/4UseACustomConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/5ReplaceMethod/package.json b/TypeScript/5ReplaceMethod/package.json index 5876e57..8ae3b2c 100644 --- a/TypeScript/5ReplaceMethod/package.json +++ b/TypeScript/5ReplaceMethod/package.json @@ -1,7 +1,7 @@ { "name": "ReplaceMethod", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/5ReplaceMethod/src/mod.ts b/TypeScript/5ReplaceMethod/src/mod.ts index e10244f..04dadbd 100644 --- a/TypeScript/5ReplaceMethod/src/mod.ts +++ b/TypeScript/5ReplaceMethod/src/mod.ts @@ -1,11 +1,11 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { SaveServer } from "@spt/servers/SaveServer"; class Mod implements IPreAkiLoadMod { diff --git a/TypeScript/5ReplaceMethod/tsconfig.json b/TypeScript/5ReplaceMethod/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/5ReplaceMethod/tsconfig.json +++ b/TypeScript/5ReplaceMethod/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/6ReferenceAnotherClass/package.json b/TypeScript/6ReferenceAnotherClass/package.json index a73456f..b8d3d13 100644 --- a/TypeScript/6ReferenceAnotherClass/package.json +++ b/TypeScript/6ReferenceAnotherClass/package.json @@ -1,7 +1,7 @@ { "name": "ReferenceAnotherClass", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/6ReferenceAnotherClass/src/mod.ts b/TypeScript/6ReferenceAnotherClass/src/mod.ts index 035fcc8..5c9ff4d 100644 --- a/TypeScript/6ReferenceAnotherClass/src/mod.ts +++ b/TypeScript/6ReferenceAnotherClass/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostAkiLoadMod } from "@spt/models/external/IPostAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; import { MoreCode } from "./MoreCode"; class Mod implements IPostAkiLoadMod diff --git a/TypeScript/6ReferenceAnotherClass/tsconfig.json b/TypeScript/6ReferenceAnotherClass/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/6ReferenceAnotherClass/tsconfig.json +++ b/TypeScript/6ReferenceAnotherClass/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/7OnLoadHook/package.json b/TypeScript/7OnLoadHook/package.json index 25ac3eb..4a34e62 100644 --- a/TypeScript/7OnLoadHook/package.json +++ b/TypeScript/7OnLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "OnLoadHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/7OnLoadHook/src/mod.ts b/TypeScript/7OnLoadHook/src/mod.ts index e8fd335..77aee6b 100644 --- a/TypeScript/7OnLoadHook/src/mod.ts +++ b/TypeScript/7OnLoadHook/src/mod.ts @@ -1,8 +1,8 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { OnLoadModService } from "@spt-aki/services/mod/onLoad/OnLoadModService"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { OnLoadModService } from "@spt/services/mod/onLoad/OnLoadModService"; class Mod implements IPreAkiLoadMod { diff --git a/TypeScript/7OnLoadHook/tsconfig.json b/TypeScript/7OnLoadHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/7OnLoadHook/tsconfig.json +++ b/TypeScript/7OnLoadHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/8OnUpdateHook/package.json b/TypeScript/8OnUpdateHook/package.json index 10957b7..c6428c3 100644 --- a/TypeScript/8OnUpdateHook/package.json +++ b/TypeScript/8OnUpdateHook/package.json @@ -1,7 +1,7 @@ { "name": "OnUpdateHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/8OnUpdateHook/src/mod.ts b/TypeScript/8OnUpdateHook/src/mod.ts index 9f9f11b..72da98d 100644 --- a/TypeScript/8OnUpdateHook/src/mod.ts +++ b/TypeScript/8OnUpdateHook/src/mod.ts @@ -1,8 +1,8 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { OnUpdateModService } from "@spt-aki/services/mod/onUpdate/OnUpdateModService"; +import { IPreAkiLoadMod } from "@spt/models/external/IPreAkiLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { OnUpdateModService } from "@spt/services/mod/onUpdate/OnUpdateModService"; class Mod implements IPreAkiLoadMod { diff --git a/TypeScript/8OnUpdateHook/tsconfig.json b/TypeScript/8OnUpdateHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/8OnUpdateHook/tsconfig.json +++ b/TypeScript/8OnUpdateHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"],