Skip to content

Commit 4bfeac2

Browse files
Add filters for steam bans
1 parent c63cbe3 commit 4bfeac2

File tree

6 files changed

+387
-233
lines changed

6 files changed

+387
-233
lines changed

frontend/src/api/common.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
readRefreshToken,
88
refreshToken
99
} from './auth';
10+
import { AppealState } from './bans';
1011
import { MatchResult } from './match';
1112
import { ReportStatus } from './report';
1213

@@ -233,8 +234,9 @@ export interface AuthorQueryFilter<T> extends QueryFilter<T> {
233234
}
234235

235236
export interface BanQueryFilter<T> extends AuthorQueryFilter<T> {
236-
source_id?: ReportStatus;
237+
source_id?: string;
237238
target_id?: string;
239+
appeal_state?: AppealState;
238240
}
239241

240242
export interface ReportQueryFilter<T> extends AuthorQueryFilter<T> {

0 commit comments

Comments
 (0)