Add case follow-up queues and personal update notifications
This commit is contained in:
@@ -163,6 +163,10 @@ export interface ModerationCase {
|
||||
updatedAt: string;
|
||||
revision: number;
|
||||
assessment?: ModerationCaseAssessment | null;
|
||||
reviewAt?: string | null;
|
||||
reviewReason?: string;
|
||||
reviewSanctionId?: string | null;
|
||||
unreadUpdates?: number;
|
||||
evidence: {
|
||||
id: string;
|
||||
text: string;
|
||||
@@ -182,6 +186,7 @@ export interface ModerationCaseDetail {
|
||||
assessmentHistory?: ModerationCaseAssessment[];
|
||||
relatedCases?: ModerationCaseRelationship[];
|
||||
candidateCases?: ModerationCaseCandidate[];
|
||||
notifications?: ModerationCaseNotification[];
|
||||
events: ModerationEvent[];
|
||||
coverage: ModerationCoverage[];
|
||||
assignees: { id: string; username: string }[];
|
||||
@@ -202,6 +207,14 @@ export interface ModerationCaseRelationship {
|
||||
export interface ModerationCaseCandidate extends ModerationCaseReference {
|
||||
sharedMatch: boolean;
|
||||
}
|
||||
export interface ModerationCaseNotification {
|
||||
id: number;
|
||||
caseId: string;
|
||||
caseTitle: string;
|
||||
kind: 'evidence' | 'assignment';
|
||||
createdAt: string;
|
||||
readAt: string | null;
|
||||
}
|
||||
export interface ModerationCaseAction {
|
||||
id: string;
|
||||
type: 'restriction' | 'action';
|
||||
@@ -240,6 +253,7 @@ export interface ModerationQuery {
|
||||
caseStatus?: '' | 'active' | 'closed' | ModerationCaseStatus;
|
||||
priority?: '' | ModerationCasePriority;
|
||||
assignedTo?: string;
|
||||
review?: '' | 'due' | 'scheduled' | 'updates';
|
||||
}
|
||||
export interface ModerationOverview {
|
||||
query: ModerationQuery;
|
||||
@@ -252,6 +266,8 @@ export interface ModerationOverview {
|
||||
total: number;
|
||||
limit: number;
|
||||
checkedAt: string;
|
||||
notifications?: ModerationCaseNotification[];
|
||||
unreadCount?: number;
|
||||
}
|
||||
|
||||
/** RCON T6 IDs are hexadecimal, while the game scripts send decimal strings. */
|
||||
|
||||
Reference in New Issue
Block a user