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.
@@ -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
- /** @internal */
369
- reconcileDeletion(normalizedPath: string, normalizedNewPath: string, option: boolean): Promise<void>;
370
- /** @internal */
371
- reconcileFile(normalizedPath: string, normalizedNewPath: string, option: boolean): Promise<void>;
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-typings",
3
- "version": "2.40.0",
3
+ "version": "2.41.1",
4
4
  "description": "Extended type definitions for the Obsidian API (https://obsidian.md)",
5
5
  "main": "",
6
6
  "module": "",