@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 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
- origin: string;
4
+ ORIGIN: string;
5
5
  }>;
6
6
  static CourseEvent: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/events").Event & {
7
- origin: string;
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
- origin: string;
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
- origin: string;
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
- origin: string;
24
+ ORIGIN: string;
25
25
  }>;
26
26
  static LockedTime: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/locked-times").LockedTime & {
27
- origin: string;
27
+ ORIGIN: string;
28
28
  }>;
29
29
  static OverlapGroup: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/overlap-groups").OverlapGroup & {
30
- origin: string;
30
+ ORIGIN: string;
31
31
  }>;
32
32
  static Period: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/periods").Period & {
33
- origin: string;
33
+ ORIGIN: string;
34
34
  }>;
35
35
  static Person: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/persons").Person & {
36
- origin: string;
36
+ ORIGIN: string;
37
37
  }>;
38
38
  static RootInterval: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/root-intervals").RootInterval & {
39
- origin: string;
39
+ ORIGIN: string;
40
40
  }>;
41
41
  static Teacher: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/teachers").Teacher & {
42
- origin: string;
42
+ ORIGIN: string;
43
43
  }>;
44
44
  static Syllabus: import("joi").ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/syllabus").Syllabus & {
45
- origin: string;
45
+ ORIGIN: string;
46
46
  }>;
47
47
  }
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/events").Event & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
128
+ ORIGIN: joi_1.default.string().allow(null)
129
129
  });
130
130
  //# sourceMappingURL=course-events.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/courses").Course & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
107
+ ORIGIN: joi_1.default.string().allow(null)
108
108
  });
109
109
  //# sourceMappingURL=courses.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/exceptions").Exception & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
53
+ ORIGIN: joi_1.default.string().allow(null)
54
54
  });
55
55
  //# sourceMappingURL=exceptions.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/groups").Group & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
78
+ ORIGIN: joi_1.default.string().allow(null)
79
79
  });
80
80
  //# sourceMappingURL=groups.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/locations").Location & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
28
+ ORIGIN: joi_1.default.string().allow(null)
29
29
  });
30
30
  //# sourceMappingURL=locations.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/locked-times").LockedTime & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
60
+ ORIGIN: joi_1.default.string().allow(null)
61
61
  });
62
62
  //# sourceMappingURL=locked-times.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/overlap-groups").OverlapGroup & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
33
+ ORIGIN: joi_1.default.string().allow(null)
34
34
  });
35
35
  //# sourceMappingURL=overlap-groups.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/periods").Period & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
22
+ ORIGIN: joi_1.default.string().allow(null)
23
23
  });
24
24
  //# sourceMappingURL=periods.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/persons").Person & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
49
+ ORIGIN: joi_1.default.string().allow(null)
50
50
  });
51
51
  //# sourceMappingURL=persons.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/root-intervals").RootInterval & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
18
+ ORIGIN: joi_1.default.string().allow(null)
19
19
  });
20
20
  //# sourceMappingURL=root-intervals.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/syllabus").Syllabus & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
21
+ ORIGIN: joi_1.default.string().allow(null)
22
22
  });
23
23
  //# sourceMappingURL=syllabuses.js.map
@@ -1,5 +1,5 @@
1
1
  import Joi from 'joi';
2
2
  declare const _default: Joi.ObjectSchema<import("@royalschedule/maps/dist/core/v2/types/teachers").Teacher & {
3
- origin: string;
3
+ ORIGIN: string;
4
4
  }>;
5
5
  export default _default;
@@ -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
- origin: joi_1.default.string().allow(null)
73
+ ORIGIN: joi_1.default.string().allow(null)
74
74
  });
75
75
  //# sourceMappingURL=teachers.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalschedule/validators",
3
- "version": "2.10.17",
3
+ "version": "2.10.18",
4
4
  "description": "validators",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",