Note that the interface for the custom JS code inside a report template has changed. It now offers promise-based interface and exposes knex.
13 lines
No EOL
170 B
JavaScript
13 lines
No EOL
170 B
JavaScript
'use strict';
|
|
|
|
const ReportState = {
|
|
SCHEDULED: 0,
|
|
PROCESSING: 1,
|
|
FINISHED: 2,
|
|
FAILED: 3,
|
|
MAX: 4
|
|
};
|
|
|
|
module.exports = {
|
|
ReportState
|
|
}; |