bullmq-publish-lambda 0.1.0 → 0.2.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/build/generated/schema.json +0 -42
- package/package.json +1 -1
|
@@ -8,52 +8,10 @@
|
|
|
8
8
|
"payload": {},
|
|
9
9
|
"taskIdentifier": {
|
|
10
10
|
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"taskSpec": {
|
|
13
|
-
"$ref": "#/definitions/TaskSpec"
|
|
14
11
|
}
|
|
15
12
|
},
|
|
16
13
|
"required": ["taskIdentifier"],
|
|
17
14
|
"type": "object"
|
|
18
|
-
},
|
|
19
|
-
"TaskSpec": {
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"properties": {
|
|
22
|
-
"flags": {
|
|
23
|
-
"description": "Flags for the job, can be used to dynamically filter which jobs can and cannot run at runtime. (Default: null)",
|
|
24
|
-
"items": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"type": "array"
|
|
28
|
-
},
|
|
29
|
-
"jobKey": {
|
|
30
|
-
"description": "Unique identifier for the job, can be used to update or remove it later if needed. (Default: null)",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"jobKeyMode": {
|
|
34
|
-
"description": "Modifies the behavior of `jobKey`; when 'replace' all attributes will be updated, when 'preserve_run_at' all attributes except 'run_at' will be updated, when 'unsafe_dedupe' a new job will only be added if no existing job (including locked jobs and permanently failed jobs) with matching job key exists. (Default: 'replace')",
|
|
35
|
-
"enum": ["replace", "preserve_run_at", "unsafe_dedupe"],
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
"maxAttempts": {
|
|
39
|
-
"description": "How many retries should this task get? (Default: 25)",
|
|
40
|
-
"type": "number"
|
|
41
|
-
},
|
|
42
|
-
"priority": {
|
|
43
|
-
"description": "Jobs are executed in numerically ascending order of priority (jobs with a numerically smaller priority are run first). (Default: 0)",
|
|
44
|
-
"type": "number"
|
|
45
|
-
},
|
|
46
|
-
"queueName": {
|
|
47
|
-
"description": "The queue to run this task under (only specify if you want jobs in this queue to run serially). (Default: null)",
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"runAt": {
|
|
51
|
-
"description": "A Date to schedule this task to run in the future. (Default: now)",
|
|
52
|
-
"format": "date-time",
|
|
53
|
-
"type": "string"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"type": "object"
|
|
57
15
|
}
|
|
58
16
|
}
|
|
59
17
|
}
|