UNPKG

school-schedule-sync

Version:

Synchronization between JSON schedule and Google Calendar

13 lines 512 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.run = run; const google_api_wrapper_1 = require("@anmiles/google-api-wrapper"); const logger_1 = require("@anmiles/logger"); const sync_1 = require("./sync"); async function run(profile) { for (const foundProfile of (0, google_api_wrapper_1.filterProfiles)(profile)) { (0, logger_1.info)(`Syncing calendars for ${foundProfile}`); await (0, sync_1.sync)(foundProfile); } } //# sourceMappingURL=app.js.map