@royalschedule/validators 1.3.3 → 1.3.4
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.
|
@@ -11,6 +11,12 @@ exports.default = joi_1.default.object({
|
|
|
11
11
|
id: joi_1.default.string(),
|
|
12
12
|
displayName: joi_1.default.string().allow(null, ''),
|
|
13
13
|
ids: joi_1.default.string().allow(null),
|
|
14
|
+
tags: [
|
|
15
|
+
joi_1.default.array().items(joi_1.default.object({
|
|
16
|
+
value: joi_1.default.string(),
|
|
17
|
+
type: joi_1.default.string()
|
|
18
|
+
})),
|
|
19
|
+
],
|
|
14
20
|
lockedTimes: joi_1.default.array().items(joi_1.default.custom(util_1.Util.functions.schemaWrapper(require('./locked-times')))),
|
|
15
21
|
lunch: joi_1.default.array().items(joi_1.default.custom(util_1.Util.functions.schemaWrapper(require('./locked-times')))).allow(null),
|
|
16
22
|
minBreakLength: break_length_1.default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locations.js","sourceRoot":"","sources":["../../src/validators/locations.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsD;AAGtD,yCAAiE;AAGjE,kEAAiE;AACjE,kDAAyD;AAEzD,kBAAe,aAAG,CAAC,MAAM,CAA2C;IAClE,EAAE,EAAe,aAAG,CAAC,MAAM,EAAE;IAE7B,WAAW,EAAM,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;IAC7C,GAAG,EAAc,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"locations.js","sourceRoot":"","sources":["../../src/validators/locations.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsD;AAGtD,yCAAiE;AAGjE,kEAAiE;AACjE,kDAAyD;AAEzD,kBAAe,aAAG,CAAC,MAAM,CAA2C;IAClE,EAAE,EAAe,aAAG,CAAC,MAAM,EAAE;IAE7B,WAAW,EAAM,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;IAC7C,GAAG,EAAc,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;IACzC,IAAI,EAAa;QACE,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,CAAC;YAC3B,KAAK,EAAE,aAAG,CAAC,MAAM,EAAE;YACnB,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE;SACnB,CAAC,CAAC;KACJ;IAElB,WAAW,EAAG,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,CAAC,WAAI,CAAC,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACpG,KAAK,EAAS,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,CAAC,WAAI,CAAC,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;IAChH,cAAc,EAAG,sBAAY;IAC7B,IAAI,EAAa,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,cAAK,CAAC;CAC1C,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royalschedule/validators",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "validators",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"author": "",
|
|
19
19
|
"license": "ISC",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@types/lodash": "^4.14.
|
|
21
|
+
"@types/lodash": "^4.14.194",
|
|
22
22
|
"ts-node": "^10.9.1",
|
|
23
23
|
"typescript": "^4.9.5"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@meanie/joi-moment": "^2.5.1",
|
|
27
|
-
"@royalschedule/maps": "^2.3.
|
|
28
|
-
"joi": "^17.
|
|
27
|
+
"@royalschedule/maps": "^2.3.40",
|
|
28
|
+
"joi": "^17.9.1",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"moment": "^2.29.4",
|
|
31
|
-
"nanoid": "^3.3.
|
|
31
|
+
"nanoid": "^3.3.6"
|
|
32
32
|
}
|
|
33
33
|
}
|