This commit is contained in:
parent
c856c8725b
commit
19545f472d
1 changed files with 11 additions and 11 deletions
22
app/src/types/config.d.ts
vendored
22
app/src/types/config.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue