view models

This commit is contained in:
2025-12-18 14:04:31 +01:00
parent 4f99098b32
commit 61f675d991
9 changed files with 95 additions and 19 deletions

View File

@@ -0,0 +1,3 @@
export interface ErrorReporter {
report(error: Error, context?: unknown): void;
}

View File

@@ -0,0 +1,6 @@
export interface Logger {
debug(message: string, context?: unknown): void;
info(message: string, context?: unknown): void;
warn(message: string, context?: unknown): void;
error(message: string, error?: Error, context?: unknown): void;
}