Vanessa 2024-10-23 16:29:21 +08:00
parent c856c8725b
commit 19545f472d

View file

@ -2007,20 +2007,20 @@ declare namespace Config {
* - `0`: No grouping
* - `1`: Group by document
*/
group: number;
hasReplace: boolean;
group?: number;
hasReplace?: boolean;
/**
* Readable path list
*/
hPath: string;
hPath?: string;
/**
* Search in the specified paths
*/
idPath: string[];
idPath?: string[];
/**
* Search content
*/
k: string;
k?: string;
/**
* Search scheme
* - `0`: Keyword (default)
@ -2029,7 +2029,7 @@ declare namespace Config {
* - `3`: Regular expression
* @default 0
*/
method: number;
method?: number;
/**
* Custom name of the query condition group
*/
@ -2037,17 +2037,17 @@ declare namespace Config {
/**
* Current page number
*/
page: number;
page?: number;
/**
* Replace content
*/
r: string;
r?: string;
/**
* Whether to clear the search box after removing the currently used query condition group
* https://github.com/siyuan-note/siyuan/issues/7745
*/
removed?: boolean;
replaceTypes: IUILayoutTabSearchConfigReplaceTypes;
replaceTypes?: IUILayoutTabSearchConfigReplaceTypes;
/**
* Search result sorting scheme
* - `0`: Block type (default)
@ -2060,8 +2060,8 @@ declare namespace Config {
* - `7`: Descending by relevance
* @default 0
*/
sort: number;
types: IUILayoutTabSearchConfigTypes;
sort?: number;
types?: IUILayoutTabSearchConfigTypes;
}
/**