fix: preserve literal types for mongoose queries and seed data

This commit is contained in:
dahyeon committed 2026-11-11 20:21:51 +09:00
1 parent fbf22284e8
commit 2d8027cb16
3 files changed
+6 -6

No files matched your search

@@ -540,7 +540,7 @@ export class TournamentCodeService {
): Promise<MatchDocument[]> {
const MatchModel = await this.connectionService.getModel('match');
const filter: {
status: { $in: string[] };
status: { $in: MatchDocument['status'][] };
communityId?: mongoose.Types.ObjectId;
} = {
status: { $in: ['team-built', 'in-progress'] },