datatruck 0.34.5 → 0.35.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 +57 -0
  2. package/package.json +2 -2
@@ -399,6 +399,63 @@
399
399
  "name"
400
400
  ]
401
401
  },
402
+ {
403
+ "type": "object",
404
+ "properties": {
405
+ "name": {
406
+ "type": "string",
407
+ "const": "mongo-dump"
408
+ },
409
+ "config": {
410
+ "type": "object",
411
+ "properties": {
412
+ "command": {
413
+ "type": "string"
414
+ },
415
+ "hostname": {
416
+ "type": "string"
417
+ },
418
+ "port": {
419
+ "type": "number"
420
+ },
421
+ "username": {
422
+ "type": "string"
423
+ },
424
+ "password": {
425
+ "anyOf": [
426
+ {
427
+ "type": "object",
428
+ "properties": {
429
+ "path": {
430
+ "type": "string"
431
+ }
432
+ },
433
+ "additionalProperties": false,
434
+ "required": [
435
+ "path"
436
+ ]
437
+ },
438
+ {
439
+ "type": "string"
440
+ }
441
+ ]
442
+ },
443
+ "compress": {
444
+ "type": "boolean"
445
+ },
446
+ "concurrency": {
447
+ "type": "number"
448
+ }
449
+ },
450
+ "additionalProperties": false
451
+ }
452
+ },
453
+ "additionalProperties": false,
454
+ "required": [
455
+ "config",
456
+ "name"
457
+ ]
458
+ },
402
459
  {
403
460
  "type": "object",
404
461
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datatruck",
3
- "version": "0.34.5",
3
+ "version": "0.35.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.34.5"
29
+ "@datatruck/cli": "0.35.1"
30
30
  },
31
31
  "engine": {
32
32
  "node": ">=20.0.0"