mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(edit-docs): consistency check issues
This commit is contained in:
		
							parent
							
								
									0af357ece8
								
							
						
					
					
						commit
						bb288c5c68
					
				
										
											Binary file not shown.
										
									
								
							@ -4609,20 +4609,6 @@
 | 
				
			|||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    ]
 | 
					                    ]
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    "isClone": true,
 | 
					 | 
				
			||||||
                    "noteId": "pOsGYCXsbNQG",
 | 
					 | 
				
			||||||
                    "notePath": [
 | 
					 | 
				
			||||||
                        "pOsGYCXsbNQG",
 | 
					 | 
				
			||||||
                        "pOsGYCXsbNQG"
 | 
					 | 
				
			||||||
                    ],
 | 
					 | 
				
			||||||
                    "title": "User Guide",
 | 
					 | 
				
			||||||
                    "prefix": null,
 | 
					 | 
				
			||||||
                    "dataFileName": "User Guide.clone.md",
 | 
					 | 
				
			||||||
                    "type": "text",
 | 
					 | 
				
			||||||
                    "format": "markdown",
 | 
					 | 
				
			||||||
                    "isExpanded": false
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    "isClone": false,
 | 
					                    "isClone": false,
 | 
				
			||||||
                    "noteId": "k2Gc17NbaAwb",
 | 
					                    "noteId": "k2Gc17NbaAwb",
 | 
				
			||||||
 | 
				
			|||||||
@ -75,6 +75,10 @@ async function importData(input: Buffer) {
 | 
				
			|||||||
    const { importZip } = ((await import("./src/services/import/zip.js")).default);
 | 
					    const { importZip } = ((await import("./src/services/import/zip.js")).default);
 | 
				
			||||||
    const context = new TaskContext("no-report");
 | 
					    const context = new TaskContext("no-report");
 | 
				
			||||||
    await importZip(context, input, note, { preserveIds: true });
 | 
					    await importZip(context, input, note, { preserveIds: true });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const { runOnDemandChecks } = (await import("./src/services/consistency_checks.js")).default;
 | 
				
			||||||
 | 
					    await runOnDemandChecks(true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function createImportZip() {
 | 
					async function createImportZip() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user