datatruck 0.36.8 → 0.37.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/config.schema.json +83 -79
- package/package.json +2 -2
package/config.schema.json
CHANGED
|
@@ -759,11 +759,12 @@
|
|
|
759
759
|
"enabled": {
|
|
760
760
|
"type": "boolean"
|
|
761
761
|
},
|
|
762
|
-
"
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
|
|
762
|
+
"logPath": {
|
|
763
|
+
"default": "'/var/logs/datatruck'",
|
|
764
|
+
"type": [
|
|
765
|
+
"string",
|
|
766
|
+
"boolean"
|
|
767
|
+
]
|
|
767
768
|
}
|
|
768
769
|
},
|
|
769
770
|
"additionalProperties": false
|
|
@@ -771,6 +772,12 @@
|
|
|
771
772
|
},
|
|
772
773
|
"additionalProperties": false
|
|
773
774
|
},
|
|
775
|
+
"jobs": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"additionalProperties": {
|
|
778
|
+
"$ref": "#/definitions/Job"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
774
781
|
"reports": {
|
|
775
782
|
"type": "array",
|
|
776
783
|
"items": {
|
|
@@ -1658,12 +1665,46 @@
|
|
|
1658
1665
|
}
|
|
1659
1666
|
]
|
|
1660
1667
|
},
|
|
1661
|
-
"
|
|
1668
|
+
"Job": {
|
|
1662
1669
|
"anyOf": [
|
|
1663
1670
|
{
|
|
1664
1671
|
"additionalProperties": false,
|
|
1665
1672
|
"type": "object",
|
|
1666
1673
|
"properties": {
|
|
1674
|
+
"action": {
|
|
1675
|
+
"type": "string",
|
|
1676
|
+
"const": "backup"
|
|
1677
|
+
},
|
|
1678
|
+
"options": {
|
|
1679
|
+
"type": "object",
|
|
1680
|
+
"properties": {
|
|
1681
|
+
"package": {
|
|
1682
|
+
"type": "string"
|
|
1683
|
+
},
|
|
1684
|
+
"packageTask": {
|
|
1685
|
+
"type": "string"
|
|
1686
|
+
},
|
|
1687
|
+
"repository": {
|
|
1688
|
+
"type": "string"
|
|
1689
|
+
},
|
|
1690
|
+
"repositoryType": {
|
|
1691
|
+
"type": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"tag": {
|
|
1694
|
+
"type": "string"
|
|
1695
|
+
},
|
|
1696
|
+
"dryRun": {
|
|
1697
|
+
"type": "boolean"
|
|
1698
|
+
},
|
|
1699
|
+
"date": {
|
|
1700
|
+
"type": "string"
|
|
1701
|
+
},
|
|
1702
|
+
"prune": {
|
|
1703
|
+
"type": "boolean"
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
"additionalProperties": false
|
|
1707
|
+
},
|
|
1667
1708
|
"schedule": {
|
|
1668
1709
|
"anyOf": [
|
|
1669
1710
|
{
|
|
@@ -1771,52 +1812,48 @@
|
|
|
1771
1812
|
"type": "string"
|
|
1772
1813
|
}
|
|
1773
1814
|
]
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"required": [
|
|
1818
|
+
"action",
|
|
1819
|
+
"options"
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"additionalProperties": false,
|
|
1824
|
+
"type": "object",
|
|
1825
|
+
"properties": {
|
|
1826
|
+
"action": {
|
|
1776
1827
|
"type": "string",
|
|
1777
|
-
"const": "
|
|
1828
|
+
"const": "copy"
|
|
1778
1829
|
},
|
|
1779
1830
|
"options": {
|
|
1780
1831
|
"type": "object",
|
|
1781
1832
|
"properties": {
|
|
1782
|
-
"
|
|
1833
|
+
"id": {
|
|
1783
1834
|
"type": "string"
|
|
1784
1835
|
},
|
|
1785
|
-
"
|
|
1786
|
-
"type": "
|
|
1836
|
+
"last": {
|
|
1837
|
+
"type": "number"
|
|
1787
1838
|
},
|
|
1788
|
-
"
|
|
1839
|
+
"package": {
|
|
1789
1840
|
"type": "string"
|
|
1790
1841
|
},
|
|
1791
|
-
"
|
|
1842
|
+
"packageTask": {
|
|
1792
1843
|
"type": "string"
|
|
1793
1844
|
},
|
|
1794
|
-
"
|
|
1845
|
+
"repository": {
|
|
1795
1846
|
"type": "string"
|
|
1796
1847
|
},
|
|
1797
|
-
"
|
|
1798
|
-
"type": "boolean"
|
|
1799
|
-
},
|
|
1800
|
-
"date": {
|
|
1848
|
+
"repository2": {
|
|
1801
1849
|
"type": "string"
|
|
1802
|
-
},
|
|
1803
|
-
"prune": {
|
|
1804
|
-
"type": "boolean"
|
|
1805
1850
|
}
|
|
1806
1851
|
},
|
|
1807
|
-
"additionalProperties": false
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
"options",
|
|
1813
|
-
"schedule"
|
|
1814
|
-
]
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"additionalProperties": false,
|
|
1818
|
-
"type": "object",
|
|
1819
|
-
"properties": {
|
|
1852
|
+
"additionalProperties": false,
|
|
1853
|
+
"required": [
|
|
1854
|
+
"repository"
|
|
1855
|
+
]
|
|
1856
|
+
},
|
|
1820
1857
|
"schedule": {
|
|
1821
1858
|
"anyOf": [
|
|
1822
1859
|
{
|
|
@@ -1924,49 +1961,24 @@
|
|
|
1924
1961
|
"type": "string"
|
|
1925
1962
|
}
|
|
1926
1963
|
]
|
|
1927
|
-
},
|
|
1928
|
-
"name": {
|
|
1929
|
-
"type": "string",
|
|
1930
|
-
"const": "copy"
|
|
1931
|
-
},
|
|
1932
|
-
"options": {
|
|
1933
|
-
"type": "object",
|
|
1934
|
-
"properties": {
|
|
1935
|
-
"id": {
|
|
1936
|
-
"type": "string"
|
|
1937
|
-
},
|
|
1938
|
-
"last": {
|
|
1939
|
-
"type": "number"
|
|
1940
|
-
},
|
|
1941
|
-
"package": {
|
|
1942
|
-
"type": "string"
|
|
1943
|
-
},
|
|
1944
|
-
"packageTask": {
|
|
1945
|
-
"type": "string"
|
|
1946
|
-
},
|
|
1947
|
-
"repository": {
|
|
1948
|
-
"type": "string"
|
|
1949
|
-
},
|
|
1950
|
-
"repository2": {
|
|
1951
|
-
"type": "string"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
"additionalProperties": false,
|
|
1955
|
-
"required": [
|
|
1956
|
-
"repository"
|
|
1957
|
-
]
|
|
1958
1964
|
}
|
|
1959
1965
|
},
|
|
1960
1966
|
"required": [
|
|
1961
|
-
"
|
|
1962
|
-
"options"
|
|
1963
|
-
"schedule"
|
|
1967
|
+
"action",
|
|
1968
|
+
"options"
|
|
1964
1969
|
]
|
|
1965
1970
|
},
|
|
1966
1971
|
{
|
|
1967
1972
|
"additionalProperties": false,
|
|
1968
1973
|
"type": "object",
|
|
1969
1974
|
"properties": {
|
|
1975
|
+
"action": {
|
|
1976
|
+
"type": "string",
|
|
1977
|
+
"const": "prune"
|
|
1978
|
+
},
|
|
1979
|
+
"options": {
|
|
1980
|
+
"$ref": "#/definitions/Omit<PruneCommandOptions,\"confirm\">"
|
|
1981
|
+
},
|
|
1970
1982
|
"schedule": {
|
|
1971
1983
|
"anyOf": [
|
|
1972
1984
|
{
|
|
@@ -2074,19 +2086,11 @@
|
|
|
2074
2086
|
"type": "string"
|
|
2075
2087
|
}
|
|
2076
2088
|
]
|
|
2077
|
-
},
|
|
2078
|
-
"name": {
|
|
2079
|
-
"type": "string",
|
|
2080
|
-
"const": "prune"
|
|
2081
|
-
},
|
|
2082
|
-
"options": {
|
|
2083
|
-
"$ref": "#/definitions/Omit<PruneCommandOptions,\"confirm\">"
|
|
2084
2089
|
}
|
|
2085
2090
|
},
|
|
2086
2091
|
"required": [
|
|
2087
|
-
"
|
|
2088
|
-
"options"
|
|
2089
|
-
"schedule"
|
|
2092
|
+
"action",
|
|
2093
|
+
"options"
|
|
2090
2094
|
]
|
|
2091
2095
|
}
|
|
2092
2096
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datatruck",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Tool for creating and managing backups",
|
|
5
5
|
"homepage": "https://github.com/swordev/datatruck#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"config.schema.json"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@datatruck/cli": "0.
|
|
29
|
+
"@datatruck/cli": "0.37.0"
|
|
30
30
|
},
|
|
31
31
|
"engine": {
|
|
32
32
|
"node": ">=20.0.0"
|