refactor: restructure project to classic MVC pattern
This commit is contained in:
21
src/domain/models/Profile.ts
Normal file
21
src/domain/models/Profile.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface SocialLinks {
|
||||
url?: string;
|
||||
platform?: string;
|
||||
}
|
||||
|
||||
export interface Profile {
|
||||
id: number;
|
||||
name: string;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
email: string;
|
||||
phone?: string;
|
||||
location?: string;
|
||||
avatar?: string;
|
||||
bio?: string;
|
||||
social?: SocialLinks[];
|
||||
}
|
||||
|
||||
export default class ProfileDefault {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user