mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 20:53:00 +00:00
fix(ci): refresh CLI decimal schema goldens
This commit is contained in:
1 parent
e2ccd682cb
commit
25784cd4e7
4 files changed
+19
-19
No files matched your search
+3
-3
@@ -27,7 +27,7 @@ commands:
|
||||
minimum: 256
|
||||
maximum: 65536
|
||||
- type: string
|
||||
pattern: ^[0-9]+$
|
||||
pattern: ^0*(?:(?:2(?:5[6-9]|[6-8][0-9]|9[0-9])|[3-8][0-9]{2}|9[0-9]{2})|[1-9][0-9]{3}|(?:1[0-9]{4}|[2-5][0-9]{4}|6(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-4][0-9]{2}|5(?:0[0-9]|[1-2][0-9]|3[0-6])))))$
|
||||
description: Power-of-two block size from 256 to 65536 bytes
|
||||
offset:
|
||||
default: 0
|
||||
@@ -36,7 +36,7 @@ commands:
|
||||
minimum: 0
|
||||
maximum: 9007199254740991
|
||||
- type: string
|
||||
pattern: ^[0-9]+$
|
||||
pattern: ^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$
|
||||
description: Window start as a decimal file byte offset
|
||||
length:
|
||||
anyOf:
|
||||
@@ -44,7 +44,7 @@ commands:
|
||||
minimum: 0
|
||||
maximum: 9007199254740991
|
||||
- type: string
|
||||
pattern: ^[0-9]+$
|
||||
pattern: ^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$
|
||||
description: Window length in bytes; omit to extend through EOF
|
||||
additionalProperties: false
|
||||
globals:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
$ rea inspect-byte-entropy --schema --format json
|
||||
exit: 0
|
||||
--- stdout
|
||||
{"args":{"type":"object","properties":{"path":{"type":"string","minLength":1,"pattern":"^[^\\x00]*$","description":"Local file"}},"required":["path"],"additionalProperties":false},"options":{"type":"object","properties":{"blockSize":{"default":4096,"anyOf":[{"type":"integer","minimum":256,"maximum":65536},{"type":"string","pattern":"^[0-9]+$"}],"description":"Power-of-two block size from 256 to 65536 bytes"},"offset":{"default":0,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^[0-9]+$"}],"description":"Window start as a decimal file byte offset"},"length":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^[0-9]+$"}],"description":"Window length in bytes; omit to extend through EOF"}},"additionalProperties":false},"globals":{"type":"object","properties":{"timings":{"default":false,"description":"Write measured command timing to stderr.","type":"boolean"}},"required":["timings"],"additionalProperties":false}}
|
||||
{"args":{"type":"object","properties":{"path":{"type":"string","minLength":1,"pattern":"^[^\\x00]*$","description":"Local file"}},"required":["path"],"additionalProperties":false},"options":{"type":"object","properties":{"blockSize":{"default":4096,"anyOf":[{"type":"integer","minimum":256,"maximum":65536},{"type":"string","pattern":"^0*(?:(?:2(?:5[6-9]|[6-8][0-9]|9[0-9])|[3-8][0-9]{2}|9[0-9]{2})|[1-9][0-9]{3}|(?:1[0-9]{4}|[2-5][0-9]{4}|6(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-4][0-9]{2}|5(?:0[0-9]|[1-2][0-9]|3[0-6])))))$"}],"description":"Power-of-two block size from 256 to 65536 bytes"},"offset":{"default":0,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"}],"description":"Window start as a decimal file byte offset"},"length":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"}],"description":"Window length in bytes; omit to extend through EOF"}},"additionalProperties":false},"globals":{"type":"object","properties":{"timings":{"default":false,"description":"Write measured command timing to stderr.","type":"boolean"}},"required":["timings"],"additionalProperties":false}}
|
||||
<end>
|
||||
--- stderr
|
||||
<end>
|
||||
+12
-12
@@ -32,10 +32,10 @@ object
|
||||
|
||||
## options.properties.blockSize.anyOf
|
||||
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|---------|------------|
|
||||
| integer | 256 | 65536 | |
|
||||
| string | | | ^\[0-9\]+$ |
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| integer | 256 | 65536 | |
|
||||
| string | | | ^0\*(?:(?:2(?:5\[6-9\]\|\[6-8\]\[0-9\]\|9\[0-9\])\|\[3-8\]\[0-9\]\{2\}\|9\[0-9\]\{2\})\|\[1-9\]\[0-9\]\{3\}\|(?:1\[0-9\]\{4\}\|\[2-5\]\[0-9\]\{4\}\|6(?:0\[0-9\]\{3\}\|\[1-4\]\[0-9\]\{3\}\|5(?:0\[0-9\]\{2\}\|\[1-4\]\[0-9\]\{2\}\|5(?:0\[0-9\]\|\[1-2\]\[0-9\]\|3\[0-6\])))))$ |
|
||||
|
||||
## options.properties.blockSize.description
|
||||
|
||||
@@ -47,10 +47,10 @@ Power-of-two block size from 256 to 65536 bytes
|
||||
|
||||
## options.properties.offset.anyOf
|
||||
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|------------------|------------|
|
||||
| integer | 0 | 9007199254740991 | |
|
||||
| string | | | ^\[0-9\]+$ |
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| integer | 0 | 9007199254740991 | |
|
||||
| string | | | ^0\*(?:\[0-9\]\|\[1-9\]\[0-9\]\|\[1-9\]\[0-9\]\{2\}\|\[1-9\]\[0-9\]\{3\}\|\[1-9\]\[0-9\]\{4\}\|\[1-9\]\[0-9\]\{5\}\|\[1-9\]\[0-9\]\{6\}\|\[1-9\]\[0-9\]\{7\}\|\[1-9\]\[0-9\]\{8\}\|\[1-9\]\[0-9\]\{9\}\|\[1-9\]\[0-9\]\{10\}\|\[1-9\]\[0-9\]\{11\}\|\[1-9\]\[0-9\]\{12\}\|\[1-9\]\[0-9\]\{13\}\|\[1-9\]\[0-9\]\{14\}\|(?:1\[0-9\]\{15\}\|\[2-8\]\[0-9\]\{15\}\|900(?:0\[0-9\]\{12\}\|\[1-6\]\[0-9\]\{12\}\|7(?:0\[0-9\]\{11\}\|1(?:0\[0-9\]\{10\}\|\[1-8\]\[0-9\]\{10\}\|9(?:0\[0-9\]\{9\}\|\[1-8\]\[0-9\]\{9\}\|9(?:0\[0-9\]\{8\}\|1\[0-9\]\{8\}\|2(?:0\[0-9\]\{7\}\|\[1-4\]\[0-9\]\{7\}\|5(?:0\[0-9\]\{6\}\|\[1-3\]\[0-9\]\{6\}\|4(?:0\[0-9\]\{5\}\|\[1-6\]\[0-9\]\{5\}\|7(?:0\[0-9\]\{4\}\|\[1-3\]\[0-9\]\{4\}\|40(?:0\[0-9\]\{2\}\|\[1-8\]\[0-9\]\{2\}\|9(?:0\[0-9\]\|\[1-8\]\[0-9\]\|9\[0-1\])))))))))))))$ |
|
||||
|
||||
## options.properties.offset.description
|
||||
|
||||
@@ -58,10 +58,10 @@ Window start as a decimal file byte offset
|
||||
|
||||
## options.properties.length.anyOf
|
||||
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|------------------|------------|
|
||||
| integer | 0 | 9007199254740991 | |
|
||||
| string | | | ^\[0-9\]+$ |
|
||||
| type | minimum | maximum | pattern |
|
||||
|---------|---------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| integer | 0 | 9007199254740991 | |
|
||||
| string | | | ^0\*(?:\[0-9\]\|\[1-9\]\[0-9\]\|\[1-9\]\[0-9\]\{2\}\|\[1-9\]\[0-9\]\{3\}\|\[1-9\]\[0-9\]\{4\}\|\[1-9\]\[0-9\]\{5\}\|\[1-9\]\[0-9\]\{6\}\|\[1-9\]\[0-9\]\{7\}\|\[1-9\]\[0-9\]\{8\}\|\[1-9\]\[0-9\]\{9\}\|\[1-9\]\[0-9\]\{10\}\|\[1-9\]\[0-9\]\{11\}\|\[1-9\]\[0-9\]\{12\}\|\[1-9\]\[0-9\]\{13\}\|\[1-9\]\[0-9\]\{14\}\|(?:1\[0-9\]\{15\}\|\[2-8\]\[0-9\]\{15\}\|900(?:0\[0-9\]\{12\}\|\[1-6\]\[0-9\]\{12\}\|7(?:0\[0-9\]\{11\}\|1(?:0\[0-9\]\{10\}\|\[1-8\]\[0-9\]\{10\}\|9(?:0\[0-9\]\{9\}\|\[1-8\]\[0-9\]\{9\}\|9(?:0\[0-9\]\{8\}\|1\[0-9\]\{8\}\|2(?:0\[0-9\]\{7\}\|\[1-4\]\[0-9\]\{7\}\|5(?:0\[0-9\]\{6\}\|\[1-3\]\[0-9\]\{6\}\|4(?:0\[0-9\]\{5\}\|\[1-6\]\[0-9\]\{5\}\|7(?:0\[0-9\]\{4\}\|\[1-3\]\[0-9\]\{4\}\|40(?:0\[0-9\]\{2\}\|\[1-8\]\[0-9\]\{2\}\|9(?:0\[0-9\]\|\[1-8\]\[0-9\]\|9\[0-1\])))))))))))))$ |
|
||||
|
||||
## options.properties.length.description
|
||||
|
||||
|
||||
+3
-3
@@ -21,7 +21,7 @@ options:
|
||||
minimum: 256
|
||||
maximum: 65536
|
||||
- type: string
|
||||
pattern: "^[0-9]+$"
|
||||
pattern: "^0*(?:(?:2(?:5[6-9]|[6-8][0-9]|9[0-9])|[3-8][0-9]{2}|9[0-9]{2})|[1-9][0-9]{3}|(?:1[0-9]{4}|[2-5][0-9]{4}|6(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-4][0-9]{2}|5(?:0[0-9]|[1-2][0-9]|3[0-6])))))$"
|
||||
description: Power-of-two block size from 256 to 65536 bytes
|
||||
offset:
|
||||
default: 0
|
||||
@@ -30,7 +30,7 @@ options:
|
||||
minimum: 0
|
||||
maximum: 9007199254740991
|
||||
- type: string
|
||||
pattern: "^[0-9]+$"
|
||||
pattern: "^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"
|
||||
description: Window start as a decimal file byte offset
|
||||
length:
|
||||
anyOf[2]:
|
||||
@@ -38,7 +38,7 @@ options:
|
||||
minimum: 0
|
||||
maximum: 9007199254740991
|
||||
- type: string
|
||||
pattern: "^[0-9]+$"
|
||||
pattern: "^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"
|
||||
description: Window length in bytes; omit to extend through EOF
|
||||
additionalProperties: false
|
||||
globals:
|
||||
|
||||
Reference in new issue
Block a user