feat(#447): permission-gated reader dashboard #477
@@ -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;
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user