'graph'=>FailedJob::selectRaw('count(*) as count, day(failed_at) as d')->groupBy('d')->whereBetween('failed_at',[now()->subDays(24),now()])->orderBy('d')->pluck('count')
'graph'=>Report::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
'graph'=>Status::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
'graph'=>Status::whereNotNull('in_reply_to_id')->selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
'graph'=>Status::whereNotNull('reblog_of_id')->selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
],
'likes'=>[
'count'=>PrettyNumber::convert(Like::count()),
'graph'=>Like::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
],
'profiles'=>[
'count'=>PrettyNumber::convert(Profile::count()),
'graph'=>Profile::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
],
'users'=>[
'count'=>PrettyNumber::convert(User::count()),
'graph'=>User::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
'graph'=>Instance::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(28),now()])->groupBy('day')->orderBy('day')->pluck('count')
],
'media'=>[
'count'=>PrettyNumber::convert(Media::count()),
'graph'=>Media::selectRaw('count(*) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')
],
'storage'=>[
'count'=>Media::sum('size'),
'graph'=>Media::selectRaw('sum(size) as count, day(created_at) as day')->whereBetween('created_at',[now()->subDays(14),now()])->groupBy('day')->orderBy('day')->pluck('count')