import { Meteor } from 'meteor/meteor';

import Week from '../model/week.js';
import WeekService from '../service/week-service.js';

if (Meteor.isServer) {
  Meteor.publish('weeks.last', function weeksPublication() {
    return Week.find({ leagueId: '2018-19' }, { sort: { nflWeek: -1 }, limit: 1 });
  });
}

Meteor.methods({
  'weeks.insert'(model) { return WeekService.insert(model); },
  'weeks.update'(model, field, value) { return WeekService.update(model, field, value); },
  'weeks.remove'(model) { return WeekService.remove(model); },
});

@@ -252,16 +252,44 @@
 2018-19'
+, seasonType: %7B $ne: 'PRE' %7D
  %7D, %7B so

Add additional filter on seasonType