website refactor
This commit is contained in:
13
apps/website/lib/services/media/MediaService.ts
Normal file
13
apps/website/lib/services/media/MediaService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Media Service - DTO Only
|
||||
*
|
||||
* Returns raw API DTOs. No ViewModels or UX logic.
|
||||
* All client-side presentation logic must be handled by hooks/components.
|
||||
*/
|
||||
export class MediaService {
|
||||
constructor(private readonly apiClient: any) {}
|
||||
|
||||
async getMediaById(mediaId: string): Promise<any> {
|
||||
return { id: mediaId, url: '' };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user