datatruck 0.26.2 → 0.28.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 +14 -0
- package/config.schema.json +124 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# datatruck
|
|
2
2
|
|
|
3
|
+
## 0.28.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b50b10b`](https://github.com/swordev/datatruck/commit/b50b10bb29a15db0b4dadd3de499b9cd6738d706), [`89b0856`](https://github.com/swordev/datatruck/commit/89b0856b2a5bfc42458a9bcb271a04f2dce26098), [`93e8e83`](https://github.com/swordev/datatruck/commit/93e8e830792f7d8957e89787c981e6a45ae4d02d), [`1ad7fd9`](https://github.com/swordev/datatruck/commit/1ad7fd99f6e8f6d8128ea35e7c680cc3618d6ac4), [`1745715`](https://github.com/swordev/datatruck/commit/17457154930f15865858e89b7f3932c617dfddf4), [`8fa2fe0`](https://github.com/swordev/datatruck/commit/8fa2fe0a1213cf9614bb8c5bbe999d0d8e7130e8), [`e3d54c3`](https://github.com/swordev/datatruck/commit/e3d54c34df8ba42e77040d183d993808c8a7cdbb), [`d59d435`](https://github.com/swordev/datatruck/commit/d59d435fc1a244da944ad0c36bf1dcf7735ba289), [`802d6a5`](https://github.com/swordev/datatruck/commit/802d6a577f46bfccc1c1a5b8c4431976cd6d7820), [`5d1ece0`](https://github.com/swordev/datatruck/commit/5d1ece0760c317c71175250812e43fc866bcfc5a), [`8c00e9c`](https://github.com/swordev/datatruck/commit/8c00e9c78a656807d09d147c9b1017c2a1b8d127)]:
|
|
8
|
+
- @datatruck/cli@0.28.0
|
|
9
|
+
|
|
10
|
+
## 0.27.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`e6485ad`](https://github.com/swordev/datatruck/commit/e6485ad80258d3b1c30f3efb1a2549a5c2760878)]:
|
|
15
|
+
- @datatruck/cli@0.27.0
|
|
16
|
+
|
|
3
17
|
## 0.26.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/config.schema.json
CHANGED
|
@@ -444,11 +444,11 @@
|
|
|
444
444
|
"datatruck-repository": {
|
|
445
445
|
"type": "object",
|
|
446
446
|
"required": [
|
|
447
|
-
"
|
|
447
|
+
"backend"
|
|
448
448
|
],
|
|
449
449
|
"additionalProperties": false,
|
|
450
450
|
"properties": {
|
|
451
|
-
"
|
|
451
|
+
"backend": {
|
|
452
452
|
"type": "string"
|
|
453
453
|
},
|
|
454
454
|
"compress": {
|
|
@@ -902,6 +902,16 @@
|
|
|
902
902
|
"csvSharedPath": {
|
|
903
903
|
"type": "string"
|
|
904
904
|
},
|
|
905
|
+
"compress": {
|
|
906
|
+
"anyOf": [
|
|
907
|
+
{
|
|
908
|
+
"type": "boolean"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"$ref": "#/definitions/compress-util"
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
905
915
|
"password": {
|
|
906
916
|
"anyOf": [
|
|
907
917
|
{
|
|
@@ -985,6 +995,43 @@
|
|
|
985
995
|
"tempDir": {
|
|
986
996
|
"type": "string"
|
|
987
997
|
},
|
|
998
|
+
"minFreeDiskSpace": {
|
|
999
|
+
"anyOf": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "integer"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
},
|
|
1008
|
+
"reports": {
|
|
1009
|
+
"type": "array",
|
|
1010
|
+
"items": {
|
|
1011
|
+
"type": "object",
|
|
1012
|
+
"additionalProperties": false,
|
|
1013
|
+
"properties": {
|
|
1014
|
+
"when": {
|
|
1015
|
+
"enum": [
|
|
1016
|
+
"success",
|
|
1017
|
+
"error"
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
"format": {
|
|
1021
|
+
"enum": [
|
|
1022
|
+
"json",
|
|
1023
|
+
"list",
|
|
1024
|
+
"pjson",
|
|
1025
|
+
"table",
|
|
1026
|
+
"yaml"
|
|
1027
|
+
]
|
|
1028
|
+
},
|
|
1029
|
+
"run": {
|
|
1030
|
+
"$ref": "#/definitions/script-task_step"
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
988
1035
|
"repositories": {
|
|
989
1036
|
"type": "array",
|
|
990
1037
|
"items": {
|
|
@@ -996,6 +1043,42 @@
|
|
|
996
1043
|
"items": {
|
|
997
1044
|
"$ref": "#/definitions/package"
|
|
998
1045
|
}
|
|
1046
|
+
},
|
|
1047
|
+
"server": {
|
|
1048
|
+
"type": "object",
|
|
1049
|
+
"additionalProperties": false,
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"path": {
|
|
1052
|
+
"type": "string"
|
|
1053
|
+
},
|
|
1054
|
+
"users": {
|
|
1055
|
+
"type": "array",
|
|
1056
|
+
"items": {
|
|
1057
|
+
"type": "object",
|
|
1058
|
+
"additionalProperties": false,
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"name": {
|
|
1061
|
+
"type": "string"
|
|
1062
|
+
},
|
|
1063
|
+
"password": {
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"listen": {
|
|
1070
|
+
"type": "object",
|
|
1071
|
+
"additionalProperties": false,
|
|
1072
|
+
"properties": {
|
|
1073
|
+
"port": {
|
|
1074
|
+
"type": "integer"
|
|
1075
|
+
},
|
|
1076
|
+
"address": {
|
|
1077
|
+
"type": "string"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
999
1082
|
}
|
|
1000
1083
|
}
|
|
1001
1084
|
},
|
|
@@ -1075,7 +1158,8 @@
|
|
|
1075
1158
|
"type": {
|
|
1076
1159
|
"enum": [
|
|
1077
1160
|
"process",
|
|
1078
|
-
"node"
|
|
1161
|
+
"node",
|
|
1162
|
+
"telegram-message"
|
|
1079
1163
|
]
|
|
1080
1164
|
},
|
|
1081
1165
|
"config": {}
|
|
@@ -1118,6 +1202,25 @@
|
|
|
1118
1202
|
}
|
|
1119
1203
|
},
|
|
1120
1204
|
"else": false
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"if": {
|
|
1208
|
+
"type": "object",
|
|
1209
|
+
"properties": {
|
|
1210
|
+
"type": {
|
|
1211
|
+
"const": "telegram-message"
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
"then": {
|
|
1216
|
+
"type": "object",
|
|
1217
|
+
"properties": {
|
|
1218
|
+
"config": {
|
|
1219
|
+
"$ref": "#/definitions/script-task_telegramMessageStepConfig"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"else": false
|
|
1121
1224
|
}
|
|
1122
1225
|
]
|
|
1123
1226
|
},
|
|
@@ -1174,6 +1277,24 @@
|
|
|
1174
1277
|
}
|
|
1175
1278
|
}
|
|
1176
1279
|
}
|
|
1280
|
+
},
|
|
1281
|
+
"script-task_telegramMessageStepConfig": {
|
|
1282
|
+
"type": "object",
|
|
1283
|
+
"required": [
|
|
1284
|
+
"bot",
|
|
1285
|
+
"chatId"
|
|
1286
|
+
],
|
|
1287
|
+
"properties": {
|
|
1288
|
+
"command": {
|
|
1289
|
+
"type": "string"
|
|
1290
|
+
},
|
|
1291
|
+
"chatId": {
|
|
1292
|
+
"type": "integer"
|
|
1293
|
+
},
|
|
1294
|
+
"text": {
|
|
1295
|
+
"type": "string"
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1177
1298
|
}
|
|
1178
1299
|
},
|
|
1179
1300
|
"$ref": "#/definitions/config"
|