feat: nightwave rank up rewards #1320
@ -3,7 +3,13 @@ import { RequestHandler } from "express";
|
||||
import { getAccountIdForRequest } from "@/src/services/loginService";
|
||||
import { ExportNightwave, ExportSyndicates, ISyndicateSacrifice } from "warframe-public-export-plus";
|
||||
import { handleStoreItemAcquisition } from "@/src/services/purchaseService";
|
||||
import { addItem, addMiscItems, combineInventoryChanges, getInventory, updateCurrency } from "@/src/services/inventoryService";
|
||||
import {
|
||||
addItem,
|
||||
addMiscItems,
|
||||
combineInventoryChanges,
|
||||
getInventory,
|
||||
updateCurrency
|
||||
} from "@/src/services/inventoryService";
|
||||
import { IInventoryChanges } from "@/src/types/purchaseTypes";
|
||||
import { fromStoreItem, isStoreItem } from "@/src/services/itemDataService";
|
||||
|
||||
|
@ -252,7 +252,7 @@ export const convertInboxMessage = (message: IInboxMessage): IMessage => {
|
||||
|
||||
export const isStoreItem = (type: string): boolean => {
|
||||
return type.startsWith("/Lotus/StoreItems/");
|
||||
}
|
||||
};
|
||||
|
||||
export const toStoreItem = (type: string): string => {
|
||||
return "/Lotus/StoreItems/" + type.substring("/Lotus/".length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user