Initial commit
This commit is contained in:
commit
35745a89ec
44 changed files with 3342 additions and 0 deletions
16
imports/api/userInfo.js
Normal file
16
imports/api/userInfo.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { Meteor } from 'meteor/meteor';
|
||||
import { Mongo } from 'meteor/mongo';
|
||||
import { check } from 'meteor/check';
|
||||
|
||||
export const UserInfo = new Mongo.Collection('userInfo');
|
||||
|
||||
UserInfo.allow({
|
||||
insert: function(userId, doc){
|
||||
// if use id exists, allow insert
|
||||
return !!userId;
|
||||
},
|
||||
});
|
||||
|
||||
Meteor.methods({
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue