chore: import DH V2 D5.6.4 production baseline

This commit is contained in:
DH V2
2026-09-05 10:12:35 -03:00
commit 82213e72f5
757 changed files with 84218 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import type { Request } from 'express';
export type AuthTransport = 'cookie' | 'bearer';
export interface AuthPrincipal {
userId: string;
username: string;
sessionId: string;
firstName: string;
lastName: string;
email: string | null;
mustChangePassword: boolean;
roles: string[];
permissions: string[];
transport: AuthTransport;
}
export interface RequestWithContext extends Request {
requestId: string;
auth?: AuthPrincipal;
}