From 1d1a941364179f5520f0f090f2957a90b5f49f3c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 24 Jan 2023 02:06:15 -0800 Subject: [PATCH] Add type and convenience constant --- types/JobAccessory.d.ts | 11 +++++++++++ utils/jobsWithAccessories.tsx | 1 + 2 files changed, 12 insertions(+) create mode 100644 types/JobAccessory.d.ts create mode 100644 utils/jobsWithAccessories.tsx diff --git a/types/JobAccessory.d.ts b/types/JobAccessory.d.ts new file mode 100644 index 00000000..1b0b3d8e --- /dev/null +++ b/types/JobAccessory.d.ts @@ -0,0 +1,11 @@ +interface JobAccessory { + id: string + granblue_id: string + job: Job + name: { + [key: string]: string + en: string + ja: string + } + rarity: number +} diff --git a/utils/jobsWithAccessories.tsx b/utils/jobsWithAccessories.tsx new file mode 100644 index 00000000..1ed3882e --- /dev/null +++ b/utils/jobsWithAccessories.tsx @@ -0,0 +1 @@ +export const ACCESSORY_JOB_IDS = ['683ffee8-4ea2-432d-bc30-4865020ac9f4']