mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
This commit is contained in:
parent
c455f876ba
commit
09b4304df2
9 changed files with 117 additions and 30 deletions
51
app/src/types/index.d.ts
vendored
51
app/src/types/index.d.ts
vendored
|
|
@ -268,26 +268,32 @@ interface ISearchOption {
|
|||
idPath: string[]
|
||||
k: string
|
||||
r: string
|
||||
types: {
|
||||
mathBlock: boolean
|
||||
table: boolean
|
||||
blockquote: boolean
|
||||
superBlock: boolean
|
||||
paragraph: boolean
|
||||
document: boolean
|
||||
heading: boolean
|
||||
list: boolean
|
||||
listItem: boolean
|
||||
codeBlock: boolean
|
||||
htmlBlock: boolean
|
||||
embedBlock: boolean
|
||||
databaseBlock: boolean
|
||||
},
|
||||
types: ISearchType,
|
||||
replaceTypes: {
|
||||
[key: string]: boolean;
|
||||
},
|
||||
}
|
||||
|
||||
interface ISearchType {
|
||||
audioBlock: boolean
|
||||
videoBlock: boolean
|
||||
iFrameBlock: boolean
|
||||
widgetBlock: boolean
|
||||
mathBlock: boolean
|
||||
table: boolean
|
||||
blockquote: boolean
|
||||
superBlock: boolean
|
||||
paragraph: boolean
|
||||
document: boolean
|
||||
heading: boolean
|
||||
list: boolean
|
||||
listItem: boolean
|
||||
codeBlock: boolean
|
||||
htmlBlock: boolean
|
||||
embedBlock: boolean
|
||||
databaseBlock: boolean
|
||||
}
|
||||
|
||||
interface ITextOption {
|
||||
color?: string,
|
||||
type: string
|
||||
|
|
@ -823,20 +829,7 @@ interface IConfig {
|
|||
tag: {
|
||||
sort: number
|
||||
}
|
||||
search: {
|
||||
databaseBlock: boolean
|
||||
embedBlock: boolean
|
||||
htmlBlock: boolean
|
||||
document: boolean
|
||||
heading: boolean
|
||||
list: boolean
|
||||
listItem: boolean
|
||||
codeBlock: boolean
|
||||
mathBlock: boolean
|
||||
table: boolean
|
||||
blockquote: boolean
|
||||
superBlock: boolean
|
||||
paragraph: boolean
|
||||
search: ISearchType & {
|
||||
name: boolean
|
||||
alias: boolean
|
||||
memo: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue