fix(api): resolve formatting and iterator lint errors
This commit is contained in:
1 parent
0d7617e2d2
commit
f6686bbf17
6 files changed
+43
-19
No files matched your search
@@ -40,7 +40,10 @@ export const MATCH_STATUSES: MatchStatus[] = [
|
||||
'finished',
|
||||
];
|
||||
|
||||
export const MATCH_EVENT_TYPES = ['inhouse', 'tournament'] as const satisfies readonly MatchEventType[];
|
||||
export const MATCH_EVENT_TYPES = [
|
||||
'inhouse',
|
||||
'tournament',
|
||||
] as const satisfies readonly MatchEventType[];
|
||||
|
||||
export type TeamSide = 'blue' | 'red';
|
||||
export const TEAM_SIDES: TeamSide[] = ['blue', 'red'];
|
||||
@@ -2554,7 +2557,10 @@ MatchStatsSchema.index({
|
||||
MatchStatsSchema.index({ communityId: 1, userIds: 1 });
|
||||
MatchStatsSchema.index({ communityId: 1, userIds: 1, scheduledAt: -1 });
|
||||
MatchStatsSchema.index({ communityId: 1, championIds: 1 });
|
||||
MatchStatsSchema.index(MATCH_STATS_RIOT_MATCH_INDEX.key, MATCH_STATS_RIOT_MATCH_INDEX.options);
|
||||
MatchStatsSchema.index(
|
||||
MATCH_STATS_RIOT_MATCH_INDEX.key,
|
||||
MATCH_STATS_RIOT_MATCH_INDEX.options,
|
||||
);
|
||||
|
||||
export const tournamentModelDefinitions: Array<
|
||||
ModelDefinition & { name: keyof TournamentModelTypes }
|
||||
|
||||
Reference in new issue
Block a user