Rocky_Mountain_Vending/.pnpm-store/v10/files/93/3e7cf47e3b55ebeee82ba370d7c07017cbc05141fff3b0ed41929c481e060304fb07da7279fab5d5ee4f053f6d0a0bf55fd8b1ddaa1ae7f56da7debb2de276
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

21 lines
No EOL
717 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDays = getDays;
/**
* Returns all the days belonging to the calendar by merging the days in the
* weeks for each month.
*
* @param calendarMonths The array of calendar months.
* @returns An array of `CalendarDay` objects representing all the days in the
* calendar.
*/
function getDays(calendarMonths) {
const initialDays = [];
return calendarMonths.reduce((days, month) => {
const weekDays = month.weeks.reduce((weekDays, week) => {
return [...weekDays, ...week.days];
}, initialDays);
return [...days, ...weekDays];
}, initialDays);
}
//# sourceMappingURL=getDays.js.map