From 996fb67da4d1feabf9f24c89d021e4b8860180c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haylee=20Sch=C3=A4fer?= Date: Thu, 28 Nov 2024 17:01:56 +0100 Subject: [PATCH] add skin shortId --- dist/skin/v2/SkinInfo2.d.ts | 1 + dist/skin/v2/SkinInfo2.js.map | 2 +- src/skin/v2/SkinInfo2.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/skin/v2/SkinInfo2.d.ts b/dist/skin/v2/SkinInfo2.d.ts index ce2113c..53d89c9 100644 --- a/dist/skin/v2/SkinInfo2.d.ts +++ b/dist/skin/v2/SkinInfo2.d.ts @@ -6,6 +6,7 @@ import { SkinVisibility2 } from "./SkinVisibility2"; import { TagInfo } from "../../tag/TagInfo"; export interface SkinInfo2 { uuid: UUID; + shortId?: string; name?: string; variant: SkinVariant; visibility: SkinVisibility2; diff --git a/dist/skin/v2/SkinInfo2.js.map b/dist/skin/v2/SkinInfo2.js.map index 2c49418..1c26e79 100644 --- a/dist/skin/v2/SkinInfo2.js.map +++ b/dist/skin/v2/SkinInfo2.js.map @@ -1 +1 @@ -{"version":3,"file":"SkinInfo2.js","sourceRoot":"/","sources":["skin/v2/SkinInfo2.ts"],"names":[],"mappings":"","sourcesContent":["import { SkinTexture2 } from \"./SkinTexture2\";\r\nimport { GeneratorInfo } from \"./GeneratorInfo\";\r\nimport { SkinVariant } from \"../SkinVariant\";\r\nimport { UUID } from \"../../misc\";\r\nimport { SkinVisibility2 } from \"./SkinVisibility2\";\r\nimport { TagInfo } from \"../../tag/TagInfo\";\r\n\r\nexport interface SkinInfo2 {\r\n uuid: UUID;\r\n name?: string;\r\n variant: SkinVariant;\r\n visibility: SkinVisibility2;\r\n texture: SkinTexture2;\r\n generator: GeneratorInfo;\r\n tags?: TagInfo[];\r\n views: number;\r\n duplicate: boolean;\r\n}\r\n"]} \ No newline at end of file +{"version":3,"file":"SkinInfo2.js","sourceRoot":"/","sources":["skin/v2/SkinInfo2.ts"],"names":[],"mappings":"","sourcesContent":["import { SkinTexture2 } from \"./SkinTexture2\";\r\nimport { GeneratorInfo } from \"./GeneratorInfo\";\r\nimport { SkinVariant } from \"../SkinVariant\";\r\nimport { UUID } from \"../../misc\";\r\nimport { SkinVisibility2 } from \"./SkinVisibility2\";\r\nimport { TagInfo } from \"../../tag/TagInfo\";\r\n\r\nexport interface SkinInfo2 {\r\n uuid: UUID;\r\n shortId?: string;\r\n name?: string;\r\n variant: SkinVariant;\r\n visibility: SkinVisibility2;\r\n texture: SkinTexture2;\r\n generator: GeneratorInfo;\r\n tags?: TagInfo[];\r\n views: number;\r\n duplicate: boolean;\r\n}\r\n"]} \ No newline at end of file diff --git a/src/skin/v2/SkinInfo2.ts b/src/skin/v2/SkinInfo2.ts index 1c0bb16..2792676 100644 --- a/src/skin/v2/SkinInfo2.ts +++ b/src/skin/v2/SkinInfo2.ts @@ -7,6 +7,7 @@ import { TagInfo } from "../../tag/TagInfo"; export interface SkinInfo2 { uuid: UUID; + shortId?: string; name?: string; variant: SkinVariant; visibility: SkinVisibility2;