@alterset/alterspec-client 0.30.0 → 0.32.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.
@@ -1706,6 +1706,438 @@
1706
1706
  "changes"
1707
1707
  ],
1708
1708
  "additionalProperties": false
1709
+ },
1710
+ {
1711
+ "type": "object",
1712
+ "properties": {
1713
+ "format": {
1714
+ "type": "number",
1715
+ "const": 9
1716
+ },
1717
+ "alterspec": {
1718
+ "type": "string"
1719
+ },
1720
+ "exported": {
1721
+ "type": "string",
1722
+ "format": "date",
1723
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1724
+ },
1725
+ "baseline": {
1726
+ "anyOf": [
1727
+ {
1728
+ "type": "object",
1729
+ "properties": {
1730
+ "date": {
1731
+ "type": "string",
1732
+ "format": "date",
1733
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1734
+ },
1735
+ "built": {
1736
+ "type": "boolean"
1737
+ }
1738
+ },
1739
+ "required": [
1740
+ "date",
1741
+ "built"
1742
+ ],
1743
+ "additionalProperties": false
1744
+ },
1745
+ {
1746
+ "type": "null"
1747
+ }
1748
+ ]
1749
+ },
1750
+ "tracks": {
1751
+ "type": "array",
1752
+ "items": {
1753
+ "type": "object",
1754
+ "properties": {
1755
+ "code": {
1756
+ "type": "string",
1757
+ "pattern": "^[A-Z]{2,5}$"
1758
+ },
1759
+ "kind": {
1760
+ "type": "string",
1761
+ "enum": [
1762
+ "backend",
1763
+ "ui"
1764
+ ]
1765
+ },
1766
+ "channels": {
1767
+ "type": "array",
1768
+ "items": {
1769
+ "type": "string"
1770
+ }
1771
+ }
1772
+ },
1773
+ "required": [
1774
+ "code",
1775
+ "kind",
1776
+ "channels"
1777
+ ],
1778
+ "additionalProperties": false
1779
+ }
1780
+ },
1781
+ "changes": {
1782
+ "type": "array",
1783
+ "items": {
1784
+ "type": "object",
1785
+ "properties": {
1786
+ "id": {
1787
+ "type": "string",
1788
+ "pattern": "^CHG-\\d{3,}$"
1789
+ },
1790
+ "title": {
1791
+ "type": "string"
1792
+ },
1793
+ "signed_off": {
1794
+ "type": "string",
1795
+ "format": "date",
1796
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1797
+ },
1798
+ "delta": {
1799
+ "type": "string",
1800
+ "pattern": "^[0-9a-f]{16}$"
1801
+ },
1802
+ "depends_on": {
1803
+ "type": "array",
1804
+ "items": {
1805
+ "type": "string",
1806
+ "pattern": "^CHG-\\d{3,}$"
1807
+ }
1808
+ },
1809
+ "level": {
1810
+ "type": "integer",
1811
+ "minimum": 1,
1812
+ "maximum": 9007199254740991
1813
+ },
1814
+ "tasks": {
1815
+ "type": "array",
1816
+ "items": {
1817
+ "type": "object",
1818
+ "properties": {
1819
+ "track": {
1820
+ "type": "string",
1821
+ "pattern": "^[A-Z]{2,5}$"
1822
+ },
1823
+ "objects": {
1824
+ "type": "array",
1825
+ "items": {
1826
+ "type": "string"
1827
+ }
1828
+ },
1829
+ "items": {
1830
+ "minItems": 1,
1831
+ "type": "array",
1832
+ "items": {
1833
+ "type": "string",
1834
+ "minLength": 1
1835
+ }
1836
+ },
1837
+ "after": {
1838
+ "type": "array",
1839
+ "items": {
1840
+ "type": "object",
1841
+ "properties": {
1842
+ "change": {
1843
+ "type": "string",
1844
+ "pattern": "^CHG-\\d{3,}$"
1845
+ },
1846
+ "track": {
1847
+ "type": "string",
1848
+ "pattern": "^[A-Z]{2,5}$"
1849
+ }
1850
+ },
1851
+ "required": [
1852
+ "change",
1853
+ "track"
1854
+ ],
1855
+ "additionalProperties": false
1856
+ }
1857
+ },
1858
+ "weights": {
1859
+ "type": "object",
1860
+ "propertyNames": {
1861
+ "type": "string",
1862
+ "minLength": 1
1863
+ },
1864
+ "additionalProperties": {
1865
+ "type": "integer",
1866
+ "minimum": 0,
1867
+ "maximum": 100
1868
+ }
1869
+ },
1870
+ "weight": {
1871
+ "type": "integer",
1872
+ "minimum": 1,
1873
+ "maximum": 100
1874
+ },
1875
+ "title": {
1876
+ "type": "string",
1877
+ "maxLength": 100,
1878
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1879
+ },
1880
+ "summary": {
1881
+ "type": "string",
1882
+ "maxLength": 400,
1883
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1884
+ },
1885
+ "labels": {
1886
+ "type": "object",
1887
+ "propertyNames": {
1888
+ "type": "string",
1889
+ "minLength": 1
1890
+ },
1891
+ "additionalProperties": {
1892
+ "type": "string",
1893
+ "maxLength": 100,
1894
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1895
+ }
1896
+ },
1897
+ "versions": {
1898
+ "type": "object",
1899
+ "propertyNames": {
1900
+ "type": "string",
1901
+ "minLength": 1
1902
+ },
1903
+ "additionalProperties": {
1904
+ "type": "string",
1905
+ "pattern": "^[0-9a-f]{12}$"
1906
+ }
1907
+ },
1908
+ "alters": {
1909
+ "type": "array",
1910
+ "items": {
1911
+ "type": "string",
1912
+ "pattern": "^[A-Z]{2,5}$"
1913
+ }
1914
+ },
1915
+ "brief": {
1916
+ "type": "object",
1917
+ "properties": {
1918
+ "bytes": {
1919
+ "type": "integer",
1920
+ "minimum": 0,
1921
+ "maximum": 9007199254740991
1922
+ },
1923
+ "parts": {
1924
+ "type": "array",
1925
+ "items": {
1926
+ "type": "object",
1927
+ "properties": {
1928
+ "kind": {
1929
+ "type": "string",
1930
+ "enum": [
1931
+ "capability",
1932
+ "used_by",
1933
+ "decision",
1934
+ "object"
1935
+ ]
1936
+ },
1937
+ "key": {
1938
+ "type": "string",
1939
+ "minLength": 1
1940
+ },
1941
+ "path": {
1942
+ "type": "string",
1943
+ "minLength": 1
1944
+ },
1945
+ "bytes": {
1946
+ "type": "integer",
1947
+ "minimum": 0,
1948
+ "maximum": 9007199254740991
1949
+ },
1950
+ "touched": {
1951
+ "type": "boolean"
1952
+ },
1953
+ "paragraphs": {
1954
+ "type": "array",
1955
+ "items": {
1956
+ "type": "string",
1957
+ "minLength": 1
1958
+ }
1959
+ }
1960
+ },
1961
+ "required": [
1962
+ "kind",
1963
+ "key",
1964
+ "path",
1965
+ "bytes"
1966
+ ],
1967
+ "additionalProperties": false
1968
+ }
1969
+ }
1970
+ },
1971
+ "required": [
1972
+ "bytes",
1973
+ "parts"
1974
+ ],
1975
+ "additionalProperties": false
1976
+ },
1977
+ "amends": {
1978
+ "type": "array",
1979
+ "items": {
1980
+ "type": "object",
1981
+ "properties": {
1982
+ "change": {
1983
+ "type": "string",
1984
+ "pattern": "^CHG-\\d{3,}$"
1985
+ },
1986
+ "track": {
1987
+ "type": "string",
1988
+ "pattern": "^[A-Z]{2,5}$"
1989
+ }
1990
+ },
1991
+ "required": [
1992
+ "change",
1993
+ "track"
1994
+ ],
1995
+ "additionalProperties": false
1996
+ }
1997
+ }
1998
+ },
1999
+ "required": [
2000
+ "track",
2001
+ "objects",
2002
+ "items",
2003
+ "after"
2004
+ ],
2005
+ "additionalProperties": false
2006
+ }
2007
+ },
2008
+ "initiative": {
2009
+ "type": "string",
2010
+ "pattern": "^INI-[A-Z0-9]+(?:-[A-Z0-9]+)*$"
2011
+ },
2012
+ "released": {
2013
+ "type": "boolean",
2014
+ "const": false
2015
+ },
2016
+ "coupled": {
2017
+ "type": "boolean",
2018
+ "const": true
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "id",
2023
+ "title",
2024
+ "signed_off",
2025
+ "delta",
2026
+ "depends_on",
2027
+ "level"
2028
+ ],
2029
+ "additionalProperties": false
2030
+ }
2031
+ },
2032
+ "names": {
2033
+ "type": "object",
2034
+ "propertyNames": {
2035
+ "type": "string",
2036
+ "minLength": 1
2037
+ },
2038
+ "additionalProperties": {
2039
+ "type": "string",
2040
+ "maxLength": 100,
2041
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
2042
+ }
2043
+ },
2044
+ "initiatives": {
2045
+ "type": "array",
2046
+ "items": {
2047
+ "type": "object",
2048
+ "properties": {
2049
+ "id": {
2050
+ "type": "string",
2051
+ "pattern": "^INI-[A-Z0-9]+(?:-[A-Z0-9]+)*$"
2052
+ },
2053
+ "title": {
2054
+ "type": "string",
2055
+ "minLength": 1
2056
+ }
2057
+ },
2058
+ "required": [
2059
+ "id",
2060
+ "title"
2061
+ ],
2062
+ "additionalProperties": false
2063
+ }
2064
+ },
2065
+ "paths": {
2066
+ "type": "object",
2067
+ "propertyNames": {
2068
+ "type": "string",
2069
+ "minLength": 1
2070
+ },
2071
+ "additionalProperties": {
2072
+ "type": "string",
2073
+ "minLength": 1
2074
+ }
2075
+ },
2076
+ "release": {
2077
+ "type": "object",
2078
+ "properties": {
2079
+ "id": {
2080
+ "type": "string",
2081
+ "pattern": "^R-\\d{4}-\\d{2}-\\d{2}-\\d+$"
2082
+ },
2083
+ "date": {
2084
+ "type": "string",
2085
+ "format": "date",
2086
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
2087
+ },
2088
+ "note": {
2089
+ "type": "string",
2090
+ "maxLength": 400
2091
+ },
2092
+ "changes": {
2093
+ "type": "array",
2094
+ "items": {
2095
+ "type": "string",
2096
+ "pattern": "^CHG-\\d{3,}$"
2097
+ }
2098
+ },
2099
+ "held": {
2100
+ "type": "array",
2101
+ "items": {
2102
+ "type": "string",
2103
+ "pattern": "^CHG-\\d{3,}$"
2104
+ }
2105
+ },
2106
+ "touches": {
2107
+ "type": "object",
2108
+ "propertyNames": {
2109
+ "type": "string",
2110
+ "pattern": "^CHG-\\d{3,}$"
2111
+ },
2112
+ "additionalProperties": {
2113
+ "type": "array",
2114
+ "items": {
2115
+ "type": "string",
2116
+ "minLength": 1
2117
+ }
2118
+ }
2119
+ }
2120
+ },
2121
+ "required": [
2122
+ "id",
2123
+ "date",
2124
+ "note",
2125
+ "changes",
2126
+ "held",
2127
+ "touches"
2128
+ ],
2129
+ "additionalProperties": false
2130
+ }
2131
+ },
2132
+ "required": [
2133
+ "format",
2134
+ "alterspec",
2135
+ "exported",
2136
+ "baseline",
2137
+ "tracks",
2138
+ "changes"
2139
+ ],
2140
+ "additionalProperties": false
1709
2141
  }
1710
2142
  ]
1711
2143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alterset/alterspec-client",
3
- "version": "0.30.0",
3
+ "version": "0.32.0",
4
4
  "description": "The alterspec client: takes tasks of an alterspec export from the dispatcher into a developer's repository.",
5
5
  "license": "MIT",
6
6
  "author": "Alterset d.o.o.",