remove duplicate FocusUpgrade struct

This commit is contained in:
Sainan 2025-01-20 09:46:50 +01:00
parent 6c2e15aa68
commit f27ef27be5
2 changed files with 3 additions and 9 deletions

View File

@ -13,7 +13,7 @@ import {
IPendingRecipeResponse,
ITypeCount,
IFocusXP,
IFocusUpgrades,
IFocusUpgrade,
ITypeXPItem,
IChallengeProgress,
IStepSequencer,
@ -80,7 +80,7 @@ const focusXPSchema = new Schema<IFocusXP>(
{ _id: false }
);
const focusUpgradesSchema = new Schema<IFocusUpgrades>(
const focusUpgradeSchema = new Schema<IFocusUpgrade>(
{
ItemType: String,
Level: Number,
@ -836,7 +836,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
//Curent active like Active school focuses is = "Zenurik"
FocusAbility: String,
//The treeways of the Focus school.(Active and passive Ability)
FocusUpgrades: [focusUpgradesSchema],
FocusUpgrades: [focusUpgradeSchema],
//Achievement
ChallengeProgress: [challengeProgressSchema],

View File

@ -77,12 +77,6 @@ export interface IQuestKeyDatabase {
CompletionDate?: Date;
}
export interface IFocusUpgrades {
ItemType: string;
Level: number;
IsUniversal: boolean;
}
export interface ITypeCount {
ItemType: string;
ItemCount: number;