File size: 1,645 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// @ts-nocheck - TODO: Fix TypeScript issues
import type { Site } from '../../types';

const siteId = 12345678;

const site: Site = {
	blog_id: siteId,
	url: 'test.wordpress.com',
	url_with_scheme: 'https://test.wordpress.com',
	monitor_active: true,
	monitor_site_status: true,
	has_scan: true,
	has_backup: false,
	has_boost: true,
	latest_scan_threats_found: [],
	latest_backup_status: '',
	is_connection_healthy: true,
	awaiting_plugin_updates: [ 'plugin1', 'plugin2' ],
	is_favorite: true,
	monitor_settings: {
		monitor_active: true,
		monitor_site_status: true,
		last_down_time: '2021-01-01T00:00:00+00:00',
		check_interval: 5,
		monitor_user_emails: [ 'test.com' ],
		monitor_user_email_notifications: true,
		monitor_user_wp_note_notifications: true,
		monitor_user_sms_notifications: false,
		monitor_notify_additional_user_emails: [],
		monitor_notify_additional_user_sms: [],
		is_over_limit: false,
		sms_sent_count: 10,
		sms_monthly_limit: 20,
	},
	monitor_last_status_change: '2021-01-01T00:00:00+00:00',
	isSelected: true,
	site_stats: {
		visitors: {
			total: 1000,
			trend_change: 50,
			trend: 'up',
		},
		views: {
			total: 5000,
			trend_change: 100,
			trend: 'down',
		},
	},
	jetpack_boost_scores: {
		overall: 80,
		mobile: 75,
		desktop: 85,
	},
	php_version_num: 7.4,
	php_version: '7.4.3',
	wordpress_version: '6.5',
	has_paid_agency_monitor: true,
	has_pending_boost_one_time_score: false,
	sticker: [],
	blogname: 'test',
	is_atomic: false,
	has_vulnerable_plugins: false,
	latest_scan_has_threats_found: false,
	active_paid_subscription_slugs: [],
	hosting_provider_guess: 'automattic',
};

export { site };