Show contract renewal in businesses and align SSL/view charts.

Add annual renewal column with color-coded days left, owner title and renewal fields on create, SSL expiry display, and updated view chart kinds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-26 10:13:06 +03:30
co-authored by Cursor
parent a52f963f52
commit e2fb08cccd
11 changed files with 243 additions and 27 deletions
@@ -40,7 +40,23 @@ export async function getCustomersDailyActivity(days = 30, signal?: AbortSignal)
)
}
export type WebsiteViewKind = 'website' | 'product' | 'portfolio' | 'blog'
export type WebsiteViewKind =
| 'home'
| 'portfolio_list'
| 'portfolio_detail'
| 'product_list'
| 'product_detail'
| 'store_item_list'
| 'store_item_detail'
| 'blog_list'
| 'blog_detail'
| 'video_list'
| 'video_detail'
/** @deprecated aliases still accepted by API */
| 'website'
| 'product'
| 'portfolio'
| 'blog'
export async function getViewDailyActivity(
kind: WebsiteViewKind,