services refactor
This commit is contained in:
9
apps/website/lib/dtos/UploadMediaInputDto.ts
Normal file
9
apps/website/lib/dtos/UploadMediaInputDto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Upload media input data transfer object
|
||||
* Input for uploading media files
|
||||
*/
|
||||
export interface UploadMediaInputDto {
|
||||
file: File;
|
||||
type: 'image' | 'video' | 'document';
|
||||
category?: 'avatar' | 'team-logo' | 'league-cover' | 'race-result';
|
||||
}
|
||||
Reference in New Issue
Block a user