feat: add visibility and author_name to TreeListItem type and list API params

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-02-24 03:27:02 -05:00
parent 29c3d5eed6
commit e48049a36d

View File

@@ -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