datatruck 0.30.1 → 0.32.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 +227 -40
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# datatruck
|
|
2
2
|
|
|
3
|
+
## 0.32.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7d755ba`](https://github.com/swordev/datatruck/commit/7d755bac0edf7aea719446f6bfcee5bea0fe9a90), [`9dba106`](https://github.com/swordev/datatruck/commit/9dba106865da2d4327282d65deecee5a03e49b49), [`c24eea2`](https://github.com/swordev/datatruck/commit/c24eea21b41d78451d5eabd65923daa26dcad78a), [`113ee82`](https://github.com/swordev/datatruck/commit/113ee8258951028d54b798eaaa813982222c20e8)]:
|
|
8
|
+
- @datatruck/cli@0.32.0
|
|
9
|
+
|
|
10
|
+
## 0.31.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`c98324e`](https://github.com/swordev/datatruck/commit/c98324ebbb5b43113f1bb6d9a07bd905b5883729), [`9b40aad`](https://github.com/swordev/datatruck/commit/9b40aadc3ba57db15f14ae08c342b7170d61aa5d)]:
|
|
15
|
+
- @datatruck/cli@0.31.0
|
|
16
|
+
|
|
3
17
|
## 0.30.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/config.schema.json
CHANGED
|
@@ -1048,67 +1048,217 @@
|
|
|
1048
1048
|
"type": "object",
|
|
1049
1049
|
"additionalProperties": false,
|
|
1050
1050
|
"properties": {
|
|
1051
|
-
"path": {
|
|
1052
|
-
"type": "string"
|
|
1053
|
-
},
|
|
1054
1051
|
"log": {
|
|
1055
1052
|
"type": "boolean"
|
|
1056
1053
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"type": "array",
|
|
1059
|
-
"items": {
|
|
1060
|
-
"type": "object",
|
|
1061
|
-
"additionalProperties": false,
|
|
1062
|
-
"properties": {
|
|
1063
|
-
"name": {
|
|
1064
|
-
"type": "string"
|
|
1065
|
-
},
|
|
1066
|
-
"password": {
|
|
1067
|
-
"type": "string"
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
},
|
|
1072
|
-
"listen": {
|
|
1054
|
+
"repository": {
|
|
1073
1055
|
"type": "object",
|
|
1074
1056
|
"additionalProperties": false,
|
|
1075
1057
|
"properties": {
|
|
1076
|
-
"
|
|
1077
|
-
"type": "integer"
|
|
1078
|
-
},
|
|
1079
|
-
"address": {
|
|
1080
|
-
"type": "string"
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
},
|
|
1084
|
-
"trustProxy": {
|
|
1085
|
-
"anyOf": [
|
|
1086
|
-
{
|
|
1058
|
+
"enabled": {
|
|
1087
1059
|
"type": "boolean"
|
|
1088
1060
|
},
|
|
1089
|
-
{
|
|
1061
|
+
"listen": {
|
|
1090
1062
|
"type": "object",
|
|
1091
1063
|
"additionalProperties": false,
|
|
1092
|
-
"required": [
|
|
1093
|
-
"remoteAddressHeader"
|
|
1094
|
-
],
|
|
1095
1064
|
"properties": {
|
|
1096
|
-
"
|
|
1065
|
+
"port": {
|
|
1066
|
+
"type": "integer"
|
|
1067
|
+
},
|
|
1068
|
+
"address": {
|
|
1097
1069
|
"type": "string"
|
|
1098
1070
|
}
|
|
1099
1071
|
}
|
|
1072
|
+
},
|
|
1073
|
+
"trustProxy": {
|
|
1074
|
+
"anyOf": [
|
|
1075
|
+
{
|
|
1076
|
+
"type": "boolean"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"type": "object",
|
|
1080
|
+
"additionalProperties": false,
|
|
1081
|
+
"required": [
|
|
1082
|
+
"remoteAddressHeader"
|
|
1083
|
+
],
|
|
1084
|
+
"properties": {
|
|
1085
|
+
"remoteAddressHeader": {
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
]
|
|
1091
|
+
},
|
|
1092
|
+
"allowlist": {
|
|
1093
|
+
"type": "object",
|
|
1094
|
+
"additionalProperties": false,
|
|
1095
|
+
"properties": {
|
|
1096
|
+
"enabled": {
|
|
1097
|
+
"type": "boolean"
|
|
1098
|
+
},
|
|
1099
|
+
"remoteAddresses": {
|
|
1100
|
+
"$ref": "#/definitions/stringlist-util"
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"backends": {
|
|
1105
|
+
"type": "array",
|
|
1106
|
+
"items": {
|
|
1107
|
+
"type": "object",
|
|
1108
|
+
"additionalProperties": false,
|
|
1109
|
+
"required": [
|
|
1110
|
+
"name",
|
|
1111
|
+
"path"
|
|
1112
|
+
],
|
|
1113
|
+
"properties": {
|
|
1114
|
+
"name": {
|
|
1115
|
+
"type": "string"
|
|
1116
|
+
},
|
|
1117
|
+
"path": {
|
|
1118
|
+
"type": "string"
|
|
1119
|
+
},
|
|
1120
|
+
"users": {
|
|
1121
|
+
"type": "array",
|
|
1122
|
+
"items": {
|
|
1123
|
+
"type": "object",
|
|
1124
|
+
"additionalProperties": false,
|
|
1125
|
+
"required": [
|
|
1126
|
+
"name",
|
|
1127
|
+
"password"
|
|
1128
|
+
],
|
|
1129
|
+
"properties": {
|
|
1130
|
+
"enabled": {
|
|
1131
|
+
"type": "boolean"
|
|
1132
|
+
},
|
|
1133
|
+
"name": {
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"password": {
|
|
1137
|
+
"type": "string"
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1100
1144
|
}
|
|
1101
|
-
|
|
1145
|
+
}
|
|
1102
1146
|
},
|
|
1103
|
-
"
|
|
1147
|
+
"cron": {
|
|
1104
1148
|
"type": "object",
|
|
1105
1149
|
"additionalProperties": false,
|
|
1106
1150
|
"properties": {
|
|
1107
1151
|
"enabled": {
|
|
1108
1152
|
"type": "boolean"
|
|
1109
1153
|
},
|
|
1110
|
-
"
|
|
1111
|
-
"
|
|
1154
|
+
"actions": {
|
|
1155
|
+
"type": "array",
|
|
1156
|
+
"items": {
|
|
1157
|
+
"allOf": [
|
|
1158
|
+
{
|
|
1159
|
+
"type": "object",
|
|
1160
|
+
"required": [
|
|
1161
|
+
"schedule"
|
|
1162
|
+
],
|
|
1163
|
+
"properties": {
|
|
1164
|
+
"schedule": {
|
|
1165
|
+
"type": "string"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"anyOf": [
|
|
1171
|
+
{
|
|
1172
|
+
"if": {
|
|
1173
|
+
"type": "object",
|
|
1174
|
+
"properties": {
|
|
1175
|
+
"type": {
|
|
1176
|
+
"const": "backup"
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"then": {
|
|
1181
|
+
"type": "object",
|
|
1182
|
+
"properties": {
|
|
1183
|
+
"options": {
|
|
1184
|
+
"type": "object",
|
|
1185
|
+
"additionalProperties": false,
|
|
1186
|
+
"properties": {
|
|
1187
|
+
"package": {
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
},
|
|
1190
|
+
"packageTask": {
|
|
1191
|
+
"type": "string"
|
|
1192
|
+
},
|
|
1193
|
+
"repository": {
|
|
1194
|
+
"type": "string"
|
|
1195
|
+
},
|
|
1196
|
+
"repositoryType": {
|
|
1197
|
+
"enum": [
|
|
1198
|
+
"restic",
|
|
1199
|
+
"datatruck",
|
|
1200
|
+
"git"
|
|
1201
|
+
]
|
|
1202
|
+
},
|
|
1203
|
+
"tag": {
|
|
1204
|
+
"type": "string"
|
|
1205
|
+
},
|
|
1206
|
+
"date": {
|
|
1207
|
+
"type": "string"
|
|
1208
|
+
},
|
|
1209
|
+
"prune": {
|
|
1210
|
+
"type": "boolean"
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"else": false
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"if": {
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"properties": {
|
|
1222
|
+
"type": {
|
|
1223
|
+
"const": "copy"
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"then": {
|
|
1228
|
+
"type": "object",
|
|
1229
|
+
"properties": {
|
|
1230
|
+
"options": {
|
|
1231
|
+
"type": "object",
|
|
1232
|
+
"additionalProperties": false,
|
|
1233
|
+
"properties": {
|
|
1234
|
+
"id": {
|
|
1235
|
+
"type": "string"
|
|
1236
|
+
},
|
|
1237
|
+
"last": {
|
|
1238
|
+
"type": "integer"
|
|
1239
|
+
},
|
|
1240
|
+
"package": {
|
|
1241
|
+
"type": "string"
|
|
1242
|
+
},
|
|
1243
|
+
"packageTask": {
|
|
1244
|
+
"type": "string"
|
|
1245
|
+
},
|
|
1246
|
+
"repository": {
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
},
|
|
1249
|
+
"repository2": {
|
|
1250
|
+
"type": "string"
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"else": false
|
|
1257
|
+
}
|
|
1258
|
+
]
|
|
1259
|
+
}
|
|
1260
|
+
]
|
|
1261
|
+
}
|
|
1112
1262
|
}
|
|
1113
1263
|
}
|
|
1114
1264
|
}
|
|
@@ -1196,7 +1346,8 @@
|
|
|
1196
1346
|
"enum": [
|
|
1197
1347
|
"process",
|
|
1198
1348
|
"node",
|
|
1199
|
-
"telegram-message"
|
|
1349
|
+
"telegram-message",
|
|
1350
|
+
"ntfy"
|
|
1200
1351
|
]
|
|
1201
1352
|
},
|
|
1202
1353
|
"config": {}
|
|
@@ -1258,6 +1409,25 @@
|
|
|
1258
1409
|
}
|
|
1259
1410
|
},
|
|
1260
1411
|
"else": false
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"if": {
|
|
1415
|
+
"type": "object",
|
|
1416
|
+
"properties": {
|
|
1417
|
+
"type": {
|
|
1418
|
+
"const": "ntfy"
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"then": {
|
|
1423
|
+
"type": "object",
|
|
1424
|
+
"properties": {
|
|
1425
|
+
"config": {
|
|
1426
|
+
"$ref": "#/definitions/script-task_ntfyStepConfig"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
"else": false
|
|
1261
1431
|
}
|
|
1262
1432
|
]
|
|
1263
1433
|
},
|
|
@@ -1332,6 +1502,23 @@
|
|
|
1332
1502
|
"type": "string"
|
|
1333
1503
|
}
|
|
1334
1504
|
}
|
|
1505
|
+
},
|
|
1506
|
+
"script-task_ntfyStepConfig": {
|
|
1507
|
+
"type": "object",
|
|
1508
|
+
"required": [
|
|
1509
|
+
"token"
|
|
1510
|
+
],
|
|
1511
|
+
"properties": {
|
|
1512
|
+
"token": {
|
|
1513
|
+
"type": "string"
|
|
1514
|
+
},
|
|
1515
|
+
"topic": {
|
|
1516
|
+
"type": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"text": {
|
|
1519
|
+
"type": "string"
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1335
1522
|
}
|
|
1336
1523
|
},
|
|
1337
1524
|
"$ref": "#/definitions/config"
|