mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 04:05:16 +01:00
Fix type errors related to siyuan.config (#10733)
* 🎨 Improve the type definition of `siyuan.config` * 🐛 Fix type errors related to `siyuan.config` * 💄 `types/config.d.ts` * 🐛 Fix type errors related to `siyuan.config` * 🐛 Fix type errors related to `siyuan.config` * 🐛 Fix type errors related to `siyuan.config`
This commit is contained in:
parent
4852f812d0
commit
35ef97c25c
2 changed files with 43 additions and 1 deletions
20
app/src/types/config.d.ts
vendored
20
app/src/types/config.d.ts
vendored
|
|
@ -2067,6 +2067,11 @@ declare namespace Config {
|
|||
* Search type filtering
|
||||
*/
|
||||
export interface IUILayoutTabSearchConfigTypes {
|
||||
/**
|
||||
* Search results contain audio blocks
|
||||
* @default false
|
||||
*/
|
||||
audioBlock: boolean;
|
||||
/**
|
||||
* Search results contain blockquote blocks
|
||||
* @default false
|
||||
|
|
@ -2102,6 +2107,11 @@ declare namespace Config {
|
|||
* @default false
|
||||
*/
|
||||
htmlBlock: boolean;
|
||||
/**
|
||||
* Search results contain iframe blocks
|
||||
* @default false
|
||||
*/
|
||||
iFrameBlock: boolean;
|
||||
/**
|
||||
* Search results contain list blocks
|
||||
* @default false
|
||||
|
|
@ -2132,6 +2142,16 @@ declare namespace Config {
|
|||
* @default false
|
||||
*/
|
||||
table: boolean;
|
||||
/**
|
||||
* Search results contain video blocks
|
||||
* @default false
|
||||
*/
|
||||
videoBlock: boolean;
|
||||
/**
|
||||
* Search results contain widget blocks
|
||||
* @default false
|
||||
*/
|
||||
widgetBlock: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue