@royalschedule/maps 4.0.4 → 4.0.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Types } from "../../core/types/index.js";
|
|
2
2
|
import { Types as Types$1 } from "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xlsx0 from "xlsx";
|
|
4
4
|
|
|
5
5
|
//#region src/Additio/to/index.d.ts
|
|
6
6
|
declare class export_default {
|
|
@@ -14,7 +14,7 @@ declare class export_default {
|
|
|
14
14
|
courses: Types.mixed.course[];
|
|
15
15
|
events: Types.mixed.event[];
|
|
16
16
|
lockedTimes: Types.mixed.lockedTime[];
|
|
17
|
-
}, _options?: Types$1.options) =>
|
|
17
|
+
}, _options?: Types$1.options) => xlsx0.WorkBook;
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
20
|
export { export_default };
|
|
@@ -15,55 +15,55 @@ declare class PlanDigitalMap {
|
|
|
15
15
|
groups?: {
|
|
16
16
|
exceptions?: string[] | undefined;
|
|
17
17
|
lockedTimes?: string[] | undefined;
|
|
18
|
+
ids?: ID | undefined;
|
|
18
19
|
createdAt?: DateType | undefined;
|
|
19
20
|
updatedAt?: DateType | undefined;
|
|
20
21
|
lastModifiedBy?: unknown;
|
|
21
|
-
ids?: ID | undefined;
|
|
22
22
|
belongsTo?: string | undefined;
|
|
23
|
+
rank?: number | undefined;
|
|
23
24
|
displayName?: string | undefined;
|
|
25
|
+
lunch?: string[] | undefined;
|
|
26
|
+
intervals?: AllowedInterval[] | undefined;
|
|
27
|
+
days?: Day[] | undefined;
|
|
24
28
|
minBreakLength?: BreakLength | undefined;
|
|
29
|
+
tags?: Tag[] | undefined;
|
|
25
30
|
maximumScheduleSpan?: MaximumScheduleSpan | undefined;
|
|
26
31
|
forbidOverlappingEvents?: boolean | undefined;
|
|
27
32
|
disableDayLengthPunishment?: boolean | undefined;
|
|
28
33
|
weight?: number | undefined;
|
|
29
|
-
|
|
34
|
+
rootInterval?: string | undefined;
|
|
35
|
+
maxNumWorkingHours?: number | boolean | undefined;
|
|
36
|
+
maxNumDailyWorkingHours?: number | number[] | boolean | undefined;
|
|
30
37
|
species?: "class" | undefined;
|
|
31
38
|
parentGroups?: string[] | undefined;
|
|
32
39
|
subGroups?: string[] | undefined;
|
|
33
|
-
lunch?: string[] | undefined;
|
|
34
40
|
members?: string[] | undefined;
|
|
35
|
-
intervals?: AllowedInterval[] | undefined;
|
|
36
|
-
rootInterval?: string | undefined;
|
|
37
|
-
days?: Day[] | undefined;
|
|
38
|
-
tags?: Tag[] | undefined;
|
|
39
|
-
maxNumWorkingHours?: number | boolean | undefined;
|
|
40
|
-
maxNumDailyWorkingHours?: number | number[] | boolean | undefined;
|
|
41
41
|
}[];
|
|
42
42
|
teachers?: {
|
|
43
43
|
exceptions?: string[] | undefined;
|
|
44
44
|
lockedTimes?: string[] | undefined;
|
|
45
|
+
ids?: ID | undefined;
|
|
45
46
|
createdAt?: DateType | undefined;
|
|
46
47
|
updatedAt?: DateType | undefined;
|
|
47
48
|
lastModifiedBy?: unknown;
|
|
48
|
-
ids?: ID | undefined;
|
|
49
49
|
belongsTo?: string | undefined;
|
|
50
|
+
rank?: number | undefined;
|
|
50
51
|
displayName?: string | undefined;
|
|
52
|
+
lunch?: string[] | undefined;
|
|
53
|
+
intervals?: AllowedInterval[] | undefined;
|
|
54
|
+
days?: Day[] | undefined;
|
|
51
55
|
minBreakLength?: BreakLength | undefined;
|
|
56
|
+
tags?: Tag[] | undefined;
|
|
57
|
+
plannedScheduledDuration?: PlannedScheduledDuration | undefined;
|
|
52
58
|
maximumScheduleSpan?: MaximumScheduleSpan | undefined;
|
|
53
59
|
forbidOverlappingEvents?: boolean | undefined;
|
|
54
60
|
disableDayLengthPunishment?: boolean | undefined;
|
|
55
61
|
weight?: number | undefined;
|
|
56
|
-
|
|
57
|
-
lunch?: string[] | undefined;
|
|
58
|
-
intervals?: AllowedInterval[] | undefined;
|
|
62
|
+
person?: string | undefined;
|
|
59
63
|
rootInterval?: string | undefined;
|
|
60
|
-
|
|
61
|
-
tags?: Tag[] | undefined;
|
|
64
|
+
signature?: string | undefined;
|
|
62
65
|
maxNumWorkingHours?: number | boolean | undefined;
|
|
63
66
|
maxNumDailyWorkingHours?: number | number[] | boolean | undefined;
|
|
64
|
-
plannedScheduledDuration?: PlannedScheduledDuration | undefined;
|
|
65
|
-
person?: string | undefined;
|
|
66
|
-
signature?: string | undefined;
|
|
67
67
|
}[];
|
|
68
68
|
courses?: {
|
|
69
69
|
exceptions?: string[] | undefined;
|
|
@@ -72,26 +72,26 @@ declare class PlanDigitalMap {
|
|
|
72
72
|
locations?: AvailableLocation<string>[] | undefined;
|
|
73
73
|
events?: string[] | undefined;
|
|
74
74
|
lockedTimes?: string[] | undefined;
|
|
75
|
+
ids?: ID | undefined;
|
|
75
76
|
createdAt?: DateType | undefined;
|
|
76
77
|
updatedAt?: DateType | undefined;
|
|
77
78
|
lastModifiedBy?: unknown;
|
|
78
|
-
ids?: ID | undefined;
|
|
79
79
|
belongsTo?: string | undefined;
|
|
80
80
|
displayName?: string | undefined;
|
|
81
|
-
minBreakLength?: BreakLength | undefined;
|
|
82
|
-
weight?: number | undefined;
|
|
83
81
|
intervals?: AllowedInterval[] | undefined;
|
|
84
82
|
days?: Day[] | undefined;
|
|
83
|
+
minBreakLength?: BreakLength | undefined;
|
|
85
84
|
tags?: Tag[] | undefined;
|
|
86
85
|
weeks?: number[] | undefined;
|
|
87
|
-
|
|
88
|
-
color?: string | undefined;
|
|
86
|
+
weight?: number | undefined;
|
|
89
87
|
period?: string | undefined;
|
|
90
88
|
participants?: PersonReference<string>[] | undefined;
|
|
91
89
|
density?: number | undefined;
|
|
92
90
|
subject?: string | undefined;
|
|
91
|
+
color?: string | undefined;
|
|
93
92
|
eventDurationVariance?: number | undefined;
|
|
94
93
|
totalTime?: string | undefined;
|
|
94
|
+
type?: string | undefined;
|
|
95
95
|
comment?: string | undefined;
|
|
96
96
|
startDate?: DateType | undefined;
|
|
97
97
|
endDate?: DateType | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BaseOptions } from "../../../common/types.js";
|
|
2
2
|
import { Types } from "../../../core/types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xlsx1 from "xlsx";
|
|
4
4
|
|
|
5
5
|
//#region src/SchoolSoft/file/to/index.d.ts
|
|
6
6
|
declare class export_default {
|
|
7
7
|
static schedules: (schedule: Types.mixed.schedule & {
|
|
8
8
|
division?: Types.mixed.division;
|
|
9
|
-
}, options?: BaseOptions) =>
|
|
9
|
+
}, options?: BaseOptions) => xlsx1.WorkBook;
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
12
|
export { export_default };
|
|
@@ -105,20 +105,6 @@ type Warning = { [key in keyof ErrorType]: {
|
|
|
105
105
|
code: key;
|
|
106
106
|
context: ErrorType[key];
|
|
107
107
|
} }[keyof ErrorType];
|
|
108
|
-
declare namespace Types {
|
|
109
|
-
type room = Room;
|
|
110
|
-
type subject = Subject;
|
|
111
|
-
type teacher = Teacher;
|
|
112
|
-
type group = Group;
|
|
113
|
-
type course = Course;
|
|
114
|
-
type periodGeneral = PeriodGeneral;
|
|
115
|
-
type period = Period;
|
|
116
|
-
type ta = TA;
|
|
117
|
-
type lesson = Lesson;
|
|
118
|
-
type student = Student;
|
|
119
|
-
type errorType = ErrorType;
|
|
120
|
-
type errorCode = ErrorCode;
|
|
121
|
-
}
|
|
122
108
|
type Options = {
|
|
123
109
|
/**
|
|
124
110
|
* Specifies which field to use as the source for creating additional scheduling periods.
|
|
@@ -135,6 +121,21 @@ type Options = {
|
|
|
135
121
|
*/
|
|
136
122
|
includeEventsMissingCourse?: boolean;
|
|
137
123
|
};
|
|
124
|
+
declare namespace Types {
|
|
125
|
+
type room = Room;
|
|
126
|
+
type subject = Subject;
|
|
127
|
+
type teacher = Teacher;
|
|
128
|
+
type group = Group;
|
|
129
|
+
type course = Course;
|
|
130
|
+
type periodGeneral = PeriodGeneral;
|
|
131
|
+
type period = Period;
|
|
132
|
+
type ta = TA;
|
|
133
|
+
type lesson = Lesson;
|
|
134
|
+
type student = Student;
|
|
135
|
+
type errorType = ErrorType;
|
|
136
|
+
type errorCode = ErrorCode;
|
|
137
|
+
type options = Options;
|
|
138
|
+
}
|
|
138
139
|
//#endregion
|
|
139
140
|
export { Options, Types, Warning };
|
|
140
141
|
//# sourceMappingURL=index.d.ts.map
|