website refactor
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface AvatarIdProps {
|
||||
value: string;
|
||||
}
|
||||
|
||||
export class AvatarId implements IValueObject<AvatarIdProps> {
|
||||
export class AvatarId implements ValueObject<AvatarIdProps> {
|
||||
public readonly props: AvatarIdProps;
|
||||
|
||||
private constructor(value: string) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
|
||||
/**
|
||||
* Value Object: MediaUrl
|
||||
@@ -12,7 +12,7 @@ export interface MediaUrlProps {
|
||||
value: string;
|
||||
}
|
||||
|
||||
export class MediaUrl implements IValueObject<MediaUrlProps> {
|
||||
export class MediaUrl implements ValueObject<MediaUrlProps> {
|
||||
public readonly props: MediaUrlProps;
|
||||
|
||||
private constructor(value: string) {
|
||||
|
||||
Reference in New Issue
Block a user