@tillhub/schemas 6.334.0 → 6.336.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.336.0](https://github.com/tillhub/schemas/compare/v6.335.0...v6.336.0) (2024-08-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **common:** custom_properties ([c08080b](https://github.com/tillhub/schemas/commit/c08080b))
|
|
7
|
+
|
|
8
|
+
# [6.335.0](https://github.com/tillhub/schemas/compare/v6.334.0...v6.335.0) (2024-08-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **custom_properties:** types ([51de677](https://github.com/tillhub/schemas/commit/51de677))
|
|
14
|
+
|
|
1
15
|
# [6.334.0](https://github.com/tillhub/schemas/compare/v6.333.0...v6.334.0) (2024-08-08)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const test = require('tape')
|
|
2
|
+
const validate = require('../helpers/validate-schema')
|
|
3
|
+
const customProperties = require('../../lib/common/custom_properties')
|
|
4
|
+
|
|
5
|
+
test('Cutom Properties: implementation schema validation', function (t) {
|
|
6
|
+
const { valid, error } = validate(customProperties.implementation)
|
|
7
|
+
t.ok(valid, 'implementation schema is valid')
|
|
8
|
+
t.error(error, 'should not get any error')
|
|
9
|
+
t.end()
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
test('Cutom Properties: definition schema validation', function (t) {
|
|
13
|
+
const { valid, error } = validate(customProperties.definition)
|
|
14
|
+
t.ok(valid, 'definition schema is valid')
|
|
15
|
+
t.error(error, 'should not get any error')
|
|
16
|
+
t.end()
|
|
17
|
+
})
|