Link prior moderation actions to case decisions
This commit is contained in:
@@ -125,11 +125,23 @@ export interface ModerationCaseDetail {
|
||||
case: ModerationCase;
|
||||
player: ModerationPlayer;
|
||||
sanctions: ModerationSanction[];
|
||||
linkedActions?: ModerationCaseAction[];
|
||||
availableActions?: ModerationCaseAction[];
|
||||
events: ModerationEvent[];
|
||||
coverage: ModerationCoverage[];
|
||||
assignees: { id: string; username: string }[];
|
||||
checkedAt: string;
|
||||
}
|
||||
export interface ModerationCaseAction {
|
||||
id: string;
|
||||
type: 'restriction' | 'action';
|
||||
kind: string;
|
||||
reason: string;
|
||||
actor: string;
|
||||
createdAt: string;
|
||||
state: string;
|
||||
expiresAt: string | null;
|
||||
}
|
||||
export interface ModerationEvent {
|
||||
id: number;
|
||||
game: ModerationGame | null;
|
||||
|
||||
Reference in New Issue
Block a user