Skip to content

Commit 2bb9664

Browse files
dotansimhadarkbasic
authored andcommitted
Step 7.21: Add profile interface
1 parent 3b4efac commit 2bb9664

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/server/models.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
export const DEFAULT_PICTURE_URL = '/assets/default-profile-pic.svg';
2+
3+
export interface Profile {
4+
name?: string;
5+
picture?: string;
6+
}
7+
18
export enum MessageType {
29
TEXT = <any>'text'
310
}

0 commit comments

Comments
 (0)