mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 00:14:07 +01:00
🎨 Alert users when .sy file or database .json exceed 8MB https://github.com/siyuan-note/siyuan/issues/15451
This commit is contained in:
parent
f3cc641005
commit
eb13c34fe5
22 changed files with 98 additions and 15 deletions
4
app/src/types/config.d.ts
vendored
4
app/src/types/config.d.ts
vendored
|
|
@ -643,6 +643,10 @@ declare namespace Config {
|
|||
* Whether to save the content of the .sy file as a single-line JSON object
|
||||
*/
|
||||
useSingleLineSave: boolean;
|
||||
/**
|
||||
* The .sy and database .json files larger than this value will prompt a warning (unit: MB)
|
||||
*/
|
||||
largeFileWarningSize: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue