module cleanup
This commit is contained in:
14
core/media/application/presenters/IGetAvatarPresenter.ts
Normal file
14
core/media/application/presenters/IGetAvatarPresenter.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface GetAvatarResult {
|
||||
success: boolean;
|
||||
avatar?: {
|
||||
id: string;
|
||||
driverId: string;
|
||||
mediaUrl: string;
|
||||
selectedAt: Date;
|
||||
};
|
||||
errorMessage?: string;
|
||||
}
|
||||
|
||||
export interface IGetAvatarPresenter {
|
||||
present(result: GetAvatarResult): void;
|
||||
}
|
||||
Reference in New Issue
Block a user