@lightdash/common 0.1414.0 → 0.1415.1
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.
@@ -29,6 +29,11 @@ export declare enum SchedulerFormat {
|
|
29
29
|
IMAGE = "image",
|
30
30
|
GSHEETS = "gsheets"
|
31
31
|
}
|
32
|
+
export declare enum JobPriority {
|
33
|
+
HIGH = 0,
|
34
|
+
MEDIUM = 1,
|
35
|
+
LOW = 2
|
36
|
+
}
|
32
37
|
export type SchedulerLog = {
|
33
38
|
task: 'handleScheduledDelivery' | 'sendEmailNotification' | 'sendSlackNotification' | 'uploadGsheets' | 'downloadCsv' | 'uploadGsheetFromQuery' | 'createProjectWithCompile' | 'compileProject' | 'testAndCompileProject' | 'validateProject' | 'sqlRunner' | 'sqlRunnerPivotQuery' | 'semanticLayer' | 'indexCatalog';
|
34
39
|
schedulerUuid?: string;
|
package/dist/types/scheduler.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LightdashPage = exports.getSchedulerUuid = exports.hasSchedulerUuid = exports.isCreateScheduler = exports.isSchedulerGsheetsOptions = exports.isSchedulerImageOptions = exports.isSchedulerCsvOptions = exports.isCreateSchedulerSlackTarget = exports.isEmailTarget = exports.isSlackTarget = exports.isChartScheduler = exports.isUpdateSchedulerEmailTarget = exports.isUpdateSchedulerSlackTarget = exports.getSchedulerTargetUuid = exports.isDashboardScheduler = exports.operatorActionValue = exports.NotificationFrequency = exports.ThresholdOperator = exports.SchedulerFormat = exports.SchedulerJobStatus = void 0;
|
3
|
+
exports.LightdashPage = exports.getSchedulerUuid = exports.hasSchedulerUuid = exports.isCreateScheduler = exports.isSchedulerGsheetsOptions = exports.isSchedulerImageOptions = exports.isSchedulerCsvOptions = exports.isCreateSchedulerSlackTarget = exports.isEmailTarget = exports.isSlackTarget = exports.isChartScheduler = exports.isUpdateSchedulerEmailTarget = exports.isUpdateSchedulerSlackTarget = exports.getSchedulerTargetUuid = exports.isDashboardScheduler = exports.operatorActionValue = exports.NotificationFrequency = exports.ThresholdOperator = exports.JobPriority = exports.SchedulerFormat = exports.SchedulerJobStatus = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const assertUnreachable_1 = tslib_1.__importDefault(require("../utils/assertUnreachable"));
|
6
6
|
var SchedulerJobStatus;
|
@@ -16,6 +16,12 @@ var SchedulerFormat;
|
|
16
16
|
SchedulerFormat["IMAGE"] = "image";
|
17
17
|
SchedulerFormat["GSHEETS"] = "gsheets";
|
18
18
|
})(SchedulerFormat = exports.SchedulerFormat || (exports.SchedulerFormat = {}));
|
19
|
+
var JobPriority;
|
20
|
+
(function (JobPriority) {
|
21
|
+
JobPriority[JobPriority["HIGH"] = 0] = "HIGH";
|
22
|
+
JobPriority[JobPriority["MEDIUM"] = 1] = "MEDIUM";
|
23
|
+
JobPriority[JobPriority["LOW"] = 2] = "LOW";
|
24
|
+
})(JobPriority = exports.JobPriority || (exports.JobPriority = {}));
|
19
25
|
var ThresholdOperator;
|
20
26
|
(function (ThresholdOperator) {
|
21
27
|
ThresholdOperator["GREATER_THAN"] = "greaterThan";
|