Skip to content

Commit

Permalink
Step 4.1: Add chats and messages collections
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB committed Feb 13, 2017
1 parent 1f160bf commit b0a74a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imports/collections/chats.ts
@@ -0,0 +1,4 @@
import { MongoObservable } from 'meteor-rxjs';
import { Chat } from '../models';

export const Chats = new MongoObservable.Collection<Chat>('chats');
4 changes: 4 additions & 0 deletions imports/collections/messages.ts
@@ -0,0 +1,4 @@
import { MongoObservable } from 'meteor-rxjs';
import { Message } from '../models';

export const Messages = new MongoObservable.Collection<Message>('messages');

0 comments on commit b0a74a7

Please sign in to comment.