Skip to content

Commit 59a91f5

Browse files
committed
Rename INotification --> INotificationsSettings
1 parent 747e4b1 commit 59a91f5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/components/notification-detail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface INotificationsSettingsItemProps {
1111
}
1212

1313
interface INotificationsSettingsDetailsProps {
14-
notification: Scheduler.INotification;
14+
notification: Scheduler.INotificationsSettings;
1515
}
1616

1717
const NotificationsSettingsItem: React.FC<INotificationsSettingsItemProps> = ({

src/handler.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export namespace Scheduler {
363363
compute_type?: string;
364364
schedule?: string;
365365
timezone?: string;
366-
notifications_settings?: INotification;
366+
notifications_settings?: INotificationsSettings;
367367
}
368368

369369
export interface IUpdateJobDefinition {
@@ -372,7 +372,7 @@ export namespace Scheduler {
372372
timezone?: string;
373373
active?: boolean;
374374
input_uri?: string;
375-
notifications_settings?: INotification;
375+
notifications_settings?: INotificationsSettings;
376376
}
377377

378378
export interface IDescribeJobDefinition {
@@ -391,7 +391,7 @@ export namespace Scheduler {
391391
create_time: number;
392392
update_time: number;
393393
active: boolean;
394-
notifications_settings?: INotification;
394+
notifications_settings?: INotificationsSettings;
395395
}
396396

397397
export interface IEmailNotifications {
@@ -401,7 +401,7 @@ export namespace Scheduler {
401401
no_alert_for_skipped_rows: boolean;
402402
}
403403

404-
export interface INotification {
404+
export interface INotificationsSettings {
405405
send_to: string[];
406406
events: string[];
407407
include_output: boolean;
@@ -424,7 +424,7 @@ export namespace Scheduler {
424424
output_filename_template?: string;
425425
output_formats?: string[];
426426
compute_type?: string;
427-
notifications_settings?: INotification;
427+
notifications_settings?: INotificationsSettings;
428428
}
429429

430430
export interface ICreateJobFromDefinition {
@@ -473,7 +473,7 @@ export namespace Scheduler {
473473
start_time?: number;
474474
end_time?: number;
475475
downloaded: boolean;
476-
notifications_settings?: INotification;
476+
notifications_settings?: INotificationsSettings;
477477
}
478478

479479
export interface ICreateJobResponse {

src/model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export interface IJobDetailModel {
319319
outputPrefix?: string;
320320
job_files: Scheduler.IJobFile[];
321321
downloaded: boolean;
322-
notificationsSettings?: Scheduler.INotification;
322+
notificationsSettings?: Scheduler.INotificationsSettings;
323323
}
324324

325325
export interface IJobDefinitionModel {
@@ -346,7 +346,7 @@ export interface IJobDefinitionModel {
346346
startTime?: number;
347347
endTime?: number;
348348
outputPrefix?: string;
349-
notificationsSettings?: Scheduler.INotification;
349+
notificationsSettings?: Scheduler.INotificationsSettings;
350350
}
351351

352352
const convertParameters = (parameters: {

0 commit comments

Comments
 (0)