feat(#447): permission-gated reader dashboard #477

Merged
marcel merged 25 commits from worktree-feat+issue-447-reader-dashboard into main 2026-05-08 15:56:54 +02:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 809b6c06d4 - Show all commits

View File

@@ -2125,6 +2125,8 @@ export interface components {
totalPersons?: number; totalPersons?: number;
/** Format: int64 */ /** Format: int64 */
totalDocuments?: number; totalDocuments?: number;
/** Format: int64 */
totalStories: number;
}; };
PersonSummaryDTO: { PersonSummaryDTO: {
title?: string; title?: string;

View File

@@ -41,7 +41,7 @@ const greetingText = $derived.by(() => {
<ReaderStatsStrip <ReaderStatsStrip
documents={data.readerStats?.totalDocuments ?? null} documents={data.readerStats?.totalDocuments ?? null}
persons={data.readerStats?.totalPersons ?? null} persons={data.readerStats?.totalPersons ?? null}
stories={null} stories={data.readerStats?.totalStories ?? null}
/> />
{#if data.canBlogWrite} {#if data.canBlogWrite}