datatruck 0.39.1 → 0.40.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 +51 -16
- package/package.json +2 -2
package/config.schema.json
CHANGED
|
@@ -409,30 +409,47 @@
|
|
|
409
409
|
"config": {
|
|
410
410
|
"type": "object",
|
|
411
411
|
"properties": {
|
|
412
|
-
"
|
|
413
|
-
"type": "string"
|
|
414
|
-
},
|
|
415
|
-
"hostname": {
|
|
416
|
-
"type": "string"
|
|
417
|
-
},
|
|
418
|
-
"port": {
|
|
419
|
-
"type": "number"
|
|
420
|
-
},
|
|
421
|
-
"username": {
|
|
422
|
-
"type": "string"
|
|
423
|
-
},
|
|
424
|
-
"password": {
|
|
412
|
+
"uri": {
|
|
425
413
|
"anyOf": [
|
|
426
414
|
{
|
|
427
415
|
"type": "object",
|
|
428
416
|
"properties": {
|
|
429
|
-
"
|
|
417
|
+
"host": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"username": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"password": {
|
|
424
|
+
"anyOf": [
|
|
425
|
+
{
|
|
426
|
+
"type": "object",
|
|
427
|
+
"properties": {
|
|
428
|
+
"path": {
|
|
429
|
+
"type": "string"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"additionalProperties": false,
|
|
433
|
+
"required": [
|
|
434
|
+
"path"
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
"port": {
|
|
443
|
+
"type": "number"
|
|
444
|
+
},
|
|
445
|
+
"database": {
|
|
430
446
|
"type": "string"
|
|
431
447
|
}
|
|
432
448
|
},
|
|
433
449
|
"additionalProperties": false,
|
|
434
450
|
"required": [
|
|
435
|
-
"
|
|
451
|
+
"database",
|
|
452
|
+
"host"
|
|
436
453
|
]
|
|
437
454
|
},
|
|
438
455
|
{
|
|
@@ -440,14 +457,32 @@
|
|
|
440
457
|
}
|
|
441
458
|
]
|
|
442
459
|
},
|
|
460
|
+
"command": {
|
|
461
|
+
"type": "string"
|
|
462
|
+
},
|
|
443
463
|
"compress": {
|
|
444
464
|
"type": "boolean"
|
|
445
465
|
},
|
|
446
466
|
"concurrency": {
|
|
447
467
|
"type": "number"
|
|
468
|
+
},
|
|
469
|
+
"targetDatabase": {
|
|
470
|
+
"type": "object",
|
|
471
|
+
"properties": {
|
|
472
|
+
"name": {
|
|
473
|
+
"type": "string"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"additionalProperties": false,
|
|
477
|
+
"required": [
|
|
478
|
+
"name"
|
|
479
|
+
]
|
|
448
480
|
}
|
|
449
481
|
},
|
|
450
|
-
"additionalProperties": false
|
|
482
|
+
"additionalProperties": false,
|
|
483
|
+
"required": [
|
|
484
|
+
"uri"
|
|
485
|
+
]
|
|
451
486
|
}
|
|
452
487
|
},
|
|
453
488
|
"additionalProperties": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datatruck",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.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.40.0"
|
|
30
30
|
},
|
|
31
31
|
"engine": {
|
|
32
32
|
"node": ">=20.0.0"
|