@edirect/audit-domain
v11.0.47
Published
Domain models and logic for the Edirect Audit system. This package defines the core entities, value objects, and domain services used throughout the audit modules.
Maintainers
Keywords
Readme
@edirect/audit-domain
Domain models and logic for the Edirect Audit system. This package defines the core entities, value objects, and domain services used throughout the audit modules.
Features
- Audit event domain models and interfaces
- Business logic for audit event processing
- Designed for use with @edirect/audit-core and other audit modules
Installation
npm install @edirect/audit-domainUsage
Import and use the domain models and logic in your audit-related modules:
import { AuditEventDomain, AuditEventType } from '@edirect/audit-domain';
const event = new AuditEventDomain(...);
console.log(event.type === AuditEventType.USER_LOGIN);Environment Variables
This package itself does not require environment variables, but other audit modules that depend on it may require configuration (see their documentation).
