├── .gitignore ├── .mocharc.js ├── README.md ├── babel.config.js ├── package.json ├── src ├── _lodashImports.ts ├── index.ts ├── interpretInput.ts ├── multiError.ts ├── scheduleEvents.ts ├── validate.ts └── weeklyPreferences.ts ├── test ├── ambientWeeklyPreferences │ ├── ambientWeeklyPreferences.test.ts │ ├── input.ts │ └── output.ts ├── babel-register.js ├── manyParticipantsSmallEvents │ ├── input.ts │ ├── manyParticipantsSmallEvents.test.ts │ └── output.ts ├── minimumInput │ ├── input.ts │ ├── minimumInput.test.ts │ └── output.ts ├── prescheduledEventsOnly │ ├── input.ts │ ├── output.ts │ └── prescheduledEventsOnly.test.ts └── weeklyPreferencesOnly │ ├── input.ts │ ├── output.ts │ └── weeklyPreferencesOnly.test.ts ├── tsconfig.json └── types └── index.d.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/.mocharc.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/babel.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/package.json -------------------------------------------------------------------------------- /src/_lodashImports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/_lodashImports.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interpretInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/interpretInput.ts -------------------------------------------------------------------------------- /src/multiError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/multiError.ts -------------------------------------------------------------------------------- /src/scheduleEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/scheduleEvents.ts -------------------------------------------------------------------------------- /src/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/validate.ts -------------------------------------------------------------------------------- /src/weeklyPreferences.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/src/weeklyPreferences.ts -------------------------------------------------------------------------------- /test/ambientWeeklyPreferences/ambientWeeklyPreferences.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/ambientWeeklyPreferences/ambientWeeklyPreferences.test.ts -------------------------------------------------------------------------------- /test/ambientWeeklyPreferences/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/ambientWeeklyPreferences/input.ts -------------------------------------------------------------------------------- /test/ambientWeeklyPreferences/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/ambientWeeklyPreferences/output.ts -------------------------------------------------------------------------------- /test/babel-register.js: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | require("@babel/register")({ extensions: ['.js','.ts'] }); -------------------------------------------------------------------------------- /test/manyParticipantsSmallEvents/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/manyParticipantsSmallEvents/input.ts -------------------------------------------------------------------------------- /test/manyParticipantsSmallEvents/manyParticipantsSmallEvents.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/manyParticipantsSmallEvents/manyParticipantsSmallEvents.test.ts -------------------------------------------------------------------------------- /test/manyParticipantsSmallEvents/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/manyParticipantsSmallEvents/output.ts -------------------------------------------------------------------------------- /test/minimumInput/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/minimumInput/input.ts -------------------------------------------------------------------------------- /test/minimumInput/minimumInput.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/minimumInput/minimumInput.test.ts -------------------------------------------------------------------------------- /test/minimumInput/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/minimumInput/output.ts -------------------------------------------------------------------------------- /test/prescheduledEventsOnly/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/prescheduledEventsOnly/input.ts -------------------------------------------------------------------------------- /test/prescheduledEventsOnly/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/prescheduledEventsOnly/output.ts -------------------------------------------------------------------------------- /test/prescheduledEventsOnly/prescheduledEventsOnly.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/prescheduledEventsOnly/prescheduledEventsOnly.test.ts -------------------------------------------------------------------------------- /test/weeklyPreferencesOnly/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/weeklyPreferencesOnly/input.ts -------------------------------------------------------------------------------- /test/weeklyPreferencesOnly/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/weeklyPreferencesOnly/output.ts -------------------------------------------------------------------------------- /test/weeklyPreferencesOnly/weeklyPreferencesOnly.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/test/weeklyPreferencesOnly/weeklyPreferencesOnly.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamespedid/schedule-well/HEAD/types/index.d.ts --------------------------------------------------------------------------------