Apply prettier changes
This commit is contained in:
parent
805b8c0ddf
commit
a614bc0cb4
@ -182,8 +182,7 @@ ItemConfigSchema.set("toJSON", {
|
||||
}
|
||||
});
|
||||
|
||||
const EquipmentSchema = new Schema<IEquipmentDatabase>(
|
||||
{
|
||||
const EquipmentSchema = new Schema<IEquipmentDatabase>({
|
||||
ItemType: String,
|
||||
Configs: [ItemConfigSchema],
|
||||
UpgradeVer: Number,
|
||||
@ -205,8 +204,7 @@ const EquipmentSchema = new Schema<IEquipmentDatabase>(
|
||||
Expiry: Date,
|
||||
SkillTree: String,
|
||||
ArchonCrystalUpgrades: [Schema.Types.Mixed] //TODO
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
EquipmentSchema.virtual("ItemId").get(function () {
|
||||
return { $oid: this._id.toString() } satisfies IOid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user