@tillhub/schemas 6.392.0 → 6.394.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/v1/registers/base.js +5 -1
- package/lib/v1/table_layout/update.js +8 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [6.394.0](https://github.com/tillhub/schemas/compare/v6.393.0...v6.394.0) (2025-06-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **registers:** device_configuration ([6752dbf](https://github.com/tillhub/schemas/commit/6752dbf))
|
|
7
|
+
|
|
8
|
+
# [6.393.0](https://github.com/tillhub/schemas/compare/v6.392.0...v6.393.0) (2025-06-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **table-layout:** update schema to allow additional properties ([#1075](https://github.com/tillhub/schemas/issues/1075)) ([5b93713](https://github.com/tillhub/schemas/commit/5b93713))
|
|
14
|
+
|
|
1
15
|
# [6.392.0](https://github.com/tillhub/schemas/compare/v6.391.0...v6.392.0) (2025-06-19)
|
|
2
16
|
|
|
3
17
|
|
package/lib/v1/registers/base.js
CHANGED
|
@@ -2,6 +2,7 @@ const { stripIndents } = require('common-tags')
|
|
|
2
2
|
const { oneOf, anyOf } = require('../../helpers/payload-or-null')
|
|
3
3
|
|
|
4
4
|
const countingDecision = require('../../common/counting_decision')
|
|
5
|
+
const deviceInfo = require('../../common/device_info')
|
|
5
6
|
|
|
6
7
|
module.exports = {
|
|
7
8
|
name: {
|
|
@@ -441,7 +442,10 @@ module.exports = {
|
|
|
441
442
|
type: 'null'
|
|
442
443
|
}
|
|
443
444
|
]
|
|
444
|
-
}
|
|
445
|
+
},
|
|
446
|
+
device_info: oneOf({
|
|
447
|
+
...deviceInfo
|
|
448
|
+
})
|
|
445
449
|
}
|
|
446
450
|
},
|
|
447
451
|
{
|
|
@@ -3,8 +3,14 @@ const base = require('./base')
|
|
|
3
3
|
module.exports.request = {
|
|
4
4
|
$id: 'https://schemas.tillhub.com/v0/table_layout.update.request.schema.json',
|
|
5
5
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6
|
-
additionalProperties:
|
|
6
|
+
additionalProperties: true,
|
|
7
7
|
type: 'object',
|
|
8
8
|
required: [],
|
|
9
|
-
properties:
|
|
9
|
+
properties: {
|
|
10
|
+
...base,
|
|
11
|
+
tables_count: { // @TODO: remove this field
|
|
12
|
+
type: 'number',
|
|
13
|
+
default: 0
|
|
14
|
+
}
|
|
15
|
+
}
|
|
10
16
|
}
|