This commit is contained in:
parent
db98cf20a1
commit
436c9be3e5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mcutils-library",
|
||||
"version": "1.2.5",
|
||||
"version": "1.2.6",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -1,11 +1,16 @@
|
||||
import {Status} from "../status";
|
||||
import {Cache} from "../cache";
|
||||
|
||||
export interface CachedEndpointStatus extends Cache, EndpointStatus {
|
||||
export interface CachedEndpointStatus extends EndpointStatus {
|
||||
/**
|
||||
* The endpoint statuses.
|
||||
*/
|
||||
endpoints: EndpointStatus[];
|
||||
|
||||
/**
|
||||
* The cache information.
|
||||
*/
|
||||
cache: Cache;
|
||||
}
|
||||
|
||||
type EndpointStatus = {
|
||||
|
@ -1,6 +1,11 @@
|
||||
import {Cache} from "../cache";
|
||||
|
||||
export interface CachedPlayer extends Cache, Player {}
|
||||
export interface CachedPlayer extends Player {
|
||||
/**
|
||||
* The cache information.
|
||||
*/
|
||||
cache: Cache;
|
||||
}
|
||||
|
||||
type Player = {
|
||||
/**
|
||||
|
@ -1,7 +1,12 @@
|
||||
import {MinecraftServer} from "../server";
|
||||
import {Cache} from "../../cache";
|
||||
|
||||
export interface CachedBedrockMinecraftServer extends Cache, BedrockMinecraftServer {}
|
||||
export interface CachedBedrockMinecraftServer extends BedrockMinecraftServer {
|
||||
/**
|
||||
* The cache information.
|
||||
*/
|
||||
cache: Cache;
|
||||
}
|
||||
|
||||
interface BedrockMinecraftServer extends MinecraftServer {
|
||||
/**
|
||||
|
@ -1,7 +1,12 @@
|
||||
import {MinecraftServer} from "../server";
|
||||
import {Cache} from "../../cache";
|
||||
|
||||
export interface CachedJavaMinecraftServer extends Cache, JavaMinecraftServer {}
|
||||
export interface CachedJavaMinecraftServer extends JavaMinecraftServer {
|
||||
/**
|
||||
* The cache information.
|
||||
*/
|
||||
cache: Cache;
|
||||
}
|
||||
|
||||
interface JavaMinecraftServer extends MinecraftServer {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user