From 7ebeb39cc3a1151873326cbbb0213d700df64734 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sun, 14 Apr 2024 16:38:41 -0400 Subject: [PATCH] oops, fix build error --- .gitea/workflows/deploy-lib.yml | 2 +- Lib/src/lib/restfulmc.ts | 1 + Lib/src/types/mojang.d.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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; };