datatruck 0.38.2 → 0.39.1

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.
Files changed (2) hide show
  1. package/config.schema.json +38 -9
  2. package/package.json +2 -2
@@ -645,9 +645,6 @@
645
645
  "server": {
646
646
  "type": "object",
647
647
  "properties": {
648
- "log": {
649
- "type": "boolean"
650
- },
651
648
  "repository": {
652
649
  "type": "object",
653
650
  "properties": {
@@ -757,14 +754,46 @@
757
754
  "type": "object",
758
755
  "properties": {
759
756
  "enabled": {
757
+ "default": true,
760
758
  "type": "boolean"
761
759
  },
762
- "logPath": {
763
- "default": "'/var/logs/datatruck'",
764
- "type": [
765
- "string",
766
- "boolean"
767
- ]
760
+ "log": {
761
+ "type": "object",
762
+ "properties": {
763
+ "enabled": {
764
+ "default": true,
765
+ "type": "boolean"
766
+ },
767
+ "path": {
768
+ "default": "/var/logs/datatruck",
769
+ "type": "string"
770
+ },
771
+ "rotate": {
772
+ "type": "object",
773
+ "properties": {
774
+ "maxAge": {
775
+ "default": {
776
+ "days": 14
777
+ },
778
+ "type": "object",
779
+ "properties": {
780
+ "days": {
781
+ "type": "number"
782
+ },
783
+ "hours": {
784
+ "type": "number"
785
+ },
786
+ "minutes": {
787
+ "type": "number"
788
+ }
789
+ },
790
+ "additionalProperties": false
791
+ }
792
+ },
793
+ "additionalProperties": false
794
+ }
795
+ },
796
+ "additionalProperties": false
768
797
  }
769
798
  },
770
799
  "additionalProperties": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datatruck",
3
- "version": "0.38.2",
3
+ "version": "0.39.1",
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.38.2"
29
+ "@datatruck/cli": "0.39.1"
30
30
  },
31
31
  "engine": {
32
32
  "node": ">=20.0.0"