feat: Add RemainCount_TEAM. Thx @crafterpika for discovering this!

This commit is contained in:
kittentm 2026-04-02 00:28:08 +02:00
commit 30089971a1
No known key found for this signature in database
GPG key ID: 520EDAA0C8CDE295
2 changed files with 6 additions and 0 deletions

View file

@ -64,6 +64,8 @@ const SplatfestResult = connection.define('SplatfestResult', {
MemoryHash: { type: DataTypes.BIGINT },
Paint_Alpha: { type: DataTypes.INTEGER },
Paint_Bravo: { type: DataTypes.INTEGER },
RemainCount_Alpha: { type: DataTypes.INTEGER },
RemainCount_Bravo: { type: DataTypes.INTEGER },
FaceImg: { type: DataTypes.BLOB }
}, {
tableName: 'results',

View file

@ -138,8 +138,12 @@ module.exports = {
BottleneckPlayerNum: joi.numberstring(),
MaxSilenceFrame: joi.numberstring(),
MemoryHash: joi.numberstring(),
//swaps Paint_TEAM for RemainCount_TEAM.
//Paint_TEAM is used in turf, RemainCount is used in Ranked
Paint_Alpha: joi.numberstring(),
Paint_Bravo: joi.numberstring(),
RemainCount_Alpha: joi.numberstring(),
RemainCount_Bravo: joi.numberstring(),
FaceImg: joi.binary()
}).unknown(true).options({ presence: 'optional' }).required(),
multipart_validator: multer().any()