website refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Represents a media file (image, video, etc.) stored in the system.
|
||||
*/
|
||||
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import type { Entity } from '@core/shared/domain';
|
||||
import { MediaUrl } from '../value-objects/MediaUrl';
|
||||
|
||||
export type MediaType = 'image' | 'video' | 'document';
|
||||
@@ -22,7 +22,7 @@ export interface MediaProps {
|
||||
metadata?: Record<string, unknown> | undefined;
|
||||
}
|
||||
|
||||
export class Media implements IEntity<string> {
|
||||
export class Media implements Entity<string> {
|
||||
readonly id: string;
|
||||
readonly filename: string;
|
||||
readonly originalName: string;
|
||||
|
||||
Reference in New Issue
Block a user