forked from OpenWF/SpaceNinjaServer
		
	chore: comment out mixed fields in inventory (#1892)
If they are needed in the future, they schould be properly schema'd. Reviewed-on: OpenWF/SpaceNinjaServer#1892 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0d842ade90
								
							
						
					
					
						commit
						1e8f2fc766
					
				@ -1399,7 +1399,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        //How many Gift do you have left*(gift spends the trade)
 | 
					        //How many Gift do you have left*(gift spends the trade)
 | 
				
			||||||
        GiftsRemaining: { type: Number, default: 8 },
 | 
					        GiftsRemaining: { type: Number, default: 8 },
 | 
				
			||||||
        //Curent trade info Giving or Getting items
 | 
					        //Curent trade info Giving or Getting items
 | 
				
			||||||
        PendingTrades: [Schema.Types.Mixed],
 | 
					        //PendingTrades: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Syndicate currently being pledged to.
 | 
					        //Syndicate currently being pledged to.
 | 
				
			||||||
        SupportedSyndicate: String,
 | 
					        SupportedSyndicate: String,
 | 
				
			||||||
@ -1449,7 +1449,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        KubrowPetEggs: [kubrowPetEggSchema],
 | 
					        KubrowPetEggs: [kubrowPetEggSchema],
 | 
				
			||||||
        //Prints   Cat(3 Prints)\Kubrow(2 Prints) Pets
 | 
					        //Prints   Cat(3 Prints)\Kubrow(2 Prints) Pets
 | 
				
			||||||
        KubrowPetPrints: [Schema.Types.Mixed],
 | 
					        //KubrowPetPrints: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Item for EquippedGear example:Scaner,LoadoutTechSummon etc
 | 
					        //Item for EquippedGear example:Scaner,LoadoutTechSummon etc
 | 
				
			||||||
        Consumables: [typeCountSchema],
 | 
					        Consumables: [typeCountSchema],
 | 
				
			||||||
@ -1495,7 +1495,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        //item like DojoKey or Boss missions key
 | 
					        //item like DojoKey or Boss missions key
 | 
				
			||||||
        LevelKeys: [typeCountSchema],
 | 
					        LevelKeys: [typeCountSchema],
 | 
				
			||||||
        //Active quests
 | 
					        //Active quests
 | 
				
			||||||
        Quests: [Schema.Types.Mixed],
 | 
					        //Quests: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Cosmetics like profile glyphs\Kavasa Prime Kubrow Collar\Game Theme etc
 | 
					        //Cosmetics like profile glyphs\Kavasa Prime Kubrow Collar\Game Theme etc
 | 
				
			||||||
        FlavourItems: [FlavourItemSchema],
 | 
					        FlavourItems: [FlavourItemSchema],
 | 
				
			||||||
@ -1534,7 +1534,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        TauntHistory: { type: [tauntSchema], default: undefined },
 | 
					        TauntHistory: { type: [tauntSchema], default: undefined },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //noShow2FA,VisitPrimeVault etc
 | 
					        //noShow2FA,VisitPrimeVault etc
 | 
				
			||||||
        WebFlags: Schema.Types.Mixed,
 | 
					        //WebFlags: Schema.Types.Mixed,
 | 
				
			||||||
        //Id CompletedAlerts
 | 
					        //Id CompletedAlerts
 | 
				
			||||||
        CompletedAlerts: [String],
 | 
					        CompletedAlerts: [String],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1554,7 +1554,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        //the color your clan requests like Items/Research/DojoColors/DojoColorPlainsB
 | 
					        //the color your clan requests like Items/Research/DojoColors/DojoColorPlainsB
 | 
				
			||||||
        ActiveDojoColorResearch: String,
 | 
					        ActiveDojoColorResearch: String,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        SentientSpawnChanceBoosters: Schema.Types.Mixed,
 | 
					        //SentientSpawnChanceBoosters: Schema.Types.Mixed,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        QualifyingInvasions: [invasionProgressSchema],
 | 
					        QualifyingInvasions: [invasionProgressSchema],
 | 
				
			||||||
        FactionScores: [Number],
 | 
					        FactionScores: [Number],
 | 
				
			||||||
@ -1589,10 +1589,10 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        // open location store like EidolonPlainsDiscoverable or OrbVallisCaveDiscoverable
 | 
					        // open location store like EidolonPlainsDiscoverable or OrbVallisCaveDiscoverable
 | 
				
			||||||
        DiscoveredMarkers: [discoveredMarkerSchema],
 | 
					        DiscoveredMarkers: [discoveredMarkerSchema],
 | 
				
			||||||
        //Open location mission like "JobId" + "StageCompletions"
 | 
					        //Open location mission like "JobId" + "StageCompletions"
 | 
				
			||||||
        CompletedJobs: [Schema.Types.Mixed],
 | 
					        //CompletedJobs: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Game mission\ivent score example  "Tag": "WaterFight", "Best": 170, "Count": 1258,
 | 
					        //Game mission\ivent score example  "Tag": "WaterFight", "Best": 170, "Count": 1258,
 | 
				
			||||||
        PersonalGoalProgress: [Schema.Types.Mixed],
 | 
					        //PersonalGoalProgress: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Setting interface Style
 | 
					        //Setting interface Style
 | 
				
			||||||
        ThemeStyle: String,
 | 
					        ThemeStyle: String,
 | 
				
			||||||
@ -1622,13 +1622,13 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        LibraryActiveDailyTaskInfo: libraryDailyTaskInfoSchema,
 | 
					        LibraryActiveDailyTaskInfo: libraryDailyTaskInfoSchema,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //https://warframe.fandom.com/wiki/Invasion
 | 
					        //https://warframe.fandom.com/wiki/Invasion
 | 
				
			||||||
        InvasionChainProgress: [Schema.Types.Mixed],
 | 
					        //InvasionChainProgress: [Schema.Types.Mixed],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //CorpusLich or GrineerLich
 | 
					        //CorpusLich or GrineerLich
 | 
				
			||||||
        NemesisAbandonedRewards: { type: [String], default: [] },
 | 
					        NemesisAbandonedRewards: { type: [String], default: [] },
 | 
				
			||||||
        Nemesis: nemesisSchema,
 | 
					        Nemesis: nemesisSchema,
 | 
				
			||||||
        NemesisHistory: { type: [nemesisSchema], default: undefined },
 | 
					        NemesisHistory: { type: [nemesisSchema], default: undefined },
 | 
				
			||||||
        LastNemesisAllySpawnTime: Schema.Types.Mixed,
 | 
					        //LastNemesisAllySpawnTime: Schema.Types.Mixed,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //TradingRulesConfirmed,ShowFriendInvNotifications(Option->Social)
 | 
					        //TradingRulesConfirmed,ShowFriendInvNotifications(Option->Social)
 | 
				
			||||||
        Settings: settingsSchema,
 | 
					        Settings: settingsSchema,
 | 
				
			||||||
@ -1642,7 +1642,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        PlayerSkills: { type: playerSkillsSchema, default: {} },
 | 
					        PlayerSkills: { type: playerSkillsSchema, default: {} },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //TradeBannedUntil data
 | 
					        //TradeBannedUntil data
 | 
				
			||||||
        TradeBannedUntil: Schema.Types.Mixed,
 | 
					        //TradeBannedUntil: Schema.Types.Mixed,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //https://warframe.fandom.com/wiki/Helminth
 | 
					        //https://warframe.fandom.com/wiki/Helminth
 | 
				
			||||||
        InfestedFoundry: infestedFoundrySchema,
 | 
					        InfestedFoundry: infestedFoundrySchema,
 | 
				
			||||||
@ -1666,19 +1666,19 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        HandlerPoints: Number,
 | 
					        HandlerPoints: Number,
 | 
				
			||||||
        ChallengesFixVersion: { type: Number, default: 6 },
 | 
					        ChallengesFixVersion: { type: Number, default: 6 },
 | 
				
			||||||
        PlayedParkourTutorial: Boolean,
 | 
					        PlayedParkourTutorial: Boolean,
 | 
				
			||||||
        ActiveLandscapeTraps: [Schema.Types.Mixed],
 | 
					        //ActiveLandscapeTraps: [Schema.Types.Mixed],
 | 
				
			||||||
        RepVotes: [Schema.Types.Mixed],
 | 
					        //RepVotes: [Schema.Types.Mixed],
 | 
				
			||||||
        LeagueTickets: [Schema.Types.Mixed],
 | 
					        //LeagueTickets: [Schema.Types.Mixed],
 | 
				
			||||||
        HasContributedToDojo: Boolean,
 | 
					        HasContributedToDojo: Boolean,
 | 
				
			||||||
        HWIDProtectEnabled: Boolean,
 | 
					        HWIDProtectEnabled: Boolean,
 | 
				
			||||||
        LoadOutPresets: { type: Schema.Types.ObjectId, ref: "Loadout" },
 | 
					        LoadOutPresets: { type: Schema.Types.ObjectId, ref: "Loadout" },
 | 
				
			||||||
        CurrentLoadOutIds: [oidSchema],
 | 
					        CurrentLoadOutIds: [oidSchema],
 | 
				
			||||||
        RandomUpgradesIdentified: Number,
 | 
					        RandomUpgradesIdentified: Number,
 | 
				
			||||||
        BountyScore: Number,
 | 
					        BountyScore: Number,
 | 
				
			||||||
        ChallengeInstanceStates: [Schema.Types.Mixed],
 | 
					        //ChallengeInstanceStates: [Schema.Types.Mixed],
 | 
				
			||||||
        RecentVendorPurchases: { type: [recentVendorPurchaseSchema], default: undefined },
 | 
					        RecentVendorPurchases: { type: [recentVendorPurchaseSchema], default: undefined },
 | 
				
			||||||
        Robotics: [Schema.Types.Mixed],
 | 
					        //Robotics: [Schema.Types.Mixed],
 | 
				
			||||||
        UsedDailyDeals: [Schema.Types.Mixed],
 | 
					        //UsedDailyDeals: [Schema.Types.Mixed],
 | 
				
			||||||
        CollectibleSeries: { type: [collectibleEntrySchema], default: undefined },
 | 
					        CollectibleSeries: { type: [collectibleEntrySchema], default: undefined },
 | 
				
			||||||
        HasResetAccount: { type: Boolean, default: false },
 | 
					        HasResetAccount: { type: Boolean, default: false },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -258,7 +258,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
 | 
				
			|||||||
    EquippedGear: string[];
 | 
					    EquippedGear: string[];
 | 
				
			||||||
    DeathMarks: string[];
 | 
					    DeathMarks: string[];
 | 
				
			||||||
    FusionTreasures: IFusionTreasure[];
 | 
					    FusionTreasures: IFusionTreasure[];
 | 
				
			||||||
    WebFlags: IWebFlags;
 | 
					    //WebFlags: IWebFlags;
 | 
				
			||||||
    CompletedAlerts: string[];
 | 
					    CompletedAlerts: string[];
 | 
				
			||||||
    Consumables: ITypeCount[];
 | 
					    Consumables: ITypeCount[];
 | 
				
			||||||
    LevelKeys: ITypeCount[];
 | 
					    LevelKeys: ITypeCount[];
 | 
				
			||||||
@ -268,10 +268,10 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
 | 
				
			|||||||
    KubrowPetEggs?: IKubrowPetEggClient[];
 | 
					    KubrowPetEggs?: IKubrowPetEggClient[];
 | 
				
			||||||
    LoreFragmentScans: ILoreFragmentScan[];
 | 
					    LoreFragmentScans: ILoreFragmentScan[];
 | 
				
			||||||
    EquippedEmotes: string[];
 | 
					    EquippedEmotes: string[];
 | 
				
			||||||
    PendingTrades: IPendingTrade[];
 | 
					    //PendingTrades: IPendingTrade[];
 | 
				
			||||||
    Boosters: IBooster[];
 | 
					    Boosters: IBooster[];
 | 
				
			||||||
    ActiveDojoColorResearch: string;
 | 
					    ActiveDojoColorResearch: string;
 | 
				
			||||||
    SentientSpawnChanceBoosters: ISentientSpawnChanceBoosters;
 | 
					    //SentientSpawnChanceBoosters: ISentientSpawnChanceBoosters;
 | 
				
			||||||
    SupportedSyndicate?: string;
 | 
					    SupportedSyndicate?: string;
 | 
				
			||||||
    Affiliations: IAffiliation[];
 | 
					    Affiliations: IAffiliation[];
 | 
				
			||||||
    QualifyingInvasions: IInvasionProgressClient[];
 | 
					    QualifyingInvasions: IInvasionProgressClient[];
 | 
				
			||||||
@ -293,19 +293,19 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
 | 
				
			|||||||
    ActiveAvatarImageType: string;
 | 
					    ActiveAvatarImageType: string;
 | 
				
			||||||
    ShipDecorations: ITypeCount[];
 | 
					    ShipDecorations: ITypeCount[];
 | 
				
			||||||
    DiscoveredMarkers: IDiscoveredMarker[];
 | 
					    DiscoveredMarkers: IDiscoveredMarker[];
 | 
				
			||||||
    CompletedJobs: ICompletedJob[];
 | 
					    //CompletedJobs: ICompletedJob[];
 | 
				
			||||||
    FocusAbility?: string;
 | 
					    FocusAbility?: string;
 | 
				
			||||||
    FocusUpgrades: IFocusUpgrade[];
 | 
					    FocusUpgrades: IFocusUpgrade[];
 | 
				
			||||||
    HasContributedToDojo?: boolean;
 | 
					    HasContributedToDojo?: boolean;
 | 
				
			||||||
    HWIDProtectEnabled?: boolean;
 | 
					    HWIDProtectEnabled?: boolean;
 | 
				
			||||||
    KubrowPetPrints: IKubrowPetPrint[];
 | 
					    //KubrowPetPrints: IKubrowPetPrint[];
 | 
				
			||||||
    AlignmentReplay?: IAlignment;
 | 
					    AlignmentReplay?: IAlignment;
 | 
				
			||||||
    PersonalGoalProgress: IPersonalGoalProgress[];
 | 
					    //PersonalGoalProgress: IPersonalGoalProgress[];
 | 
				
			||||||
    ThemeStyle: string;
 | 
					    ThemeStyle: string;
 | 
				
			||||||
    ThemeBackground: string;
 | 
					    ThemeBackground: string;
 | 
				
			||||||
    ThemeSounds: string;
 | 
					    ThemeSounds: string;
 | 
				
			||||||
    BountyScore: number;
 | 
					    BountyScore: number;
 | 
				
			||||||
    ChallengeInstanceStates: IChallengeInstanceState[];
 | 
					    //ChallengeInstanceStates: IChallengeInstanceState[];
 | 
				
			||||||
    LoginMilestoneRewards: string[];
 | 
					    LoginMilestoneRewards: string[];
 | 
				
			||||||
    RecentVendorPurchases?: IRecentVendorPurchaseClient[];
 | 
					    RecentVendorPurchases?: IRecentVendorPurchaseClient[];
 | 
				
			||||||
    NodeIntrosCompleted: string[];
 | 
					    NodeIntrosCompleted: string[];
 | 
				
			||||||
@ -313,17 +313,17 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
 | 
				
			|||||||
    CompletedJobChains?: ICompletedJobChain[];
 | 
					    CompletedJobChains?: ICompletedJobChain[];
 | 
				
			||||||
    SeasonChallengeHistory: ISeasonChallenge[];
 | 
					    SeasonChallengeHistory: ISeasonChallenge[];
 | 
				
			||||||
    EquippedInstrument?: string;
 | 
					    EquippedInstrument?: string;
 | 
				
			||||||
    InvasionChainProgress: IInvasionChainProgress[];
 | 
					    //InvasionChainProgress: IInvasionChainProgress[];
 | 
				
			||||||
    Nemesis?: INemesisClient;
 | 
					    Nemesis?: INemesisClient;
 | 
				
			||||||
    NemesisHistory?: INemesisBaseClient[];
 | 
					    NemesisHistory?: INemesisBaseClient[];
 | 
				
			||||||
    LastNemesisAllySpawnTime?: IMongoDate;
 | 
					    //LastNemesisAllySpawnTime?: IMongoDate;
 | 
				
			||||||
    Settings?: ISettings;
 | 
					    Settings?: ISettings;
 | 
				
			||||||
    PersonalTechProjects: IPersonalTechProjectClient[];
 | 
					    PersonalTechProjects: IPersonalTechProjectClient[];
 | 
				
			||||||
    PlayerSkills: IPlayerSkills;
 | 
					    PlayerSkills: IPlayerSkills;
 | 
				
			||||||
    CrewShipAmmo: ITypeCount[];
 | 
					    CrewShipAmmo: ITypeCount[];
 | 
				
			||||||
    CrewShipWeaponSkins: IUpgradeClient[];
 | 
					    CrewShipWeaponSkins: IUpgradeClient[];
 | 
				
			||||||
    CrewShipSalvagedWeaponSkins: IUpgradeClient[];
 | 
					    CrewShipSalvagedWeaponSkins: IUpgradeClient[];
 | 
				
			||||||
    TradeBannedUntil?: IMongoDate;
 | 
					    //TradeBannedUntil?: IMongoDate;
 | 
				
			||||||
    PlayedParkourTutorial: boolean;
 | 
					    PlayedParkourTutorial: boolean;
 | 
				
			||||||
    SubscribedToEmailsPersonalized: number;
 | 
					    SubscribedToEmailsPersonalized: number;
 | 
				
			||||||
    InfestedFoundry?: IInfestedFoundryClient;
 | 
					    InfestedFoundry?: IInfestedFoundryClient;
 | 
				
			||||||
@ -337,13 +337,13 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
 | 
				
			|||||||
    NextRefill?: IMongoDate;
 | 
					    NextRefill?: IMongoDate;
 | 
				
			||||||
    FoundToday?: IMiscItem[]; // for Argon Crystals
 | 
					    FoundToday?: IMiscItem[]; // for Argon Crystals
 | 
				
			||||||
    CustomMarkers?: ICustomMarkers[];
 | 
					    CustomMarkers?: ICustomMarkers[];
 | 
				
			||||||
    ActiveLandscapeTraps: any[];
 | 
					    //ActiveLandscapeTraps: any[];
 | 
				
			||||||
    EvolutionProgress?: IEvolutionProgress[];
 | 
					    EvolutionProgress?: IEvolutionProgress[];
 | 
				
			||||||
    RepVotes: any[];
 | 
					    //RepVotes: any[];
 | 
				
			||||||
    LeagueTickets: any[];
 | 
					    //LeagueTickets: any[];
 | 
				
			||||||
    Quests: any[];
 | 
					    //Quests: any[];
 | 
				
			||||||
    Robotics: any[];
 | 
					    //Robotics: any[];
 | 
				
			||||||
    UsedDailyDeals: any[];
 | 
					    //UsedDailyDeals: any[];
 | 
				
			||||||
    LibraryPersonalTarget?: string;
 | 
					    LibraryPersonalTarget?: string;
 | 
				
			||||||
    LibraryPersonalProgress: ILibraryPersonalProgress[];
 | 
					    LibraryPersonalProgress: ILibraryPersonalProgress[];
 | 
				
			||||||
    CollectibleSeries?: ICollectibleEntry[];
 | 
					    CollectibleSeries?: ICollectibleEntry[];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user