confirm actions

This commit is contained in:
2026-03-15 18:59:37 -05:00
parent 59754c7657
commit df041254da
28 changed files with 999 additions and 63 deletions

View File

@@ -53,6 +53,23 @@ export interface AdminUserInput {
password: string | null;
}
export interface AdminAuthSessionDto {
id: string;
userId: string;
userEmail: string;
userName: string;
status: "ACTIVE" | "EXPIRED" | "REVOKED";
isCurrent: boolean;
createdAt: string;
lastSeenAt: string;
expiresAt: string;
revokedAt: string | null;
revokedReason: string | null;
revokedByName: string | null;
ipAddress: string | null;
userAgent: string | null;
}
export interface StartupValidationCheckDto {
id: string;
label: string;
@@ -124,6 +141,7 @@ export interface AdminDiagnosticsDto {
companyProfilePresent: boolean;
userCount: number;
activeUserCount: number;
activeSessionCount: number;
roleCount: number;
permissionCount: number;
customerCount: number;

View File

@@ -18,3 +18,7 @@ export interface LoginResponse {
token: string;
user: AuthUser;
}
export interface LogoutResponse {
success: true;
}