From 211a898413fc257ba6b5fcd4ac65626926547de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haylee=20Sch=C3=A4fer?= Date: Fri, 25 Oct 2024 21:52:39 +0200 Subject: [PATCH] remove LimitUsageInfo --- dist/skin/SkinInfo.d.ts | 1 + dist/skin/SkinInfo.js.map | 2 +- dist/usage/LimitUsageInfo.d.ts | 4 ---- dist/usage/LimitUsageInfo.js | 3 --- dist/usage/LimitUsageInfo.js.map | 1 - dist/usage/UsageInfo.d.ts | 2 -- dist/usage/UsageInfo.js.map | 2 +- dist/usage/index.d.ts | 1 - dist/usage/index.js | 1 - dist/usage/index.js.map | 2 +- src/usage/LimitUsageInfo.ts | 4 ---- src/usage/UsageInfo.ts | 2 -- src/usage/index.ts | 1 - 13 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 dist/usage/LimitUsageInfo.d.ts delete mode 100644 dist/usage/LimitUsageInfo.js delete mode 100644 dist/usage/LimitUsageInfo.js.map delete mode 100644 src/usage/LimitUsageInfo.ts diff --git a/dist/skin/SkinInfo.d.ts b/dist/skin/SkinInfo.d.ts index 2366f67..6582370 100644 --- a/dist/skin/SkinInfo.d.ts +++ b/dist/skin/SkinInfo.d.ts @@ -1,6 +1,7 @@ import { SkinIdAndTexture } from "./SkinIdAndTexture"; import { SkinVariant } from "./SkinVariant"; import { DelayInfo } from "../ratelimit"; +/**@deprecated**/ export interface SkinInfo { id: number; idStr: string; diff --git a/dist/skin/SkinInfo.js.map b/dist/skin/SkinInfo.js.map index cf1c379..50ae724 100644 --- a/dist/skin/SkinInfo.js.map +++ b/dist/skin/SkinInfo.js.map @@ -1 +1 @@ -{"version":3,"file":"SkinInfo.js","sourceRoot":"/","sources":["skin/SkinInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { SkinIdAndTexture } from \"./SkinIdAndTexture\";\r\nimport { SkinVariant } from \"./SkinVariant\";\r\nimport { DelayInfo } from \"../ratelimit\";\r\n\r\nexport interface SkinInfo {\r\n id: number;\r\n idStr: string;\r\n uuid: string;\r\n hash: string;\r\n name: string;\r\n /**@deprecated**/\r\n model: string;\r\n variant: SkinVariant;\r\n data: SkinIdAndTexture;\r\n timestamp: number;\r\n duration: number;\r\n /**@deprecated**/\r\n accountId: number;\r\n account: number | string;\r\n server: string;\r\n /**@deprecated**/\r\n private: boolean;\r\n visibility?: string;\r\n views: number;\r\n duplicate?: boolean;\r\n /**@deprecated**/\r\n nextRequest?: number;\r\n delayInfo?: DelayInfo;\r\n}\r\n"]} \ No newline at end of file +{"version":3,"file":"SkinInfo.js","sourceRoot":"/","sources":["skin/SkinInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { SkinIdAndTexture } from \"./SkinIdAndTexture\";\r\nimport { SkinVariant } from \"./SkinVariant\";\r\nimport { DelayInfo } from \"../ratelimit\";\r\n\r\n/**@deprecated**/\r\nexport interface SkinInfo {\r\n id: number;\r\n idStr: string;\r\n uuid: string;\r\n hash: string;\r\n name: string;\r\n /**@deprecated**/\r\n model: string;\r\n variant: SkinVariant;\r\n data: SkinIdAndTexture;\r\n timestamp: number;\r\n duration: number;\r\n /**@deprecated**/\r\n accountId: number;\r\n account: number | string;\r\n server: string;\r\n /**@deprecated**/\r\n private: boolean;\r\n visibility?: string;\r\n views: number;\r\n duplicate?: boolean;\r\n /**@deprecated**/\r\n nextRequest?: number;\r\n delayInfo?: DelayInfo;\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/usage/LimitUsageInfo.d.ts b/dist/usage/LimitUsageInfo.d.ts deleted file mode 100644 index 4e2ac9a..0000000 --- a/dist/usage/LimitUsageInfo.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface LimitUsageInfo { - limit: number; - remaining: number; -} diff --git a/dist/usage/LimitUsageInfo.js b/dist/usage/LimitUsageInfo.js deleted file mode 100644 index 3b8cd3c..0000000 --- a/dist/usage/LimitUsageInfo.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=LimitUsageInfo.js.map \ No newline at end of file diff --git a/dist/usage/LimitUsageInfo.js.map b/dist/usage/LimitUsageInfo.js.map deleted file mode 100644 index 59f1fab..0000000 --- a/dist/usage/LimitUsageInfo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LimitUsageInfo.js","sourceRoot":"/","sources":["usage/LimitUsageInfo.ts"],"names":[],"mappings":"","sourcesContent":["export interface LimitUsageInfo {\n limit: number;\n remaining: number;\n}\n"]} \ No newline at end of file diff --git a/dist/usage/UsageInfo.d.ts b/dist/usage/UsageInfo.d.ts index a33275f..956c8c6 100644 --- a/dist/usage/UsageInfo.d.ts +++ b/dist/usage/UsageInfo.d.ts @@ -1,10 +1,8 @@ import { MeteredUsageInfo } from "./MeteredUsageInfo"; -import { LimitUsageInfo } from "./LimitUsageInfo"; import { CreditsUsageInfo } from "./CreditsUsageInfo"; import { RateUsageInfo } from "./RateUsageInfo"; export interface UsageInfo { credits?: CreditsUsageInfo; metered?: MeteredUsageInfo; rate?: RateUsageInfo; - limit?: LimitUsageInfo; } diff --git a/dist/usage/UsageInfo.js.map b/dist/usage/UsageInfo.js.map index a7f91d5..7aed526 100644 --- a/dist/usage/UsageInfo.js.map +++ b/dist/usage/UsageInfo.js.map @@ -1 +1 @@ -{"version":3,"file":"UsageInfo.js","sourceRoot":"/","sources":["usage/UsageInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { MeteredUsageInfo } from \"./MeteredUsageInfo\";\nimport { LimitUsageInfo } from \"./LimitUsageInfo\";\nimport { CreditsUsageInfo } from \"./CreditsUsageInfo\";\nimport { RateUsageInfo } from \"./RateUsageInfo\";\n\nexport interface UsageInfo {\n credits?: CreditsUsageInfo;\n metered?: MeteredUsageInfo;\n rate?: RateUsageInfo;\n limit?: LimitUsageInfo;\n}\n"]} \ No newline at end of file +{"version":3,"file":"UsageInfo.js","sourceRoot":"/","sources":["usage/UsageInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { MeteredUsageInfo } from \"./MeteredUsageInfo\";\nimport { CreditsUsageInfo } from \"./CreditsUsageInfo\";\nimport { RateUsageInfo } from \"./RateUsageInfo\";\n\nexport interface UsageInfo {\n credits?: CreditsUsageInfo;\n metered?: MeteredUsageInfo;\n rate?: RateUsageInfo;\n}\n"]} \ No newline at end of file diff --git a/dist/usage/index.d.ts b/dist/usage/index.d.ts index 6f0fb62..20f6523 100644 --- a/dist/usage/index.d.ts +++ b/dist/usage/index.d.ts @@ -1,5 +1,4 @@ export * from "./CreditsUsageInfo"; -export * from "./LimitUsageInfo"; export * from "./MeteredUsageInfo"; export * from "./RateUsageInfo"; export * from "./UsageInfo"; diff --git a/dist/usage/index.js b/dist/usage/index.js index 00f8946..b6cb599 100644 --- a/dist/usage/index.js +++ b/dist/usage/index.js @@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { }; Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("./CreditsUsageInfo"), exports); -__exportStar(require("./LimitUsageInfo"), exports); __exportStar(require("./MeteredUsageInfo"), exports); __exportStar(require("./RateUsageInfo"), exports); __exportStar(require("./UsageInfo"), exports); diff --git a/dist/usage/index.js.map b/dist/usage/index.js.map index 3d494a2..36020c1 100644 --- a/dist/usage/index.js.map +++ b/dist/usage/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"/","sources":["usage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,mDAAiC;AACjC,qDAAmC;AACnC,kDAAgC;AAChC,8CAA4B","sourcesContent":["export * from \"./CreditsUsageInfo\";\nexport * from \"./LimitUsageInfo\";\nexport * from \"./MeteredUsageInfo\";\nexport * from \"./RateUsageInfo\";\nexport * from \"./UsageInfo\";"]} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"/","sources":["usage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qDAAmC;AACnC,kDAAgC;AAChC,8CAA4B","sourcesContent":["export * from \"./CreditsUsageInfo\";\nexport * from \"./MeteredUsageInfo\";\nexport * from \"./RateUsageInfo\";\nexport * from \"./UsageInfo\";"]} \ No newline at end of file diff --git a/src/usage/LimitUsageInfo.ts b/src/usage/LimitUsageInfo.ts deleted file mode 100644 index 4e2ac9a..0000000 --- a/src/usage/LimitUsageInfo.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface LimitUsageInfo { - limit: number; - remaining: number; -} diff --git a/src/usage/UsageInfo.ts b/src/usage/UsageInfo.ts index 910930e..d359ef5 100644 --- a/src/usage/UsageInfo.ts +++ b/src/usage/UsageInfo.ts @@ -1,5 +1,4 @@ import { MeteredUsageInfo } from "./MeteredUsageInfo"; -import { LimitUsageInfo } from "./LimitUsageInfo"; import { CreditsUsageInfo } from "./CreditsUsageInfo"; import { RateUsageInfo } from "./RateUsageInfo"; @@ -7,5 +6,4 @@ export interface UsageInfo { credits?: CreditsUsageInfo; metered?: MeteredUsageInfo; rate?: RateUsageInfo; - limit?: LimitUsageInfo; } diff --git a/src/usage/index.ts b/src/usage/index.ts index b866566..ae8d39d 100644 --- a/src/usage/index.ts +++ b/src/usage/index.ts @@ -1,5 +1,4 @@ export * from "./CreditsUsageInfo"; -export * from "./LimitUsageInfo"; export * from "./MeteredUsageInfo"; export * from "./RateUsageInfo"; export * from "./UsageInfo"; \ No newline at end of file