@lightdash/common 0.1365.1 → 0.1366.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -72,6 +72,7 @@ export type SchedulerBase = {
|
|
72
72
|
thresholds?: ThresholdOptions[];
|
73
73
|
enabled: boolean;
|
74
74
|
notificationFrequency?: NotificationFrequency;
|
75
|
+
includeLinks: boolean;
|
75
76
|
};
|
76
77
|
export type ChartScheduler = SchedulerBase & {
|
77
78
|
savedChartUuid: string;
|
@@ -114,7 +115,7 @@ export type CreateSchedulerAndTargets = Omit<Scheduler, 'schedulerUuid' | 'creat
|
|
114
115
|
targets: CreateSchedulerTarget[];
|
115
116
|
};
|
116
117
|
export type CreateSchedulerAndTargetsWithoutIds = Omit<CreateSchedulerAndTargets, 'savedChartUuid' | 'dashboardUuid' | 'createdBy'>;
|
117
|
-
export type UpdateSchedulerAndTargets = Pick<Scheduler, 'schedulerUuid' | 'name' | 'message' | 'cron' | 'timezone' | 'format' | 'options' | 'thresholds' | 'notificationFrequency'> & Pick<DashboardScheduler, 'filters' | 'customViewportWidth'> & {
|
118
|
+
export type UpdateSchedulerAndTargets = Pick<Scheduler, 'schedulerUuid' | 'name' | 'message' | 'cron' | 'timezone' | 'format' | 'options' | 'thresholds' | 'notificationFrequency' | 'includeLinks'> & Pick<DashboardScheduler, 'filters' | 'customViewportWidth'> & {
|
118
119
|
targets: Array<CreateSchedulerTarget | UpdateSchedulerSlackTarget | UpdateSchedulerEmailTarget>;
|
119
120
|
};
|
120
121
|
export type UpdateSchedulerAndTargetsWithoutId = Omit<UpdateSchedulerAndTargets, 'schedulerUuid'>;
|