feat: import #831

Merged
Sainan merged 39 commits from import into main 2025-01-20 03:19:32 -08:00
2 changed files with 3 additions and 9 deletions
Showing only changes of commit f27ef27be5 - Show all commits

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;