Add view traffic charts to business home and super-admin.
Wire product, website, portfolio, and blog 30-day view charts to the analytics API and expose the new chart types in super-admin business settings. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
468bb87fcf
commit
202ac7d4bd
@@ -32,6 +32,9 @@ export const HOME_CHART_IDS = [
|
||||
'customers_joined_1y',
|
||||
'blog_views_30d',
|
||||
'products_added_1y',
|
||||
'product_views_30d',
|
||||
'website_views_30d',
|
||||
'portfolio_views_30d',
|
||||
] as const
|
||||
|
||||
export type HomeChartId = (typeof HOME_CHART_IDS)[number]
|
||||
|
||||
Reference in New Issue
Block a user