website refactor
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import type { DomainError, CommonDomainErrorKind } from '@core/shared/errors';
|
||||
import type { DomainError } from '@core/shared/errors/DomainError';
|
||||
import type { CommonDomainErrorKind } from '@core/shared/errors/DomainError';
|
||||
|
||||
/**
|
||||
* Domain Error: SocialDomainError
|
||||
*
|
||||
* Implements the shared IDomainError contract for social domain failures.
|
||||
* Implements the shared DomainError contract for social domain failures.
|
||||
*/
|
||||
export class SocialDomainError extends Error implements DomainError<CommonDomainErrorKind> {
|
||||
readonly name = 'SocialDomainError';
|
||||
|
||||
@@ -6,4 +6,4 @@ export interface FeedRepository {
|
||||
}
|
||||
|
||||
// Alias for backward compatibility
|
||||
export type IFeedRepository = FeedRepository;
|
||||
export type FeedRepositoryAlias = FeedRepository;
|
||||
|
||||
@@ -7,4 +7,4 @@ export interface SocialGraphRepository {
|
||||
}
|
||||
|
||||
// Alias for backward compatibility
|
||||
export type ISocialGraphRepository = SocialGraphRepository;
|
||||
export type SocialGraphRepositoryAlias = SocialGraphRepository;
|
||||
|
||||
Reference in New Issue
Block a user