All files / src/apis/v1/__tests__/examples/items index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33                                                                 
import { ItemType } from '@/types/v1';
import armor from './armor';
import back from './back.json';
import bag from './bag.json';
import consumable from './consumable';
import container from './container.json';
import craftingMaterial from './crafting-material.json';
import gathering from './gathering';
import gizmo from './gizmo.json';
import miniPet from './mini-pet.json';
import tool from './tool.json';
import trinket from './trinket';
import trophy from './trophy.json';
import upgradeComponent from './upgrade-component';
import weapon from './weapon.json';
 
export default {
  [ItemType.ARMOR]: armor,
  [ItemType.BACK]: back,
  [ItemType.BAG]: bag,
  [ItemType.CONSUMABLE]: consumable,
  [ItemType.CONTAINER]: container,
  [ItemType.CRAFTING_MATERIAL]: craftingMaterial,
  [ItemType.GATHERING]: gathering,
  [ItemType.GIZMO]: gizmo,
  [ItemType.MINI_PET]: miniPet,
  [ItemType.TOOL]: tool,
  [ItemType.TRINKET]: trinket,
  [ItemType.TROPHY]: trophy,
  [ItemType.UPGRADE_COMPONENT]: upgradeComponent,
  [ItemType.WEAPON]: weapon,
};