Barazo default frontend barazo.forum
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(web): add AuthorProfile type to Topic and Reply interfaces

Optional author field on Topic and Reply for P2.8 enrichment.
Backward compatible -- authorDid still present. Part of P2.8.

+11
+11
src/lib/api/types.ts
··· 49 49 categories: CategoryTreeNode[] 50 50 } 51 51 52 + // --- Author Profile (enriched by AppView) --- 53 + 54 + export interface AuthorProfile { 55 + did: string 56 + handle: string 57 + displayName: string | null 58 + avatarUrl: string | null 59 + } 60 + 52 61 // --- Topics --- 53 62 54 63 export interface Topic { 55 64 uri: string 56 65 rkey: string 57 66 authorDid: string 67 + author?: AuthorProfile 58 68 title: string 59 69 content: string 60 70 contentFormat: string | null ··· 97 107 uri: string 98 108 rkey: string 99 109 authorDid: string 110 + author?: AuthorProfile 100 111 content: string 101 112 contentFormat: string | null 102 113 rootUri: string