@@ -438,68 +438,3 @@ export function simulateAPIresponseAboutNetworkList(): ApiDataResponse<
438438 }
439439 return result
440440}
441-
442- export function mockManageNotificationsGeneral ( ) : InternalGetUserNotificationSettingsResponse {
443- return {
444- data : {
445- clients : [
446- {
447- category : 'EL' ,
448- id : 1 ,
449- is_subscribed : true ,
450- name : 'EL Client 1' ,
451- } ,
452- {
453- category : 'CL' ,
454- id : 2 ,
455- is_subscribed : false ,
456- name : 'CL Client 1' ,
457- } ,
458- {
459- category : 'other' ,
460- id : 3 ,
461- is_subscribed : true ,
462- name : 'Other Clien 1' ,
463- } ,
464- {
465- category : 'other' ,
466- id : 4 ,
467- is_subscribed : false ,
468- name : 'Other Clien 2' ,
469- } ,
470- ] ,
471- general_settings : {
472- do_not_disturb_timestamp : 9000 ,
473- is_email_notifications_enabled : false ,
474- is_machine_cpu_usage_subscribed : true ,
475- is_machine_memory_usage_subscribed : true ,
476- is_machine_offline_subscribed : true ,
477- is_machine_storage_usage_subscribed : true ,
478- is_push_notifications_enabled : true ,
479- is_rocket_pool_max_collateral_subscribed : true ,
480- is_rocket_pool_min_collateral_subscribed : true ,
481- is_rocket_pool_new_reward_round_subscribed : true ,
482- machine_cpu_usage_threshold : 40 ,
483- machine_memory_usage_threshold : 50 ,
484- machine_storage_usage_threshold : 80 ,
485- rocket_pool_max_collateral_threshold : 29823 ,
486- rocket_pool_min_collateral_threshold : 123 ,
487- } ,
488- networks : [ ] ,
489- paired_devices : [
490- {
491- id : 'ABC-test' ,
492- is_notifications_enabled : true ,
493- name : 'My device' ,
494- paired_timestamp : 1620000000 ,
495- } ,
496- {
497- id : 'DEF-test' ,
498- is_notifications_enabled : false ,
499- name : 'My other device' ,
500- paired_timestamp : 1700000000 ,
501- } ,
502- ] ,
503- } ,
504- }
505- }
0 commit comments