From f4b1e7a8d594e93fe6eea0a63fc6ac79386aca56 Mon Sep 17 00:00:00 2001 From: Peter Reid Date: Sat, 4 Dec 2021 15:23:44 +0000 Subject: [PATCH] feat(character): remove parsing of waist gear Remove support for parsing waist gear due to deprecation with the introduction of 6.0, remove tests. closes #20 --- docs/api/classes/client_LodestoneClient.default.md | 4 ++-- src/entity/GearCategory.ts | 1 - src/entity/__tests__/Character.test.ts | 6 ------ src/interface/IGearSet.ts | 2 -- 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/api/classes/client_LodestoneClient.default.md b/docs/api/classes/client_LodestoneClient.default.md index ca4e19d..9d910c3 100644 --- a/docs/api/classes/client_LodestoneClient.default.md +++ b/docs/api/classes/client_LodestoneClient.default.md @@ -29,7 +29,7 @@ Client for interfacing with the Final Fantasy XIV Lodestone. #### Defined in -[LodestoneClient.ts:53](https://github.com/XIVStats/lodestone/blob/c74514c/src/client/LodestoneClient.ts#L53) +[LodestoneClient.ts:53](https://github.com/XIVStats/lodestone/blob/fef0125/src/client/LodestoneClient.ts#L53) ## Properties @@ -43,4 +43,4 @@ An instance will be generated by default, but as a consumer you can provide your #### Defined in -[LodestoneClient.ts:49](https://github.com/XIVStats/lodestone/blob/c74514c/src/client/LodestoneClient.ts#L49) +[LodestoneClient.ts:49](https://github.com/XIVStats/lodestone/blob/fef0125/src/client/LodestoneClient.ts#L49) diff --git a/src/entity/GearCategory.ts b/src/entity/GearCategory.ts index dc91c27..34935e1 100644 --- a/src/entity/GearCategory.ts +++ b/src/entity/GearCategory.ts @@ -28,7 +28,6 @@ const enum GearCategory { Head = 'Head', Body = 'Body', Hands = 'Hands', - Waist = 'Waist', Legs = 'Legs', Feet = 'Feet', Shield = 'Shield', diff --git a/src/entity/__tests__/Character.test.ts b/src/entity/__tests__/Character.test.ts index d7ae3e2..c006a48 100644 --- a/src/entity/__tests__/Character.test.ts +++ b/src/entity/__tests__/Character.test.ts @@ -72,12 +72,6 @@ describe('Character', () => { id: '41cccfe5212?hq=1', iLvl: 480, }, - waist: { - category: GearCategory.Waist, - name: 'Ronkan Tassets of Healing', - id: '2c65375dac8', - iLvl: 440, - }, legs: { category: GearCategory.Legs, name: 'Exarchic Hose of Healing', diff --git a/src/interface/IGearSet.ts b/src/interface/IGearSet.ts index 6a86559..133c13a 100644 --- a/src/interface/IGearSet.ts +++ b/src/interface/IGearSet.ts @@ -34,8 +34,6 @@ export default interface IGearSet { readonly hands?: string | IGearPiece - readonly waist?: string | IGearPiece - readonly legs?: string | IGearPiece readonly feet?: string | IGearPiece