fix: address some client warnings about malformed inventory.php response #840

Merged
Sainan merged 5 commits from inventory-fix into main 2025-01-24 05:17:53 -08:00
Showing only changes of commit 2a68b8a164 - Show all commits

View File

@ -120,10 +120,14 @@ const polaritySchema = new Schema<IPolarity>(
{ _id: false } { _id: false }
); );
const abilityOverrideSchema = new Schema<IAbilityOverride>({ const abilityOverrideSchema = new Schema<IAbilityOverride>(
{
Ability: String, Ability: String,
Index: Number Index: Number
}); },
{ _id: false }
);
export const colorSchema = new Schema<IColor>( export const colorSchema = new Schema<IColor>(
{ {
t0: Number, t0: Number,