@royalschedule/validators 2.10.17 → 2.10.18
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/build/index.d.ts +12 -12
- package/build/validators/course-events.d.ts +1 -1
- package/build/validators/course-events.js +1 -1
- package/build/validators/courses.d.ts +1 -1
- package/build/validators/courses.js +1 -1
- package/build/validators/exceptions.d.ts +1 -1
- package/build/validators/exceptions.js +1 -1
- package/build/validators/groups.d.ts +1 -1
- package/build/validators/groups.js +1 -1
- package/build/validators/locations.d.ts +1 -1
- package/build/validators/locations.js +1 -1
- package/build/validators/locked-times.d.ts +1 -1
- package/build/validators/locked-times.js +1 -1
- package/build/validators/overlap-groups.d.ts +1 -1
- package/build/validators/overlap-groups.js +1 -1
- package/build/validators/periods.d.ts +1 -1
- package/build/validators/periods.js +1 -1
- package/build/validators/persons.d.ts +1 -1
- package/build/validators/persons.js +1 -1
- package/build/validators/root-intervals.d.ts +1 -1
- package/build/validators/root-intervals.js +1 -1
- package/build/validators/syllabuses.d.ts +1 -1
- package/build/validators/syllabuses.js +1 -1
- package/build/validators/teachers.d.ts +1 -1
- package/build/validators/teachers.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare class Validate {
|
|
2
2
|
static BreakLength: (import("joi").NumberSchema<number> | import("joi").BooleanSchema<boolean> | import("joi").ArraySchema<any[]>)[];
|
|
3
3
|
static Exception: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/exceptions").Exception & {
|
|
4
|
-
|
|
4
|
+
ORIGIN: string;
|
|
5
5
|
}>;
|
|
6
6
|
static CourseEvent: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/events").Event & {
|
|
7
|
-
|
|
7
|
+
ORIGIN: string;
|
|
8
8
|
}>;
|
|
9
9
|
static Configurations: import("joi").AlternativesSchema<any>;
|
|
10
10
|
static Course: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/courses").Course & {
|
|
11
|
-
|
|
11
|
+
ORIGIN: string;
|
|
12
12
|
}>;
|
|
13
13
|
static Day: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/days").Day>;
|
|
14
14
|
static Settings: import("joi").ObjectSchema<Omit<import("@royalschedule/maps/dist/core/v2/types/division-settings").DivisionSettings, "belongsTo">>;
|
|
@@ -17,31 +17,31 @@ export declare class Validate {
|
|
|
17
17
|
}>;
|
|
18
18
|
static Generation: import("joi").ObjectSchema<any>;
|
|
19
19
|
static Group: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/groups").Group & {
|
|
20
|
-
|
|
20
|
+
ORIGIN: string;
|
|
21
21
|
}>;
|
|
22
22
|
static Interval: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/intervals").Interval>;
|
|
23
23
|
static Location: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/locations").Location & {
|
|
24
|
-
|
|
24
|
+
ORIGIN: string;
|
|
25
25
|
}>;
|
|
26
26
|
static LockedTime: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/locked-times").LockedTime & {
|
|
27
|
-
|
|
27
|
+
ORIGIN: string;
|
|
28
28
|
}>;
|
|
29
29
|
static OverlapGroup: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/overlap-groups").OverlapGroup & {
|
|
30
|
-
|
|
30
|
+
ORIGIN: string;
|
|
31
31
|
}>;
|
|
32
32
|
static Period: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/periods").Period & {
|
|
33
|
-
|
|
33
|
+
ORIGIN: string;
|
|
34
34
|
}>;
|
|
35
35
|
static Person: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/persons").Person & {
|
|
36
|
-
|
|
36
|
+
ORIGIN: string;
|
|
37
37
|
}>;
|
|
38
38
|
static RootInterval: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/root-intervals").RootInterval & {
|
|
39
|
-
|
|
39
|
+
ORIGIN: string;
|
|
40
40
|
}>;
|
|
41
41
|
static Teacher: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/teachers").Teacher & {
|
|
42
|
-
|
|
42
|
+
ORIGIN: string;
|
|
43
43
|
}>;
|
|
44
44
|
static Syllabus: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/syllabus").Syllabus & {
|
|
45
|
-
|
|
45
|
+
ORIGIN: string;
|
|
46
46
|
}>;
|
|
47
47
|
}
|
|
@@ -125,6 +125,6 @@ exports.default = joi_1.default.object({
|
|
|
125
125
|
})),
|
|
126
126
|
createdAt: date_1.default.isDate(),
|
|
127
127
|
updatedAt: date_1.default.isDate().allow(null),
|
|
128
|
-
|
|
128
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
129
129
|
});
|
|
130
130
|
//# sourceMappingURL=course-events.js.map
|
|
@@ -104,6 +104,6 @@ exports.default = joi_1.default.object({
|
|
|
104
104
|
})),
|
|
105
105
|
createdAt: date_1.default.isDate(),
|
|
106
106
|
updatedAt: date_1.default.isDate().allow(null),
|
|
107
|
-
|
|
107
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
108
108
|
});
|
|
109
109
|
//# sourceMappingURL=courses.js.map
|
|
@@ -50,6 +50,6 @@ exports.default = joi_1.default.object({
|
|
|
50
50
|
exceptions: joi_1.default.array().items(joi_1.default.string(), joi_1.default.custom(util_1.Util.functions.schemaWrapper(require('./exceptions')))),
|
|
51
51
|
createdAt: date_1.default.isDate(),
|
|
52
52
|
updatedAt: date_1.default.isDate().allow(null),
|
|
53
|
-
|
|
53
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=exceptions.js.map
|
|
@@ -75,6 +75,6 @@ exports.default = joi_1.default.object({
|
|
|
75
75
|
})),
|
|
76
76
|
createdAt: date_1.default.isDate(),
|
|
77
77
|
updatedAt: date_1.default.isDate().allow(null),
|
|
78
|
-
|
|
78
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
79
79
|
});
|
|
80
80
|
//# sourceMappingURL=groups.js.map
|
|
@@ -25,6 +25,6 @@ exports.default = joi_1.default.object({
|
|
|
25
25
|
days: joi_1.default.array().items(days_1.default),
|
|
26
26
|
createdAt: date_1.default.isDate(),
|
|
27
27
|
updatedAt: date_1.default.isDate().allow(null),
|
|
28
|
-
|
|
28
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
29
29
|
});
|
|
30
30
|
//# sourceMappingURL=locations.js.map
|
|
@@ -57,6 +57,6 @@ exports.default = joi_1.default.object({
|
|
|
57
57
|
})),
|
|
58
58
|
createdAt: date_1.default.isDate(),
|
|
59
59
|
updatedAt: date_1.default.isDate().allow(null),
|
|
60
|
-
|
|
60
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
61
61
|
});
|
|
62
62
|
//# sourceMappingURL=locked-times.js.map
|
|
@@ -30,6 +30,6 @@ exports.default = joi_1.default.object({
|
|
|
30
30
|
})),
|
|
31
31
|
createdAt: date_1.default.isDate(),
|
|
32
32
|
updatedAt: date_1.default.isDate().allow(null),
|
|
33
|
-
|
|
33
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
34
34
|
});
|
|
35
35
|
//# sourceMappingURL=overlap-groups.js.map
|
|
@@ -19,6 +19,6 @@ exports.default = joi_1.default.object({
|
|
|
19
19
|
})),
|
|
20
20
|
createdAt: date_1.default.isDate(),
|
|
21
21
|
updatedAt: date_1.default.isDate().allow(null),
|
|
22
|
-
|
|
22
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
23
23
|
});
|
|
24
24
|
//# sourceMappingURL=periods.js.map
|
|
@@ -46,6 +46,6 @@ exports.default = joi_1.default.object({
|
|
|
46
46
|
})),
|
|
47
47
|
createdAt: date_1.default.isDate(),
|
|
48
48
|
updatedAt: date_1.default.isDate().allow(null),
|
|
49
|
-
|
|
49
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
50
50
|
});
|
|
51
51
|
//# sourceMappingURL=persons.js.map
|
|
@@ -15,6 +15,6 @@ exports.default = joi_1.default.object({
|
|
|
15
15
|
})),
|
|
16
16
|
createdAt: date_1.default.isDate(),
|
|
17
17
|
updatedAt: date_1.default.isDate().allow(null),
|
|
18
|
-
|
|
18
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=root-intervals.js.map
|
|
@@ -18,6 +18,6 @@ exports.default = joi_1.default.object({
|
|
|
18
18
|
ids: joi_1.default.string(),
|
|
19
19
|
createdAt: date_1.default.isDate(),
|
|
20
20
|
updatedAt: date_1.default.isDate().allow(null),
|
|
21
|
-
|
|
21
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=syllabuses.js.map
|
|
@@ -70,6 +70,6 @@ exports.default = joi_1.default.object({
|
|
|
70
70
|
})),
|
|
71
71
|
createdAt: date_1.default.isDate(),
|
|
72
72
|
updatedAt: date_1.default.isDate().allow(null),
|
|
73
|
-
|
|
73
|
+
ORIGIN: joi_1.default.string().allow(null)
|
|
74
74
|
});
|
|
75
75
|
//# sourceMappingURL=teachers.js.map
|