feat(filex): add admin event monitoring

This commit is contained in:
2026-09-09 22:36:22 +08:00
parent 96baec165c
commit c84fc90c3d
6 changed files with 254 additions and 20 deletions
+30
View File
@@ -441,6 +441,36 @@ export interface ReportedEvent extends ReportedResourceBase {
visibility?: string
}
export interface FileXAdminEvent {
kind: 'filex_event'
id: number
title?: string | null
visibility: 'public' | 'friends' | 'private'
primary_topic?: string | null
is_blocked: boolean
blocked_at?: string | null
blocked_by_uid?: string | null
author?: ReportUser | null
likes_count: number
comments_count: number
open_reports_count: number
event_day?: string | null
created_at?: string | null
deleted_at?: string | null
}
export interface FileXAdminEventDetail extends FileXAdminEvent {
content?: string | null
topics?: string[] | null
topic_confidence?: number | string | null
location_query?: string | null
location_name?: string | null
latitude?: number | null
longitude?: number | null
assets: unknown[]
updated_at?: string | null
}
export type DimzouTranslationStatus = 'draft' | 'awaiting_publish' | 'published'
export interface DimzouTranslation {