datatruck 0.4.0 → 0.5.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,5 +1,12 @@
1
1
  # datatruck
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`5aeb2af`](https://github.com/swordev/datatruck/commit/5aeb2afb96692e00bdba501b58df9cc0e02dceaa), [`75de836`](https://github.com/swordev/datatruck/commit/75de8369356cf02ed3fd5c58b1f9bea66432cda8)]:
8
+ - @datatruck/cli@0.5.0
9
+
3
10
  ## 0.4.0
4
11
 
5
12
  ### Patch Changes
@@ -20,6 +20,37 @@
20
20
  "name": {
21
21
  "type": "string"
22
22
  },
23
+ "enabled": {
24
+ "anyOf": [
25
+ {
26
+ "type": "boolean"
27
+ },
28
+ {
29
+ "type": "object",
30
+ "additionalProperties": false,
31
+ "properties": {
32
+ "defaults": {
33
+ "type": "boolean"
34
+ },
35
+ "backup": {
36
+ "type": "boolean"
37
+ },
38
+ "init": {
39
+ "type": "boolean"
40
+ },
41
+ "prune": {
42
+ "type": "boolean"
43
+ },
44
+ "restore": {
45
+ "type": "boolean"
46
+ },
47
+ "snapshots": {
48
+ "type": "boolean"
49
+ }
50
+ }
51
+ }
52
+ ]
53
+ },
23
54
  "config": {}
24
55
  },
25
56
  "anyOf": [
@@ -462,13 +493,29 @@
462
493
  "restic-repository": {
463
494
  "type": "object",
464
495
  "required": [
465
- "passwordFile",
496
+ "password",
466
497
  "repository"
467
498
  ],
468
499
  "additionalProperties": false,
469
500
  "properties": {
470
- "passwordFile": {
471
- "type": "string"
501
+ "password": {
502
+ "anyOf": [
503
+ {
504
+ "type": "string"
505
+ },
506
+ {
507
+ "type": "object",
508
+ "additionalProperties": false,
509
+ "required": [
510
+ "path"
511
+ ],
512
+ "properties": {
513
+ "path": {
514
+ "type": "string"
515
+ }
516
+ }
517
+ }
518
+ ]
472
519
  },
473
520
  "repository": {
474
521
  "type": "object",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "datatruck",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "dependencies": {
5
- "@datatruck/cli": "0.4.0"
5
+ "@datatruck/cli": "0.5.0"
6
6
  },
7
7
  "engine": {
8
8
  "node": ">=16.0.0"