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

View File

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