@royalschedule/maps 3.2.49 → 3.2.51
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/RS/v3/to/index.d.ts +3 -1
- package/dist/RS/v3/to/schedules.d.ts +3 -1
- package/dist/core/v2/from/courses.d.ts +1 -1
- package/dist/core/v2/from/schedules.d.ts +1 -1
- package/dist/core/v2/to/courses.d.ts +2 -2
- package/dist/core/v2/to/courses.js +6 -3
- package/dist/core/v2/to/courses.js.map +1 -1
- package/dist/core/v2/to/schedules.d.ts +4 -2
- package/dist/core/v2/to/schedules.js +13 -9
- package/dist/core/v2/to/schedules.js.map +1 -1
- package/dist/core/v2/to/syllabuses.d.ts +5 -0
- package/dist/core/v2/to/syllabuses.js +12 -0
- package/dist/core/v2/to/syllabuses.js.map +1 -0
- package/dist/core/v2/types/schedules.d.ts +4 -2
- package/package.json +1 -1
- package/dist/NovaSchem/from/index.d.ts +0 -3
- package/dist/NovaSchem/from/index.js +0 -38
- package/dist/NovaSchem/from/index.js.map +0 -1
- package/dist/NovaSchem/from/schedules.d.ts +0 -3
- package/dist/NovaSchem/from/schedules.js +0 -295
- package/dist/NovaSchem/from/schedules.js.map +0 -1
- package/dist/NovaSchem/index.d.ts +0 -6
- package/dist/NovaSchem/index.js +0 -40
- package/dist/NovaSchem/index.js.map +0 -1
- package/dist/NovaSchem/to/index.d.ts +0 -3
- package/dist/NovaSchem/to/index.js +0 -38
- package/dist/NovaSchem/to/index.js.map +0 -1
- package/dist/NovaSchem/to/schedules.d.ts +0 -3
- package/dist/NovaSchem/to/schedules.js +0 -301
- package/dist/NovaSchem/to/schedules.js.map +0 -1
- package/dist/NovaSchem/types/index.d.ts +0 -93
- package/dist/NovaSchem/types/index.js +0 -6
- package/dist/NovaSchem/types/index.js.map +0 -1
- package/dist/RS/v3/from/available-dependencies.d.ts +0 -3
- package/dist/RS/v3/from/available-dependencies.js +0 -97
- package/dist/RS/v3/from/available-dependencies.js.map +0 -1
- package/dist/RS/v3/from/break-lengths.d.ts +0 -3
- package/dist/RS/v3/from/break-lengths.js +0 -20
- package/dist/RS/v3/from/break-lengths.js.map +0 -1
- package/dist/RS/v3/from/collections.d.ts +0 -4
- package/dist/RS/v3/from/collections.js +0 -12
- package/dist/RS/v3/from/collections.js.map +0 -1
- package/dist/RS/v3/from/course-events.d.ts +0 -5
- package/dist/RS/v3/from/course-events.js +0 -14
- package/dist/RS/v3/from/course-events.js.map +0 -1
- package/dist/RS/v3/from/days.d.ts +0 -4
- package/dist/RS/v3/from/days.js +0 -22
- package/dist/RS/v3/from/days.js.map +0 -1
- package/dist/RS/v3/from/dependencies.d.ts +0 -6
- package/dist/RS/v3/from/dependencies.js +0 -97
- package/dist/RS/v3/from/dependencies.js.map +0 -1
- package/dist/RS/v3/from/groups.d.ts +0 -5
- package/dist/RS/v3/from/groups.js +0 -103
- package/dist/RS/v3/from/groups.js.map +0 -1
- package/dist/RS/v3/from/individuals.d.ts +0 -4
- package/dist/RS/v3/from/individuals.js +0 -12
- package/dist/RS/v3/from/individuals.js.map +0 -1
- package/dist/RS/v3/from/intervals.d.ts +0 -4
- package/dist/RS/v3/from/intervals.js +0 -28
- package/dist/RS/v3/from/intervals.js.map +0 -1
- package/dist/RS/v3/from/locked-times.d.ts +0 -4
- package/dist/RS/v3/from/locked-times.js +0 -28
- package/dist/RS/v3/from/locked-times.js.map +0 -1
- package/dist/RS/v3/from/placements.d.ts +0 -7
- package/dist/RS/v3/from/placements.js +0 -39
- package/dist/RS/v3/from/placements.js.map +0 -1
- package/dist/RS/v3/from/settings.d.ts +0 -6
- package/dist/RS/v3/from/settings.js +0 -39
- package/dist/RS/v3/from/settings.js.map +0 -1
- package/dist/RS/v3/from/teachers.d.ts +0 -5
- package/dist/RS/v3/from/teachers.js +0 -101
- package/dist/RS/v3/from/teachers.js.map +0 -1
- package/dist/Skola24/from/course-and-events.d.ts +0 -9
- package/dist/Skola24/from/course-and-events.js +0 -348
- package/dist/Skola24/from/course-and-events.js.map +0 -1
- package/dist/Skola24/from/groups.d.ts +0 -3
- package/dist/Skola24/from/groups.js +0 -14
- package/dist/Skola24/from/groups.js.map +0 -1
- package/dist/Skola24/from/index.d.ts +0 -4
- package/dist/Skola24/from/index.js +0 -38
- package/dist/Skola24/from/index.js.map +0 -1
- package/dist/Skola24/from/locations.d.ts +0 -3
- package/dist/Skola24/from/locations.js +0 -13
- package/dist/Skola24/from/locations.js.map +0 -1
- package/dist/Skola24/from/schedule.d.ts +0 -3
- package/dist/Skola24/from/schedule.js +0 -180
- package/dist/Skola24/from/schedule.js.map +0 -1
- package/dist/Skola24/from/teachers.d.ts +0 -3
- package/dist/Skola24/from/teachers.js +0 -13
- package/dist/Skola24/from/teachers.js.map +0 -1
- package/dist/Skola24/types/Course.d.ts +0 -6
- package/dist/Skola24/types/Course.js +0 -6
- package/dist/Skola24/types/Course.js.map +0 -1
- package/dist/Skola24/types/Group-group-link.d.ts +0 -4
- package/dist/Skola24/types/Group-group-link.js +0 -6
- package/dist/Skola24/types/Group-group-link.js.map +0 -1
- package/dist/Skola24/types/Group-student-link.d.ts +0 -4
- package/dist/Skola24/types/Group-student-link.js +0 -6
- package/dist/Skola24/types/Group-student-link.js.map +0 -1
- package/dist/Skola24/types/Group.d.ts +0 -5
- package/dist/Skola24/types/Group.js +0 -6
- package/dist/Skola24/types/Group.js.map +0 -1
- package/dist/Skola24/types/Lesson-group-link.d.ts +0 -4
- package/dist/Skola24/types/Lesson-group-link.js +0 -6
- package/dist/Skola24/types/Lesson-group-link.js.map +0 -1
- package/dist/Skola24/types/Lesson-period-link.d.ts +0 -4
- package/dist/Skola24/types/Lesson-period-link.js +0 -6
- package/dist/Skola24/types/Lesson-period-link.js.map +0 -1
- package/dist/Skola24/types/Lesson-room-link.d.ts +0 -4
- package/dist/Skola24/types/Lesson-room-link.js +0 -6
- package/dist/Skola24/types/Lesson-room-link.js.map +0 -1
- package/dist/Skola24/types/Lesson-teacher-link.d.ts +0 -4
- package/dist/Skola24/types/Lesson-teacher-link.js +0 -6
- package/dist/Skola24/types/Lesson-teacher-link.js.map +0 -1
- package/dist/Skola24/types/Lesson.d.ts +0 -9
- package/dist/Skola24/types/Lesson.js +0 -6
- package/dist/Skola24/types/Lesson.js.map +0 -1
- package/dist/Skola24/types/Options.d.ts +0 -7
- package/dist/Skola24/types/Options.js +0 -6
- package/dist/Skola24/types/Options.js.map +0 -1
- package/dist/Skola24/types/Period.d.ts +0 -5
- package/dist/Skola24/types/Period.js +0 -6
- package/dist/Skola24/types/Period.js.map +0 -1
- package/dist/Skola24/types/Plan-group-link.d.ts +0 -4
- package/dist/Skola24/types/Plan-group-link.js +0 -6
- package/dist/Skola24/types/Plan-group-link.js.map +0 -1
- package/dist/Skola24/types/Plan-period-link.d.ts +0 -4
- package/dist/Skola24/types/Plan-period-link.js +0 -6
- package/dist/Skola24/types/Plan-period-link.js.map +0 -1
- package/dist/Skola24/types/Plan-teacher-link.d.ts +0 -6
- package/dist/Skola24/types/Plan-teacher-link.js +0 -6
- package/dist/Skola24/types/Plan-teacher-link.js.map +0 -1
- package/dist/Skola24/types/Plan.d.ts +0 -5
- package/dist/Skola24/types/Plan.js +0 -6
- package/dist/Skola24/types/Plan.js.map +0 -1
- package/dist/Skola24/types/Room.d.ts +0 -5
- package/dist/Skola24/types/Room.js +0 -6
- package/dist/Skola24/types/Room.js.map +0 -1
- package/dist/Skola24/types/Schedule.d.ts +0 -34
- package/dist/Skola24/types/Schedule.js +0 -6
- package/dist/Skola24/types/Schedule.js.map +0 -1
- package/dist/Skola24/types/Subject.d.ts +0 -4
- package/dist/Skola24/types/Subject.js +0 -6
- package/dist/Skola24/types/Subject.js.map +0 -1
- package/dist/Skola24/types/Teacher.d.ts +0 -6
- package/dist/Skola24/types/Teacher.js +0 -6
- package/dist/Skola24/types/Teacher.js.map +0 -1
- package/dist/Skola24/types/index.d.ts +0 -12
- package/dist/Skola24/types/index.js +0 -6
- package/dist/Skola24/types/index.js.map +0 -1
- package/dist/core/from/courses.d.ts +0 -3
- package/dist/core/from/courses.js +0 -98
- package/dist/core/from/courses.js.map +0 -1
- package/dist/core/from/events.d.ts +0 -3
- package/dist/core/from/events.js +0 -69
- package/dist/core/from/events.js.map +0 -1
- package/dist/core/from/groups.d.ts +0 -3
- package/dist/core/from/groups.js +0 -76
- package/dist/core/from/groups.js.map +0 -1
- package/dist/core/from/index.d.ts +0 -4
- package/dist/core/from/index.js +0 -16
- package/dist/core/from/index.js.map +0 -1
- package/dist/core/from/locations.d.ts +0 -3
- package/dist/core/from/locations.js +0 -76
- package/dist/core/from/locations.js.map +0 -1
- package/dist/core/from/locked-times.d.ts +0 -3
- package/dist/core/from/locked-times.js +0 -75
- package/dist/core/from/locked-times.js.map +0 -1
- package/dist/core/from/overlap-groups.d.ts +0 -3
- package/dist/core/from/overlap-groups.js +0 -75
- package/dist/core/from/overlap-groups.js.map +0 -1
- package/dist/core/from/periods.d.ts +0 -3
- package/dist/core/from/periods.js +0 -27
- package/dist/core/from/periods.js.map +0 -1
- package/dist/core/from/persons.d.ts +0 -3
- package/dist/core/from/persons.js +0 -70
- package/dist/core/from/persons.js.map +0 -1
- package/dist/core/from/schedules.d.ts +0 -2
- package/dist/core/from/schedules.js +0 -125
- package/dist/core/from/schedules.js.map +0 -1
- package/dist/core/from/teachers.d.ts +0 -3
- package/dist/core/from/teachers.js +0 -76
- package/dist/core/from/teachers.js.map +0 -1
- package/dist/core/to/available-locations.d.ts +0 -4
- package/dist/core/to/available-locations.js +0 -101
- package/dist/core/to/available-locations.js.map +0 -1
- package/dist/core/to/courses.d.ts +0 -40
- package/dist/core/to/courses.js +0 -152
- package/dist/core/to/courses.js.map +0 -1
- package/dist/core/to/days.d.ts +0 -6
- package/dist/core/to/days.js +0 -66
- package/dist/core/to/days.js.map +0 -1
- package/dist/core/to/events.d.ts +0 -44
- package/dist/core/to/events.js +0 -159
- package/dist/core/to/events.js.map +0 -1
- package/dist/core/to/groups.d.ts +0 -17
- package/dist/core/to/groups.js +0 -72
- package/dist/core/to/groups.js.map +0 -1
- package/dist/core/to/index.d.ts +0 -4
- package/dist/core/to/index.js +0 -16
- package/dist/core/to/index.js.map +0 -1
- package/dist/core/to/intervals.d.ts +0 -6
- package/dist/core/to/intervals.js +0 -20
- package/dist/core/to/intervals.js.map +0 -1
- package/dist/core/to/locations.d.ts +0 -3
- package/dist/core/to/locations.js +0 -76
- package/dist/core/to/locations.js.map +0 -1
- package/dist/core/to/locked-times.d.ts +0 -4
- package/dist/core/to/locked-times.js +0 -114
- package/dist/core/to/locked-times.js.map +0 -1
- package/dist/core/to/overlap-groups.d.ts +0 -4
- package/dist/core/to/overlap-groups.js +0 -130
- package/dist/core/to/overlap-groups.js.map +0 -1
- package/dist/core/to/periods.d.ts +0 -3
- package/dist/core/to/periods.js +0 -17
- package/dist/core/to/periods.js.map +0 -1
- package/dist/core/to/persons.d.ts +0 -4
- package/dist/core/to/persons.js +0 -102
- package/dist/core/to/persons.js.map +0 -1
- package/dist/core/to/schedules.d.ts +0 -3
- package/dist/core/to/schedules.js +0 -110
- package/dist/core/to/schedules.js.map +0 -1
- package/dist/core/to/settings.d.ts +0 -3
- package/dist/core/to/settings.js +0 -68
- package/dist/core/to/settings.js.map +0 -1
- package/dist/core/to/teachers.d.ts +0 -3
- package/dist/core/to/teachers.js +0 -76
- package/dist/core/to/teachers.js.map +0 -1
- package/dist/core/types/areas.d.ts +0 -11
- package/dist/core/types/areas.js +0 -6
- package/dist/core/types/areas.js.map +0 -1
- package/dist/core/types/available-locations.d.ts +0 -8
- package/dist/core/types/available-locations.js +0 -6
- package/dist/core/types/available-locations.js.map +0 -1
- package/dist/core/types/break-lengths.d.ts +0 -1
- package/dist/core/types/break-lengths.js +0 -6
- package/dist/core/types/break-lengths.js.map +0 -1
- package/dist/core/types/common/coalesced.d.ts +0 -5
- package/dist/core/types/common/coalesced.js +0 -6
- package/dist/core/types/common/coalesced.js.map +0 -1
- package/dist/core/types/common/index.d.ts +0 -26
- package/dist/core/types/common/index.js +0 -6
- package/dist/core/types/common/index.js.map +0 -1
- package/dist/core/types/common.d.ts +0 -26
- package/dist/core/types/common.js +0 -6
- package/dist/core/types/common.js.map +0 -1
- package/dist/core/types/course-events.d.ts +0 -66
- package/dist/core/types/course-events.js +0 -6
- package/dist/core/types/course-events.js.map +0 -1
- package/dist/core/types/courses.d.ts +0 -61
- package/dist/core/types/courses.js +0 -6
- package/dist/core/types/courses.js.map +0 -1
- package/dist/core/types/days.d.ts +0 -9
- package/dist/core/types/days.js +0 -6
- package/dist/core/types/days.js.map +0 -1
- package/dist/core/types/division-settings.d.ts +0 -34
- package/dist/core/types/division-settings.js +0 -6
- package/dist/core/types/division-settings.js.map +0 -1
- package/dist/core/types/divisions.d.ts +0 -40
- package/dist/core/types/divisions.js +0 -6
- package/dist/core/types/divisions.js.map +0 -1
- package/dist/core/types/groups.d.ts +0 -32
- package/dist/core/types/groups.js +0 -6
- package/dist/core/types/groups.js.map +0 -1
- package/dist/core/types/intervals.d.ts +0 -12
- package/dist/core/types/intervals.js +0 -6
- package/dist/core/types/intervals.js.map +0 -1
- package/dist/core/types/locations.d.ts +0 -27
- package/dist/core/types/locations.js +0 -6
- package/dist/core/types/locations.js.map +0 -1
- package/dist/core/types/locked-times.d.ts +0 -34
- package/dist/core/types/locked-times.js +0 -6
- package/dist/core/types/locked-times.js.map +0 -1
- package/dist/core/types/meta.d.ts +0 -5
- package/dist/core/types/meta.js +0 -6
- package/dist/core/types/meta.js.map +0 -1
- package/dist/core/types/overlap-groups.d.ts +0 -21
- package/dist/core/types/overlap-groups.js +0 -6
- package/dist/core/types/overlap-groups.js.map +0 -1
- package/dist/core/types/periods.d.ts +0 -17
- package/dist/core/types/periods.js +0 -6
- package/dist/core/types/periods.js.map +0 -1
- package/dist/core/types/persons.d.ts +0 -35
- package/dist/core/types/persons.js +0 -6
- package/dist/core/types/persons.js.map +0 -1
- package/dist/core/types/teachers.d.ts +0 -29
- package/dist/core/types/teachers.js +0 -6
- package/dist/core/types/teachers.js.map +0 -1
- package/dist/core/v2/from/calendar-exceptions.d.ts +0 -47
- package/dist/core/v2/from/calendar-exceptions.js +0 -75
- package/dist/core/v2/from/calendar-exceptions.js.map +0 -1
- package/dist/core/v2/to/calendar-exceptions.d.ts +0 -4
- package/dist/core/v2/to/calendar-exceptions.js +0 -117
- package/dist/core/v2/to/calendar-exceptions.js.map +0 -1
- package/dist/core/v2/types/calendar-exceptions.d.ts +0 -31
- package/dist/core/v2/types/calendar-exceptions.js +0 -6
- package/dist/core/v2/types/calendar-exceptions.js.map +0 -1
- package/dist/core/v2/types/common/index.d.ts +0 -26
- package/dist/core/v2/types/common/index.js +0 -6
- package/dist/core/v2/types/common/index.js.map +0 -1
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = _default;
|
|
7
|
-
var _periods2 = _interopRequireDefault(require("./periods"));
|
|
8
|
-
var _locations2 = _interopRequireDefault(require("./locations"));
|
|
9
|
-
var _teachers2 = _interopRequireDefault(require("./teachers"));
|
|
10
|
-
var _groups2 = _interopRequireDefault(require("./groups"));
|
|
11
|
-
var _courses2 = _interopRequireDefault(require("./courses"));
|
|
12
|
-
var _overlapGroups2 = _interopRequireDefault(require("./overlap-groups"));
|
|
13
|
-
var _lockedTimes2 = _interopRequireDefault(require("./locked-times"));
|
|
14
|
-
var _events2 = _interopRequireDefault(require("./events"));
|
|
15
|
-
function _interopRequireDefault(obj) {
|
|
16
|
-
return obj && obj.__esModule ? obj : {
|
|
17
|
-
default: obj
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function ownKeys(object, enumerableOnly) {
|
|
21
|
-
var keys = Object.keys(object);
|
|
22
|
-
if (Object.getOwnPropertySymbols) {
|
|
23
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
24
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
25
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
26
|
-
})), keys.push.apply(keys, symbols);
|
|
27
|
-
}
|
|
28
|
-
return keys;
|
|
29
|
-
}
|
|
30
|
-
function _objectSpread(target) {
|
|
31
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
32
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
33
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
34
|
-
_defineProperty(target, key, source[key]);
|
|
35
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
36
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return target;
|
|
40
|
-
}
|
|
41
|
-
function _defineProperty(obj, key, value) {
|
|
42
|
-
key = _toPropertyKey(key);
|
|
43
|
-
if (key in obj) {
|
|
44
|
-
Object.defineProperty(obj, key, {
|
|
45
|
-
value: value,
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true,
|
|
48
|
-
writable: true
|
|
49
|
-
});
|
|
50
|
-
} else {
|
|
51
|
-
obj[key] = value;
|
|
52
|
-
}
|
|
53
|
-
return obj;
|
|
54
|
-
}
|
|
55
|
-
function _toPropertyKey(arg) {
|
|
56
|
-
var key = _toPrimitive(arg, "string");
|
|
57
|
-
return typeof key === "symbol" ? key : String(key);
|
|
58
|
-
}
|
|
59
|
-
function _toPrimitive(input, hint) {
|
|
60
|
-
if (typeof input !== "object" || input === null) return input;
|
|
61
|
-
var prim = input[Symbol.toPrimitive];
|
|
62
|
-
if (prim !== undefined) {
|
|
63
|
-
var res = prim.call(input, hint || "default");
|
|
64
|
-
if (typeof res !== "object") return res;
|
|
65
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
66
|
-
}
|
|
67
|
-
return (hint === "string" ? String : Number)(input);
|
|
68
|
-
}
|
|
69
|
-
function _default(schedule) {
|
|
70
|
-
var {
|
|
71
|
-
periods,
|
|
72
|
-
groups,
|
|
73
|
-
courses,
|
|
74
|
-
teachers,
|
|
75
|
-
locations,
|
|
76
|
-
settings,
|
|
77
|
-
events,
|
|
78
|
-
overlapGroups,
|
|
79
|
-
lockedTimes
|
|
80
|
-
} = schedule;
|
|
81
|
-
if (periods) {
|
|
82
|
-
periods = (0, _periods2.default)(periods);
|
|
83
|
-
}
|
|
84
|
-
if (groups) {
|
|
85
|
-
groups = (0, _groups2.default)(groups);
|
|
86
|
-
}
|
|
87
|
-
if (teachers) {
|
|
88
|
-
teachers = (0, _teachers2.default)(teachers);
|
|
89
|
-
}
|
|
90
|
-
if (locations) {
|
|
91
|
-
locations = (0, _locations2.default)(locations);
|
|
92
|
-
}
|
|
93
|
-
if (courses) {
|
|
94
|
-
courses = (0, _courses2.default)(courses);
|
|
95
|
-
}
|
|
96
|
-
if (events) {
|
|
97
|
-
events = (0, _events2.default)(events);
|
|
98
|
-
}
|
|
99
|
-
if (overlapGroups) {
|
|
100
|
-
overlapGroups = (0, _overlapGroups2.default)(overlapGroups);
|
|
101
|
-
}
|
|
102
|
-
if (lockedTimes) {
|
|
103
|
-
lockedTimes = (0, _lockedTimes2.default)(lockedTimes);
|
|
104
|
-
}
|
|
105
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, settings && {
|
|
106
|
-
settings
|
|
107
|
-
}), periods && {
|
|
108
|
-
periods
|
|
109
|
-
}), locations && {
|
|
110
|
-
locations
|
|
111
|
-
}), teachers && {
|
|
112
|
-
teachers
|
|
113
|
-
}), groups && {
|
|
114
|
-
groups
|
|
115
|
-
}), courses && {
|
|
116
|
-
courses
|
|
117
|
-
}), overlapGroups && {
|
|
118
|
-
overlapGroups
|
|
119
|
-
}), lockedTimes && {
|
|
120
|
-
lockedTimes
|
|
121
|
-
}), events && {
|
|
122
|
-
events
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
//# sourceMappingURL=schedules.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schedules.js","names":["_periods2","_interopRequireDefault","require","_locations2","_teachers2","_groups2","_courses2","_overlapGroups2","_lockedTimes2","_events2","obj","__esModule","default","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","_default","schedule","periods","groups","courses","teachers","locations","settings","events","overlapGroups","lockedTimes"],"sources":["../../../src/core/from/schedules.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,QAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,eAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,aAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,QAAA,GAAAR,sBAAA,CAAAC,OAAA;AAA2D,SAAAD,uBAAAS,GAAA;EAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA;IAAAE,OAAA,EAAAF;EAAA;AAAA;AAAA,SAAAG,QAAAC,MAAA,EAAAC,cAAA;EAAA,IAAAC,IAAA,GAAAC,MAAA,CAAAD,IAAA,CAAAF,MAAA;EAAA,IAAAG,MAAA,CAAAC,qBAAA;IAAA,IAAAC,OAAA,GAAAF,MAAA,CAAAC,qBAAA,CAAAJ,MAA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AAG,OAAO,EAACmD,MAAM,CAAC;;EAGlC,IAAIC,aAAa,EAAE;IACjBA,aAAa,GAAI,IAAAzD,eAAA,CAAAK,OAAc,EAACoD,aAAa,CAAC;;EAGhD,IAAIC,WAAW,EAAE;IACfA,WAAW,GAAM,IAAAzD,aAAA,CAAAI,OAAY,EAACqD,WAAW,CAAC;;EAG5C,OAAAvC,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,CAAAA,aAAA,KACKoC,QAAQ,IAAS;IAAEA;EAAQ,CAAE,GAC7BL,OAAO,IAAU;IAAEA;EAAO,CAAE,GAC5BI,SAAS,IAAQ;IAAEA;EAAS,CAAE,GAC9BD,QAAQ,IAAS;IAAEA;EAAQ,CAAE,GAC7BF,MAAM,IAAW;IAAEA;EAAM,CAAE,GAC3BC,OAAO,IAAU;IAAEA;EAAO,CAAE,GAC5BK,aAAa,IAAI;IAAEA;EAAa,CAAE,GAClCC,WAAW,IAAM;IAAEA;EAAW,CAAE,GAChCF,MAAM,IAAW;IAAEA;EAAM,CAAE;AAElC","ignoreList":[]}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
function ownKeys(object, enumerableOnly) {
|
|
8
|
-
var keys = Object.keys(object);
|
|
9
|
-
if (Object.getOwnPropertySymbols) {
|
|
10
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
11
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
12
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13
|
-
})), keys.push.apply(keys, symbols);
|
|
14
|
-
}
|
|
15
|
-
return keys;
|
|
16
|
-
}
|
|
17
|
-
function _objectSpread(target) {
|
|
18
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
19
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
20
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
21
|
-
_defineProperty(target, key, source[key]);
|
|
22
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
23
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return target;
|
|
27
|
-
}
|
|
28
|
-
function _defineProperty(obj, key, value) {
|
|
29
|
-
key = _toPropertyKey(key);
|
|
30
|
-
if (key in obj) {
|
|
31
|
-
Object.defineProperty(obj, key, {
|
|
32
|
-
value: value,
|
|
33
|
-
enumerable: true,
|
|
34
|
-
configurable: true,
|
|
35
|
-
writable: true
|
|
36
|
-
});
|
|
37
|
-
} else {
|
|
38
|
-
obj[key] = value;
|
|
39
|
-
}
|
|
40
|
-
return obj;
|
|
41
|
-
}
|
|
42
|
-
function _toPropertyKey(arg) {
|
|
43
|
-
var key = _toPrimitive(arg, "string");
|
|
44
|
-
return typeof key === "symbol" ? key : String(key);
|
|
45
|
-
}
|
|
46
|
-
function _toPrimitive(input, hint) {
|
|
47
|
-
if (typeof input !== "object" || input === null) return input;
|
|
48
|
-
var prim = input[Symbol.toPrimitive];
|
|
49
|
-
if (prim !== undefined) {
|
|
50
|
-
var res = prim.call(input, hint || "default");
|
|
51
|
-
if (typeof res !== "object") return res;
|
|
52
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
53
|
-
}
|
|
54
|
-
return (hint === "string" ? String : Number)(input);
|
|
55
|
-
}
|
|
56
|
-
var _default = teachers => {
|
|
57
|
-
teachers = teachers.filter(_ref => {
|
|
58
|
-
var {
|
|
59
|
-
id
|
|
60
|
-
} = _ref;
|
|
61
|
-
return id != undefined;
|
|
62
|
-
});
|
|
63
|
-
if (teachers.length != Array.from(new Set(teachers.map(_ref2 => {
|
|
64
|
-
var {
|
|
65
|
-
id
|
|
66
|
-
} = _ref2;
|
|
67
|
-
return id;
|
|
68
|
-
}))).length) throw new Error('(Core::From::Teachers) Teachers array have two or more teachers with the same ID');
|
|
69
|
-
return teachers.map(teacher => {
|
|
70
|
-
if (!teacher.id) throw new Error('(Core::From::Teachers) Teacher id is undefiend');
|
|
71
|
-
if (!teacher.displayName) teacher.displayName = teacher.id;
|
|
72
|
-
return _objectSpread({}, teacher);
|
|
73
|
-
}, []);
|
|
74
|
-
};
|
|
75
|
-
exports.default = _default;
|
|
76
|
-
//# sourceMappingURL=teachers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"teachers.js","names":["teachers","filter","_ref","id","undefined","length","Array","from","Set","map","_ref2","Error","teacher","displayName","_objectSpread","exports","default","_default"],"sources":["../../../src/core/from/teachers.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEgBA,QAAmB,IAAuB;EACxDA,QAAQ,GAAGA,QAAQ,CAACC,MAAM,CAACC,IAAA;IAAA,IAAC;MAAEC;IAAE,CAAE,GAAAD,IAAA;IAAA,OAAKC,EAAE,IAAIC,SAAS;EAAA,EAAC;EAEvD,IAAIJ,QAAQ,CAACK,MAAM,IAAIC,KAAK,CAACC,IAAI,CAAC,IAAIC,GAAG,CAASR,QAAQ,CAACS,GAAG,CAACC,KAAA;IAAA,IAAC;MAAEP;IAAE,CAAO,GAAAO,KAAA;IAAA,OAAKP,EAAE;EAAA,EAAC,CAAC,CAAC,CAACE,MAAM,EAC1F,MAAM,IAAIM,KAAK,CAAC,kFAAkF,CAAC;EAErG,OAAOX,QAAQ,CAACS,GAAG,CAACG,OAAO,IAAG;IAC5B,IAAI,CAAEA,OAAO,CAACT,EAAE,EACd,MAAM,IAAIQ,KAAK,CAAC,gDAAgD,CAAC;IAEnE,IAAI,CAAEC,OAAO,CAACC,WAAW,EACvBD,OAAO,CAACC,WAAW,GAAGD,OAAO,CAACT,EAAE;IAElC,OAAAW,aAAA,KAAYF,OAAO;EACrB,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAAAG,OAAA,CAAAC,OAAA,GAAAC,QAAA","ignoreList":[]}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _excluded = ["locations"];
|
|
8
|
-
function ownKeys(object, enumerableOnly) {
|
|
9
|
-
var keys = Object.keys(object);
|
|
10
|
-
if (Object.getOwnPropertySymbols) {
|
|
11
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
12
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
13
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
14
|
-
})), keys.push.apply(keys, symbols);
|
|
15
|
-
}
|
|
16
|
-
return keys;
|
|
17
|
-
}
|
|
18
|
-
function _objectSpread(target) {
|
|
19
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
20
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
21
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
22
|
-
_defineProperty(target, key, source[key]);
|
|
23
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
24
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function _defineProperty(obj, key, value) {
|
|
30
|
-
key = _toPropertyKey(key);
|
|
31
|
-
if (key in obj) {
|
|
32
|
-
Object.defineProperty(obj, key, {
|
|
33
|
-
value: value,
|
|
34
|
-
enumerable: true,
|
|
35
|
-
configurable: true,
|
|
36
|
-
writable: true
|
|
37
|
-
});
|
|
38
|
-
} else {
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
41
|
-
return obj;
|
|
42
|
-
}
|
|
43
|
-
function _toPropertyKey(arg) {
|
|
44
|
-
var key = _toPrimitive(arg, "string");
|
|
45
|
-
return typeof key === "symbol" ? key : String(key);
|
|
46
|
-
}
|
|
47
|
-
function _toPrimitive(input, hint) {
|
|
48
|
-
if (typeof input !== "object" || input === null) return input;
|
|
49
|
-
var prim = input[Symbol.toPrimitive];
|
|
50
|
-
if (prim !== undefined) {
|
|
51
|
-
var res = prim.call(input, hint || "default");
|
|
52
|
-
if (typeof res !== "object") return res;
|
|
53
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
54
|
-
}
|
|
55
|
-
return (hint === "string" ? String : Number)(input);
|
|
56
|
-
}
|
|
57
|
-
function _objectWithoutProperties(source, excluded) {
|
|
58
|
-
if (source == null) return {};
|
|
59
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
60
|
-
var key, i;
|
|
61
|
-
if (Object.getOwnPropertySymbols) {
|
|
62
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
63
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
64
|
-
key = sourceSymbolKeys[i];
|
|
65
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
66
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
67
|
-
target[key] = source[key];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return target;
|
|
71
|
-
}
|
|
72
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
73
|
-
if (source == null) return {};
|
|
74
|
-
var target = {};
|
|
75
|
-
var sourceKeys = Object.keys(source);
|
|
76
|
-
var key, i;
|
|
77
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
78
|
-
key = sourceKeys[i];
|
|
79
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
80
|
-
target[key] = source[key];
|
|
81
|
-
}
|
|
82
|
-
return target;
|
|
83
|
-
}
|
|
84
|
-
var _default = availableLocations => {
|
|
85
|
-
return (availableLocations || []).map(_ref => {
|
|
86
|
-
var {
|
|
87
|
-
locations
|
|
88
|
-
} = _ref,
|
|
89
|
-
source = _objectWithoutProperties(_ref, _excluded);
|
|
90
|
-
return _objectSpread(_objectSpread({}, source), {}, {
|
|
91
|
-
locations: (locations || []).map(_ref2 => {
|
|
92
|
-
var {
|
|
93
|
-
id
|
|
94
|
-
} = _ref2;
|
|
95
|
-
return id;
|
|
96
|
-
})
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
};
|
|
100
|
-
exports.default = _default;
|
|
101
|
-
//# sourceMappingURL=available-locations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"available-locations.js","names":["availableLocations","map","_ref","locations","source","_objectWithoutProperties","_excluded","_objectSpread","_ref2","id","exports","default","_default"],"sources":["../../../src/core/to/available-locations.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAIgBA,kBAAqD,IAAqC;EACxG,OAAO,CAACA,kBAAkB,IAAI,EAAE,EAAEC,GAAG,CAACC,IAAA;IAAA,IAAC;QAAEC;MAAoB,CAAE,GAAAD,IAAA;MAARE,MAAM,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;IAAA,OAAAC,aAAA,CAAAA,aAAA,KACtDH,MAAM;MACTD,SAAS,EAAE,CAACA,SAAS,IAAG,EAAE,EAAEF,GAAG,CAACO,KAAA;QAAA,IAAC;UAAEC;QAAE,CAAE,GAAAD,KAAA;QAAA,OAAKC,EAAG;MAAA;IAAC;EAAA,CAChD,CACH;AACH,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAC,QAAA","ignoreList":[]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Course } from '../types/courses';
|
|
2
|
-
import { Serialized, Deserialized } from '../types/common';
|
|
3
|
-
declare const _default: (courses: Deserialized<Course>[]) => {
|
|
4
|
-
period?: string | undefined;
|
|
5
|
-
locations?: Serialized<import("../types/available-locations").AvailableLocationBare>[] | undefined;
|
|
6
|
-
participants?: {
|
|
7
|
-
groupIndex?: number | undefined;
|
|
8
|
-
to: string;
|
|
9
|
-
}[] | undefined;
|
|
10
|
-
groups?: {
|
|
11
|
-
include?: Deserialized<import("../types/persons").Person>[] | undefined;
|
|
12
|
-
exclude?: Deserialized<import("../types/persons").Person>[] | undefined;
|
|
13
|
-
groupIndex?: number | undefined;
|
|
14
|
-
to: string;
|
|
15
|
-
}[] | undefined;
|
|
16
|
-
teachers?: {
|
|
17
|
-
groupIndex?: number | undefined;
|
|
18
|
-
to: string;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
type?: string | undefined;
|
|
21
|
-
id?: string | undefined;
|
|
22
|
-
color?: string | undefined;
|
|
23
|
-
weeks?: number[] | undefined;
|
|
24
|
-
days?: Deserialized<import("../types/days").Day>[] | undefined;
|
|
25
|
-
displayName?: string | undefined;
|
|
26
|
-
updatedAt?: string | undefined;
|
|
27
|
-
intervals?: Deserialized<import("../types/intervals").Interval>[] | undefined;
|
|
28
|
-
ids?: string | undefined;
|
|
29
|
-
minBreakLength?: import("../types/break-lengths").BreakLength | undefined;
|
|
30
|
-
weight?: number | undefined;
|
|
31
|
-
density?: number | undefined;
|
|
32
|
-
potentialCenter?: string | undefined;
|
|
33
|
-
subject?: string | undefined;
|
|
34
|
-
eventDurationVariance?: number | undefined;
|
|
35
|
-
totalTime?: string | undefined;
|
|
36
|
-
centerOfAttraction?: string | null | undefined;
|
|
37
|
-
minutesPerWeek?: number | undefined;
|
|
38
|
-
expectedTotalHours?: number | undefined;
|
|
39
|
-
}[];
|
|
40
|
-
export default _default;
|
package/dist/core/to/courses.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _lodash = _interopRequireDefault(require("lodash"));
|
|
8
|
-
var _availableLocations2 = _interopRequireDefault(require("./available-locations"));
|
|
9
|
-
var _days2 = _interopRequireDefault(require("./days"));
|
|
10
|
-
var _intervals2 = _interopRequireDefault(require("./intervals"));
|
|
11
|
-
var _excluded = ["groups", "locations", "teachers", "participants", "period"],
|
|
12
|
-
_excluded2 = ["to"],
|
|
13
|
-
_excluded3 = ["to"],
|
|
14
|
-
_excluded4 = ["to"];
|
|
15
|
-
function _interopRequireDefault(obj) {
|
|
16
|
-
return obj && obj.__esModule ? obj : {
|
|
17
|
-
default: obj
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function ownKeys(object, enumerableOnly) {
|
|
21
|
-
var keys = Object.keys(object);
|
|
22
|
-
if (Object.getOwnPropertySymbols) {
|
|
23
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
24
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
25
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
26
|
-
})), keys.push.apply(keys, symbols);
|
|
27
|
-
}
|
|
28
|
-
return keys;
|
|
29
|
-
}
|
|
30
|
-
function _objectSpread(target) {
|
|
31
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
32
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
33
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
34
|
-
_defineProperty(target, key, source[key]);
|
|
35
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
36
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return target;
|
|
40
|
-
}
|
|
41
|
-
function _defineProperty(obj, key, value) {
|
|
42
|
-
key = _toPropertyKey(key);
|
|
43
|
-
if (key in obj) {
|
|
44
|
-
Object.defineProperty(obj, key, {
|
|
45
|
-
value: value,
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true,
|
|
48
|
-
writable: true
|
|
49
|
-
});
|
|
50
|
-
} else {
|
|
51
|
-
obj[key] = value;
|
|
52
|
-
}
|
|
53
|
-
return obj;
|
|
54
|
-
}
|
|
55
|
-
function _toPropertyKey(arg) {
|
|
56
|
-
var key = _toPrimitive(arg, "string");
|
|
57
|
-
return typeof key === "symbol" ? key : String(key);
|
|
58
|
-
}
|
|
59
|
-
function _toPrimitive(input, hint) {
|
|
60
|
-
if (typeof input !== "object" || input === null) return input;
|
|
61
|
-
var prim = input[Symbol.toPrimitive];
|
|
62
|
-
if (prim !== undefined) {
|
|
63
|
-
var res = prim.call(input, hint || "default");
|
|
64
|
-
if (typeof res !== "object") return res;
|
|
65
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
66
|
-
}
|
|
67
|
-
return (hint === "string" ? String : Number)(input);
|
|
68
|
-
}
|
|
69
|
-
function _objectWithoutProperties(source, excluded) {
|
|
70
|
-
if (source == null) return {};
|
|
71
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
72
|
-
var key, i;
|
|
73
|
-
if (Object.getOwnPropertySymbols) {
|
|
74
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
75
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
76
|
-
key = sourceSymbolKeys[i];
|
|
77
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
78
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
79
|
-
target[key] = source[key];
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return target;
|
|
83
|
-
}
|
|
84
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
85
|
-
if (source == null) return {};
|
|
86
|
-
var target = {};
|
|
87
|
-
var sourceKeys = Object.keys(source);
|
|
88
|
-
var key, i;
|
|
89
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
90
|
-
key = sourceKeys[i];
|
|
91
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
92
|
-
target[key] = source[key];
|
|
93
|
-
}
|
|
94
|
-
return target;
|
|
95
|
-
}
|
|
96
|
-
var _default = courses => {
|
|
97
|
-
return courses.map(_ref => {
|
|
98
|
-
var {
|
|
99
|
-
groups,
|
|
100
|
-
locations,
|
|
101
|
-
teachers,
|
|
102
|
-
participants,
|
|
103
|
-
period
|
|
104
|
-
} = _ref,
|
|
105
|
-
course = _objectWithoutProperties(_ref, _excluded);
|
|
106
|
-
if (course.days) course.days = (0, _days2.default)(course.days);
|
|
107
|
-
if (course.intervals) course.intervals = (0, _intervals2.default)(course.intervals);
|
|
108
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _lodash.default.omit(course, ['_id', 'events', 'lockedTimes', 'overlapGroup', 'overlapSpecies', 'belongsTo', 'createdAt', 'lastModifiedBy'])), teachers && {
|
|
109
|
-
teachers: teachers.map(_ref2 => {
|
|
110
|
-
var {
|
|
111
|
-
to: {
|
|
112
|
-
id
|
|
113
|
-
}
|
|
114
|
-
} = _ref2,
|
|
115
|
-
meta = _objectWithoutProperties(_ref2, _excluded2);
|
|
116
|
-
return _objectSpread({
|
|
117
|
-
to: id
|
|
118
|
-
}, meta);
|
|
119
|
-
})
|
|
120
|
-
}), groups && {
|
|
121
|
-
groups: groups.map(_ref3 => {
|
|
122
|
-
var {
|
|
123
|
-
to: {
|
|
124
|
-
id
|
|
125
|
-
}
|
|
126
|
-
} = _ref3,
|
|
127
|
-
meta = _objectWithoutProperties(_ref3, _excluded3);
|
|
128
|
-
return _objectSpread({
|
|
129
|
-
to: id
|
|
130
|
-
}, meta);
|
|
131
|
-
})
|
|
132
|
-
}), participants && {
|
|
133
|
-
participants: participants.map(_ref4 => {
|
|
134
|
-
var {
|
|
135
|
-
to: {
|
|
136
|
-
id
|
|
137
|
-
}
|
|
138
|
-
} = _ref4,
|
|
139
|
-
meta = _objectWithoutProperties(_ref4, _excluded4);
|
|
140
|
-
return _objectSpread({
|
|
141
|
-
to: id
|
|
142
|
-
}, meta);
|
|
143
|
-
})
|
|
144
|
-
}), locations && {
|
|
145
|
-
locations: (0, _availableLocations2.default)(locations)
|
|
146
|
-
}), period && {
|
|
147
|
-
period: period.id
|
|
148
|
-
});
|
|
149
|
-
}, []);
|
|
150
|
-
};
|
|
151
|
-
exports.default = _default;
|
|
152
|
-
//# sourceMappingURL=courses.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"courses.js","names":["_lodash","_interopRequireDefault","require","_availableLocations2","_days2","_intervals2","_excluded","_excluded2","_excluded3","_excluded4","obj","__esModule","default","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","prototype","propertyIsEnumerable","sourceKeys","_default","courses","map","_ref","groups","locations","teachers","participants","period","course","days","intervals","omit","_ref2","to","id","meta","_ref3","_ref4","exports"],"sources":["../../../src/core/to/courses.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAA8D,IAAAI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CAAC,EAAE,EAAE,CAAgC;AACvC,CAAC;AAAAI,OAAA,CAAAtE,OAAA,GAAAmD,QAAA","ignoreList":[]}
|
package/dist/core/to/days.d.ts
DELETED
package/dist/core/to/days.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
function ownKeys(object, enumerableOnly) {
|
|
8
|
-
var keys = Object.keys(object);
|
|
9
|
-
if (Object.getOwnPropertySymbols) {
|
|
10
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
11
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
12
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13
|
-
})), keys.push.apply(keys, symbols);
|
|
14
|
-
}
|
|
15
|
-
return keys;
|
|
16
|
-
}
|
|
17
|
-
function _objectSpread(target) {
|
|
18
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
19
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
20
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
21
|
-
_defineProperty(target, key, source[key]);
|
|
22
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
23
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return target;
|
|
27
|
-
}
|
|
28
|
-
function _defineProperty(obj, key, value) {
|
|
29
|
-
key = _toPropertyKey(key);
|
|
30
|
-
if (key in obj) {
|
|
31
|
-
Object.defineProperty(obj, key, {
|
|
32
|
-
value: value,
|
|
33
|
-
enumerable: true,
|
|
34
|
-
configurable: true,
|
|
35
|
-
writable: true
|
|
36
|
-
});
|
|
37
|
-
} else {
|
|
38
|
-
obj[key] = value;
|
|
39
|
-
}
|
|
40
|
-
return obj;
|
|
41
|
-
}
|
|
42
|
-
function _toPropertyKey(arg) {
|
|
43
|
-
var key = _toPrimitive(arg, "string");
|
|
44
|
-
return typeof key === "symbol" ? key : String(key);
|
|
45
|
-
}
|
|
46
|
-
function _toPrimitive(input, hint) {
|
|
47
|
-
if (typeof input !== "object" || input === null) return input;
|
|
48
|
-
var prim = input[Symbol.toPrimitive];
|
|
49
|
-
if (prim !== undefined) {
|
|
50
|
-
var res = prim.call(input, hint || "default");
|
|
51
|
-
if (typeof res !== "object") return res;
|
|
52
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
53
|
-
}
|
|
54
|
-
return (hint === "string" ? String : Number)(input);
|
|
55
|
-
}
|
|
56
|
-
var _default = days => {
|
|
57
|
-
return days.map(day => {
|
|
58
|
-
return _objectSpread({
|
|
59
|
-
day: day.day
|
|
60
|
-
}, day.rank && {
|
|
61
|
-
rank: day.rank
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
exports.default = _default;
|
|
66
|
-
//# sourceMappingURL=days.js.map
|
package/dist/core/to/days.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"days.js","names":["days","map","day","_objectSpread","rank","exports","default","_default"],"sources":["../../../src/core/to/days.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEgBA,IAAW,IAAI;EAC7B,OAAOA,IAAI,CAACC,GAAG,CAACC,GAAG,IAAG;IACpB,OAAAC,aAAA;MACED,GAAG,EAAGA,GAAG,CAACA;IAAG,GACVA,GAAG,CAACE,IAAI,IAAI;MAAEA,IAAI,EAAEF,GAAG,CAACE;IAAI,CAAE;EAErC,CAAC,CAAiB;AACpB,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAC,QAAA","ignoreList":[]}
|
package/dist/core/to/events.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { CourseEvent } from '../types/course-events';
|
|
2
|
-
import { Serialized, Deserialized } from '../types/common';
|
|
3
|
-
declare const _default: (events: Deserialized<CourseEvent>[]) => {
|
|
4
|
-
period?: string | undefined;
|
|
5
|
-
inLocations?: string[] | undefined;
|
|
6
|
-
locations?: Serialized<import("../types/available-locations").AvailableLocationBare>[] | undefined;
|
|
7
|
-
participants?: {
|
|
8
|
-
groupIndex?: number | undefined;
|
|
9
|
-
to: string;
|
|
10
|
-
}[] | undefined;
|
|
11
|
-
groups?: {
|
|
12
|
-
exclude?: Deserialized<import("../types/persons").Person>[] | undefined;
|
|
13
|
-
groupIndex?: number | undefined;
|
|
14
|
-
to: string;
|
|
15
|
-
}[] | undefined;
|
|
16
|
-
teachers?: {
|
|
17
|
-
groupIndex?: number | undefined;
|
|
18
|
-
to: string;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
course: string | undefined;
|
|
21
|
-
type?: string | undefined;
|
|
22
|
-
id?: string | undefined;
|
|
23
|
-
end?: string | Date | import("moment").Moment | undefined;
|
|
24
|
-
start?: string | Date | import("moment").Moment | undefined;
|
|
25
|
-
color?: string | undefined;
|
|
26
|
-
visible?: boolean | undefined;
|
|
27
|
-
weeks?: number[] | undefined;
|
|
28
|
-
days?: Deserialized<import("../types/days").Day>[] | undefined;
|
|
29
|
-
displayName?: string | undefined;
|
|
30
|
-
updatedAt?: string | undefined;
|
|
31
|
-
parked?: boolean | undefined;
|
|
32
|
-
duration?: number | undefined;
|
|
33
|
-
durationVariance?: number | undefined;
|
|
34
|
-
intervals?: Deserialized<import("../types/intervals").Interval>[] | undefined;
|
|
35
|
-
ids?: string | undefined;
|
|
36
|
-
minBreakLength?: import("../types/break-lengths").BreakLength | undefined;
|
|
37
|
-
weight?: number | undefined;
|
|
38
|
-
density?: number | undefined;
|
|
39
|
-
potentialCenter?: string | undefined;
|
|
40
|
-
centerOfAttraction?: string | null | undefined;
|
|
41
|
-
fixedStart?: boolean | undefined;
|
|
42
|
-
preferredDuration?: number | undefined;
|
|
43
|
-
}[];
|
|
44
|
-
export default _default;
|