fix: use IMongoDate for EntratiVaultCountResetDate in inventory response
All checks were successful
Build / build (20) (push) Successful in 41s
Build / build (22) (push) Successful in 1m10s
Build / build (20) (pull_request) Successful in 1m11s
Build / build (22) (pull_request) Successful in 1m16s
Build / build (18) (push) Successful in 1m13s
Build / build (18) (pull_request) Successful in 43s
All checks were successful
Build / build (20) (push) Successful in 41s
Build / build (22) (push) Successful in 1m10s
Build / build (20) (pull_request) Successful in 1m11s
Build / build (22) (pull_request) Successful in 1m16s
Build / build (18) (push) Successful in 1m13s
Build / build (18) (pull_request) Successful in 43s
This commit is contained in:
parent
8a29f06207
commit
0534ae001a
@ -1505,6 +1505,9 @@ inventorySchema.set("toJSON", {
|
|||||||
if (inventoryDatabase.NextRefill) {
|
if (inventoryDatabase.NextRefill) {
|
||||||
inventoryResponse.NextRefill = toMongoDate(inventoryDatabase.NextRefill);
|
inventoryResponse.NextRefill = toMongoDate(inventoryDatabase.NextRefill);
|
||||||
}
|
}
|
||||||
|
if (inventoryDatabase.EntratiVaultCountResetDate) {
|
||||||
|
inventoryResponse.EntratiVaultCountResetDate = toMongoDate(inventoryDatabase.EntratiVaultCountResetDate);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ export interface IInventoryDatabase
|
|||||||
| "RecentVendorPurchases"
|
| "RecentVendorPurchases"
|
||||||
| "NextRefill"
|
| "NextRefill"
|
||||||
| "Nemesis"
|
| "Nemesis"
|
||||||
|
| "EntratiVaultCountResetDate"
|
||||||
| TEquipmentKey
|
| TEquipmentKey
|
||||||
>,
|
>,
|
||||||
InventoryDatabaseEquipment {
|
InventoryDatabaseEquipment {
|
||||||
@ -73,6 +74,7 @@ export interface IInventoryDatabase
|
|||||||
RecentVendorPurchases?: IRecentVendorPurchaseDatabase[];
|
RecentVendorPurchases?: IRecentVendorPurchaseDatabase[];
|
||||||
NextRefill?: Date;
|
NextRefill?: Date;
|
||||||
Nemesis?: INemesisDatabase;
|
Nemesis?: INemesisDatabase;
|
||||||
|
EntratiVaultCountResetDate?: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IQuestKeyDatabase {
|
export interface IQuestKeyDatabase {
|
||||||
@ -336,7 +338,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
|
|||||||
CalendarProgress: ICalendarProgress;
|
CalendarProgress: ICalendarProgress;
|
||||||
SongChallenges?: ISongChallenge[];
|
SongChallenges?: ISongChallenge[];
|
||||||
EntratiVaultCountLastPeriod?: number;
|
EntratiVaultCountLastPeriod?: number;
|
||||||
EntratiVaultCountResetDate?: Date;
|
EntratiVaultCountResetDate?: IMongoDate;
|
||||||
EntratiLabConquestUnlocked?: number;
|
EntratiLabConquestUnlocked?: number;
|
||||||
EntratiLabConquestHardModeStatus?: number;
|
EntratiLabConquestHardModeStatus?: number;
|
||||||
EntratiLabConquestCacheScoreMission?: number;
|
EntratiLabConquestCacheScoreMission?: number;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user