diff --git a/.gitea/workflows/deploy-lib.yml b/.gitea/workflows/deploy-lib.yml index 83f2520..145fe94 100644 --- a/.gitea/workflows/deploy-lib.yml +++ b/.gitea/workflows/deploy-lib.yml @@ -28,7 +28,7 @@ jobs: # Install Dependencies - name: Install Dependencies - run: bun install + run: bun install --frozen-lockfile # Run Tests - name: Run Tests diff --git a/Lib/src/lib/restfulmc.ts b/Lib/src/lib/restfulmc.ts index 5ffba48..de46679 100644 --- a/Lib/src/lib/restfulmc.ts +++ b/Lib/src/lib/restfulmc.ts @@ -1,3 +1,4 @@ +import { MojangServerStatus } from "../types/mojang"; import type { CachedPlayer } from "../types/player"; import { Platform } from "../types/server"; import { CachedBedrockMinecraftServer } from "../types/server/bedrock-server"; diff --git a/Lib/src/types/mojang.d.ts b/Lib/src/types/mojang.d.ts index a3a1265..fcf42cb 100644 --- a/Lib/src/types/mojang.d.ts +++ b/Lib/src/types/mojang.d.ts @@ -2,6 +2,6 @@ * Represents the status of * a service provided by Mojang. */ -type MojangServerStatus = { +export type MojangServerStatus = { [key: string]: string; };