@tillhub/schemas 6.261.0 → 6.263.0
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/CHANGELOG.md +14 -0
- package/lib/v0/staff/base.js +13 -0
- package/lib/v1/registers/base-mms.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [6.263.0](https://github.com/tillhub/schemas/compare/v6.262.0...v6.263.0) (2023-09-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **staffs:** staff members have color that shows in reservation calendar around timeslot that they ([9149137](https://github.com/tillhub/schemas/commit/9149137))
|
|
7
|
+
|
|
8
|
+
# [6.262.0](https://github.com/tillhub/schemas/compare/v6.261.0...v6.262.0) (2023-09-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **terminalId:** terminalId has been added ([#871](https://github.com/tillhub/schemas/issues/871)) ([723ff75](https://github.com/tillhub/schemas/commit/723ff75))
|
|
14
|
+
|
|
1
15
|
# [6.261.0](https://github.com/tillhub/schemas/compare/v6.260.1...v6.261.0) (2023-09-20)
|
|
2
16
|
|
|
3
17
|
|
package/lib/v0/staff/base.js
CHANGED
|
@@ -505,6 +505,19 @@ module.exports = {
|
|
|
505
505
|
}
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
|
+
calendar_color: {
|
|
509
|
+
description: 'A color to be used in the calendar for this staff member.',
|
|
510
|
+
oneOf: [
|
|
511
|
+
{
|
|
512
|
+
type: 'string',
|
|
513
|
+
maxLength: 7,
|
|
514
|
+
minLength: 7
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
type: 'null'
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
508
521
|
individual_reservation_times: {
|
|
509
522
|
description: 'Whether or not this staff member is having custom work hours.',
|
|
510
523
|
type: 'boolean'
|