Compare commits
No commits in common. "77bff8067e6e2c7b53bef9065e0cfe7da49e6e42" and "053bfedfa17b7f327d4d0448412d6e64d5b9e12c" have entirely different histories.
77bff8067e
...
053bfedfa1
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "restfulmc-lib",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.4",
|
||||
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
||||
"description": "A simple, yet useful RESTful API for Minecraft utilizing Springboot.",
|
||||
"keywords": [
|
||||
|
@ -1,6 +1,3 @@
|
||||
export * from "@/lib/restfulmc";
|
||||
|
||||
// Types
|
||||
export * from "@/types/error";
|
||||
export * from "@/types/player/skin-part";
|
||||
export * from "@/types/server/platform";
|
||||
|
@ -4,7 +4,7 @@ import { CachedPlayer } from "@/types/player/player";
|
||||
import { SkinPart } from "@/types/player/skin-part";
|
||||
import { CachedBedrockMinecraftServer } from "@/types/server/bedrock-server";
|
||||
import { CachedJavaMinecraftServer } from "@/types/server/java-server";
|
||||
import { ServerPlatform } from "@/types/server/platform";
|
||||
import { ServerPlatform } from "@/types/server/server";
|
||||
|
||||
/**
|
||||
* Get a player by their username or UUID.
|
||||
|
@ -1,15 +0,0 @@
|
||||
/**
|
||||
* A platform a Minecraft
|
||||
* server can operate on.
|
||||
*/
|
||||
export enum ServerPlatform {
|
||||
/**
|
||||
* The Java edition of Minecraft.
|
||||
*/
|
||||
JAVA = "java",
|
||||
|
||||
/**
|
||||
* The Bedrock edition of Minecraft.
|
||||
*/
|
||||
BEDROCK = "bedrock",
|
||||
}
|
@ -109,3 +109,19 @@ type MOTD = {
|
||||
*/
|
||||
html: string[];
|
||||
};
|
||||
|
||||
/**
|
||||
* A platform a Minecraft
|
||||
* server can operate on.
|
||||
*/
|
||||
export enum ServerPlatform {
|
||||
/**
|
||||
* The Java edition of Minecraft.
|
||||
*/
|
||||
JAVA = "java",
|
||||
|
||||
/**
|
||||
* The Bedrock edition of Minecraft.
|
||||
*/
|
||||
BEDROCK = "bedrock",
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import {
|
||||
ServerPlatform,
|
||||
getJavaServerFavicon,
|
||||
getMinecraftServer,
|
||||
isMojangBlocked,
|
||||
@ -7,6 +6,7 @@ import {
|
||||
import { RestfulMCAPIError } from "@/types/error";
|
||||
import { CachedBedrockMinecraftServer } from "@/types/server/bedrock-server";
|
||||
import { CachedJavaMinecraftServer } from "@/types/server/java-server";
|
||||
import { ServerPlatform } from "@/types/server/server";
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user