const { lazy } = require('@squeep/lazy-property');
+
+/**
+ * Set up expected fields for how we handle error reporting
+ * and whatnot.
+ * @param {Object} ctx
+ */
+const initContext = (ctx) => {
+ ctx.errors = [];
+ ctx.notifications = [];
+}
+
/**
* Some fields may have values outside normal dates, handle them here.
* @param {Date} date
module.exports = {
+ initContext,
dateOrNot,
dateFormat,
timeElement,