@royalschedule/maps 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Additio/from/courses.mjs +28 -0
- package/dist/Additio/from/courses.mjs.map +1 -0
- package/dist/Additio/from/events.mjs +61 -0
- package/dist/Additio/from/events.mjs.map +1 -0
- package/dist/Additio/from/groups.mjs +14 -0
- package/dist/Additio/from/groups.mjs.map +1 -0
- package/dist/Additio/from/index.mjs +8 -0
- package/dist/Additio/from/index.mjs.map +1 -0
- package/dist/Additio/from/locations.mjs +13 -0
- package/dist/Additio/from/locations.mjs.map +1 -0
- package/dist/Additio/from/persons.mjs +30 -0
- package/dist/Additio/from/persons.mjs.map +1 -0
- package/dist/Additio/from/schedules.d.mts +39 -0
- package/dist/Additio/from/schedules.mjs +34 -0
- package/dist/Additio/from/schedules.mjs.map +1 -0
- package/dist/Additio/from/teachers.mjs +25 -0
- package/dist/Additio/from/teachers.mjs.map +1 -0
- package/dist/Additio/index.d.mts +14 -0
- package/dist/Additio/index.mjs +12 -0
- package/dist/Additio/index.mjs.map +1 -0
- package/dist/Additio/to/index.d.mts +23 -0
- package/dist/Additio/to/index.mjs +10 -0
- package/dist/Additio/to/index.mjs.map +1 -0
- package/dist/Additio/to/schedules.mjs +109 -0
- package/dist/Additio/to/schedules.mjs.map +1 -0
- package/dist/Additio/types/course-sections.d.mts +20 -0
- package/dist/Additio/types/courses.d.mts +17 -0
- package/dist/Additio/types/index.d.mts +27 -0
- package/dist/Additio/types/lessons.d.mts +27 -0
- package/dist/Additio/types/options.d.mts +16 -0
- package/dist/Additio/types/primary-groups.d.mts +30 -0
- package/dist/Additio/types/rooms.d.mts +12 -0
- package/dist/Additio/types/schedule-groups.d.mts +23 -0
- package/dist/Additio/types/schedules.d.mts +27 -0
- package/dist/Additio/types/schools.d.mts +11 -0
- package/dist/Additio/types/users.d.mts +20 -0
- package/dist/Admentum/from/courses.mjs +32 -0
- package/dist/Admentum/from/courses.mjs.map +1 -0
- package/dist/Admentum/from/events.mjs +62 -0
- package/dist/Admentum/from/events.mjs.map +1 -0
- package/dist/Admentum/from/groups.mjs +14 -0
- package/dist/Admentum/from/groups.mjs.map +1 -0
- package/dist/Admentum/from/index.mjs +8 -0
- package/dist/Admentum/from/index.mjs.map +1 -0
- package/dist/Admentum/from/locations.mjs +13 -0
- package/dist/Admentum/from/locations.mjs.map +1 -0
- package/dist/Admentum/from/persons.mjs +30 -0
- package/dist/Admentum/from/persons.mjs.map +1 -0
- package/dist/Admentum/from/schedules.d.mts +39 -0
- package/dist/Admentum/from/schedules.mjs +34 -0
- package/dist/Admentum/from/schedules.mjs.map +1 -0
- package/dist/Admentum/from/teachers.mjs +25 -0
- package/dist/Admentum/from/teachers.mjs.map +1 -0
- package/dist/Admentum/index.d.mts +14 -0
- package/dist/Admentum/index.mjs +12 -0
- package/dist/Admentum/index.mjs.map +1 -0
- package/dist/Admentum/to/index.d.mts +20 -0
- package/dist/Admentum/to/index.mjs +10 -0
- package/dist/Admentum/to/index.mjs.map +1 -0
- package/dist/Admentum/to/schedules.mjs +91 -0
- package/dist/Admentum/to/schedules.mjs.map +1 -0
- package/dist/Admentum/types/course-sections.d.mts +20 -0
- package/dist/Admentum/types/courses.d.mts +17 -0
- package/dist/Admentum/types/index.d.mts +25 -0
- package/dist/Admentum/types/lessons.d.mts +27 -0
- package/dist/Admentum/types/primary-groups.d.mts +30 -0
- package/dist/Admentum/types/rooms.d.mts +12 -0
- package/dist/Admentum/types/schedule-groups.d.mts +23 -0
- package/dist/Admentum/types/schedules.d.mts +27 -0
- package/dist/Admentum/types/schools.d.mts +11 -0
- package/dist/Admentum/types/users.d.mts +20 -0
- package/dist/Excel/index.d.mts +308 -0
- package/dist/Excel/index.mjs +13 -0
- package/dist/Excel/index.mjs.map +1 -0
- package/dist/Excel/v1/from/index.mjs +290 -0
- package/dist/Excel/v1/from/index.mjs.map +1 -0
- package/dist/Excel/v1/index.d.mts +256 -0
- package/dist/Excel/v1/index.mjs +10 -0
- package/dist/Excel/v1/index.mjs.map +1 -0
- package/dist/Excel/v1/types/index.d.mts +44 -0
- package/dist/Excel/v2/from/index.mjs +620 -0
- package/dist/Excel/v2/from/index.mjs.map +1 -0
- package/dist/Excel/v2/index.d.mts +303 -0
- package/dist/Excel/v2/index.mjs +10 -0
- package/dist/Excel/v2/index.mjs.map +1 -0
- package/dist/Excel/v2/types/index.d.mts +72 -0
- package/dist/IdunSoft/from/courses.mjs +16 -0
- package/dist/IdunSoft/from/courses.mjs.map +1 -0
- package/dist/IdunSoft/from/events.mjs +58 -0
- package/dist/IdunSoft/from/events.mjs.map +1 -0
- package/dist/IdunSoft/from/groups.mjs +17 -0
- package/dist/IdunSoft/from/groups.mjs.map +1 -0
- package/dist/IdunSoft/from/index.mjs +8 -0
- package/dist/IdunSoft/from/index.mjs.map +1 -0
- package/dist/IdunSoft/from/locations.mjs +16 -0
- package/dist/IdunSoft/from/locations.mjs.map +1 -0
- package/dist/IdunSoft/from/schedules.d.mts +24 -0
- package/dist/IdunSoft/from/schedules.mjs +20 -0
- package/dist/IdunSoft/from/schedules.mjs.map +1 -0
- package/dist/IdunSoft/from/teachers.mjs +16 -0
- package/dist/IdunSoft/from/teachers.mjs.map +1 -0
- package/dist/IdunSoft/index.d.mts +14 -0
- package/dist/IdunSoft/index.mjs +12 -0
- package/dist/IdunSoft/index.mjs.map +1 -0
- package/dist/IdunSoft/to/index.d.mts +10 -0
- package/dist/IdunSoft/to/index.mjs +10 -0
- package/dist/IdunSoft/to/index.mjs.map +1 -0
- package/dist/IdunSoft/to/schedules.mjs +55 -0
- package/dist/IdunSoft/to/schedules.mjs.map +1 -0
- package/dist/IdunSoft/types/courses.d.mts +8 -0
- package/dist/IdunSoft/types/events.d.mts +26 -0
- package/dist/IdunSoft/types/groups.d.mts +8 -0
- package/dist/IdunSoft/types/index.d.mts +20 -0
- package/dist/IdunSoft/types/locations.d.mts +8 -0
- package/dist/IdunSoft/types/schedules.d.mts +17 -0
- package/dist/IdunSoft/types/teachers.d.mts +8 -0
- package/dist/InfoMentor/index.d.mts +10 -0
- package/dist/InfoMentor/index.mjs +10 -0
- package/dist/InfoMentor/index.mjs.map +1 -0
- package/dist/InfoMentor/to/index.d.mts +10 -0
- package/dist/InfoMentor/to/index.mjs +10 -0
- package/dist/InfoMentor/to/index.mjs.map +1 -0
- package/dist/InfoMentor/to/schedules.mjs +57 -0
- package/dist/InfoMentor/to/schedules.mjs.map +1 -0
- package/dist/InfoMentor/types/events.d.mts +13 -0
- package/dist/InfoMentor/types/index.d.mts +9 -0
- package/dist/PlanDigital/from/index.mjs +8 -0
- package/dist/PlanDigital/from/index.mjs.map +1 -0
- package/dist/PlanDigital/from/schedules.mjs +71 -0
- package/dist/PlanDigital/from/schedules.mjs.map +1 -0
- package/dist/PlanDigital/index.d.mts +129 -0
- package/dist/PlanDigital/index.mjs +10 -0
- package/dist/PlanDigital/index.mjs.map +1 -0
- package/dist/PlanDigital/types/index.d.mts +34 -0
- package/dist/Quiculum/file/index.d.mts +9 -0
- package/dist/Quiculum/file/index.mjs +10 -0
- package/dist/Quiculum/file/index.mjs.map +1 -0
- package/dist/Quiculum/file/to/index.d.mts +21 -0
- package/dist/Quiculum/file/to/index.mjs +10 -0
- package/dist/Quiculum/file/to/index.mjs.map +1 -0
- package/dist/Quiculum/file/to/schedules.mjs +87 -0
- package/dist/Quiculum/file/to/schedules.mjs.map +1 -0
- package/dist/Quiculum/index.d.mts +11 -0
- package/dist/Quiculum/index.mjs +11 -0
- package/dist/Quiculum/index.mjs.map +1 -0
- package/dist/RS/from/division.d.mts +8 -0
- package/dist/RS/from/division.mjs +17 -0
- package/dist/RS/from/division.mjs.map +1 -0
- package/dist/RS/from/index.mjs +12 -0
- package/dist/RS/from/index.mjs.map +1 -0
- package/dist/RS/from/schedules.d.mts +9 -0
- package/dist/RS/from/schedules.mjs +40 -0
- package/dist/RS/from/schedules.mjs.map +1 -0
- package/dist/RS/index.d.mts +18 -0
- package/dist/RS/index.mjs +12 -0
- package/dist/RS/index.mjs.map +1 -0
- package/dist/RS/make-connected.d.mts +25 -0
- package/dist/RS/make-connected.mjs +207 -0
- package/dist/RS/make-connected.mjs.map +1 -0
- package/dist/RS/to/index.mjs +8 -0
- package/dist/RS/to/index.mjs.map +1 -0
- package/dist/RS/to/initial-configuration.mjs +41 -0
- package/dist/RS/to/initial-configuration.mjs.map +1 -0
- package/dist/RS/to/input/default.mjs +28 -0
- package/dist/RS/to/input/default.mjs.map +1 -0
- package/dist/RS/to/input/dependencies.mjs +31 -0
- package/dist/RS/to/input/dependencies.mjs.map +1 -0
- package/dist/RS/to/input/events.mjs +101 -0
- package/dist/RS/to/input/events.mjs.map +1 -0
- package/dist/RS/to/input/groups.mjs +32 -0
- package/dist/RS/to/input/groups.mjs.map +1 -0
- package/dist/RS/to/input/individuals.mjs +45 -0
- package/dist/RS/to/input/individuals.mjs.map +1 -0
- package/dist/RS/to/input/input.mjs +59 -0
- package/dist/RS/to/input/input.mjs.map +1 -0
- package/dist/RS/to/input/intervals.mjs +129 -0
- package/dist/RS/to/input/intervals.mjs.map +1 -0
- package/dist/RS/to/input/linked-events-sets.mjs +96 -0
- package/dist/RS/to/input/linked-events-sets.mjs.map +1 -0
- package/dist/RS/to/input/locked-times.mjs +89 -0
- package/dist/RS/to/input/locked-times.mjs.map +1 -0
- package/dist/RS/to/input/periods.mjs +57 -0
- package/dist/RS/to/input/periods.mjs.map +1 -0
- package/dist/RS/to/input/settings.mjs +13 -0
- package/dist/RS/to/input/settings.mjs.map +1 -0
- package/dist/RS/to/input/teachers.mjs +32 -0
- package/dist/RS/to/input/teachers.mjs.map +1 -0
- package/dist/RS/to/input/util/parse-days.mjs +10 -0
- package/dist/RS/to/input/util/parse-days.mjs.map +1 -0
- package/dist/RS/to/input/util/parse-group-references.mjs +50 -0
- package/dist/RS/to/input/util/parse-group-references.mjs.map +1 -0
- package/dist/RS/to/input/util/parse-location-references.mjs +35 -0
- package/dist/RS/to/input/util/parse-location-references.mjs.map +1 -0
- package/dist/RS/to/input/util/parse-max-working-hours.mjs +14 -0
- package/dist/RS/to/input/util/parse-max-working-hours.mjs.map +1 -0
- package/dist/RS/to/input/util/parse-minimum-break-length.mjs +19 -0
- package/dist/RS/to/input/util/parse-minimum-break-length.mjs.map +1 -0
- package/dist/RS/to/input/util/util.mjs +100 -0
- package/dist/RS/to/input/util/util.mjs.map +1 -0
- package/dist/RS/to/schedules.d.mts +7 -0
- package/dist/RS/to/schedules.mjs +51 -0
- package/dist/RS/to/schedules.mjs.map +1 -0
- package/dist/RS/types/algorithm-parameters.d.mts +17 -0
- package/dist/RS/types/configurations.d.mts +10 -0
- package/dist/RS/types/event-configuration.d.mts +20 -0
- package/dist/RS/types/index.d.mts +21 -0
- package/dist/RS/types/schedule-data.d.mts +20 -0
- package/dist/RS/types/to.d.mts +64 -0
- package/dist/RS/types/to.mjs +6 -0
- package/dist/RS/types/to.mjs.map +1 -0
- package/dist/SS12000/from/activities.mjs +35 -0
- package/dist/SS12000/from/activities.mjs.map +1 -0
- package/dist/SS12000/from/calendar-events.mjs +20 -0
- package/dist/SS12000/from/calendar-events.mjs.map +1 -0
- package/dist/SS12000/from/duties.mjs +31 -0
- package/dist/SS12000/from/duties.mjs.map +1 -0
- package/dist/SS12000/from/groups.mjs +23 -0
- package/dist/SS12000/from/groups.mjs.map +1 -0
- package/dist/SS12000/from/index.mjs +24 -0
- package/dist/SS12000/from/index.mjs.map +1 -0
- package/dist/SS12000/from/persons.mjs +43 -0
- package/dist/SS12000/from/persons.mjs.map +1 -0
- package/dist/SS12000/from/resources.mjs +9 -0
- package/dist/SS12000/from/resources.mjs.map +1 -0
- package/dist/SS12000/from/rooms.mjs +18 -0
- package/dist/SS12000/from/rooms.mjs.map +1 -0
- package/dist/SS12000/from/syllabuses.mjs +21 -0
- package/dist/SS12000/from/syllabuses.mjs.map +1 -0
- package/dist/SS12000/index.d.mts +37 -0
- package/dist/SS12000/index.mjs +12 -0
- package/dist/SS12000/index.mjs.map +1 -0
- package/dist/SS12000/to/activities.mjs +63 -0
- package/dist/SS12000/to/activities.mjs.map +1 -0
- package/dist/SS12000/to/calendar-events.mjs +53 -0
- package/dist/SS12000/to/calendar-events.mjs.map +1 -0
- package/dist/SS12000/to/common.mjs +25 -0
- package/dist/SS12000/to/common.mjs.map +1 -0
- package/dist/SS12000/to/duties.mjs +45 -0
- package/dist/SS12000/to/duties.mjs.map +1 -0
- package/dist/SS12000/to/groups.mjs +49 -0
- package/dist/SS12000/to/groups.mjs.map +1 -0
- package/dist/SS12000/to/index.d.mts +57 -0
- package/dist/SS12000/to/index.mjs +24 -0
- package/dist/SS12000/to/index.mjs.map +1 -0
- package/dist/SS12000/to/persons.mjs +40 -0
- package/dist/SS12000/to/persons.mjs.map +1 -0
- package/dist/SS12000/to/resources.mjs +27 -0
- package/dist/SS12000/to/resources.mjs.map +1 -0
- package/dist/SS12000/to/rooms.mjs +32 -0
- package/dist/SS12000/to/rooms.mjs.map +1 -0
- package/dist/SS12000/to/syllabuses.mjs +34 -0
- package/dist/SS12000/to/syllabuses.mjs.map +1 -0
- package/dist/SS12000/types/activities.d.mts +41 -0
- package/dist/SS12000/types/calendar-events.d.mts +23 -0
- package/dist/SS12000/types/codes.d.mts +9 -0
- package/dist/SS12000/types/duties.d.mts +23 -0
- package/dist/SS12000/types/duty-assignments.d.mts +13 -0
- package/dist/SS12000/types/groups.d.mts +23 -0
- package/dist/SS12000/types/index.d.mts +21 -0
- package/dist/SS12000/types/organisation.d.mts +20 -0
- package/dist/SS12000/types/persons.d.mts +30 -0
- package/dist/SS12000/types/resources.d.mts +13 -0
- package/dist/SS12000/types/rooms.d.mts +17 -0
- package/dist/SS12000/types/syllabus.d.mts +19 -0
- package/dist/SchoolSoft/api/from/index.mjs +8 -0
- package/dist/SchoolSoft/api/from/index.mjs.map +1 -0
- package/dist/SchoolSoft/api/from/schedules.mjs +163 -0
- package/dist/SchoolSoft/api/from/schedules.mjs.map +1 -0
- package/dist/SchoolSoft/api/index.d.mts +462 -0
- package/dist/SchoolSoft/api/index.mjs +10 -0
- package/dist/SchoolSoft/api/index.mjs.map +1 -0
- package/dist/SchoolSoft/api/types/group.d.mts +12 -0
- package/dist/SchoolSoft/api/types/index.d.mts +19 -0
- package/dist/SchoolSoft/api/types/lesson.d.mts +9 -0
- package/dist/SchoolSoft/api/types/location.d.mts +8 -0
- package/dist/SchoolSoft/api/types/persons.d.mts +31 -0
- package/dist/SchoolSoft/api/types/schedule.d.mts +17 -0
- package/dist/SchoolSoft/api/types/teacher.d.mts +13 -0
- package/dist/SchoolSoft/file/from/index.mjs +8 -0
- package/dist/SchoolSoft/file/from/index.mjs.map +1 -0
- package/dist/SchoolSoft/file/from/schedules.mjs +130 -0
- package/dist/SchoolSoft/file/from/schedules.mjs.map +1 -0
- package/dist/SchoolSoft/file/index.d.mts +16 -0
- package/dist/SchoolSoft/file/index.mjs +12 -0
- package/dist/SchoolSoft/file/index.mjs.map +1 -0
- package/dist/SchoolSoft/file/to/index.d.mts +14 -0
- package/dist/SchoolSoft/file/to/index.mjs +10 -0
- package/dist/SchoolSoft/file/to/index.mjs.map +1 -0
- package/dist/SchoolSoft/file/to/schedules.mjs +106 -0
- package/dist/SchoolSoft/file/to/schedules.mjs.map +1 -0
- package/dist/SchoolSoft/file/types/events.d.mts +27 -0
- package/dist/SchoolSoft/file/types/index.d.mts +17 -0
- package/dist/SchoolSoft/file/types/persons.d.mts +31 -0
- package/dist/SchoolSoft/index.d.mts +21 -0
- package/dist/SchoolSoft/index.mjs +14 -0
- package/dist/SchoolSoft/index.mjs.map +1 -0
- package/dist/Schoolity/index.d.mts +10 -0
- package/dist/Schoolity/index.mjs +10 -0
- package/dist/Schoolity/index.mjs.map +1 -0
- package/dist/Schoolity/txt/index.d.mts +10 -0
- package/dist/Schoolity/txt/index.mjs +10 -0
- package/dist/Schoolity/txt/index.mjs.map +1 -0
- package/dist/Schoolity/txt/to/index.d.mts +11 -0
- package/dist/Schoolity/txt/to/index.mjs +10 -0
- package/dist/Schoolity/txt/to/index.mjs.map +1 -0
- package/dist/Schoolity/txt/to/schedules.mjs +324 -0
- package/dist/Schoolity/txt/to/schedules.mjs.map +1 -0
- package/dist/Schoolity/txt/types/index.d.mts +119 -0
- package/dist/Skola24/index.d.mts +13 -0
- package/dist/Skola24/index.mjs +12 -0
- package/dist/Skola24/index.mjs.map +1 -0
- package/dist/Skola24/mdb/from/course-and-events.mjs +239 -0
- package/dist/Skola24/mdb/from/course-and-events.mjs.map +1 -0
- package/dist/Skola24/mdb/from/groups.mjs +12 -0
- package/dist/Skola24/mdb/from/groups.mjs.map +1 -0
- package/dist/Skola24/mdb/from/index.mjs +8 -0
- package/dist/Skola24/mdb/from/index.mjs.map +1 -0
- package/dist/Skola24/mdb/from/locations.mjs +11 -0
- package/dist/Skola24/mdb/from/locations.mjs.map +1 -0
- package/dist/Skola24/mdb/from/schedule.d.mts +28 -0
- package/dist/Skola24/mdb/from/schedule.mjs +97 -0
- package/dist/Skola24/mdb/from/schedule.mjs.map +1 -0
- package/dist/Skola24/mdb/from/teachers.mjs +11 -0
- package/dist/Skola24/mdb/from/teachers.mjs.map +1 -0
- package/dist/Skola24/mdb/index.d.mts +12 -0
- package/dist/Skola24/mdb/index.mjs +10 -0
- package/dist/Skola24/mdb/index.mjs.map +1 -0
- package/dist/Skola24/mdb/types/Course.d.mts +10 -0
- package/dist/Skola24/mdb/types/Group-group-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Group.d.mts +9 -0
- package/dist/Skola24/mdb/types/Lesson-group-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Lesson-period-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Lesson-room-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Lesson-teacher-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Lesson.d.mts +13 -0
- package/dist/Skola24/mdb/types/Options.d.mts +11 -0
- package/dist/Skola24/mdb/types/Period.d.mts +9 -0
- package/dist/Skola24/mdb/types/Plan-group-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Plan-period-link.d.mts +8 -0
- package/dist/Skola24/mdb/types/Plan-teacher-link.d.mts +10 -0
- package/dist/Skola24/mdb/types/Plan.d.mts +9 -0
- package/dist/Skola24/mdb/types/Room.d.mts +9 -0
- package/dist/Skola24/mdb/types/Schedule.d.mts +39 -0
- package/dist/Skola24/mdb/types/Subject.d.mts +8 -0
- package/dist/Skola24/mdb/types/Teacher.d.mts +10 -0
- package/dist/Skola24/mdb/types/index.d.mts +23 -0
- package/dist/Skola24/txt/from/calendar-exceptions.mjs +67 -0
- package/dist/Skola24/txt/from/calendar-exceptions.mjs.map +1 -0
- package/dist/Skola24/txt/from/division.mjs +44 -0
- package/dist/Skola24/txt/from/division.mjs.map +1 -0
- package/dist/Skola24/txt/from/index.mjs +12 -0
- package/dist/Skola24/txt/from/index.mjs.map +1 -0
- package/dist/Skola24/txt/from/period.mjs +96 -0
- package/dist/Skola24/txt/from/period.mjs.map +1 -0
- package/dist/Skola24/txt/from/schedules.d.mts +18 -0
- package/dist/Skola24/txt/from/schedules.mjs +274 -0
- package/dist/Skola24/txt/from/schedules.mjs.map +1 -0
- package/dist/Skola24/txt/from/util.mjs +23 -0
- package/dist/Skola24/txt/from/util.mjs.map +1 -0
- package/dist/Skola24/txt/index.d.mts +29 -0
- package/dist/Skola24/txt/index.mjs +12 -0
- package/dist/Skola24/txt/index.mjs.map +1 -0
- package/dist/Skola24/txt/to/index.d.mts +11 -0
- package/dist/Skola24/txt/to/index.mjs +10 -0
- package/dist/Skola24/txt/to/index.mjs.map +1 -0
- package/dist/Skola24/txt/to/schedules.mjs +290 -0
- package/dist/Skola24/txt/to/schedules.mjs.map +1 -0
- package/dist/Skola24/txt/types/index.d.mts +154 -0
- package/dist/common/constants.mjs +8 -0
- package/dist/common/constants.mjs.map +1 -0
- package/dist/common/functions.mjs +61 -0
- package/dist/common/functions.mjs.map +1 -0
- package/dist/common/get-date.mjs +15 -0
- package/dist/common/get-date.mjs.map +1 -0
- package/dist/common/make-chainable/index.mjs +36 -0
- package/dist/common/make-chainable/index.mjs.map +1 -0
- package/dist/common/types.d.mts +38 -0
- package/dist/core/from/configurations.mjs +12 -0
- package/dist/core/from/configurations.mjs.map +1 -0
- package/dist/core/from/courses.mjs +12 -0
- package/dist/core/from/courses.mjs.map +1 -0
- package/dist/core/from/events.mjs +13 -0
- package/dist/core/from/events.mjs.map +1 -0
- package/dist/core/from/exceptions.mjs +12 -0
- package/dist/core/from/exceptions.mjs.map +1 -0
- package/dist/core/from/groups.mjs +12 -0
- package/dist/core/from/groups.mjs.map +1 -0
- package/dist/core/from/index.mjs +23 -0
- package/dist/core/from/index.mjs.map +1 -0
- package/dist/core/from/linked-events-sets.mjs +12 -0
- package/dist/core/from/linked-events-sets.mjs.map +1 -0
- package/dist/core/from/locations.mjs +12 -0
- package/dist/core/from/locations.mjs.map +1 -0
- package/dist/core/from/locked-times.mjs +12 -0
- package/dist/core/from/locked-times.mjs.map +1 -0
- package/dist/core/from/periods.mjs +12 -0
- package/dist/core/from/periods.mjs.map +1 -0
- package/dist/core/from/persons.mjs +12 -0
- package/dist/core/from/persons.mjs.map +1 -0
- package/dist/core/from/root-intervals.mjs +12 -0
- package/dist/core/from/root-intervals.mjs.map +1 -0
- package/dist/core/from/schedules.d.mts +7 -0
- package/dist/core/from/schedules.mjs +38 -0
- package/dist/core/from/schedules.mjs.map +1 -0
- package/dist/core/from/settings.mjs +21 -0
- package/dist/core/from/settings.mjs.map +1 -0
- package/dist/core/from/syllabuses.mjs +13 -0
- package/dist/core/from/syllabuses.mjs.map +1 -0
- package/dist/core/from/teachers.mjs +12 -0
- package/dist/core/from/teachers.mjs.map +1 -0
- package/dist/core/index.d.mts +38 -0
- package/dist/core/index.mjs +16 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/core/interfaces/index.d.mts +23 -0
- package/dist/core/interfaces/index.mjs +6 -0
- package/dist/core/interfaces/other/companies.d.mts +147 -0
- package/dist/core/interfaces/other/companies.mjs +9 -0
- package/dist/core/interfaces/other/companies.mjs.map +1 -0
- package/dist/core/interfaces/other/etc.d.mts +19 -0
- package/dist/core/interfaces/other/index.d.mts +6 -0
- package/dist/core/interfaces/other/integrations.d.mts +17 -0
- package/dist/core/interfaces/other/operations.d.mts +36 -0
- package/dist/core/interfaces/other/policies.d.mts +31 -0
- package/dist/core/interfaces/other/sync-logs.d.mts +21 -0
- package/dist/core/interfaces/other/users.d.mts +35 -0
- package/dist/core/interfaces/vertices/companies.d.mts +8 -0
- package/dist/core/interfaces/vertices/configurations.d.mts +58 -0
- package/dist/core/interfaces/vertices/conversations.d.mts +88 -0
- package/dist/core/interfaces/vertices/courses.d.mts +65 -0
- package/dist/core/interfaces/vertices/division-settings.d.mts +55 -0
- package/dist/core/interfaces/vertices/divisions.d.mts +31 -0
- package/dist/core/interfaces/vertices/events.d.mts +106 -0
- package/dist/core/interfaces/vertices/exceptions.d.mts +74 -0
- package/dist/core/interfaces/vertices/generations.d.mts +23 -0
- package/dist/core/interfaces/vertices/groups.d.mts +51 -0
- package/dist/core/interfaces/vertices/index.d.mts +237 -0
- package/dist/core/interfaces/vertices/index.mjs +3 -0
- package/dist/core/interfaces/vertices/linked-events-sets.d.mts +19 -0
- package/dist/core/interfaces/vertices/locations.d.mts +22 -0
- package/dist/core/interfaces/vertices/locked-times.d.mts +37 -0
- package/dist/core/interfaces/vertices/messages.d.mts +27 -0
- package/dist/core/interfaces/vertices/periods.d.mts +16 -0
- package/dist/core/interfaces/vertices/persons.d.mts +32 -0
- package/dist/core/interfaces/vertices/properties/belongs-to.d.mts +11 -0
- package/dist/core/interfaces/vertices/properties/coalesced.d.mts +8 -0
- package/dist/core/interfaces/vertices/properties/days.d.mts +9 -0
- package/dist/core/interfaces/vertices/properties/index.d.mts +15 -0
- package/dist/core/interfaces/vertices/properties/intervals.d.mts +10 -0
- package/dist/core/interfaces/vertices/properties/maximum-schedule-span.d.mts +19 -0
- package/dist/core/interfaces/vertices/properties/min-break-length.d.mts +5 -0
- package/dist/core/interfaces/vertices/properties/planned-scheduled-duration.d.mts +13 -0
- package/dist/core/interfaces/vertices/properties/species.d.mts +9 -0
- package/dist/core/interfaces/vertices/properties/tags.d.mts +9 -0
- package/dist/core/interfaces/vertices/properties/week.d.mts +22 -0
- package/dist/core/interfaces/vertices/properties/week.mjs +6 -0
- package/dist/core/interfaces/vertices/properties/week.mjs.map +1 -0
- package/dist/core/interfaces/vertices/root-intervals.d.mts +14 -0
- package/dist/core/interfaces/vertices/syllabuses.d.mts +20 -0
- package/dist/core/interfaces/vertices/teachers.d.mts +41 -0
- package/dist/core/interfaces/vertices/threads.d.mts +33 -0
- package/dist/core/interfaces/vertices/users.d.mts +11 -0
- package/dist/core/interfaces/vertices/util/common.d.mts +28 -0
- package/dist/core/interfaces/vertices/util/custom-vertex-export/assert-no-invalid-expand-keys.d.mts +16 -0
- package/dist/core/interfaces/vertices/util/custom-vertex-export/index.d.mts +34 -0
- package/dist/core/interfaces/vertices/util/custom-vertex-export/util.d.mts +52 -0
- package/dist/core/interfaces/vertices/util/deep-vertex-export/index.d.mts +65 -0
- package/dist/core/interfaces/vertices/util/edges.d.mts +123 -0
- package/dist/core/interfaces/vertices/util/index.d.mts +6 -0
- package/dist/core/interfaces/vertices/util/keys-of.d.mts +26 -0
- package/dist/core/interfaces/vertices/util/serialized-vertex-export.d.mts +11 -0
- package/dist/core/interfaces/vertices/util/util.d.mts +79 -0
- package/dist/core/interfaces/vertices/util/vertex-query/index.d.mts +50 -0
- package/dist/core/interfaces/vertices/util/vertex-query/util.d.mts +13 -0
- package/dist/core/interfaces/vertices/util/vertex.d.mts +68 -0
- package/dist/core/interfaces/vertices/vertex-query.d.mts +115 -0
- package/dist/core/interfaces/vertices/vertex-query.mjs +118 -0
- package/dist/core/interfaces/vertices/vertex-query.mjs.map +1 -0
- package/dist/core/to/configurations.mjs +16 -0
- package/dist/core/to/configurations.mjs.map +1 -0
- package/dist/core/to/courses.mjs +40 -0
- package/dist/core/to/courses.mjs.map +1 -0
- package/dist/core/to/division.mjs +10 -0
- package/dist/core/to/division.mjs.map +1 -0
- package/dist/core/to/events.mjs +42 -0
- package/dist/core/to/events.mjs.map +1 -0
- package/dist/core/to/exceptions.mjs +29 -0
- package/dist/core/to/exceptions.mjs.map +1 -0
- package/dist/core/to/groups.mjs +25 -0
- package/dist/core/to/groups.mjs.map +1 -0
- package/dist/core/to/index.d.mts +9 -0
- package/dist/core/to/index.mjs +10 -0
- package/dist/core/to/index.mjs.map +1 -0
- package/dist/core/to/linked-events-sets.mjs +17 -0
- package/dist/core/to/linked-events-sets.mjs.map +1 -0
- package/dist/core/to/locations.mjs +21 -0
- package/dist/core/to/locations.mjs.map +1 -0
- package/dist/core/to/locked-times.mjs +20 -0
- package/dist/core/to/locked-times.mjs.map +1 -0
- package/dist/core/to/periods.mjs +16 -0
- package/dist/core/to/periods.mjs.map +1 -0
- package/dist/core/to/persons.mjs +17 -0
- package/dist/core/to/persons.mjs.map +1 -0
- package/dist/core/to/root-intervals.mjs +16 -0
- package/dist/core/to/root-intervals.mjs.map +1 -0
- package/dist/core/to/schedules.d.mts +47 -0
- package/dist/core/to/schedules.mjs +42 -0
- package/dist/core/to/schedules.mjs.map +1 -0
- package/dist/core/to/settings.mjs +18 -0
- package/dist/core/to/settings.mjs.map +1 -0
- package/dist/core/to/syllabuses.mjs +16 -0
- package/dist/core/to/syllabuses.mjs.map +1 -0
- package/dist/core/to/teachers.mjs +24 -0
- package/dist/core/to/teachers.mjs.map +1 -0
- package/dist/core/to/util.d.mts +10 -0
- package/dist/core/to/util.mjs +24 -0
- package/dist/core/to/util.mjs.map +1 -0
- package/dist/core/types/common/index.d.mts +8 -0
- package/dist/core/types/common/meta.d.mts +15 -0
- package/dist/core/types/index.d.mts +137 -0
- package/dist/core/util.mjs +46 -0
- package/dist/core/util.mjs.map +1 -0
- package/dist/identify/constants/index.d.mts +144 -0
- package/dist/identify/constants/index.mjs +317 -0
- package/dist/identify/constants/index.mjs.map +1 -0
- package/dist/identify/index.d.mts +8 -0
- package/dist/identify/index.mjs +93 -0
- package/dist/identify/index.mjs.map +1 -0
- package/dist/identify/types/index.d.mts +15 -0
- package/dist/index.d.mts +57 -0
- package/dist/index.mjs +22 -0
- package/dist/sdui/from/classes.mjs +8 -0
- package/dist/sdui/from/classes.mjs.map +1 -0
- package/dist/sdui/from/courses.mjs +14 -0
- package/dist/sdui/from/courses.mjs.map +1 -0
- package/dist/sdui/from/holidays.mjs +8 -0
- package/dist/sdui/from/holidays.mjs.map +1 -0
- package/dist/sdui/from/hours.mjs +6 -0
- package/dist/sdui/from/hours.mjs.map +1 -0
- package/dist/sdui/from/index.mjs +30 -0
- package/dist/sdui/from/index.mjs.map +1 -0
- package/dist/sdui/from/lessons.mjs +23 -0
- package/dist/sdui/from/lessons.mjs.map +1 -0
- package/dist/sdui/from/rooms.mjs +11 -0
- package/dist/sdui/from/rooms.mjs.map +1 -0
- package/dist/sdui/from/schedules.d.mts +21 -0
- package/dist/sdui/from/schedules.mjs +24 -0
- package/dist/sdui/from/schedules.mjs.map +1 -0
- package/dist/sdui/from/school-years.mjs +11 -0
- package/dist/sdui/from/school-years.mjs.map +1 -0
- package/dist/sdui/from/subjects.mjs +6 -0
- package/dist/sdui/from/subjects.mjs.map +1 -0
- package/dist/sdui/from/substitution-plans.mjs +10 -0
- package/dist/sdui/from/substitution-plans.mjs.map +1 -0
- package/dist/sdui/from/teachers.mjs +15 -0
- package/dist/sdui/from/teachers.mjs.map +1 -0
- package/dist/sdui/index.d.mts +32 -0
- package/dist/sdui/index.mjs +12 -0
- package/dist/sdui/index.mjs.map +1 -0
- package/dist/sdui/to/classes.mjs +10 -0
- package/dist/sdui/to/classes.mjs.map +1 -0
- package/dist/sdui/to/courses.mjs +16 -0
- package/dist/sdui/to/courses.mjs.map +1 -0
- package/dist/sdui/to/holidays.mjs +16 -0
- package/dist/sdui/to/holidays.mjs.map +1 -0
- package/dist/sdui/to/hours.mjs +15 -0
- package/dist/sdui/to/hours.mjs.map +1 -0
- package/dist/sdui/to/index.d.mts +22 -0
- package/dist/sdui/to/index.mjs +30 -0
- package/dist/sdui/to/index.mjs.map +1 -0
- package/dist/sdui/to/lessons.mjs +24 -0
- package/dist/sdui/to/lessons.mjs.map +1 -0
- package/dist/sdui/to/rooms.mjs +13 -0
- package/dist/sdui/to/rooms.mjs.map +1 -0
- package/dist/sdui/to/schedules.mjs +26 -0
- package/dist/sdui/to/schedules.mjs.map +1 -0
- package/dist/sdui/to/school-years.mjs +18 -0
- package/dist/sdui/to/school-years.mjs.map +1 -0
- package/dist/sdui/to/subjects.mjs +8 -0
- package/dist/sdui/to/subjects.mjs.map +1 -0
- package/dist/sdui/to/substitution-plans.mjs +46 -0
- package/dist/sdui/to/substitution-plans.mjs.map +1 -0
- package/dist/sdui/to/teachers.mjs +20 -0
- package/dist/sdui/to/teachers.mjs.map +1 -0
- package/dist/sdui/types/classes.d.mts +8 -0
- package/dist/sdui/types/courses.d.mts +12 -0
- package/dist/sdui/types/holidays.d.mts +10 -0
- package/dist/sdui/types/hours.d.mts +10 -0
- package/dist/sdui/types/index.d.mts +31 -0
- package/dist/sdui/types/lessons.d.mts +13 -0
- package/dist/sdui/types/rooms.d.mts +9 -0
- package/dist/sdui/types/schedules.d.mts +27 -0
- package/dist/sdui/types/school-years.d.mts +9 -0
- package/dist/sdui/types/subjects.d.mts +9 -0
- package/dist/sdui/types/substitution-plans.d.mts +30 -0
- package/dist/sdui/types/teachers.d.mts +10 -0
- package/dist/vKlass/from/index.mjs +8 -0
- package/dist/vKlass/from/index.mjs.map +1 -0
- package/dist/vKlass/from/schedule.d.mts +24 -0
- package/dist/vKlass/from/schedule.mjs +71 -0
- package/dist/vKlass/from/schedule.mjs.map +1 -0
- package/dist/vKlass/index.d.mts +13 -0
- package/dist/vKlass/index.mjs +12 -0
- package/dist/vKlass/index.mjs.map +1 -0
- package/dist/vKlass/to/index.d.mts +9 -0
- package/dist/vKlass/to/index.mjs +10 -0
- package/dist/vKlass/to/index.mjs.map +1 -0
- package/dist/vKlass/to/schedules.d.mts +14 -0
- package/dist/vKlass/to/schedules.mjs +82 -0
- package/dist/vKlass/to/schedules.mjs.map +1 -0
- package/dist/vKlass/types/index.d.mts +53 -0
- package/package.json +2 -1
- package/dist/Additio/from/courses.js +0 -28
- package/dist/Additio/from/courses.js.map +0 -1
- package/dist/Additio/from/events.js +0 -61
- package/dist/Additio/from/events.js.map +0 -1
- package/dist/Additio/from/groups.js +0 -14
- package/dist/Additio/from/groups.js.map +0 -1
- package/dist/Additio/from/index.js +0 -8
- package/dist/Additio/from/index.js.map +0 -1
- package/dist/Additio/from/locations.js +0 -13
- package/dist/Additio/from/locations.js.map +0 -1
- package/dist/Additio/from/persons.js +0 -30
- package/dist/Additio/from/persons.js.map +0 -1
- package/dist/Additio/from/schedules.d.ts +0 -38
- package/dist/Additio/from/schedules.js +0 -36
- package/dist/Additio/from/schedules.js.map +0 -1
- package/dist/Additio/from/teachers.js +0 -25
- package/dist/Additio/from/teachers.js.map +0 -1
- package/dist/Additio/index.d.ts +0 -14
- package/dist/Additio/index.js +0 -12
- package/dist/Additio/index.js.map +0 -1
- package/dist/Additio/to/index.d.ts +0 -21
- package/dist/Additio/to/index.js +0 -10
- package/dist/Additio/to/index.js.map +0 -1
- package/dist/Additio/to/schedules.js +0 -111
- package/dist/Additio/to/schedules.js.map +0 -1
- package/dist/Additio/types/course-sections.d.ts +0 -20
- package/dist/Additio/types/courses.d.ts +0 -17
- package/dist/Additio/types/index.d.ts +0 -27
- package/dist/Additio/types/lessons.d.ts +0 -27
- package/dist/Additio/types/options.d.ts +0 -16
- package/dist/Additio/types/primary-groups.d.ts +0 -30
- package/dist/Additio/types/rooms.d.ts +0 -12
- package/dist/Additio/types/schedule-groups.d.ts +0 -23
- package/dist/Additio/types/schedules.d.ts +0 -27
- package/dist/Additio/types/schools.d.ts +0 -11
- package/dist/Additio/types/users.d.ts +0 -20
- package/dist/Admentum/from/courses.js +0 -32
- package/dist/Admentum/from/courses.js.map +0 -1
- package/dist/Admentum/from/events.js +0 -62
- package/dist/Admentum/from/events.js.map +0 -1
- package/dist/Admentum/from/groups.js +0 -14
- package/dist/Admentum/from/groups.js.map +0 -1
- package/dist/Admentum/from/index.js +0 -8
- package/dist/Admentum/from/index.js.map +0 -1
- package/dist/Admentum/from/locations.js +0 -13
- package/dist/Admentum/from/locations.js.map +0 -1
- package/dist/Admentum/from/persons.js +0 -30
- package/dist/Admentum/from/persons.js.map +0 -1
- package/dist/Admentum/from/schedules.d.ts +0 -38
- package/dist/Admentum/from/schedules.js +0 -37
- package/dist/Admentum/from/schedules.js.map +0 -1
- package/dist/Admentum/from/teachers.js +0 -25
- package/dist/Admentum/from/teachers.js.map +0 -1
- package/dist/Admentum/index.d.ts +0 -14
- package/dist/Admentum/index.js +0 -12
- package/dist/Admentum/index.js.map +0 -1
- package/dist/Admentum/to/index.d.ts +0 -19
- package/dist/Admentum/to/index.js +0 -10
- package/dist/Admentum/to/index.js.map +0 -1
- package/dist/Admentum/to/schedules.js +0 -94
- package/dist/Admentum/to/schedules.js.map +0 -1
- package/dist/Admentum/types/course-sections.d.ts +0 -20
- package/dist/Admentum/types/courses.d.ts +0 -17
- package/dist/Admentum/types/index.d.ts +0 -25
- package/dist/Admentum/types/lessons.d.ts +0 -27
- package/dist/Admentum/types/primary-groups.d.ts +0 -30
- package/dist/Admentum/types/rooms.d.ts +0 -12
- package/dist/Admentum/types/schedule-groups.d.ts +0 -23
- package/dist/Admentum/types/schedules.d.ts +0 -27
- package/dist/Admentum/types/schools.d.ts +0 -11
- package/dist/Admentum/types/users.d.ts +0 -20
- package/dist/Excel/index.d.ts +0 -308
- package/dist/Excel/index.js +0 -13
- package/dist/Excel/index.js.map +0 -1
- package/dist/Excel/v1/from/index.js +0 -289
- package/dist/Excel/v1/from/index.js.map +0 -1
- package/dist/Excel/v1/index.d.ts +0 -239
- package/dist/Excel/v1/index.js +0 -10
- package/dist/Excel/v1/index.js.map +0 -1
- package/dist/Excel/v1/types/index.d.ts +0 -44
- package/dist/Excel/v2/from/index.js +0 -537
- package/dist/Excel/v2/from/index.js.map +0 -1
- package/dist/Excel/v2/index.d.ts +0 -303
- package/dist/Excel/v2/index.js +0 -10
- package/dist/Excel/v2/index.js.map +0 -1
- package/dist/Excel/v2/types/index.d.ts +0 -70
- package/dist/IdunSoft/from/courses.js +0 -16
- package/dist/IdunSoft/from/courses.js.map +0 -1
- package/dist/IdunSoft/from/events.js +0 -59
- package/dist/IdunSoft/from/events.js.map +0 -1
- package/dist/IdunSoft/from/groups.js +0 -17
- package/dist/IdunSoft/from/groups.js.map +0 -1
- package/dist/IdunSoft/from/index.js +0 -8
- package/dist/IdunSoft/from/index.js.map +0 -1
- package/dist/IdunSoft/from/locations.js +0 -16
- package/dist/IdunSoft/from/locations.js.map +0 -1
- package/dist/IdunSoft/from/schedules.d.ts +0 -23
- package/dist/IdunSoft/from/schedules.js +0 -20
- package/dist/IdunSoft/from/schedules.js.map +0 -1
- package/dist/IdunSoft/from/teachers.js +0 -16
- package/dist/IdunSoft/from/teachers.js.map +0 -1
- package/dist/IdunSoft/index.d.ts +0 -14
- package/dist/IdunSoft/index.js +0 -12
- package/dist/IdunSoft/index.js.map +0 -1
- package/dist/IdunSoft/to/index.d.ts +0 -9
- package/dist/IdunSoft/to/index.js +0 -10
- package/dist/IdunSoft/to/index.js.map +0 -1
- package/dist/IdunSoft/to/schedules.js +0 -58
- package/dist/IdunSoft/to/schedules.js.map +0 -1
- package/dist/IdunSoft/types/courses.d.ts +0 -8
- package/dist/IdunSoft/types/events.d.ts +0 -26
- package/dist/IdunSoft/types/groups.d.ts +0 -8
- package/dist/IdunSoft/types/index.d.ts +0 -20
- package/dist/IdunSoft/types/locations.d.ts +0 -8
- package/dist/IdunSoft/types/schedules.d.ts +0 -17
- package/dist/IdunSoft/types/teachers.d.ts +0 -8
- package/dist/InfoMentor/index.d.ts +0 -10
- package/dist/InfoMentor/index.js +0 -10
- package/dist/InfoMentor/index.js.map +0 -1
- package/dist/InfoMentor/to/index.d.ts +0 -9
- package/dist/InfoMentor/to/index.js +0 -10
- package/dist/InfoMentor/to/index.js.map +0 -1
- package/dist/InfoMentor/to/schedules.js +0 -58
- package/dist/InfoMentor/to/schedules.js.map +0 -1
- package/dist/InfoMentor/types/events.d.ts +0 -13
- package/dist/InfoMentor/types/index.d.ts +0 -9
- package/dist/PlanDigital/from/index.js +0 -8
- package/dist/PlanDigital/from/index.js.map +0 -1
- package/dist/PlanDigital/from/schedules.js +0 -72
- package/dist/PlanDigital/from/schedules.js.map +0 -1
- package/dist/PlanDigital/index.d.ts +0 -128
- package/dist/PlanDigital/index.js +0 -10
- package/dist/PlanDigital/index.js.map +0 -1
- package/dist/PlanDigital/types/index.d.ts +0 -34
- package/dist/Quiculum/file/index.d.ts +0 -9
- package/dist/Quiculum/file/index.js +0 -10
- package/dist/Quiculum/file/index.js.map +0 -1
- package/dist/Quiculum/file/to/index.d.ts +0 -20
- package/dist/Quiculum/file/to/index.js +0 -10
- package/dist/Quiculum/file/to/index.js.map +0 -1
- package/dist/Quiculum/file/to/schedules.js +0 -91
- package/dist/Quiculum/file/to/schedules.js.map +0 -1
- package/dist/Quiculum/index.d.ts +0 -11
- package/dist/Quiculum/index.js +0 -11
- package/dist/Quiculum/index.js.map +0 -1
- package/dist/RS/from/division.d.ts +0 -7
- package/dist/RS/from/division.js +0 -18
- package/dist/RS/from/division.js.map +0 -1
- package/dist/RS/from/index.js +0 -12
- package/dist/RS/from/index.js.map +0 -1
- package/dist/RS/from/schedules.d.ts +0 -8
- package/dist/RS/from/schedules.js +0 -40
- package/dist/RS/from/schedules.js.map +0 -1
- package/dist/RS/index.d.ts +0 -18
- package/dist/RS/index.js +0 -12
- package/dist/RS/index.js.map +0 -1
- package/dist/RS/make-connected.d.ts +0 -23
- package/dist/RS/make-connected.js +0 -216
- package/dist/RS/make-connected.js.map +0 -1
- package/dist/RS/to/index.js +0 -8
- package/dist/RS/to/index.js.map +0 -1
- package/dist/RS/to/initial-configuration.js +0 -43
- package/dist/RS/to/initial-configuration.js.map +0 -1
- package/dist/RS/to/input/default.js +0 -29
- package/dist/RS/to/input/default.js.map +0 -1
- package/dist/RS/to/input/dependencies.js +0 -32
- package/dist/RS/to/input/dependencies.js.map +0 -1
- package/dist/RS/to/input/events.js +0 -102
- package/dist/RS/to/input/events.js.map +0 -1
- package/dist/RS/to/input/groups.js +0 -32
- package/dist/RS/to/input/groups.js.map +0 -1
- package/dist/RS/to/input/individuals.js +0 -46
- package/dist/RS/to/input/individuals.js.map +0 -1
- package/dist/RS/to/input/input.js +0 -61
- package/dist/RS/to/input/input.js.map +0 -1
- package/dist/RS/to/input/intervals.js +0 -131
- package/dist/RS/to/input/intervals.js.map +0 -1
- package/dist/RS/to/input/linked-events-sets.js +0 -96
- package/dist/RS/to/input/linked-events-sets.js.map +0 -1
- package/dist/RS/to/input/locked-times.js +0 -91
- package/dist/RS/to/input/locked-times.js.map +0 -1
- package/dist/RS/to/input/periods.js +0 -58
- package/dist/RS/to/input/periods.js.map +0 -1
- package/dist/RS/to/input/settings.js +0 -13
- package/dist/RS/to/input/settings.js.map +0 -1
- package/dist/RS/to/input/teachers.js +0 -32
- package/dist/RS/to/input/teachers.js.map +0 -1
- package/dist/RS/to/input/util/parse-days.js +0 -10
- package/dist/RS/to/input/util/parse-days.js.map +0 -1
- package/dist/RS/to/input/util/parse-group-references.js +0 -50
- package/dist/RS/to/input/util/parse-group-references.js.map +0 -1
- package/dist/RS/to/input/util/parse-location-references.js +0 -24
- package/dist/RS/to/input/util/parse-location-references.js.map +0 -1
- package/dist/RS/to/input/util/parse-max-working-hours.js +0 -14
- package/dist/RS/to/input/util/parse-max-working-hours.js.map +0 -1
- package/dist/RS/to/input/util/parse-minimum-break-length.js +0 -19
- package/dist/RS/to/input/util/parse-minimum-break-length.js.map +0 -1
- package/dist/RS/to/input/util/util.js +0 -101
- package/dist/RS/to/input/util/util.js.map +0 -1
- package/dist/RS/to/schedules.d.ts +0 -7
- package/dist/RS/to/schedules.js +0 -51
- package/dist/RS/to/schedules.js.map +0 -1
- package/dist/RS/types/algorithm-parameters.d.ts +0 -17
- package/dist/RS/types/configurations.d.ts +0 -10
- package/dist/RS/types/event-configuration.d.ts +0 -20
- package/dist/RS/types/index.d.ts +0 -21
- package/dist/RS/types/schedule-data.d.ts +0 -20
- package/dist/RS/types/to.d.ts +0 -65
- package/dist/RS/types/to.js +0 -6
- package/dist/RS/types/to.js.map +0 -1
- package/dist/SS12000/from/activities.js +0 -36
- package/dist/SS12000/from/activities.js.map +0 -1
- package/dist/SS12000/from/calendar-events.js +0 -20
- package/dist/SS12000/from/calendar-events.js.map +0 -1
- package/dist/SS12000/from/duties.js +0 -31
- package/dist/SS12000/from/duties.js.map +0 -1
- package/dist/SS12000/from/groups.js +0 -23
- package/dist/SS12000/from/groups.js.map +0 -1
- package/dist/SS12000/from/index.js +0 -24
- package/dist/SS12000/from/index.js.map +0 -1
- package/dist/SS12000/from/persons.js +0 -43
- package/dist/SS12000/from/persons.js.map +0 -1
- package/dist/SS12000/from/resources.js +0 -9
- package/dist/SS12000/from/resources.js.map +0 -1
- package/dist/SS12000/from/rooms.js +0 -18
- package/dist/SS12000/from/rooms.js.map +0 -1
- package/dist/SS12000/from/syllabuses.js +0 -21
- package/dist/SS12000/from/syllabuses.js.map +0 -1
- package/dist/SS12000/index.d.ts +0 -36
- package/dist/SS12000/index.js +0 -12
- package/dist/SS12000/index.js.map +0 -1
- package/dist/SS12000/to/activities.js +0 -63
- package/dist/SS12000/to/activities.js.map +0 -1
- package/dist/SS12000/to/calendar-events.js +0 -53
- package/dist/SS12000/to/calendar-events.js.map +0 -1
- package/dist/SS12000/to/common.js +0 -25
- package/dist/SS12000/to/common.js.map +0 -1
- package/dist/SS12000/to/duties.js +0 -45
- package/dist/SS12000/to/duties.js.map +0 -1
- package/dist/SS12000/to/groups.js +0 -49
- package/dist/SS12000/to/groups.js.map +0 -1
- package/dist/SS12000/to/index.d.ts +0 -56
- package/dist/SS12000/to/index.js +0 -24
- package/dist/SS12000/to/index.js.map +0 -1
- package/dist/SS12000/to/persons.js +0 -40
- package/dist/SS12000/to/persons.js.map +0 -1
- package/dist/SS12000/to/resources.js +0 -27
- package/dist/SS12000/to/resources.js.map +0 -1
- package/dist/SS12000/to/rooms.js +0 -32
- package/dist/SS12000/to/rooms.js.map +0 -1
- package/dist/SS12000/to/syllabuses.js +0 -34
- package/dist/SS12000/to/syllabuses.js.map +0 -1
- package/dist/SS12000/types/activities.d.ts +0 -41
- package/dist/SS12000/types/calendar-events.d.ts +0 -23
- package/dist/SS12000/types/codes.d.ts +0 -9
- package/dist/SS12000/types/duties.d.ts +0 -23
- package/dist/SS12000/types/duty-assignments.d.ts +0 -13
- package/dist/SS12000/types/groups.d.ts +0 -23
- package/dist/SS12000/types/index.d.ts +0 -21
- package/dist/SS12000/types/organisation.d.ts +0 -20
- package/dist/SS12000/types/persons.d.ts +0 -30
- package/dist/SS12000/types/resources.d.ts +0 -13
- package/dist/SS12000/types/rooms.d.ts +0 -17
- package/dist/SS12000/types/syllabus.d.ts +0 -19
- package/dist/SchoolSoft/api/from/index.js +0 -8
- package/dist/SchoolSoft/api/from/index.js.map +0 -1
- package/dist/SchoolSoft/api/from/schedules.js +0 -167
- package/dist/SchoolSoft/api/from/schedules.js.map +0 -1
- package/dist/SchoolSoft/api/index.d.ts +0 -463
- package/dist/SchoolSoft/api/index.js +0 -10
- package/dist/SchoolSoft/api/index.js.map +0 -1
- package/dist/SchoolSoft/api/types/group.d.ts +0 -12
- package/dist/SchoolSoft/api/types/index.d.ts +0 -19
- package/dist/SchoolSoft/api/types/lesson.d.ts +0 -9
- package/dist/SchoolSoft/api/types/location.d.ts +0 -8
- package/dist/SchoolSoft/api/types/persons.d.ts +0 -31
- package/dist/SchoolSoft/api/types/schedule.d.ts +0 -17
- package/dist/SchoolSoft/api/types/teacher.d.ts +0 -13
- package/dist/SchoolSoft/file/from/index.js +0 -8
- package/dist/SchoolSoft/file/from/index.js.map +0 -1
- package/dist/SchoolSoft/file/from/schedules.js +0 -134
- package/dist/SchoolSoft/file/from/schedules.js.map +0 -1
- package/dist/SchoolSoft/file/index.d.ts +0 -15
- package/dist/SchoolSoft/file/index.js +0 -12
- package/dist/SchoolSoft/file/index.js.map +0 -1
- package/dist/SchoolSoft/file/to/index.d.ts +0 -13
- package/dist/SchoolSoft/file/to/index.js +0 -10
- package/dist/SchoolSoft/file/to/index.js.map +0 -1
- package/dist/SchoolSoft/file/to/schedules.js +0 -107
- package/dist/SchoolSoft/file/to/schedules.js.map +0 -1
- package/dist/SchoolSoft/file/types/events.d.ts +0 -27
- package/dist/SchoolSoft/file/types/index.d.ts +0 -17
- package/dist/SchoolSoft/file/types/persons.d.ts +0 -31
- package/dist/SchoolSoft/index.d.ts +0 -20
- package/dist/SchoolSoft/index.js +0 -14
- package/dist/SchoolSoft/index.js.map +0 -1
- package/dist/Schoolity/index.d.ts +0 -10
- package/dist/Schoolity/index.js +0 -10
- package/dist/Schoolity/index.js.map +0 -1
- package/dist/Schoolity/txt/index.d.ts +0 -10
- package/dist/Schoolity/txt/index.js +0 -10
- package/dist/Schoolity/txt/index.js.map +0 -1
- package/dist/Schoolity/txt/to/index.d.ts +0 -10
- package/dist/Schoolity/txt/to/index.js +0 -10
- package/dist/Schoolity/txt/to/index.js.map +0 -1
- package/dist/Schoolity/txt/to/schedules.js +0 -331
- package/dist/Schoolity/txt/to/schedules.js.map +0 -1
- package/dist/Schoolity/txt/types/index.d.ts +0 -119
- package/dist/Skola24/index.d.ts +0 -13
- package/dist/Skola24/index.js +0 -12
- package/dist/Skola24/index.js.map +0 -1
- package/dist/Skola24/mdb/from/course-and-events.js +0 -241
- package/dist/Skola24/mdb/from/course-and-events.js.map +0 -1
- package/dist/Skola24/mdb/from/groups.js +0 -12
- package/dist/Skola24/mdb/from/groups.js.map +0 -1
- package/dist/Skola24/mdb/from/index.js +0 -8
- package/dist/Skola24/mdb/from/index.js.map +0 -1
- package/dist/Skola24/mdb/from/locations.js +0 -11
- package/dist/Skola24/mdb/from/locations.js.map +0 -1
- package/dist/Skola24/mdb/from/schedule.d.ts +0 -27
- package/dist/Skola24/mdb/from/schedule.js +0 -97
- package/dist/Skola24/mdb/from/schedule.js.map +0 -1
- package/dist/Skola24/mdb/from/teachers.js +0 -11
- package/dist/Skola24/mdb/from/teachers.js.map +0 -1
- package/dist/Skola24/mdb/index.d.ts +0 -12
- package/dist/Skola24/mdb/index.js +0 -10
- package/dist/Skola24/mdb/index.js.map +0 -1
- package/dist/Skola24/mdb/types/Course.d.ts +0 -10
- package/dist/Skola24/mdb/types/Group-group-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Group.d.ts +0 -9
- package/dist/Skola24/mdb/types/Lesson-group-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Lesson-period-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Lesson-room-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Lesson-teacher-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Lesson.d.ts +0 -13
- package/dist/Skola24/mdb/types/Options.d.ts +0 -11
- package/dist/Skola24/mdb/types/Period.d.ts +0 -9
- package/dist/Skola24/mdb/types/Plan-group-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Plan-period-link.d.ts +0 -8
- package/dist/Skola24/mdb/types/Plan-teacher-link.d.ts +0 -10
- package/dist/Skola24/mdb/types/Plan.d.ts +0 -9
- package/dist/Skola24/mdb/types/Room.d.ts +0 -9
- package/dist/Skola24/mdb/types/Schedule.d.ts +0 -39
- package/dist/Skola24/mdb/types/Subject.d.ts +0 -8
- package/dist/Skola24/mdb/types/Teacher.d.ts +0 -10
- package/dist/Skola24/mdb/types/index.d.ts +0 -23
- package/dist/Skola24/txt/from/calendar-exceptions.js +0 -68
- package/dist/Skola24/txt/from/calendar-exceptions.js.map +0 -1
- package/dist/Skola24/txt/from/division.js +0 -44
- package/dist/Skola24/txt/from/division.js.map +0 -1
- package/dist/Skola24/txt/from/index.js +0 -12
- package/dist/Skola24/txt/from/index.js.map +0 -1
- package/dist/Skola24/txt/from/period.js +0 -98
- package/dist/Skola24/txt/from/period.js.map +0 -1
- package/dist/Skola24/txt/from/schedules.d.ts +0 -16
- package/dist/Skola24/txt/from/schedules.js +0 -277
- package/dist/Skola24/txt/from/schedules.js.map +0 -1
- package/dist/Skola24/txt/from/util.js +0 -17
- package/dist/Skola24/txt/from/util.js.map +0 -1
- package/dist/Skola24/txt/index.d.ts +0 -28
- package/dist/Skola24/txt/index.js +0 -12
- package/dist/Skola24/txt/index.js.map +0 -1
- package/dist/Skola24/txt/to/index.d.ts +0 -10
- package/dist/Skola24/txt/to/index.js +0 -10
- package/dist/Skola24/txt/to/index.js.map +0 -1
- package/dist/Skola24/txt/to/schedules.js +0 -297
- package/dist/Skola24/txt/to/schedules.js.map +0 -1
- package/dist/Skola24/txt/types/index.d.ts +0 -141
- package/dist/common/constants.js +0 -8
- package/dist/common/constants.js.map +0 -1
- package/dist/common/functions.js +0 -61
- package/dist/common/functions.js.map +0 -1
- package/dist/common/get-date.js +0 -15
- package/dist/common/get-date.js.map +0 -1
- package/dist/common/make-chainable/index.js +0 -36
- package/dist/common/make-chainable/index.js.map +0 -1
- package/dist/common/types.d.ts +0 -42
- package/dist/core/from/configurations.js +0 -12
- package/dist/core/from/configurations.js.map +0 -1
- package/dist/core/from/courses.js +0 -12
- package/dist/core/from/courses.js.map +0 -1
- package/dist/core/from/events.js +0 -13
- package/dist/core/from/events.js.map +0 -1
- package/dist/core/from/exceptions.js +0 -12
- package/dist/core/from/exceptions.js.map +0 -1
- package/dist/core/from/groups.js +0 -12
- package/dist/core/from/groups.js.map +0 -1
- package/dist/core/from/index.js +0 -23
- package/dist/core/from/index.js.map +0 -1
- package/dist/core/from/locations.js +0 -12
- package/dist/core/from/locations.js.map +0 -1
- package/dist/core/from/locked-times.js +0 -12
- package/dist/core/from/locked-times.js.map +0 -1
- package/dist/core/from/overlap-groups.js +0 -12
- package/dist/core/from/overlap-groups.js.map +0 -1
- package/dist/core/from/periods.js +0 -12
- package/dist/core/from/periods.js.map +0 -1
- package/dist/core/from/persons.js +0 -12
- package/dist/core/from/persons.js.map +0 -1
- package/dist/core/from/root-intervals.js +0 -12
- package/dist/core/from/root-intervals.js.map +0 -1
- package/dist/core/from/schedules.d.ts +0 -7
- package/dist/core/from/schedules.js +0 -38
- package/dist/core/from/schedules.js.map +0 -1
- package/dist/core/from/settings.js +0 -21
- package/dist/core/from/settings.js.map +0 -1
- package/dist/core/from/syllabuses.js +0 -13
- package/dist/core/from/syllabuses.js.map +0 -1
- package/dist/core/from/teachers.js +0 -12
- package/dist/core/from/teachers.js.map +0 -1
- package/dist/core/index.d.ts +0 -37
- package/dist/core/index.js +0 -16
- package/dist/core/index.js.map +0 -1
- package/dist/core/interfaces/index.js +0 -6
- package/dist/core/interfaces/other/companies.d.ts +0 -133
- package/dist/core/interfaces/other/companies.js +0 -9
- package/dist/core/interfaces/other/companies.js.map +0 -1
- package/dist/core/interfaces/other/etc.d.ts +0 -19
- package/dist/core/interfaces/other/integrations.d.ts +0 -17
- package/dist/core/interfaces/other/operations.d.ts +0 -35
- package/dist/core/interfaces/other/policies.d.ts +0 -31
- package/dist/core/interfaces/other/sync-logs.d.ts +0 -21
- package/dist/core/interfaces/other/users.d.ts +0 -35
- package/dist/core/interfaces/vertices/companies.d.ts +0 -7
- package/dist/core/interfaces/vertices/configurations.d.ts +0 -57
- package/dist/core/interfaces/vertices/conversations.d.ts +0 -32
- package/dist/core/interfaces/vertices/courses.d.ts +0 -67
- package/dist/core/interfaces/vertices/division-settings.d.ts +0 -57
- package/dist/core/interfaces/vertices/divisions.d.ts +0 -30
- package/dist/core/interfaces/vertices/events.d.ts +0 -107
- package/dist/core/interfaces/vertices/exceptions.d.ts +0 -73
- package/dist/core/interfaces/vertices/generations.d.ts +0 -21
- package/dist/core/interfaces/vertices/groups.d.ts +0 -52
- package/dist/core/interfaces/vertices/index.d.ts +0 -244
- package/dist/core/interfaces/vertices/index.js +0 -3
- package/dist/core/interfaces/vertices/linked-events-sets.d.ts +0 -18
- package/dist/core/interfaces/vertices/locations.d.ts +0 -21
- package/dist/core/interfaces/vertices/locked-times.d.ts +0 -35
- package/dist/core/interfaces/vertices/messages.d.ts +0 -21
- package/dist/core/interfaces/vertices/overlap-groups.d.ts +0 -16
- package/dist/core/interfaces/vertices/periods.d.ts +0 -14
- package/dist/core/interfaces/vertices/persons.d.ts +0 -31
- package/dist/core/interfaces/vertices/properties/belongs-to.d.ts +0 -10
- package/dist/core/interfaces/vertices/properties/coalesced.d.ts +0 -7
- package/dist/core/interfaces/vertices/properties/days.d.ts +0 -9
- package/dist/core/interfaces/vertices/properties/index.d.ts +0 -15
- package/dist/core/interfaces/vertices/properties/intervals.d.ts +0 -10
- package/dist/core/interfaces/vertices/properties/maximum-schedule-span.d.ts +0 -19
- package/dist/core/interfaces/vertices/properties/min-break-length.d.ts +0 -5
- package/dist/core/interfaces/vertices/properties/planned-scheduled-duration.d.ts +0 -13
- package/dist/core/interfaces/vertices/properties/species.d.ts +0 -9
- package/dist/core/interfaces/vertices/properties/tags.d.ts +0 -9
- package/dist/core/interfaces/vertices/properties/week.d.ts +0 -22
- package/dist/core/interfaces/vertices/properties/week.js +0 -6
- package/dist/core/interfaces/vertices/properties/week.js.map +0 -1
- package/dist/core/interfaces/vertices/root-intervals.d.ts +0 -12
- package/dist/core/interfaces/vertices/syllabuses.d.ts +0 -19
- package/dist/core/interfaces/vertices/teachers.d.ts +0 -42
- package/dist/core/interfaces/vertices/threads.d.ts +0 -32
- package/dist/core/interfaces/vertices/users.d.ts +0 -10
- package/dist/core/interfaces/vertices/util/common.d.ts +0 -28
- package/dist/core/interfaces/vertices/util/custom-vertex-export/assert-no-invalid-expand-keys.d.ts +0 -16
- package/dist/core/interfaces/vertices/util/custom-vertex-export/index.d.ts +0 -34
- package/dist/core/interfaces/vertices/util/custom-vertex-export/util.d.ts +0 -53
- package/dist/core/interfaces/vertices/util/deep-vertex-export/index.d.ts +0 -65
- package/dist/core/interfaces/vertices/util/edges.d.ts +0 -123
- package/dist/core/interfaces/vertices/util/keys-of.d.ts +0 -27
- package/dist/core/interfaces/vertices/util/serialized-vertex-export.d.ts +0 -12
- package/dist/core/interfaces/vertices/util/util.d.ts +0 -84
- package/dist/core/interfaces/vertices/util/vertex-query/index.d.ts +0 -51
- package/dist/core/interfaces/vertices/util/vertex-query/util.d.ts +0 -13
- package/dist/core/interfaces/vertices/util/vertex.d.ts +0 -71
- package/dist/core/interfaces/vertices/vertex-query.d.ts +0 -117
- package/dist/core/interfaces/vertices/vertex-query.js +0 -122
- package/dist/core/interfaces/vertices/vertex-query.js.map +0 -1
- package/dist/core/to/configurations.js +0 -17
- package/dist/core/to/configurations.js.map +0 -1
- package/dist/core/to/courses.js +0 -42
- package/dist/core/to/courses.js.map +0 -1
- package/dist/core/to/division.js +0 -10
- package/dist/core/to/division.js.map +0 -1
- package/dist/core/to/events.js +0 -44
- package/dist/core/to/events.js.map +0 -1
- package/dist/core/to/exceptions.js +0 -30
- package/dist/core/to/exceptions.js.map +0 -1
- package/dist/core/to/groups.js +0 -26
- package/dist/core/to/groups.js.map +0 -1
- package/dist/core/to/index.d.ts +0 -9
- package/dist/core/to/index.js +0 -10
- package/dist/core/to/index.js.map +0 -1
- package/dist/core/to/linked-events-sets.js +0 -18
- package/dist/core/to/linked-events-sets.js.map +0 -1
- package/dist/core/to/locations.js +0 -22
- package/dist/core/to/locations.js.map +0 -1
- package/dist/core/to/locked-times.js +0 -21
- package/dist/core/to/locked-times.js.map +0 -1
- package/dist/core/to/overlap-groups.js +0 -28
- package/dist/core/to/overlap-groups.js.map +0 -1
- package/dist/core/to/periods.js +0 -17
- package/dist/core/to/periods.js.map +0 -1
- package/dist/core/to/persons.js +0 -18
- package/dist/core/to/persons.js.map +0 -1
- package/dist/core/to/root-intervals.js +0 -17
- package/dist/core/to/root-intervals.js.map +0 -1
- package/dist/core/to/schedules.d.ts +0 -48
- package/dist/core/to/schedules.js +0 -44
- package/dist/core/to/schedules.js.map +0 -1
- package/dist/core/to/settings.js +0 -19
- package/dist/core/to/settings.js.map +0 -1
- package/dist/core/to/syllabuses.js +0 -17
- package/dist/core/to/syllabuses.js.map +0 -1
- package/dist/core/to/teachers.js +0 -25
- package/dist/core/to/teachers.js.map +0 -1
- package/dist/core/to/util.d.ts +0 -8
- package/dist/core/to/util.js +0 -25
- package/dist/core/to/util.js.map +0 -1
- package/dist/core/types/common/index.d.ts +0 -8
- package/dist/core/types/common/meta.d.ts +0 -15
- package/dist/core/types/index.d.ts +0 -141
- package/dist/core/util.js +0 -47
- package/dist/core/util.js.map +0 -1
- package/dist/identify/constants/index.d.ts +0 -144
- package/dist/identify/constants/index.js +0 -317
- package/dist/identify/constants/index.js.map +0 -1
- package/dist/identify/index.d.ts +0 -8
- package/dist/identify/index.js +0 -94
- package/dist/identify/index.js.map +0 -1
- package/dist/identify/types/index.d.ts +0 -15
- package/dist/index.d.ts +0 -57
- package/dist/index.js +0 -22
- package/dist/sdui/from/classes.js +0 -8
- package/dist/sdui/from/classes.js.map +0 -1
- package/dist/sdui/from/courses.js +0 -14
- package/dist/sdui/from/courses.js.map +0 -1
- package/dist/sdui/from/holidays.js +0 -8
- package/dist/sdui/from/holidays.js.map +0 -1
- package/dist/sdui/from/hours.js +0 -6
- package/dist/sdui/from/hours.js.map +0 -1
- package/dist/sdui/from/index.js +0 -30
- package/dist/sdui/from/index.js.map +0 -1
- package/dist/sdui/from/lessons.js +0 -23
- package/dist/sdui/from/lessons.js.map +0 -1
- package/dist/sdui/from/rooms.js +0 -11
- package/dist/sdui/from/rooms.js.map +0 -1
- package/dist/sdui/from/schedules.d.ts +0 -19
- package/dist/sdui/from/schedules.js +0 -24
- package/dist/sdui/from/schedules.js.map +0 -1
- package/dist/sdui/from/school-years.js +0 -11
- package/dist/sdui/from/school-years.js.map +0 -1
- package/dist/sdui/from/subjects.js +0 -6
- package/dist/sdui/from/subjects.js.map +0 -1
- package/dist/sdui/from/substitution-plans.js +0 -10
- package/dist/sdui/from/substitution-plans.js.map +0 -1
- package/dist/sdui/from/teachers.js +0 -15
- package/dist/sdui/from/teachers.js.map +0 -1
- package/dist/sdui/index.d.ts +0 -32
- package/dist/sdui/index.js +0 -12
- package/dist/sdui/index.js.map +0 -1
- package/dist/sdui/to/classes.js +0 -10
- package/dist/sdui/to/classes.js.map +0 -1
- package/dist/sdui/to/courses.js +0 -16
- package/dist/sdui/to/courses.js.map +0 -1
- package/dist/sdui/to/holidays.js +0 -16
- package/dist/sdui/to/holidays.js.map +0 -1
- package/dist/sdui/to/hours.js +0 -15
- package/dist/sdui/to/hours.js.map +0 -1
- package/dist/sdui/to/index.d.ts +0 -20
- package/dist/sdui/to/index.js +0 -30
- package/dist/sdui/to/index.js.map +0 -1
- package/dist/sdui/to/lessons.js +0 -24
- package/dist/sdui/to/lessons.js.map +0 -1
- package/dist/sdui/to/rooms.js +0 -13
- package/dist/sdui/to/rooms.js.map +0 -1
- package/dist/sdui/to/schedules.js +0 -26
- package/dist/sdui/to/schedules.js.map +0 -1
- package/dist/sdui/to/school-years.js +0 -18
- package/dist/sdui/to/school-years.js.map +0 -1
- package/dist/sdui/to/subjects.js +0 -8
- package/dist/sdui/to/subjects.js.map +0 -1
- package/dist/sdui/to/substitution-plans.js +0 -49
- package/dist/sdui/to/substitution-plans.js.map +0 -1
- package/dist/sdui/to/teachers.js +0 -20
- package/dist/sdui/to/teachers.js.map +0 -1
- package/dist/sdui/types/classes.d.ts +0 -8
- package/dist/sdui/types/courses.d.ts +0 -12
- package/dist/sdui/types/holidays.d.ts +0 -10
- package/dist/sdui/types/hours.d.ts +0 -10
- package/dist/sdui/types/index.d.ts +0 -31
- package/dist/sdui/types/lessons.d.ts +0 -13
- package/dist/sdui/types/rooms.d.ts +0 -9
- package/dist/sdui/types/schedules.d.ts +0 -27
- package/dist/sdui/types/school-years.d.ts +0 -9
- package/dist/sdui/types/subjects.d.ts +0 -9
- package/dist/sdui/types/substitution-plans.d.ts +0 -30
- package/dist/sdui/types/teachers.d.ts +0 -10
- package/dist/vKlass/from/index.js +0 -8
- package/dist/vKlass/from/index.js.map +0 -1
- package/dist/vKlass/from/schedule.d.ts +0 -23
- package/dist/vKlass/from/schedule.js +0 -71
- package/dist/vKlass/from/schedule.js.map +0 -1
- package/dist/vKlass/index.d.ts +0 -13
- package/dist/vKlass/index.js +0 -12
- package/dist/vKlass/index.js.map +0 -1
- package/dist/vKlass/to/index.d.ts +0 -9
- package/dist/vKlass/to/index.js +0 -10
- package/dist/vKlass/to/index.js.map +0 -1
- package/dist/vKlass/to/schedules.d.ts +0 -14
- package/dist/vKlass/to/schedules.js +0 -93
- package/dist/vKlass/to/schedules.js.map +0 -1
- package/dist/vKlass/types/index.d.ts +0 -53
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { makeChainable } from "../common/make-chainable/index.mjs";
|
|
2
|
+
import { maps } from "./constants/index.mjs";
|
|
3
|
+
import { difference, isEqual, sortBy, uniq } from "lodash-es";
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
|
|
6
|
+
//#region src/identify/index.ts
|
|
7
|
+
function keysOf(docs) {
|
|
8
|
+
return makeChainable(docs).chain((x) => Array.isArray(x) ? x : [x], (x) => x.flatMap((x) => x && typeof x === "object" ? Object.keys(x) : []), (x) => uniq(x)).value;
|
|
9
|
+
}
|
|
10
|
+
function sameMajorStructure(a, b) {
|
|
11
|
+
const normalize = (s) => {
|
|
12
|
+
const m = s.match(/^(.*?)-v?(\d+)(?:\.\d+){0,2}$/i);
|
|
13
|
+
return m ? `${m[1]}-${m[2]}` : s;
|
|
14
|
+
};
|
|
15
|
+
return normalize(a) === normalize(b);
|
|
16
|
+
}
|
|
17
|
+
function identify(schedule) {
|
|
18
|
+
const similarities = {
|
|
19
|
+
none: [],
|
|
20
|
+
weak: [],
|
|
21
|
+
strong: [],
|
|
22
|
+
error: []
|
|
23
|
+
};
|
|
24
|
+
if (!schedule) return similarities;
|
|
25
|
+
const res = z.object({ meta: z.union([z.object({ structure: z.string() }), z.array(z.unknown()).transform((arr) => arr.at(0)).pipe(z.object({ structure: z.string() }))]) }).safeParse(schedule);
|
|
26
|
+
if (res.data) {
|
|
27
|
+
const determined = maps.find((x) => sameMajorStructure(x.meta.structure, res.data.meta.structure));
|
|
28
|
+
if (determined) {
|
|
29
|
+
similarities.determined = determined;
|
|
30
|
+
return similarities;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
const collections = Array.isArray(schedule) ? keysOf(schedule) : Object.keys(schedule);
|
|
34
|
+
if (!collections.length) return similarities;
|
|
35
|
+
maps.forEach((mapping) => {
|
|
36
|
+
const { structure } = mapping;
|
|
37
|
+
try {
|
|
38
|
+
if ("matchType" in mapping && typeof schedule === mapping.matchType) {
|
|
39
|
+
similarities.strong.push(mapping);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (!structure) {
|
|
43
|
+
similarities.none.push(mapping);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const _collections = Array.isArray(structure) ? structure : Object.keys(structure);
|
|
47
|
+
if (Array.isArray(schedule)) {
|
|
48
|
+
if (!Array.isArray(structure)) {
|
|
49
|
+
similarities.none.push(mapping);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (isEqual(sortBy(_collections), sortBy(collections))) {
|
|
53
|
+
similarities.strong.push(mapping);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (difference(sortBy(_collections), sortBy(collections)).length < _collections.length) {
|
|
57
|
+
similarities.weak.push(mapping);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
similarities.none.push(mapping);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (_collections.every((collection) => {
|
|
64
|
+
if (!(schedule && typeof schedule == "object" && collection in schedule)) return false;
|
|
65
|
+
const scheduleKeys = keysOf(schedule[collection]);
|
|
66
|
+
if (!(collection in structure)) return false;
|
|
67
|
+
const structureKeys = structure[collection];
|
|
68
|
+
return scheduleKeys.every((key) => structureKeys.includes(key));
|
|
69
|
+
})) {
|
|
70
|
+
similarities.strong.push(mapping);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (_collections.some((collection) => {
|
|
74
|
+
if (!(schedule && typeof schedule == "object" && collection in schedule)) return false;
|
|
75
|
+
const scheduleKeys = keysOf(schedule[collection]);
|
|
76
|
+
if (!(collection in structure)) return false;
|
|
77
|
+
const structureKeys = structure[collection];
|
|
78
|
+
return scheduleKeys.some((key) => structureKeys.includes(key));
|
|
79
|
+
})) {
|
|
80
|
+
similarities.weak.push(mapping);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
similarities.none.push(mapping);
|
|
84
|
+
} catch {
|
|
85
|
+
similarities.error.push(mapping);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
return similarities;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
//#endregion
|
|
92
|
+
export { identify };
|
|
93
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/identify/index.ts"],"sourcesContent":["import { difference, isEqual, sortBy, uniq } from 'lodash-es';\nimport type { IdentifiedMaps } from './types';\nimport { maps } from './constants';\nimport * as z from 'zod';\nimport { makeChainable } from '../common/make-chainable';\nexport type { MapInstance, MapName, IdentifiedMaps } from './types';\nexport { maps } from './constants';\n\n\nfunction keysOf (docs: unknown): string[] {\n return makeChainable(docs)\n .chain(\n x => Array.isArray(x) ? x as unknown[] : [x],\n x => x.flatMap(x => x && typeof x === 'object' ? Object.keys(x) : []),\n x => uniq(x)\n )\n .value;\n}\n\nfunction sameMajorStructure (a: string, b: string): boolean {\n const normalize = (s: string) => {\n // Matches: \"<prefix>-<major>[.<minor>[.<patch>]]\", optional leading 'v'\n const m = s.match(/^(.*?)-v?(\\d+)(?:\\.\\d+){0,2}$/i);\n return m ? `${m[1]}-${m[2]}` : s;\n };\n return normalize(a) === normalize(b);\n}\n\nexport function identify (schedule: unknown): IdentifiedMaps {\n const similarities: IdentifiedMaps = {\n none: [],\n weak: [],\n strong: [],\n error: [],\n };\n\n if (!schedule) return similarities;\n\n ////\n //// check if the schedule is a meta tagged file and thus identifiable by its structure.\n ////\n const MetaStructure = z.object({\n meta: z.union([\n z.object({\n structure: z.string()\n }),\n z.array(z.unknown())\n .transform(arr => arr.at(0))\n .pipe(z.object({\n structure: z.string()\n }))\n ])\n });\n const res = MetaStructure.safeParse(schedule);\n if (res.data) {\n // structure on the type \"RS/mapName-X.Y.Z\"\n const determined = maps.find(x => sameMajorStructure(x.meta.structure, res.data.meta.structure));\n if (determined) {\n similarities.determined = determined;\n return similarities;\n }\n }\n\n\n ////\n //// not a meta tagged file, so we check the structure.\n ////\n const collections: string[] = Array.isArray(schedule) ? keysOf(schedule) : Object.keys(schedule);\n if (!collections.length) return similarities;\n\n maps.forEach(mapping => {\n const { structure } = mapping;\n\n try {\n if ('matchType' in mapping && typeof schedule === mapping.matchType) {\n similarities.strong.push(mapping);\n return;\n }\n\n if (!structure) {\n similarities.none.push(mapping);\n return;\n }\n\n const _collections = Array.isArray(structure) ? structure : Object.keys(structure);\n\n /*\n is shallow structure .\n */\n if (Array.isArray(schedule)) {\n\n if (!Array.isArray(structure)) {\n similarities.none.push(mapping);\n return;\n }\n\n if (isEqual(sortBy(_collections), sortBy(collections))) {\n similarities.strong.push(mapping);\n return;\n }\n\n if (difference(sortBy(_collections), sortBy(collections)).length < _collections.length) {\n similarities.weak.push(mapping);\n return;\n }\n\n similarities.none.push(mapping);\n return;\n }\n\n /*\n is deep structure .\n */\n\n\n /*\n every key is present in file.\n */\n if (_collections.every(collection => {\n if (!(schedule && typeof schedule == 'object' && collection in schedule)) return false;\n const scheduleKeys = keysOf(schedule[collection as keyof typeof schedule]);\n\n if (!(collection in structure)) return false;\n const structureKeys: string[] = structure[collection as keyof typeof structure] as string[];\n\n return scheduleKeys.every(key => structureKeys.includes(key));\n })) {\n similarities.strong.push(mapping);\n return;\n }\n\n /*\n some keys is present in file.\n */\n if (_collections.some(collection => {\n if (!(schedule && typeof schedule == 'object' && collection in schedule)) return false;\n const scheduleKeys = keysOf(schedule[collection as keyof typeof schedule]);\n\n if (!(collection in structure)) return false;\n const structureKeys: string[] = structure[collection as keyof typeof structure] as string[];\n\n return scheduleKeys.some(key => structureKeys.includes(key));\n })) {\n similarities.weak.push(mapping);\n return;\n }\n\n similarities.none.push(mapping);\n } catch {\n similarities.error.push(mapping);\n }\n });\n\n return similarities;\n}\n"],"mappings":";;;;;;AASA,SAAS,OAAQ,MAAyB;AACxC,QAAO,cAAc,KAAK,CACvB,OACC,MAAK,MAAM,QAAQ,EAAE,GAAG,IAAiB,CAAC,EAAE,GAC5C,MAAK,EAAE,SAAQ,MAAK,KAAK,OAAO,MAAM,WAAW,OAAO,KAAK,EAAE,GAAG,EAAE,CAAC,GACrE,MAAK,KAAK,EAAE,CACb,CACA;;AAGL,SAAS,mBAAoB,GAAW,GAAoB;CAC1D,MAAM,aAAa,MAAc;EAE/B,MAAM,IAAI,EAAE,MAAM,iCAAiC;AACnD,SAAO,IAAI,GAAG,EAAE,GAAG,GAAG,EAAE,OAAO;;AAEjC,QAAO,UAAU,EAAE,KAAK,UAAU,EAAE;;AAGtC,SAAgB,SAAU,UAAmC;CAC3D,MAAM,eAA+B;EACnC,MAAQ,EAAE;EACV,MAAQ,EAAE;EACV,QAAQ,EAAE;EACV,OAAQ,EAAE;EACX;AAED,KAAI,CAAC,SAAU,QAAO;CAiBtB,MAAM,MAZgB,EAAE,OAAO,EAC7B,MAAM,EAAE,MAAM,CACZ,EAAE,OAAO,EACP,WAAW,EAAE,QAAQ,EACtB,CAAC,EACF,EAAE,MAAM,EAAE,SAAS,CAAC,CACjB,WAAU,QAAO,IAAI,GAAG,EAAE,CAAC,CAC3B,KAAK,EAAE,OAAO,EACb,WAAW,EAAE,QAAQ,EACtB,CAAC,CAAC,CACN,CAAC,EACH,CAAC,CACwB,UAAU,SAAS;AAC7C,KAAI,IAAI,MAAM;EAEZ,MAAM,aAAa,KAAK,MAAK,MAAK,mBAAmB,EAAE,KAAK,WAAW,IAAI,KAAK,KAAK,UAAU,CAAC;AAChG,MAAI,YAAY;AACd,gBAAa,aAAa;AAC1B,UAAO;;;CAQX,MAAM,cAAwB,MAAM,QAAQ,SAAS,GAAG,OAAO,SAAS,GAAG,OAAO,KAAK,SAAS;AAChG,KAAI,CAAC,YAAY,OAAQ,QAAO;AAEhC,MAAK,SAAQ,YAAW;EACtB,MAAM,EAAE,cAAc;AAEtB,MAAI;AACF,OAAI,eAAe,WAAW,OAAO,aAAa,QAAQ,WAAW;AACnE,iBAAa,OAAO,KAAK,QAAQ;AACjC;;AAGF,OAAI,CAAC,WAAW;AACd,iBAAa,KAAK,KAAK,QAAQ;AAC/B;;GAGF,MAAM,eAAe,MAAM,QAAQ,UAAU,GAAG,YAAY,OAAO,KAAK,UAAU;AAKlF,OAAI,MAAM,QAAQ,SAAS,EAAE;AAE3B,QAAI,CAAC,MAAM,QAAQ,UAAU,EAAE;AAC7B,kBAAa,KAAK,KAAK,QAAQ;AAC/B;;AAGF,QAAI,QAAQ,OAAO,aAAa,EAAE,OAAO,YAAY,CAAC,EAAE;AACtD,kBAAa,OAAO,KAAK,QAAQ;AACjC;;AAGF,QAAI,WAAW,OAAO,aAAa,EAAE,OAAO,YAAY,CAAC,CAAC,SAAS,aAAa,QAAQ;AACtF,kBAAa,KAAK,KAAK,QAAQ;AAC/B;;AAGF,iBAAa,KAAK,KAAK,QAAQ;AAC/B;;AAWF,OAAI,aAAa,OAAM,eAAc;AACnC,QAAI,EAAE,YAAY,OAAO,YAAY,YAAY,cAAc,UAAW,QAAO;IACjF,MAAM,eAAe,OAAO,SAAS,YAAqC;AAE1E,QAAI,EAAE,cAAc,WAAY,QAAO;IACvC,MAAM,gBAA0B,UAAU;AAE1C,WAAO,aAAa,OAAM,QAAO,cAAc,SAAS,IAAI,CAAC;KAC7D,EAAE;AACF,iBAAa,OAAO,KAAK,QAAQ;AACjC;;AAMF,OAAI,aAAa,MAAK,eAAc;AAClC,QAAI,EAAE,YAAY,OAAO,YAAY,YAAY,cAAc,UAAW,QAAO;IACjF,MAAM,eAAe,OAAO,SAAS,YAAqC;AAE1E,QAAI,EAAE,cAAc,WAAY,QAAO;IACvC,MAAM,gBAA0B,UAAU;AAE1C,WAAO,aAAa,MAAK,QAAO,cAAc,SAAS,IAAI,CAAC;KAC5D,EAAE;AACF,iBAAa,KAAK,KAAK,QAAQ;AAC/B;;AAGF,gBAAa,KAAK,KAAK,QAAQ;UACxB;AACP,gBAAa,MAAM,KAAK,QAAQ;;GAElC;AAEF,QAAO"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { maps } from "../constants/index.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/identify/types/index.d.ts
|
|
4
|
+
type MapInstance = typeof maps[number];
|
|
5
|
+
type MapName = MapInstance['name'];
|
|
6
|
+
type IdentifiedMaps = {
|
|
7
|
+
none: MapInstance[];
|
|
8
|
+
weak: MapInstance[];
|
|
9
|
+
strong: MapInstance[];
|
|
10
|
+
determined?: MapInstance;
|
|
11
|
+
error: MapInstance[];
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { IdentifiedMaps, MapInstance, MapName };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Coalesced } from "./core/interfaces/vertices/properties/coalesced.mjs";
|
|
2
|
+
import { Species } from "./core/interfaces/vertices/properties/species.mjs";
|
|
3
|
+
import { AllWeeks, Week, allWeeks } from "./core/interfaces/vertices/properties/week.mjs";
|
|
4
|
+
import { Day } from "./core/interfaces/vertices/properties/days.mjs";
|
|
5
|
+
import { Interval } from "./core/interfaces/vertices/properties/intervals.mjs";
|
|
6
|
+
import { Tag, TagType } from "./core/interfaces/vertices/properties/tags.mjs";
|
|
7
|
+
import { MaximumScheduleSpan } from "./core/interfaces/vertices/properties/maximum-schedule-span.mjs";
|
|
8
|
+
import { PlannedScheduledDuration } from "./core/interfaces/vertices/properties/planned-scheduled-duration.mjs";
|
|
9
|
+
import { MinBreakLength } from "./core/interfaces/vertices/properties/min-break-length.mjs";
|
|
10
|
+
import { PublicId } from "./core/interfaces/vertices/properties/index.mjs";
|
|
11
|
+
import { CalendarException } from "./core/interfaces/vertices/division-settings.mjs";
|
|
12
|
+
import { Address, AutoSyncConfig, Company, CoplanUsageLimits, GlobalDefaultValues, INACTIVITY_ACTIONS, InactivityAction, InactivitySettings, PublicConfig, TimeRosterSection } from "./core/interfaces/other/companies.mjs";
|
|
13
|
+
import { Integration } from "./core/interfaces/other/integrations.mjs";
|
|
14
|
+
import { User } from "./core/interfaces/other/users.mjs";
|
|
15
|
+
import { Action, Policy, Statement } from "./core/interfaces/other/policies.mjs";
|
|
16
|
+
import { Operation, OperationType, operationType } from "./core/interfaces/other/operations.mjs";
|
|
17
|
+
import { ErrorCode, SyncLog } from "./core/interfaces/other/sync-logs.mjs";
|
|
18
|
+
import { StepGuideProgress } from "./core/interfaces/vertices/divisions.mjs";
|
|
19
|
+
import { CalendarExceptionAction, ExceptionStatus } from "./core/interfaces/vertices/exceptions.mjs";
|
|
20
|
+
import { LockedTimeType } from "./core/interfaces/vertices/locked-times.mjs";
|
|
21
|
+
import { Infer, VertexQuery, createVertexQuery } from "./core/interfaces/vertices/vertex-query.mjs";
|
|
22
|
+
import { Deep, DeepWithoutPrivateId, Mixed, MixedWithOptionalId, Serialized, SerializedWithOptionalId } from "./core/interfaces/vertices/index.mjs";
|
|
23
|
+
import { Types as Types$2 } from "./core/types/index.mjs";
|
|
24
|
+
import { CoreMap } from "./core/index.mjs";
|
|
25
|
+
import { Types as Types$15 } from "./Skola24/txt/types/index.mjs";
|
|
26
|
+
import { Types as Types$14 } from "./Skola24/mdb/types/index.mjs";
|
|
27
|
+
import { Types as Types$3 } from "./Excel/v1/types/index.mjs";
|
|
28
|
+
import { Types as Types$4 } from "./Excel/v2/types/index.mjs";
|
|
29
|
+
import { Types as Types$11 } from "./SchoolSoft/file/types/index.mjs";
|
|
30
|
+
import { Types as Types$10 } from "./SchoolSoft/api/types/index.mjs";
|
|
31
|
+
import { SchoolSoftMap } from "./SchoolSoft/index.mjs";
|
|
32
|
+
import { Types as Types$7 } from "./PlanDigital/types/index.mjs";
|
|
33
|
+
import { PlanDigitalMap } from "./PlanDigital/index.mjs";
|
|
34
|
+
import { Types as Types$1 } from "./Admentum/types/index.mjs";
|
|
35
|
+
import { AdmentumMap } from "./Admentum/index.mjs";
|
|
36
|
+
import { Types as Types$5 } from "./IdunSoft/types/index.mjs";
|
|
37
|
+
import { IdunSoftMap } from "./IdunSoft/index.mjs";
|
|
38
|
+
import { Types as Types$8 } from "./RS/types/index.mjs";
|
|
39
|
+
import { RSMap } from "./RS/index.mjs";
|
|
40
|
+
import { maps } from "./identify/constants/index.mjs";
|
|
41
|
+
import { IdentifiedMaps, MapInstance, MapName } from "./identify/types/index.mjs";
|
|
42
|
+
import { identify } from "./identify/index.mjs";
|
|
43
|
+
import { Types as Types$6 } from "./InfoMentor/types/index.mjs";
|
|
44
|
+
import { InfoMentorMap } from "./InfoMentor/index.mjs";
|
|
45
|
+
import { Skola24Map } from "./Skola24/index.mjs";
|
|
46
|
+
import { Types as Types$13 } from "./sdui/types/index.mjs";
|
|
47
|
+
import { SduiMap } from "./sdui/index.mjs";
|
|
48
|
+
import { Types as Types$9 } from "./SS12000/types/index.mjs";
|
|
49
|
+
import { SS12000Map } from "./SS12000/index.mjs";
|
|
50
|
+
import { vKlassMap } from "./vKlass/index.mjs";
|
|
51
|
+
import { ExcelMap } from "./Excel/index.mjs";
|
|
52
|
+
import { Types as Types$12 } from "./Schoolity/txt/types/index.mjs";
|
|
53
|
+
import { SchoolityMap } from "./Schoolity/index.mjs";
|
|
54
|
+
import { QuiculumMap } from "./Quiculum/index.mjs";
|
|
55
|
+
import { Types } from "./Additio/types/index.mjs";
|
|
56
|
+
import { AdditioMap } from "./Additio/index.mjs";
|
|
57
|
+
export { Action, AdditioMap, Types as AdditioTypes, Address, AdmentumMap, Types$1 as AdmentumTypes, AllWeeks, AutoSyncConfig, CalendarException, CalendarExceptionAction, Coalesced, Company, CoplanUsageLimits, CoreMap, Types$2 as CoreTypes, Day, Deep, DeepWithoutPrivateId, ErrorCode, ExcelMap, Types$3 as ExcelV1Types, Types$4 as ExcelV2Types, ExceptionStatus, GlobalDefaultValues, INACTIVITY_ACTIONS, IdentifiedMaps, IdunSoftMap, Types$5 as IdunSoftTypes, InactivityAction, InactivitySettings, Infer, InfoMentorMap, Types$6 as InfoMentorTypes, Integration, Interval, LockedTimeType, MapInstance, MapName, MaximumScheduleSpan, MinBreakLength, Mixed, MixedWithOptionalId, Operation, OperationType, PlanDigitalMap, Types$7 as PlanDigitalTypes, PlannedScheduledDuration, Policy, PublicConfig, PublicId, QuiculumMap, RSMap, Types$8 as RSTypes, SS12000Map, Types$9 as SS12000Types, Types$10 as SchoolSoftApiTypes, Types$11 as SchoolSoftFileTypes, SchoolSoftMap, SchoolityMap, Types$12 as SchoolityTXTTypes, SduiMap, Types$13 as SduiTypes, Serialized, SerializedWithOptionalId, Types$14 as Skola24MDBTypes, Skola24Map, Types$15 as Skola24TXTTypes, Species, Statement, StepGuideProgress, SyncLog, Tag, TagType, TimeRosterSection, User, VertexQuery, Week, allWeeks, createVertexQuery, identify, maps, operationType, vKlassMap };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createVertexQuery } from "./core/interfaces/vertices/vertex-query.mjs";
|
|
2
|
+
import { allWeeks } from "./core/interfaces/vertices/properties/week.mjs";
|
|
3
|
+
import { INACTIVITY_ACTIONS } from "./core/interfaces/other/companies.mjs";
|
|
4
|
+
import { CoreMap } from "./core/index.mjs";
|
|
5
|
+
import { SchoolSoftMap } from "./SchoolSoft/index.mjs";
|
|
6
|
+
import { PlanDigitalMap } from "./PlanDigital/index.mjs";
|
|
7
|
+
import { AdmentumMap } from "./Admentum/index.mjs";
|
|
8
|
+
import { IdunSoftMap } from "./IdunSoft/index.mjs";
|
|
9
|
+
import { Skola24Map } from "./Skola24/index.mjs";
|
|
10
|
+
import { RSMap } from "./RS/index.mjs";
|
|
11
|
+
import { ExcelMap } from "./Excel/index.mjs";
|
|
12
|
+
import { maps } from "./identify/constants/index.mjs";
|
|
13
|
+
import { identify } from "./identify/index.mjs";
|
|
14
|
+
import { InfoMentorMap } from "./InfoMentor/index.mjs";
|
|
15
|
+
import { SduiMap } from "./sdui/index.mjs";
|
|
16
|
+
import { SS12000Map } from "./SS12000/index.mjs";
|
|
17
|
+
import { vKlassMap } from "./vKlass/index.mjs";
|
|
18
|
+
import { SchoolityMap } from "./Schoolity/index.mjs";
|
|
19
|
+
import { QuiculumMap } from "./Quiculum/index.mjs";
|
|
20
|
+
import { AdditioMap } from "./Additio/index.mjs";
|
|
21
|
+
|
|
22
|
+
export { AdditioMap, AdmentumMap, CoreMap, ExcelMap, INACTIVITY_ACTIONS, IdunSoftMap, InfoMentorMap, PlanDigitalMap, QuiculumMap, RSMap, SS12000Map, SchoolSoftMap, SchoolityMap, SduiMap, Skola24Map, allWeeks, createVertexQuery, identify, maps, vKlassMap };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classes.mjs","names":[],"sources":["../../../src/sdui/from/classes.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n group: SduiTypes.classes\n): OutTypes.group => {\n return {\n ids: group.id\n };\n};\n"],"mappings":";AAGA,uBACE,UACmB;AACnB,QAAO,EACL,KAAK,MAAM,IACZ"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/sdui/from/courses.ts
|
|
2
|
+
var courses_default = (course) => {
|
|
3
|
+
return {
|
|
4
|
+
ids: course.id,
|
|
5
|
+
displayName: course.name,
|
|
6
|
+
color: course.color,
|
|
7
|
+
teachers: course.teachers.map((to) => ({ to })),
|
|
8
|
+
groups: course.classes.map((to) => ({ to }))
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { courses_default as default };
|
|
14
|
+
//# sourceMappingURL=courses.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"courses.mjs","names":[],"sources":["../../../src/sdui/from/courses.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n course: SduiTypes.course\n): OutTypes.course => {\n return {\n ids: course.id,\n displayName: course.name,\n color: course.color,\n teachers: course.teachers.map(to => ({ to })),\n groups: course.classes .map(to => ({ to })),\n };\n};\n"],"mappings":";AAGA,uBACE,WACoB;AACpB,QAAO;EACL,KAAa,OAAO;EACpB,aAAa,OAAO;EACpB,OAAa,OAAO;EACpB,UAAa,OAAO,SAAS,KAAI,QAAO,EAAE,IAAI,EAAE;EAChD,QAAa,OAAO,QAAS,KAAI,QAAO,EAAE,IAAI,EAAE;EACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"holidays.mjs","names":[],"sources":["../../../src/sdui/from/holidays.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n holiday: SduiTypes.holiday\n): OutTypes.exception => {\n return {\n // ids: holiday.id\n };\n};\n"],"mappings":";AAGA,wBACE,YACuB;AACvB,QAAO,EAEN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hours.mjs","names":[],"sources":["../../../src/sdui/from/hours.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\n\nexport default (\n hour: SduiTypes.hour\n): void => {\n\n};\n"],"mappings":";AAEA,qBACE,SACS"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import classes_default from "./classes.mjs";
|
|
2
|
+
import courses_default from "./courses.mjs";
|
|
3
|
+
import lessons_default from "./lessons.mjs";
|
|
4
|
+
import rooms_default from "./rooms.mjs";
|
|
5
|
+
import school_years_default from "./school-years.mjs";
|
|
6
|
+
import substitution_plans_default from "./substitution-plans.mjs";
|
|
7
|
+
import teachers_default from "./teachers.mjs";
|
|
8
|
+
import schedules_default from "./schedules.mjs";
|
|
9
|
+
import hours_default from "./hours.mjs";
|
|
10
|
+
import subjects_default from "./subjects.mjs";
|
|
11
|
+
import holidays_default from "./holidays.mjs";
|
|
12
|
+
|
|
13
|
+
//#region src/sdui/from/index.ts
|
|
14
|
+
var from_default = {
|
|
15
|
+
schedules: schedules_default,
|
|
16
|
+
hours: hours_default,
|
|
17
|
+
substitutionPlans: substitution_plans_default,
|
|
18
|
+
classes: classes_default,
|
|
19
|
+
teachers: teachers_default,
|
|
20
|
+
subjects: subjects_default,
|
|
21
|
+
rooms: rooms_default,
|
|
22
|
+
courses: courses_default,
|
|
23
|
+
lessons: lessons_default,
|
|
24
|
+
holidays: holidays_default,
|
|
25
|
+
schoolYears: school_years_default
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { from_default as default };
|
|
30
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["_schedules","_hours","_substitutionPlans","_classes","_teachers","_subjects","_rooms","_courses","_lessons","_holidays","_schoolYears"],"sources":["../../../src/sdui/from/index.ts"],"sourcesContent":["import _schedules from './schedules';\nimport _hours from './hours';\nimport _substitutionPlans from './substitution-plans';\nimport _classes from './classes';\nimport _teachers from './teachers';\nimport _subjects from './subjects';\nimport _rooms from './rooms';\nimport _courses from './courses';\nimport _lessons from './lessons';\nimport _holidays from './holidays';\nimport _schoolYears from './school-years';\n\nexport default {\n schedules: _schedules,\n hours: _hours,\n substitutionPlans: _substitutionPlans,\n classes: _classes,\n teachers: _teachers,\n subjects: _subjects,\n rooms: _rooms,\n courses: _courses,\n lessons: _lessons,\n holidays: _holidays,\n schoolYears: _schoolYears\n};"],"mappings":";;;;;;;;;;;;;AAYA,mBAAe;CACb,WAAmBA;CACnB,OAAmBC;CACnB,mBAAmBC;CACnB,SAAmBC;CACnB,UAAmBC;CACnB,UAAmBC;CACnB,OAAmBC;CACnB,SAAmBC;CACnB,SAAmBC;CACnB,UAAmBC;CACnB,aAAmBC;CACpB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/sdui/from/lessons.ts
|
|
2
|
+
var lessons_default = (lesson) => {
|
|
3
|
+
const start = lesson.begins_at;
|
|
4
|
+
const end = lesson.ends_at;
|
|
5
|
+
const duration = Math.floor((new Date(end).getTime() - new Date(start).getTime()) / 6e4);
|
|
6
|
+
return {
|
|
7
|
+
ids: lesson.id,
|
|
8
|
+
course: lesson.course_id,
|
|
9
|
+
start: lesson.begins_at,
|
|
10
|
+
end: lesson.ends_at,
|
|
11
|
+
preferredDuration: duration,
|
|
12
|
+
locations: lesson.rooms?.map((to, i) => ({
|
|
13
|
+
locations: [to],
|
|
14
|
+
groupIndex: i
|
|
15
|
+
})),
|
|
16
|
+
teachers: lesson.teachers?.map((to) => ({ to })),
|
|
17
|
+
groups: lesson.classes.map((to) => ({ to }))
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { lessons_default as default };
|
|
23
|
+
//# sourceMappingURL=lessons.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lessons.mjs","names":[],"sources":["../../../src/sdui/from/lessons.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n lesson: SduiTypes.lesson\n): OutTypes.event => {\n const start = lesson.begins_at;\n const end = lesson.ends_at;\n const duration = Math.floor((new Date(end).getTime() - new Date(start).getTime()) / 60000); // in minutes\n\n return {\n ids: lesson.id,\n course: lesson.course_id,\n start: lesson.begins_at,\n end: lesson.ends_at,\n preferredDuration: duration,\n locations: lesson.rooms?.map((to, i) => ({ locations: [to], groupIndex: i })),\n teachers: lesson.teachers?.map(to => ({ to })),\n groups: lesson.classes.map(to => ({ to })),\n };\n};"],"mappings":";AAGA,uBACE,WACmB;CACnB,MAAM,QAAW,OAAO;CACxB,MAAM,MAAW,OAAO;CACxB,MAAM,WAAW,KAAK,OAAO,IAAI,KAAK,IAAI,CAAC,SAAS,GAAG,IAAI,KAAK,MAAM,CAAC,SAAS,IAAI,IAAM;AAE1F,QAAO;EACL,KAAmB,OAAO;EAC1B,QAAmB,OAAO;EAC1B,OAAmB,OAAO;EAC1B,KAAmB,OAAO;EAC1B,mBAAmB;EACnB,WAAmB,OAAO,OAAO,KAAK,IAAI,OAAO;GAAE,WAAW,CAAC,GAAG;GAAE,YAAY;GAAG,EAAE;EACrF,UAAmB,OAAO,UAAU,KAAI,QAAO,EAAE,IAAI,EAAE;EACvD,QAAmB,OAAO,QAAQ,KAAI,QAAO,EAAE,IAAI,EAAE;EACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rooms.mjs","names":[],"sources":["../../../src/sdui/from/rooms.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n room: SduiTypes.room\n): OutTypes.location => {\n return {\n ids: room.id,\n displayName: room.name,\n };\n};\n"],"mappings":";AAGA,qBACE,SACsB;AACtB,QAAO;EACL,KAAa,KAAK;EAClB,aAAa,KAAK;EACnB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InternalIdKey } from "../../core/types/common/index.mjs";
|
|
2
|
+
import { Types } from "../../core/types/index.mjs";
|
|
3
|
+
import "../../core/index.mjs";
|
|
4
|
+
import "../types/index.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/sdui/from/schedules.d.ts
|
|
7
|
+
declare namespace OutTypes {
|
|
8
|
+
type division = Pick<Types.Serialized.Division, 'start' | 'end'>;
|
|
9
|
+
type group = Omit<Types.Serialized.Group, InternalIdKey>;
|
|
10
|
+
type person = Omit<Types.Serialized.Person, InternalIdKey>;
|
|
11
|
+
type teacher = Omit<Types.Serialized.Teacher, InternalIdKey | 'person'> & {
|
|
12
|
+
person: OutTypes.person;
|
|
13
|
+
};
|
|
14
|
+
type location = Omit<Types.Serialized.Location, InternalIdKey>;
|
|
15
|
+
type course = Omit<Types.Serialized.Course, InternalIdKey>;
|
|
16
|
+
type event = Omit<Types.Serialized.Event, InternalIdKey>;
|
|
17
|
+
type exception = Omit<Types.Serialized.Exception, InternalIdKey>;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { OutTypes };
|
|
21
|
+
//# sourceMappingURL=schedules.d.mts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import classes_default from "./classes.mjs";
|
|
2
|
+
import courses_default from "./courses.mjs";
|
|
3
|
+
import lessons_default from "./lessons.mjs";
|
|
4
|
+
import rooms_default from "./rooms.mjs";
|
|
5
|
+
import school_years_default from "./school-years.mjs";
|
|
6
|
+
import substitution_plans_default from "./substitution-plans.mjs";
|
|
7
|
+
import teachers_default from "./teachers.mjs";
|
|
8
|
+
|
|
9
|
+
//#region src/sdui/from/schedules.ts
|
|
10
|
+
var schedules_default = (schedule) => {
|
|
11
|
+
return {
|
|
12
|
+
divisions: school_years_default(schedule.schoolYear),
|
|
13
|
+
groups: schedule.classes?.map(classes_default) ?? [],
|
|
14
|
+
teachers: schedule.teachers?.map(teachers_default) ?? [],
|
|
15
|
+
locations: schedule.rooms?.map(rooms_default) ?? [],
|
|
16
|
+
courses: schedule.courses?.map(courses_default) ?? [],
|
|
17
|
+
events: schedule.lessons?.map(lessons_default) ?? [],
|
|
18
|
+
exceptions: substitution_plans_default(schedule.substitution_plan)
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { schedules_default as default };
|
|
24
|
+
//# sourceMappingURL=schedules.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedules.mjs","names":["_schoolYears","_classes","_teachers","_rooms","_courses","_lessons","_substitutionPlans"],"sources":["../../../src/sdui/from/schedules.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { CoreTypes } from '../../core';\nimport _classes from './classes';\nimport _courses from './courses';\nimport _lessons from './lessons';\nimport _rooms from './rooms';\nimport _schoolYears from './school-years';\nimport _substitutionPlans from './substitution-plans';\nimport _teachers from './teachers';\nimport type { InternalIdKey } from '../../core/types/common';\n\nexport namespace OutTypes {\n export type division = Pick<CoreTypes.Serialized.Division, 'start' | 'end'>;\n export type group = Omit<CoreTypes.Serialized.Group, InternalIdKey>;\n export type person = Omit<CoreTypes.Serialized.Person, InternalIdKey>;\n export type teacher = Omit<CoreTypes.Serialized.Teacher, InternalIdKey | 'person'> & { person: OutTypes.person };\n export type location = Omit<CoreTypes.Serialized.Location, InternalIdKey>;\n export type course = Omit<CoreTypes.Serialized.Course, InternalIdKey>;\n export type event = Omit<CoreTypes.Serialized.Event, InternalIdKey>;\n export type exception = Omit<CoreTypes.Serialized.Exception, InternalIdKey>;\n}\n\ntype Out = {\n divisions: OutTypes.division;\n groups: OutTypes.group[];\n teachers: OutTypes.teacher[];\n locations: OutTypes.location[];\n courses: OutTypes.course[];\n events: OutTypes.event[];\n exceptions: OutTypes.exception[];\n};\n\nexport default (schedule: SduiTypes.schedule): Out => {\n return {\n divisions: _schoolYears(schedule.schoolYear),\n groups: schedule.classes ?.map(_classes) ?? [],\n teachers: schedule.teachers?.map(_teachers) ?? [],\n locations: schedule.rooms ?.map(_rooms) ?? [],\n courses: schedule.courses ?.map(_courses) ?? [],\n events: schedule.lessons ?.map(_lessons) ?? [],\n exceptions: _substitutionPlans(schedule.substitution_plan),\n // settings: schedule.hours?.map(_hours)[0] ?? {},\n // holidays: schedule.holidays?.map(_holidays),\n // subjects: schedule.subjects?.map(_subjects),\n };\n};"],"mappings":";;;;;;;;;AAgCA,yBAAgB,aAAsC;AACpD,QAAO;EACL,WAAYA,qBAAa,SAAS,WAAW;EAC7C,QAAY,SAAS,SAAU,IAAIC,gBAAS,IAAK,EAAE;EACnD,UAAY,SAAS,UAAU,IAAIC,iBAAU,IAAI,EAAE;EACnD,WAAY,SAAS,OAAU,IAAIC,cAAO,IAAO,EAAE;EACnD,SAAY,SAAS,SAAU,IAAIC,gBAAS,IAAK,EAAE;EACnD,QAAY,SAAS,SAAU,IAAIC,gBAAS,IAAK,EAAE;EACnD,YAAYC,2BAAmB,SAAS,kBAAkB;EAI3D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/sdui/from/school-years.ts
|
|
2
|
+
var school_years_default = (schoolYear) => {
|
|
3
|
+
return {
|
|
4
|
+
start: schoolYear.begins_at,
|
|
5
|
+
end: schoolYear.ends_at
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { school_years_default as default };
|
|
11
|
+
//# sourceMappingURL=school-years.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"school-years.mjs","names":[],"sources":["../../../src/sdui/from/school-years.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n schoolYear: SduiTypes.schoolYear\n): OutTypes.division => {\n return {\n start: schoolYear.begins_at,\n end: schoolYear.ends_at\n };\n};\n"],"mappings":";AAGA,4BACE,eACsB;AACtB,QAAO;EACL,OAAO,WAAW;EAClB,KAAO,WAAW;EACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subjects.mjs","names":[],"sources":["../../../src/sdui/from/subjects.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\n\nexport default (\n subject: SduiTypes.subject\n): void => {\n\n};\n"],"mappings":";AAEA,wBACE,YACS"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/sdui/from/substitution-plans.ts
|
|
2
|
+
var substitution_plans_default = (substitutionPlan) => {
|
|
3
|
+
if (!substitutionPlan) return [];
|
|
4
|
+
const { cancellations, lesson_changes, additionals } = substitutionPlan;
|
|
5
|
+
return [];
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { substitution_plans_default as default };
|
|
10
|
+
//# sourceMappingURL=substitution-plans.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"substitution-plans.mjs","names":[],"sources":["../../../src/sdui/from/substitution-plans.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n substitutionPlan?: SduiTypes.substitutionPlan\n): OutTypes.exception[] => {\n if (!substitutionPlan) return [];\n\n const {\n cancellations,\n lesson_changes,\n additionals\n } = substitutionPlan;\n\n return [\n // ...cancellations.map(\n // cancellation => ({\n // ids: cancellation.id\n // })\n // ),\n // ...lesson_changes.map(\n // lesson_change => ({\n // ids: lesson_change.id\n // })\n // ),\n // ...additionals.map(\n // additional => ({\n // ids: additional.id\n // })\n // )\n ];\n};"],"mappings":";AAGA,kCACE,qBACyB;AACzB,KAAI,CAAC,iBAAkB,QAAO,EAAE;CAEhC,MAAM,EACJ,eACA,gBACA,gBACE;AAEJ,QAAO,EAgBN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/sdui/from/teachers.ts
|
|
2
|
+
var teachers_default = (teacher) => {
|
|
3
|
+
return {
|
|
4
|
+
ids: teacher.id,
|
|
5
|
+
displayName: teacher.shortcut,
|
|
6
|
+
person: {
|
|
7
|
+
lastName: teacher.firstname,
|
|
8
|
+
firstName: teacher.lastname
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { teachers_default as default };
|
|
15
|
+
//# sourceMappingURL=teachers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teachers.mjs","names":[],"sources":["../../../src/sdui/from/teachers.ts"],"sourcesContent":["import type { Types as SduiTypes } from '../types';\nimport type { OutTypes } from './schedules';\n\nexport default (\n teacher: SduiTypes.teacher\n): OutTypes.teacher => {\n return {\n ids: teacher.id,\n displayName: teacher.shortcut,\n person: {\n lastName: teacher.firstname,\n firstName: teacher.lastname\n }\n };\n};\n"],"mappings":";AAGA,wBACE,YACqB;AACrB,QAAO;EACL,KAAa,QAAQ;EACrB,aAAa,QAAQ;EACrB,QAAa;GACX,UAAW,QAAQ;GACnB,WAAW,QAAQ;GACpB;EACF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Types } from "./types/index.mjs";
|
|
2
|
+
import { OutTypes } from "./from/schedules.mjs";
|
|
3
|
+
import { export_default } from "./to/index.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/sdui/index.d.ts
|
|
6
|
+
declare class SduiMap {
|
|
7
|
+
static from: {
|
|
8
|
+
schedules: (schedule: Types.schedule) => {
|
|
9
|
+
divisions: OutTypes.division;
|
|
10
|
+
groups: OutTypes.group[];
|
|
11
|
+
teachers: OutTypes.teacher[];
|
|
12
|
+
locations: OutTypes.location[];
|
|
13
|
+
courses: OutTypes.course[];
|
|
14
|
+
events: OutTypes.event[];
|
|
15
|
+
exceptions: OutTypes.exception[];
|
|
16
|
+
};
|
|
17
|
+
hours: (hour: Types.hour) => void;
|
|
18
|
+
substitutionPlans: (substitutionPlan?: Types.substitutionPlan) => OutTypes.exception[];
|
|
19
|
+
classes: (group: Types.classes) => OutTypes.group;
|
|
20
|
+
teachers: (teacher: Types.teacher) => OutTypes.teacher;
|
|
21
|
+
subjects: (subject: Types.subject) => void;
|
|
22
|
+
rooms: (room: Types.room) => OutTypes.location;
|
|
23
|
+
courses: (course: Types.course) => OutTypes.course;
|
|
24
|
+
lessons: (lesson: Types.lesson) => OutTypes.event;
|
|
25
|
+
holidays: (holiday: Types.holiday) => OutTypes.exception;
|
|
26
|
+
schoolYears: (schoolYear: Types.schoolYear) => OutTypes.division;
|
|
27
|
+
};
|
|
28
|
+
static to: typeof export_default;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { SduiMap };
|
|
32
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import from_default from "./from/index.mjs";
|
|
2
|
+
import to_default from "./to/index.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/sdui/index.ts
|
|
5
|
+
var SduiMap = class {
|
|
6
|
+
static from = from_default;
|
|
7
|
+
static to = to_default;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { SduiMap };
|
|
12
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["_from","_to"],"sources":["../../src/sdui/index.ts"],"sourcesContent":["import _from from './from';\nimport _to from './to';\nimport type { Types } from './types';\n\nexport class SduiMap {\n static from = _from;\n static to = _to;\n}\n\nexport { Types as SduiTypes };"],"mappings":";;;;AAIA,IAAa,UAAb,MAAqB;CACnB,OAAO,OAAOA;CACd,OAAO,KAAOC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getVertexId } from "../../core/util.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/sdui/to/classes.ts
|
|
4
|
+
var classes_default = (group, options) => {
|
|
5
|
+
return { id: getVertexId(group, options) };
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { classes_default as default };
|
|
10
|
+
//# sourceMappingURL=classes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classes.mjs","names":[],"sources":["../../../src/sdui/to/classes.ts"],"sourcesContent":["import { getVertexId } from '../../core/util';\nimport type { CoreTypes } from '../../core';\nimport type { Types as SduiTypes } from '../types';\n\nexport default (\n group: CoreTypes.Mixed.Group,\n options: SduiTypes.options\n): SduiTypes.classes => {\n return {\n id: getVertexId(group, options),\n };\n};\n"],"mappings":";;;AAIA,uBACE,OACA,YACsB;AACtB,QAAO,EACL,IAAI,YAAY,OAAO,QAAQ,EAChC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getVertexId } from "../../core/util.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/sdui/to/courses.ts
|
|
4
|
+
var courses_default = (course, options) => {
|
|
5
|
+
return {
|
|
6
|
+
id: getVertexId(course, options),
|
|
7
|
+
name: course.displayName,
|
|
8
|
+
color: course.color,
|
|
9
|
+
teachers: (course.teachers ?? []).map((x) => getVertexId(x.to, options)),
|
|
10
|
+
classes: (course.groups ?? []).map((x) => getVertexId(x.to, options))
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { courses_default as default };
|
|
16
|
+
//# sourceMappingURL=courses.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"courses.mjs","names":[],"sources":["../../../src/sdui/to/courses.ts"],"sourcesContent":["import { getVertexId } from '../../core/util';\nimport type { CoreTypes } from '../../core';\nimport type { Types as SduiTypes } from '../types';\n\nexport default (\n course: CoreTypes.Mixed.Course,\n options: SduiTypes.options\n): SduiTypes.course => {\n return {\n id: getVertexId(course, options),\n name: course.displayName,\n color: course.color,\n teachers: (course.teachers ?? []).map(x => getVertexId(x.to, options)),\n classes: (course.groups ?? []).map(x => getVertexId(x.to, options)),\n };\n};"],"mappings":";;;AAIA,uBACE,QACA,YACqB;AACrB,QAAO;EACL,IAAU,YAAY,QAAQ,QAAQ;EACtC,MAAU,OAAO;EACjB,OAAU,OAAO;EACjB,WAAW,OAAO,YAAY,EAAE,EAAE,KAAI,MAAK,YAAY,EAAE,IAAI,QAAQ,CAAC;EACtE,UAAW,OAAO,UAAY,EAAE,EAAE,KAAI,MAAK,YAAY,EAAE,IAAI,QAAQ,CAAC;EACvE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { toISOString } from "../../common/functions.mjs";
|
|
2
|
+
import { getVertexId } from "../../core/util.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/sdui/to/holidays.ts
|
|
5
|
+
var holidays_default = (exception, options) => {
|
|
6
|
+
return {
|
|
7
|
+
id: getVertexId(exception, options),
|
|
8
|
+
name: exception.description ?? "",
|
|
9
|
+
begins_at: toISOString(exception.start),
|
|
10
|
+
ends_at: toISOString(exception.end)
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { holidays_default as default };
|
|
16
|
+
//# sourceMappingURL=holidays.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"holidays.mjs","names":[],"sources":["../../../src/sdui/to/holidays.ts"],"sourcesContent":["import { getVertexId } from '../../core/util';\nimport type { CoreTypes } from '../../core';\nimport type { Types as SduiTypes } from '../types';\nimport { toISOString } from '../../common/functions';\n\nexport default (\n exception: CoreTypes.Mixed.Exception,\n options: SduiTypes.options\n): SduiTypes.holiday => {\n return {\n id: getVertexId(exception, options),\n name: exception.description ?? '',\n begins_at: toISOString(exception.start)!,\n ends_at: toISOString(exception.end)!,\n };\n};\n"],"mappings":";;;;AAKA,wBACE,WACA,YACsB;AACtB,QAAO;EACL,IAAW,YAAY,WAAW,QAAQ;EAC1C,MAAW,UAAU,eAAe;EACpC,WAAW,YAAY,UAAU,MAAM;EACvC,SAAW,YAAY,UAAU,IAAI;EACtC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getVertexId } from "../../core/util.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/sdui/to/hours.ts
|
|
4
|
+
var hours_default = (settings, options) => {
|
|
5
|
+
return {
|
|
6
|
+
id: getVertexId(settings, options),
|
|
7
|
+
name: "",
|
|
8
|
+
time_begins_at: settings.dayStart,
|
|
9
|
+
time_ends_at: settings.dayEnd
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { hours_default as default };
|
|
15
|
+
//# sourceMappingURL=hours.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hours.mjs","names":[],"sources":["../../../src/sdui/to/hours.ts"],"sourcesContent":["import { getVertexId } from '../../core/util';\nimport type { CoreTypes } from '../../core';\nimport type { Types as SduiTypes } from '../types';\n\nexport default (\n settings: CoreTypes.Mixed.Settings,\n options: SduiTypes.options\n): SduiTypes.hour => {\n return {\n id: getVertexId(settings, options),\n name: '',\n time_begins_at: settings.dayStart,\n time_ends_at: settings.dayEnd,\n };\n};\n"],"mappings":";;;AAIA,qBACE,UACA,YACmB;AACnB,QAAO;EACL,IAAgB,YAAY,UAAU,QAAQ;EAC9C,MAAgB;EAChB,gBAAgB,SAAS;EACzB,cAAgB,SAAS;EAC1B"}
|