@royalschedule/maps 3.1.8 → 3.1.9
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 +2 -0
- package/dist/RS/v3/to/schedules.d.ts +2 -0
- package/dist/core/v2/from/schedules.d.ts +2 -0
- package/dist/core/v2/from/teachers.d.ts +2 -0
- package/dist/core/v2/to/schedules.d.ts +2 -0
- package/dist/core/v2/to/teachers.d.ts +2 -0
- package/dist/core/v2/types/common/maximum-schedule-span.d.ts +4 -0
- package/dist/core/v2/types/common/maximum-schedule-span.js +6 -0
- package/dist/core/v2/types/common/maximum-schedule-span.js.map +1 -0
- package/dist/core/v2/types/common/planned-schedule-duration.d.ts +3 -0
- package/dist/core/v2/types/common/planned-schedule-duration.js +6 -0
- package/dist/core/v2/types/common/planned-schedule-duration.js.map +1 -0
- package/dist/core/v2/types/division-settings.d.ts +4 -0
- package/dist/core/v2/types/teachers.d.ts +4 -0
- package/package.json +1 -1
package/dist/RS/v3/to/index.d.ts
CHANGED
|
@@ -223,6 +223,8 @@ export default class {
|
|
|
223
223
|
type?: string | undefined;
|
|
224
224
|
value: string;
|
|
225
225
|
}>[] | undefined;
|
|
226
|
+
plannedScheduledDuration?: import("../../../core/v2/types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
227
|
+
maximumScheduleSpan?: import("../../../core/v2/types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
226
228
|
signature?: string | undefined;
|
|
227
229
|
}[];
|
|
228
230
|
locations: {
|
|
@@ -214,6 +214,8 @@ declare const _default: (schedule: Deserialized<CoreTypes.schedule>, options?: O
|
|
|
214
214
|
type?: string | undefined;
|
|
215
215
|
value: string;
|
|
216
216
|
}>[] | undefined;
|
|
217
|
+
plannedScheduledDuration?: import("../../../core/v2/types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
218
|
+
maximumScheduleSpan?: import("../../../core/v2/types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
217
219
|
signature?: string | undefined;
|
|
218
220
|
}[];
|
|
219
221
|
locations: {
|
|
@@ -208,6 +208,8 @@ export default function (schedule: ReturnType<typeof transform>): {
|
|
|
208
208
|
type?: string | undefined;
|
|
209
209
|
value: string;
|
|
210
210
|
}>[] | undefined;
|
|
211
|
+
plannedScheduledDuration?: import("../types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
212
|
+
maximumScheduleSpan?: import("../types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
211
213
|
signature?: string | undefined;
|
|
212
214
|
}[];
|
|
213
215
|
locations: {
|
|
@@ -19,6 +19,8 @@ declare const _default: (teachers: ReturnType<typeof transform>) => {
|
|
|
19
19
|
type?: string | undefined;
|
|
20
20
|
value: string;
|
|
21
21
|
}>[] | undefined;
|
|
22
|
+
plannedScheduledDuration?: import("../types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
23
|
+
maximumScheduleSpan?: import("../types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
22
24
|
signature?: string | undefined;
|
|
23
25
|
}[];
|
|
24
26
|
export default _default;
|
|
@@ -210,6 +210,8 @@ export default function (schedule: Deserialized<CoreTypes.schedule>): {
|
|
|
210
210
|
type?: string | undefined;
|
|
211
211
|
value: string;
|
|
212
212
|
}>[] | undefined;
|
|
213
|
+
plannedScheduledDuration?: import("../types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
214
|
+
maximumScheduleSpan?: import("../types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
213
215
|
signature?: string | undefined;
|
|
214
216
|
}[];
|
|
215
217
|
locations: {
|
|
@@ -20,6 +20,8 @@ declare const _default: (teachers: Deserialized<Teacher>[]) => {
|
|
|
20
20
|
type?: string | undefined;
|
|
21
21
|
value: string;
|
|
22
22
|
}>[] | undefined;
|
|
23
|
+
plannedScheduledDuration?: import("../types/common/planned-schedule-duration").PlannedScheduledDuration | undefined;
|
|
24
|
+
maximumScheduleSpan?: import("../types/common/maximum-schedule-span").MaximumScheduleSpan | undefined;
|
|
23
25
|
signature?: string | undefined;
|
|
24
26
|
}[];
|
|
25
27
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maximum-schedule-span.js","names":[],"sources":["../../../../../src/core/v2/types/common/maximum-schedule-span.ts"],"sourcesContent":[null],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planned-schedule-duration.js","names":[],"sources":["../../../../../src/core/v2/types/common/planned-schedule-duration.ts"],"sourcesContent":[null],"mappings":"","ignoreList":[]}
|
|
@@ -27,6 +27,8 @@ import { Edge } from '../../types';
|
|
|
27
27
|
import { Division } from './divisions';
|
|
28
28
|
import { LockedTime } from './locked-times';
|
|
29
29
|
import { Period } from './periods';
|
|
30
|
+
import { PlannedScheduledDuration } from './common/planned-schedule-duration';
|
|
31
|
+
import { MaximumScheduleSpan } from './common/maximum-schedule-span';
|
|
30
32
|
interface CalendarException {
|
|
31
33
|
start: string;
|
|
32
34
|
end: string;
|
|
@@ -45,6 +47,8 @@ export interface DivisionSettingsBare {
|
|
|
45
47
|
defaultDependencyMinimumBreakLength?: number;
|
|
46
48
|
defaultMaxNumWorkingHours?: number | null;
|
|
47
49
|
defaultMaxNumDailyWorkingHours?: number | null;
|
|
50
|
+
defaultPlannedScheduledDuration?: PlannedScheduledDuration;
|
|
51
|
+
defaultMaximumScheduleSpan?: MaximumScheduleSpan;
|
|
48
52
|
defaultDayRank?: number;
|
|
49
53
|
defaultGroupRank?: number;
|
|
50
54
|
defaultDependencyRank?: number;
|
|
@@ -31,6 +31,8 @@ import { LockedTime } from './locked-times';
|
|
|
31
31
|
import { Interval } from './intervals';
|
|
32
32
|
import { Day } from './days';
|
|
33
33
|
import { Person } from './persons';
|
|
34
|
+
import { PlannedScheduledDuration } from './common/planned-schedule-duration';
|
|
35
|
+
import { MaximumScheduleSpan } from './common/maximum-schedule-span';
|
|
34
36
|
export interface TeacherBare {
|
|
35
37
|
belongsTo?: Edge<Division>;
|
|
36
38
|
ids?: string;
|
|
@@ -38,6 +40,8 @@ export interface TeacherBare {
|
|
|
38
40
|
minBreakLength?: BreakLength;
|
|
39
41
|
maxNumWorkingHours?: number | boolean;
|
|
40
42
|
maxNumDailyWorkingHours?: number | number[] | boolean;
|
|
43
|
+
plannedScheduledDuration?: PlannedScheduledDuration;
|
|
44
|
+
maximumScheduleSpan?: MaximumScheduleSpan;
|
|
41
45
|
forbidOverlappingEvents?: boolean;
|
|
42
46
|
disableDayLengthPunishment?: boolean;
|
|
43
47
|
weight?: number;
|