This commit is contained in:
2025-12-16 21:05:01 +01:00
parent f61e3a4e5a
commit 7532c7ed6d
207 changed files with 7861 additions and 2606 deletions

View File

@@ -1,5 +1,5 @@
import type { Result } from '../result/Result';
import type { IApplicationError } from '../errors/ApplicationError';
import type { Result } from './Result';
import type { ApplicationError } from '../errors/ApplicationError';
export interface IApplicationService {
readonly serviceName?: string;
@@ -12,7 +12,7 @@ export interface IAsyncApplicationService<Input, Output> extends IApplicationSer
export interface IAsyncResultApplicationService<
Input,
Output,
Error = IApplicationError
Error = ApplicationError
> extends IApplicationService {
execute(input: Input): Promise<Result<Output, Error>>;
}