services refactor
This commit is contained in:
12
apps/website/lib/dtos/GetMediaOutputDto.ts
Normal file
12
apps/website/lib/dtos/GetMediaOutputDto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Get media output data transfer object
|
||||
* Output from getting media information
|
||||
*/
|
||||
export interface GetMediaOutputDto {
|
||||
id: string;
|
||||
url: string;
|
||||
type: 'image' | 'video' | 'document';
|
||||
category?: 'avatar' | 'team-logo' | 'league-cover' | 'race-result';
|
||||
uploadedAt: string;
|
||||
size?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user