From e48049a36d100906bf1cbd7ae586e20deb747747 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Tue, 24 Feb 2026 03:27:02 -0500 Subject: [PATCH] feat: add visibility and author_name to TreeListItem type and list API params Co-Authored-By: Claude Opus 4.6 --- frontend/src/types/tree.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/types/tree.ts b/frontend/src/types/tree.ts index dc3887bb..916c43e8 100644 --- a/frontend/src/types/tree.ts +++ b/frontend/src/types/tree.ts @@ -164,6 +164,7 @@ export interface TreeListItem { category_info: CategoryInfo | null tags: string[] author_id: string | null + author_name: string | null account_id: string | null is_active: boolean is_public: boolean @@ -173,6 +174,7 @@ export interface TreeListItem { usage_count: number created_at: string updated_at: string + visibility: 'private' | 'team' | 'link' | 'public' } export interface TreeCreate { @@ -215,6 +217,7 @@ export interface TreeFilters { is_active?: boolean author_id?: string is_public?: boolean + visibility?: 'private' | 'team' | 'link' | 'public' sort_by?: 'usage_count' | 'updated_at' | 'created_at' | 'name' | 'name_desc' | 'version' skip?: number limit?: number