feat(M08-D): 补审计日志与系统配置
This commit is contained in:
@@ -539,6 +539,42 @@ export interface FranchiseApplicationDetail {
|
||||
followUps: FranchiseFollowUp[];
|
||||
}
|
||||
|
||||
export interface AuditLog {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
actorType: string;
|
||||
actorId: string | null;
|
||||
actorName: string | null;
|
||||
action: string;
|
||||
resourceType: string;
|
||||
resourceId: string | null;
|
||||
traceId: string;
|
||||
ip: string;
|
||||
userAgent: string;
|
||||
metadata: unknown;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface SystemOverview {
|
||||
tenant: {
|
||||
id: string;
|
||||
code: string;
|
||||
name: string;
|
||||
status: 'ACTIVE' | 'DISABLED';
|
||||
timezone: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
counts: {
|
||||
storeCount: number;
|
||||
userCount: number;
|
||||
activeSessionCount: number;
|
||||
appBindingCount: number;
|
||||
auditTodayCount: number;
|
||||
};
|
||||
latestMigration: null | { version: string; name: string; appliedAt: string };
|
||||
}
|
||||
|
||||
export interface CleaningTask {
|
||||
id: string;
|
||||
taskNo: string;
|
||||
|
||||
Reference in New Issue
Block a user