XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

chore: comment out mixed fields in inventory (#1892)

If they are needed in the future, they schould be properly schema'd. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1892 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

1e8f2fc7
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +32 -32
Modified src/models/inventoryModels/inventoryModel.ts +16 -16
@@ -1399,7 +1399,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1399 1399 //How many Gift do you have left*(gift spends the trade)
1400 1400 GiftsRemaining: { type: Number, default: 8 },
1401 1401 //Curent trade info Giving or Getting items
1402 PendingTrades: [Schema.Types.Mixed],
1402 //PendingTrades: [Schema.Types.Mixed],
1403 1403
1404 1404 //Syndicate currently being pledged to.
1405 1405 SupportedSyndicate: String,
@@ -1449,7 +1449,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1449 1449
1450 1450 KubrowPetEggs: [kubrowPetEggSchema],
1451 1451 //Prints Cat(3 Prints)\Kubrow(2 Prints) Pets
1452 KubrowPetPrints: [Schema.Types.Mixed],
1452 //KubrowPetPrints: [Schema.Types.Mixed],
1453 1453
1454 1454 //Item for EquippedGear example:Scaner,LoadoutTechSummon etc
1455 1455 Consumables: [typeCountSchema],
@@ -1495,7 +1495,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1495 1495 //item like DojoKey or Boss missions key
1496 1496 LevelKeys: [typeCountSchema],
1497 1497 //Active quests
1498 Quests: [Schema.Types.Mixed],
1498 //Quests: [Schema.Types.Mixed],
1499 1499
1500 1500 //Cosmetics like profile glyphs\Kavasa Prime Kubrow Collar\Game Theme etc
1501 1501 FlavourItems: [FlavourItemSchema],
@@ -1534,7 +1534,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1534 1534 TauntHistory: { type: [tauntSchema], default: undefined },
1535 1535
1536 1536 //noShow2FA,VisitPrimeVault etc
1537 WebFlags: Schema.Types.Mixed,
1537 //WebFlags: Schema.Types.Mixed,
1538 1538 //Id CompletedAlerts
1539 1539 CompletedAlerts: [String],
1540 1540
@@ -1554,7 +1554,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1554 1554 //the color your clan requests like Items/Research/DojoColors/DojoColorPlainsB
1555 1555 ActiveDojoColorResearch: String,
1556 1556
1557 SentientSpawnChanceBoosters: Schema.Types.Mixed,
1557 //SentientSpawnChanceBoosters: Schema.Types.Mixed,
1558 1558
1559 1559 QualifyingInvasions: [invasionProgressSchema],
1560 1560 FactionScores: [Number],
@@ -1589,10 +1589,10 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1589 1589 // open location store like EidolonPlainsDiscoverable or OrbVallisCaveDiscoverable
1590 1590 DiscoveredMarkers: [discoveredMarkerSchema],
1591 1591 //Open location mission like "JobId" + "StageCompletions"
1592 CompletedJobs: [Schema.Types.Mixed],
1592 //CompletedJobs: [Schema.Types.Mixed],
1593 1593
1594 1594 //Game mission\ivent score example "Tag": "WaterFight", "Best": 170, "Count": 1258,
1595 PersonalGoalProgress: [Schema.Types.Mixed],
1595 //PersonalGoalProgress: [Schema.Types.Mixed],
1596 1596
1597 1597 //Setting interface Style
1598 1598 ThemeStyle: String,
@@ -1622,13 +1622,13 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1622 1622 LibraryActiveDailyTaskInfo: libraryDailyTaskInfoSchema,
1623 1623
1624 1624 //https://warframe.fandom.com/wiki/Invasion
1625 InvasionChainProgress: [Schema.Types.Mixed],
1625 //InvasionChainProgress: [Schema.Types.Mixed],
1626 1626
1627 1627 //CorpusLich or GrineerLich
1628 1628 NemesisAbandonedRewards: { type: [String], default: [] },
1629 1629 Nemesis: nemesisSchema,
1630 1630 NemesisHistory: { type: [nemesisSchema], default: undefined },
1631 LastNemesisAllySpawnTime: Schema.Types.Mixed,
1631 //LastNemesisAllySpawnTime: Schema.Types.Mixed,
1632 1632
1633 1633 //TradingRulesConfirmed,ShowFriendInvNotifications(Option->Social)
1634 1634 Settings: settingsSchema,
@@ -1642,7 +1642,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1642 1642 PlayerSkills: { type: playerSkillsSchema, default: {} },
1643 1643
1644 1644 //TradeBannedUntil data
1645 TradeBannedUntil: Schema.Types.Mixed,
1645 //TradeBannedUntil: Schema.Types.Mixed,
1646 1646
1647 1647 //https://warframe.fandom.com/wiki/Helminth
1648 1648 InfestedFoundry: infestedFoundrySchema,
@@ -1666,19 +1666,19 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1666 1666 HandlerPoints: Number,
1667 1667 ChallengesFixVersion: { type: Number, default: 6 },
1668 1668 PlayedParkourTutorial: Boolean,
1669 ActiveLandscapeTraps: [Schema.Types.Mixed],
1670 RepVotes: [Schema.Types.Mixed],
1671 LeagueTickets: [Schema.Types.Mixed],
1669 //ActiveLandscapeTraps: [Schema.Types.Mixed],
1670 //RepVotes: [Schema.Types.Mixed],
1671 //LeagueTickets: [Schema.Types.Mixed],
1672 1672 HasContributedToDojo: Boolean,
1673 1673 HWIDProtectEnabled: Boolean,
1674 1674 LoadOutPresets: { type: Schema.Types.ObjectId, ref: "Loadout" },
1675 1675 CurrentLoadOutIds: [oidSchema],
1676 1676 RandomUpgradesIdentified: Number,
1677 1677 BountyScore: Number,
1678 ChallengeInstanceStates: [Schema.Types.Mixed],
1678 //ChallengeInstanceStates: [Schema.Types.Mixed],
1679 1679 RecentVendorPurchases: { type: [recentVendorPurchaseSchema], default: undefined },
1680 Robotics: [Schema.Types.Mixed],
1681 UsedDailyDeals: [Schema.Types.Mixed],
1680 //Robotics: [Schema.Types.Mixed],
1681 //UsedDailyDeals: [Schema.Types.Mixed],
1682 1682 CollectibleSeries: { type: [collectibleEntrySchema], default: undefined },
1683 1683 HasResetAccount: { type: Boolean, default: false },
1684 1684
Modified src/types/inventoryTypes/inventoryTypes.ts +16 -16
@@ -258,7 +258,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
258 258 EquippedGear: string[];
259 259 DeathMarks: string[];
260 260 FusionTreasures: IFusionTreasure[];
261 WebFlags: IWebFlags;
261 //WebFlags: IWebFlags;
262 262 CompletedAlerts: string[];
263 263 Consumables: ITypeCount[];
264 264 LevelKeys: ITypeCount[];
@@ -268,10 +268,10 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
268 268 KubrowPetEggs?: IKubrowPetEggClient[];
269 269 LoreFragmentScans: ILoreFragmentScan[];
270 270 EquippedEmotes: string[];
271 PendingTrades: IPendingTrade[];
271 //PendingTrades: IPendingTrade[];
272 272 Boosters: IBooster[];
273 273 ActiveDojoColorResearch: string;
274 SentientSpawnChanceBoosters: ISentientSpawnChanceBoosters;
274 //SentientSpawnChanceBoosters: ISentientSpawnChanceBoosters;
275 275 SupportedSyndicate?: string;
276 276 Affiliations: IAffiliation[];
277 277 QualifyingInvasions: IInvasionProgressClient[];
@@ -293,19 +293,19 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
293 293 ActiveAvatarImageType: string;
294 294 ShipDecorations: ITypeCount[];
295 295 DiscoveredMarkers: IDiscoveredMarker[];
296 CompletedJobs: ICompletedJob[];
296 //CompletedJobs: ICompletedJob[];
297 297 FocusAbility?: string;
298 298 FocusUpgrades: IFocusUpgrade[];
299 299 HasContributedToDojo?: boolean;
300 300 HWIDProtectEnabled?: boolean;
301 KubrowPetPrints: IKubrowPetPrint[];
301 //KubrowPetPrints: IKubrowPetPrint[];
302 302 AlignmentReplay?: IAlignment;
303 PersonalGoalProgress: IPersonalGoalProgress[];
303 //PersonalGoalProgress: IPersonalGoalProgress[];
304 304 ThemeStyle: string;
305 305 ThemeBackground: string;
306 306 ThemeSounds: string;
307 307 BountyScore: number;
308 ChallengeInstanceStates: IChallengeInstanceState[];
308 //ChallengeInstanceStates: IChallengeInstanceState[];
309 309 LoginMilestoneRewards: string[];
310 310 RecentVendorPurchases?: IRecentVendorPurchaseClient[];
311 311 NodeIntrosCompleted: string[];
@@ -313,17 +313,17 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
313 313 CompletedJobChains?: ICompletedJobChain[];
314 314 SeasonChallengeHistory: ISeasonChallenge[];
315 315 EquippedInstrument?: string;
316 InvasionChainProgress: IInvasionChainProgress[];
316 //InvasionChainProgress: IInvasionChainProgress[];
317 317 Nemesis?: INemesisClient;
318 318 NemesisHistory?: INemesisBaseClient[];
319 LastNemesisAllySpawnTime?: IMongoDate;
319 //LastNemesisAllySpawnTime?: IMongoDate;
320 320 Settings?: ISettings;
321 321 PersonalTechProjects: IPersonalTechProjectClient[];
322 322 PlayerSkills: IPlayerSkills;
323 323 CrewShipAmmo: ITypeCount[];
324 324 CrewShipWeaponSkins: IUpgradeClient[];
325 325 CrewShipSalvagedWeaponSkins: IUpgradeClient[];
326 TradeBannedUntil?: IMongoDate;
326 //TradeBannedUntil?: IMongoDate;
327 327 PlayedParkourTutorial: boolean;
328 328 SubscribedToEmailsPersonalized: number;
329 329 InfestedFoundry?: IInfestedFoundryClient;
@@ -337,13 +337,13 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
337 337 NextRefill?: IMongoDate;
338 338 FoundToday?: IMiscItem[]; // for Argon Crystals
339 339 CustomMarkers?: ICustomMarkers[];
340 ActiveLandscapeTraps: any[];
340 //ActiveLandscapeTraps: any[];
341 341 EvolutionProgress?: IEvolutionProgress[];
342 RepVotes: any[];
343 LeagueTickets: any[];
344 Quests: any[];
345 Robotics: any[];
346 UsedDailyDeals: any[];
342 //RepVotes: any[];
343 //LeagueTickets: any[];
344 //Quests: any[];
345 //Robotics: any[];
346 //UsedDailyDeals: any[];
347 347 LibraryPersonalTarget?: string;
348 348 LibraryPersonalProgress: ILibraryPersonalProgress[];
349 349 CollectibleSeries?: ICollectibleEntry[];