Apply prettier changes
This commit is contained in:
parent
805b8c0ddf
commit
a614bc0cb4
@ -182,31 +182,29 @@ ItemConfigSchema.set("toJSON", {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const EquipmentSchema = new Schema<IEquipmentDatabase>(
|
const EquipmentSchema = new Schema<IEquipmentDatabase>({
|
||||||
{
|
ItemType: String,
|
||||||
ItemType: String,
|
Configs: [ItemConfigSchema],
|
||||||
Configs: [ItemConfigSchema],
|
UpgradeVer: Number,
|
||||||
UpgradeVer: Number,
|
XP: Number,
|
||||||
XP: Number,
|
Features: Number,
|
||||||
Features: Number,
|
Polarized: Number,
|
||||||
Polarized: Number,
|
Polarity: [polaritySchema],
|
||||||
Polarity: [polaritySchema],
|
FocusLens: String,
|
||||||
FocusLens: String,
|
ModSlotPurchases: Number,
|
||||||
ModSlotPurchases: Number,
|
CustomizationSlotPurchases: Number,
|
||||||
CustomizationSlotPurchases: Number,
|
UpgradeType: Schema.Types.Mixed, //todo
|
||||||
UpgradeType: Schema.Types.Mixed, //todo
|
UpgradeFingerprint: String,
|
||||||
UpgradeFingerprint: String,
|
ItemName: String,
|
||||||
ItemName: String,
|
InfestationDate: Date,
|
||||||
InfestationDate: Date,
|
InfestationDays: Number,
|
||||||
InfestationDays: Number,
|
InfestationType: String,
|
||||||
InfestationType: String,
|
ModularParts: [String],
|
||||||
ModularParts: [String],
|
UnlockLevel: Number,
|
||||||
UnlockLevel: Number,
|
Expiry: Date,
|
||||||
Expiry: Date,
|
SkillTree: String,
|
||||||
SkillTree: String,
|
ArchonCrystalUpgrades: [Schema.Types.Mixed] //TODO
|
||||||
ArchonCrystalUpgrades: [Schema.Types.Mixed] //TODO
|
});
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
EquipmentSchema.virtual("ItemId").get(function () {
|
EquipmentSchema.virtual("ItemId").get(function () {
|
||||||
return { $oid: this._id.toString() } satisfies IOid;
|
return { $oid: this._id.toString() } satisfies IOid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user