@tillhub/schemas 6.193.0 → 6.194.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 +7 -0
- package/lib/v1/products/base.js +14 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.194.0](https://github.com/tillhub/schemas/compare/v6.193.0...v6.194.0) (2023-02-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **products:** array of uuid ([ba92044](https://github.com/tillhub/schemas/commit/ba92044))
|
|
7
|
+
|
|
1
8
|
# [6.193.0](https://github.com/tillhub/schemas/compare/v6.192.0...v6.193.0) (2023-02-15)
|
|
2
9
|
|
|
3
10
|
|
package/lib/v1/products/base.js
CHANGED
|
@@ -92,7 +92,13 @@ const request = {
|
|
|
92
92
|
tags: {
|
|
93
93
|
anyOf: [
|
|
94
94
|
{
|
|
95
|
-
type: 'array'
|
|
95
|
+
type: 'array',
|
|
96
|
+
items: {
|
|
97
|
+
type: 'string',
|
|
98
|
+
example: '860defb8-5598-421d-9da4-f0826e767536',
|
|
99
|
+
format: 'uuid',
|
|
100
|
+
description: 'The uuid v4 that is generated on the API when a tag is created'
|
|
101
|
+
}
|
|
96
102
|
},
|
|
97
103
|
{
|
|
98
104
|
type: 'null'
|
|
@@ -103,7 +109,13 @@ const request = {
|
|
|
103
109
|
description: 'Used to store linked_products (existing (can be any type, including `linked` and embedded (`full` product schema)',
|
|
104
110
|
anyOf: [
|
|
105
111
|
{
|
|
106
|
-
type: 'array'
|
|
112
|
+
type: 'array',
|
|
113
|
+
items: {
|
|
114
|
+
type: 'string',
|
|
115
|
+
example: '860defb8-5598-421d-9da4-f0826e767536',
|
|
116
|
+
format: 'uuid',
|
|
117
|
+
description: 'The uuid v4 that is generated on the API when a product is created'
|
|
118
|
+
}
|
|
107
119
|
},
|
|
108
120
|
{
|
|
109
121
|
type: 'null'
|