@tillhub/schemas 6.236.0 → 6.236.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [6.236.1](https://github.com/tillhub/schemas/compare/v6.236.0...v6.236.1) (2023-07-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **service_categories:** allow null description ([#832](https://github.com/tillhub/schemas/issues/832)) ([00704da](https://github.com/tillhub/schemas/commit/00704da))
7
+
1
8
  # [6.236.0](https://github.com/tillhub/schemas/compare/v6.235.0...v6.236.0) (2023-07-25)
2
9
 
3
10
 
@@ -1,14 +1,15 @@
1
1
  const base = require('../product_groups/base')
2
+ const { oneOf } = require('../../helpers/payload-or-null')
2
3
 
3
4
  const request = {
4
5
  ...base.request,
5
6
  properties: {
6
7
  ...base.request.properties,
7
- description: {
8
+ description: oneOf({
8
9
  description: 'A description of the service category',
9
10
  type: 'string',
10
11
  example: 'Haircuts for men'
11
- },
12
+ }),
12
13
  active: {
13
14
  description: 'Soft disable or enable this service category.',
14
15
  type: 'boolean',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.236.0",
3
+ "version": "6.236.1",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",