datatruck 0.21.1 → 0.22.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # datatruck
2
2
 
3
+ ## 0.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`e21ad9f`](https://github.com/swordev/datatruck/commit/e21ad9f33bd6cd28cc4c47485643905dd92dcb57), [`5e5ebf5`](https://github.com/swordev/datatruck/commit/5e5ebf53b0cb87160e7887e2a6372617e19d38b1)]:
8
+ - @datatruck/cli@0.22.1
9
+
10
+ ## 0.22.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`d0649f1`](https://github.com/swordev/datatruck/commit/d0649f1f7d4a7d891bea19793cfcb24d752a0d5c), [`2e76917`](https://github.com/swordev/datatruck/commit/2e7691753b0a74c1f0653960882d13fbcf7d0567)]:
15
+ - @datatruck/cli@0.22.0
16
+
3
17
  ## 0.21.1
4
18
 
5
19
  ### Patch Changes
@@ -880,11 +880,85 @@
880
880
  }
881
881
  },
882
882
  "mysql-dump-task": {
883
- "allOf": [
884
- {
885
- "$ref": "#/definitions/sqldump-task"
883
+ "type": "object",
884
+ "required": [
885
+ "password",
886
+ "hostname",
887
+ "username",
888
+ "database"
889
+ ],
890
+ "additionalProperties": false,
891
+ "properties": {
892
+ "dataFormat": {
893
+ "enum": [
894
+ "csv",
895
+ "sql"
896
+ ]
897
+ },
898
+ "csvSharedPath": {
899
+ "type": "string"
900
+ },
901
+ "password": {
902
+ "anyOf": [
903
+ {
904
+ "type": "string"
905
+ },
906
+ {
907
+ "type": "object",
908
+ "additionalProperties": false,
909
+ "required": [
910
+ "path"
911
+ ],
912
+ "properties": {
913
+ "path": {
914
+ "type": "string"
915
+ }
916
+ }
917
+ }
918
+ ]
919
+ },
920
+ "hostname": {
921
+ "type": "string"
922
+ },
923
+ "port": {
924
+ "type": "integer"
925
+ },
926
+ "username": {
927
+ "type": "string"
928
+ },
929
+ "database": {
930
+ "type": "string"
931
+ },
932
+ "targetDatabase": {
933
+ "type": "object",
934
+ "required": [
935
+ "name"
936
+ ],
937
+ "properties": {
938
+ "name": {
939
+ "type": "string"
940
+ },
941
+ "charset": {
942
+ "type": "string"
943
+ },
944
+ "collate": {
945
+ "type": "string"
946
+ }
947
+ }
948
+ },
949
+ "storedPrograms": {
950
+ "type": "boolean"
951
+ },
952
+ "includeTables": {
953
+ "$ref": "#/definitions/stringlist-util"
954
+ },
955
+ "excludeTables": {
956
+ "$ref": "#/definitions/stringlist-util"
957
+ },
958
+ "oneFileByTable": {
959
+ "type": "boolean"
886
960
  }
887
- ]
961
+ }
888
962
  },
889
963
  "postgresql-dump-task": {
890
964
  "allOf": [
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "datatruck",
3
- "version": "0.21.1",
3
+ "version": "0.22.1",
4
4
  "dependencies": {
5
- "@datatruck/cli": "0.21.1"
5
+ "@datatruck/cli": "0.22.1"
6
6
  },
7
7
  "engine": {
8
8
  "node": ">=16.0.0"