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.
npm install @edirect/audit-domainDomain models and logic for the Edirect Audit system. This package defines the core entities, value objects, and domain services used throughout the audit modules.
- Audit event domain models and interfaces
- Business logic for audit event processing
- Designed for use with @edirect/audit-core and other audit modules
``bash`
npm install @edirect/audit-domain
Import and use the domain models and logic in your audit-related modules:
`typescript
import { AuditEventDomain, AuditEventType } from '@edirect/audit-domain';
const event = new AuditEventDomain(...);
console.log(event.type === AuditEventType.USER_LOGIN);
``
This package itself does not require environment variables, but other audit modules that depend on it may require configuration (see their documentation).