fase(25-26): keyboard shortcuts, mobile responsive, enterprise SSO/audit
- Phase 25.4: N shortcut for new exploration on dashboard (react-hotkeys-hook) - Phase 25.5: overflow-x-auto on tables, responsive padding (p-4 md:p-6) - Phase 26: SAML/OIDC/LDAP providers (build-fixed), TOTP/MFA service - Phase 26: KyselySSOConfigRepository + KyselyTOTPRepository - Phase 26: SSO HTTP controller (config CRUD + MFA setup/verify/disable) - Phase 26: Audit module index.ts + SSO module index.ts - Phase 26: Session management endpoints (findByUserId, deleteById, list/revoke) - Phase 26: SSO and audit routes feature-gated (auth:sso, audit:logs) - Phase 26: Frontend SSOSection (SAML/OIDC/LDAP config + TOTP setup) - Phase 26: Frontend SessionsSection (list/revoke active sessions) - Phase 26: Settings navigation updated with SSO & Sessions sections Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
23
dist/modules/audit/domain/entities/AuditLog.js
vendored
Normal file
23
dist/modules/audit/domain/entities/AuditLog.js
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AuditLog = void 0;
|
||||
const Entity_1 = require("../../../../shared/domain/Entity");
|
||||
const UniqueId_1 = require("../../../../shared/domain/UniqueId");
|
||||
class AuditLog extends Entity_1.Entity {
|
||||
static create(props, id) {
|
||||
return new AuditLog(props, id ?? UniqueId_1.UniqueId.create());
|
||||
}
|
||||
static reconstitute(props, id) {
|
||||
return new AuditLog(props, id);
|
||||
}
|
||||
get userId() { return this.props.userId; }
|
||||
get organizationId() { return this.props.organizationId; }
|
||||
get action() { return this.props.action; }
|
||||
get resource() { return this.props.resource; }
|
||||
get resourceId() { return this.props.resourceId; }
|
||||
get ipAddress() { return this.props.ipAddress; }
|
||||
get userAgent() { return this.props.userAgent; }
|
||||
get details() { return this.props.details; }
|
||||
get occurredAt() { return this.props.occurredAt; }
|
||||
}
|
||||
exports.AuditLog = AuditLog;
|
||||
Reference in New Issue
Block a user