//////////////////////////////////////////////////////////////////////////////////////////////
// DO NOT MODIFY THIS FILE //
// This file is automatically generated by ZenStack CLI and should not be manually updated. //
// Source: schema.zmodel · Generated: 2026-02-23 //
//////////////////////////////////////////////////////////////////////////////////////////////
Index / Views / ArticleAnalytics
Aggregated article metrics for the workspace analytics dashboard.
Backed by a SQL view that joins Article, Comment, and User. Refreshed on each query — not materialized. For high-traffic workspaces, consider caching at the application layer.
Defined in: content.zmodel
Declaration · content.zmodel
view ArticleAnalytics {
articleId String
title String
status String
authorName String
viewCount Int
commentCount Int
publishedAt DateTime?
daysSincePublished Int?
}All fields defined on this entity, including inherited fields from mixins and parent models.
Next: MemberActivity