@tillhub/schemas 6.169.0 → 6.171.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [6.171.0](https://github.com/tillhub/schemas/compare/v6.170.0...v6.171.0) (2022-11-16)
2
+
3
+
4
+ ### Features
5
+
6
+ * **features:** fix webview ([c45fff5](https://github.com/tillhub/schemas/commit/c45fff5))
7
+
8
+ # [6.170.0](https://github.com/tillhub/schemas/compare/v6.169.0...v6.170.0) (2022-11-16)
9
+
10
+
11
+ ### Features
12
+
13
+ * **features:** oneOf webview features ([d3efb80](https://github.com/tillhub/schemas/commit/d3efb80))
14
+
1
15
  # [6.169.0](https://github.com/tillhub/schemas/compare/v6.168.0...v6.169.0) (2022-11-16)
2
16
 
3
17
 
@@ -1,3 +1,5 @@
1
+ const { oneOf } = require('../../../helpers/payload-or-null')
2
+
1
3
  module.exports = {
2
4
  savedcart: {
3
5
  type: 'boolean',
@@ -83,13 +85,10 @@ module.exports = {
83
85
  type: 'boolean',
84
86
  default: false
85
87
  },
86
- webview: {
87
- type: 'Object',
88
- properties: {
89
- enabled: {
90
- type: 'boolean',
91
- default: false
92
- }
88
+ webview: oneOf({
89
+ type: 'object',
90
+ example: {
91
+ enabled: false
93
92
  }
94
- }
93
+ })
95
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.169.0",
3
+ "version": "6.171.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",