integration tests
Some checks failed
CI / lint-typecheck (pull_request) Failing after 4m51s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped

This commit is contained in:
2026-01-24 01:13:49 +01:00
parent 9bb6b228f1
commit 9ccecbf3bb
25 changed files with 895 additions and 2688 deletions

View File

@@ -0,0 +1,19 @@
/**
* EventPublisher Port
*
* Defines the interface for publishing domain events.
* This port is implemented by adapters that can publish events.
*/
export interface EventPublisher {
/**
* Publish a domain event
*/
publish(event: DomainEvent): Promise<void>;
}
export interface DomainEvent {
type: string;
timestamp: Date;
[key: string]: any;
}