Added Task Mgmt, and framework for Recipes.

This commit is contained in:
Brian McGonagill 2022-09-05 09:39:54 -05:00
parent 3b9a54daf1
commit 947abfb76f
13 changed files with 430 additions and 1 deletions

View file

@ -9,6 +9,7 @@ import { ListItems } from '../imports/api/listItems.js';
import { Menus } from '../imports/api/menu.js';
import { MenuItems } from '../imports/api/menuItems.js';
import moment from 'moment';
import { TaskItems } from '../imports/api/tasks.js';
Meteor.publish("SystemConfig", function() {
try {
@ -95,4 +96,12 @@ Meteor.publish("todayMenuItems", function() {
} catch (error) {
console.log(" ERROR pulling today's menu items: " + error);
}
});
Meteor.publish("allTasks", function() {
try {
return TaskItems.find({});
} catch (error) {
console.log(" ERROR pulling the task items: " + error);
}
});