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:
@@ -164,6 +164,7 @@ export interface TreeListItem {
|
|||||||
category_info: CategoryInfo | null
|
category_info: CategoryInfo | null
|
||||||
tags: string[]
|
tags: string[]
|
||||||
author_id: string | null
|
author_id: string | null
|
||||||
|
author_name: string | null
|
||||||
account_id: string | null
|
account_id: string | null
|
||||||
is_active: boolean
|
is_active: boolean
|
||||||
is_public: boolean
|
is_public: boolean
|
||||||
@@ -173,6 +174,7 @@ export interface TreeListItem {
|
|||||||
usage_count: number
|
usage_count: number
|
||||||
created_at: string
|
created_at: string
|
||||||
updated_at: string
|
updated_at: string
|
||||||
|
visibility: 'private' | 'team' | 'link' | 'public'
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TreeCreate {
|
export interface TreeCreate {
|
||||||
@@ -215,6 +217,7 @@ export interface TreeFilters {
|
|||||||
is_active?: boolean
|
is_active?: boolean
|
||||||
author_id?: string
|
author_id?: string
|
||||||
is_public?: boolean
|
is_public?: boolean
|
||||||
|
visibility?: 'private' | 'team' | 'link' | 'public'
|
||||||
sort_by?: 'usage_count' | 'updated_at' | 'created_at' | 'name' | 'name_desc' | 'version'
|
sort_by?: 'usage_count' | 'updated_at' | 'created_at' | 'name' | 'name_desc' | 'version'
|
||||||
skip?: number
|
skip?: number
|
||||||
limit?: number
|
limit?: number
|
||||||
|
|||||||
Reference in New Issue
Block a user