obsidian-typings 2.40.0 → 2.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types.d.cts +22 -4
- package/package.json +1 -1
package/dist/cjs/types.d.cts
CHANGED
|
@@ -365,10 +365,28 @@ declare module "obsidian" {
|
|
|
365
365
|
listRecursive(normalizedPath: string): Promise<void>;
|
|
366
366
|
/** @internal */
|
|
367
367
|
onFileChange(normalizedPath: string | null): void;
|
|
368
|
-
/**
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
/**
|
|
369
|
+
* Reconcile a deletion.
|
|
370
|
+
*
|
|
371
|
+
* @param normalizedPath Path to file
|
|
372
|
+
* @param normalizedNewPath New path to file
|
|
373
|
+
* @param shouldSkipDeletionTimeout Whether the deletion timeout should be skipped (default: `true`)
|
|
374
|
+
* @returns A promise that resolves when the file is reconciled
|
|
375
|
+
*
|
|
376
|
+
* @internal
|
|
377
|
+
*/
|
|
378
|
+
reconcileDeletion(normalizedPath: string, normalizedNewPath: string, shouldSkipDeletionTimeout?: boolean): Promise<void>;
|
|
379
|
+
/**
|
|
380
|
+
* Reconcile a file.
|
|
381
|
+
*
|
|
382
|
+
* @param normalizedPath Path to file
|
|
383
|
+
* @param normalizedNewPath New path to file
|
|
384
|
+
* @param shouldSkipDeletionTimeout Whether the deletion timeout should be skipped - applies only to {@link reconcileDeletion}
|
|
385
|
+
* @returns A promise that resolves when the file is reconciled
|
|
386
|
+
*
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
reconcileFile(normalizedPath: string, normalizedNewPath: string, shouldSkipDeletionTimeout?: boolean): Promise<void>;
|
|
372
390
|
/** @internal */
|
|
373
391
|
reconcileFolderCreation(normalizedPath: string, normalizedNewPath: string): Promise<void>;
|
|
374
392
|
/** @internal */
|