diff --git a/TypeScript/2EditDatabase/src/mod.ts b/TypeScript/2EditDatabase/src/mod.ts index f45b4fe..f8ae640 100644 --- a/TypeScript/2EditDatabase/src/mod.ts +++ b/TypeScript/2EditDatabase/src/mod.ts @@ -1,6 +1,6 @@ import type { DependencyContainer } from "tsyringe"; -import { IMod } from "../types/models/external/mod"; +import type { IMod } from "../types/models/external/mod"; import type { DatabaseServer } from "../types/servers/DatabaseServer"; class Mod implements IMod diff --git a/TypeScript/3.0GetSptConfigFile/src/mod.ts b/TypeScript/3.0GetSptConfigFile/src/mod.ts index 125594a..cf04c2c 100644 --- a/TypeScript/3.0GetSptConfigFile/src/mod.ts +++ b/TypeScript/3.0GetSptConfigFile/src/mod.ts @@ -1,9 +1,10 @@ import type { DependencyContainer } from "tsyringe"; -import { IMod } from "../types/models/external/mod"; +import type { IMod } from "../types/models/external/mod"; import type { ILogger } from "../types/models/spt/utils/ILogger"; -import { ConfigServer, ConfigTypes } from "../types/servers/ConfigServer"; -import { IBotConfig } from "../types/models/spt/config/IBotConfig"; +import type { ConfigServer } from "../types/servers/ConfigServer"; +import { ConfigTypes } from "../types/models/enums/ConfigTypes"; +import type { IBotConfig } from "../types/models/spt/config/IBotConfig"; class Mod implements IMod { diff --git a/TypeScript/4UseACustomConfigFile/src/mod.ts b/TypeScript/4UseACustomConfigFile/src/mod.ts index 5445e08..549f2c1 100644 --- a/TypeScript/4UseACustomConfigFile/src/mod.ts +++ b/TypeScript/4UseACustomConfigFile/src/mod.ts @@ -1,6 +1,6 @@ import type { DependencyContainer } from "tsyringe"; -import { IMod } from "../types/models/external/mod"; +import type { IMod } from "../types/models/external/mod"; import type { ILogger } from "../types/models/spt/utils/ILogger"; class Mod implements IMod diff --git a/TypeScript/6ReferenceAnotherClass/src/mod.ts b/TypeScript/6ReferenceAnotherClass/src/mod.ts index bdc2e58..c4d967a 100644 --- a/TypeScript/6ReferenceAnotherClass/src/mod.ts +++ b/TypeScript/6ReferenceAnotherClass/src/mod.ts @@ -1,6 +1,6 @@ import type { DependencyContainer } from "tsyringe"; -import { IMod } from "../types/models/external/mod"; +import type { IMod } from "../types/models/external/mod"; import type { ILogger } from "../types/models/spt/utils/ILogger"; import {MoreCode } from "./MoreCode"; diff --git a/TypeScript/7OnLoadHook/src/mod.ts b/TypeScript/7OnLoadHook/src/mod.ts index 22ff2a3..4b87bc0 100644 --- a/TypeScript/7OnLoadHook/src/mod.ts +++ b/TypeScript/7OnLoadHook/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IMod } from "../types/models/external/mod" -import { ILogger } from "../types/models/spt/utils/ILogger" -import { OnLoadModService } from "../types/services/mod/onLoad/OnLoadModService" +import type { IMod } from "../types/models/external/mod" +import type { ILogger } from "../types/models/spt/utils/ILogger" +import type { OnLoadModService } from "../types/services/mod/onLoad/OnLoadModService" class Mod implements IMod { @@ -10,7 +10,7 @@ class Mod implements IMod const logger = container.resolve("WinstonLogger"); const onLoadModService = container.resolve("OnLoadModService"); onLoadModService.registerOnLoad( - "MyCustomMod", + "MyCustomMod", // route key () => this.customFunctionThatRunsOnLoad(logger), () => "custom-mod" // new route name )