1{
2 "title": "Storage Destroyer",
3 "description": "",
4 "type": "object",
5 "schemaVersion": 1,
6 "properties": {
7 "storageType": {
8 "title": "Storage type",
9 "type": "string",
10 "description": "Type of the storages you want to delete.",
11 "editor": "select",
12 "enum": ["DATASET", "KEY_VALUE_STORE", "REQUEST_QUEUE"],
13 "enumTitles": ["Datasets", "Key-Value Stores", "Request Queues"]
14 },
15 "matchingExpression": {
16 "title": "Matching expression",
17 "type": "string",
18 "description": "A regular expression in a string format used to match the names of storages to be deleted. It will be used to create an instance of <code>RegExp</code> using <code>new RegExp(expression)</code> All storages matching the pattern will be deleted unless other filters are provided.",
19 "editor": "textfield",
20 "minLength": 1
21 },
22 "createdAt": {
23 "title": "Storage creation date",
24 "type": "string",
25 "description": "Use YYYY-MM-DD format. The option limits the deleted storages to the ones created on the provided date. If you want to delete all storages from a given date, use '.*' as your Matching expression.",
26 "editor": "textfield",
27 "sectionCaption": "Advanced settings"
28 },
29 "maxDeletedStorages": {
30 "title": "Max deleted storages",
31 "type": "integer",
32 "description": "Limit the number of deleted storages to the given amount.",
33 "editor": "number",
34 "unit": "storages"
35 },
36 "newestFirst": {
37 "title": "Newest first",
38 "type": "boolean",
39 "description": "Sort storages from newest to oldest. In combination with the Max storages to delete option, this enables to \"delete 5 newest storages\" and similar commands.",
40 "editor": "checkbox"
41 },
42 "forceDelete": {
43 "title": "Force delete",
44 "type": "boolean",
45 "description": "If you are REALLY AND ABSOLUTELY sure that your filters will delete exactly the storages you need then you can use this flag to delete them immediately without the need for confirmation by a second run of the actor. Tread carefully!",
46 "default": false,
47 "editor": "checkbox",
48 "groupCaption": "DANGER ZONE"
49 }
50 },
51 "required": [
52 "storageType",
53 "matchingExpression"
54 ]
55}