22 lines
371 B
TypeScript
22 lines
371 B
TypeScript
export type ActivityLogLevel =
|
|
| 'info'
|
|
| 'success'
|
|
| 'warning'
|
|
| 'error';
|
|
|
|
export type ActivityLogSource =
|
|
| 'desktop'
|
|
| 'router'
|
|
| 'backend'
|
|
| 'vps';
|
|
|
|
export type ActivityLogEntry = {
|
|
id: string;
|
|
timestamp: string;
|
|
level: ActivityLogLevel;
|
|
source: ActivityLogSource;
|
|
action: string;
|
|
message: string;
|
|
routerIp?: string;
|
|
vpnIp?: string;
|
|
}; |