Fix enums in the JS SDK
Some checks failed
Publish JS SDK / docker (push) Failing after 17s

This commit is contained in:
Braydon 2024-04-16 17:17:20 -04:00
parent 3beccf01c8
commit 0fb320c076
6 changed files with 26 additions and 26 deletions

@ -1,6 +1,6 @@
{
"name": "restfulmc-lib",
"version": "1.0.9",
"version": "1.1.0",
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
"description": "A simple, yet useful RESTful API for Minecraft utilizing Springboot.",
"keywords": [

@ -2,6 +2,6 @@
* Types of a DNS record.
*/
export enum RecordType {
A,
SRV,
A = "A",
SRV = "SRV",
}

@ -2,7 +2,7 @@
* The status of a service.
*/
export enum Status {
ONLINE,
DEGRADED,
OFFLINE,
ONLINE = "ONLINE",
DEGRADED = "DEGRADED",
OFFLINE = "OFFLINE",
}

@ -2,6 +2,6 @@
* Profile actions that can
*/
export enum ProfileAction {
FORCED_NAME_CHANGE,
USING_BANNED_SKIN,
FORCED_NAME_CHANGE = "FORCED_NAME_CHANGE",
USING_BANNED_SKIN = "USING_BANNED_SKIN",
}

@ -2,6 +2,6 @@
* Possible models for a skin.
*/
export enum SkinModel {
DEFAULT,
SLIM,
DEFAULT = "DEFAULT",
SLIM = "SLIM",
}

@ -2,20 +2,20 @@
* A part of a skin texture.
*/
export enum SkinPart {
HEAD_OVERLAY_FACE,
HEAD_TOP,
HEAD,
FACE,
HEAD_LEFT,
HEAD_RIGHT,
HEAD_BOTTOM,
HEAD_BACK,
BODY_FRONT,
BODY,
LEFT_ARM_TOP,
RIGHT_ARM_TOP,
LEFT_ARM_FRONT,
RIGHT_ARM_FRONT,
LEFT_LEG_FRONT,
RIGHT_LEG_FRONT,
HEAD_OVERLAY_FACE = "HEAD_OVERLAY_FACE",
HEAD_TOP = "HEAD_TOP",
HEAD = "HEAD",
FACE = "FACE",
HEAD_LEFT = "HEAD_LEFT",
HEAD_RIGHT = "HEAD_RIGHT",
HEAD_BOTTOM = "HEAD_BOTTOM",
HEAD_BACK = "HEAD_BACK",
BODY_FRONT = "BODY_FRONT",
BODY = "BODY",
LEFT_ARM_TOP = "LEFT_ARM_TOP",
RIGHT_ARM_TOP = "RIGHT_ARM_TOP",
LEFT_ARM_FRONT = "LEFT_ARM_FRONT",
RIGHT_ARM_FRONT = "RIGHT_ARM_FRONT",
LEFT_LEG_FRONT = "LEFT_LEG_FRONT",
RIGHT_LEG_FRONT = "RIGHT_LEG_FRONT",
}