Blame view
imports/collections/staff/methods.js
944 Bytes
d75229d74
|
1 2 3 4 5 6 7 8 |
// import {Parents } from '/imports/collections/parents/methods' import _ from 'lodash'; import { Meteor } from 'meteor/meteor'; import { ValidatedMethod } from 'meteor/mdg:validated-method'; import { SimpleSchema } from 'meteor/aldeed:simple-schema'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Bert } from 'meteor/themeteorchef:bert'; import { Users } from '/imports/collections/users/index'; |
925ffa9d3
|
9 |
import { Teachers } from '/imports/collections/staff/index'; |
d75229d74
|
10 11 12 13 14 15 16 17 18 19 20 21 22 |
import { Orgs } from '/imports/collections/orgs/index'; export const teachersMethods = new ValidatedMethod({ name: 'teachers.method', validate: new SimpleSchema({ itemId: { type: String }, }).validator(), run({itemId}) { return {}; }, }); |