Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 8.1: Added user model
  • Loading branch information
DAB0mB committed Feb 26, 2017
1 parent e06bfa9 commit 14e5f47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions imports/models.ts
@@ -1,3 +1,5 @@
import { Meteor } from 'meteor/meteor';

export const DEFAULT_PICTURE_URL = '/assets/default-profile-pic.svg';

export interface Profile {
Expand All @@ -24,4 +26,8 @@ export interface Message {
createdAt?: Date;
ownership?: string;
type?: MessageType;
}

export interface User extends Meteor.User {
profile?: Profile;
}

0 comments on commit 14e5f47

Please sign in to comment.